generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: FPS

Previous Thread :: Next Thread 
kolkolkol2004plpa is not online. kolkolkol2004plpa
Joined: 16 Mar 2012
Total Posts: 43
16 Apr 2014 03:11 PM
Someone please get a script for me for sprint? (NOTE: I NEED ONE WITH GUN MOVEMENT LIKE BATTLEFIELD)

I got this but I need help with the movement

player.walkspeed.23

Report Abuse
brinkokevin is not online. brinkokevin
Joined: 25 Jul 2012
Total Posts: 1673
16 Apr 2014 03:13 PM
are you jking your requesting for a script + you created some stupid line of script so we wont say your not trying ?
Report Abuse
brinkokevin is not online. brinkokevin
Joined: 25 Jul 2012
Total Posts: 1673
16 Apr 2014 03:14 PM
http://wiki.roblox.com/index.php?title=Scripting
Report Abuse
youssef04 is not online. youssef04
Joined: 22 Jan 2011
Total Posts: 1745
16 Apr 2014 03:14 PM
That doesn't do anything. You need to attempt it. You give us 1 line of a 1000000 line script. That's not even trying.
Report Abuse
brinkokevin is not online. brinkokevin
Joined: 25 Jul 2012
Total Posts: 1673
16 Apr 2014 03:18 PM
even that 1 line isnt correct :P
Report Abuse
kolkolkol2004plpa is not online. kolkolkol2004plpa
Joined: 16 Mar 2012
Total Posts: 43
16 Apr 2014 03:19 PM
sorry...
player.Lshift.press.activate.line2
player.walkspeed.23


Report Abuse
kolkolkol2004plpa is not online. kolkolkol2004plpa
Joined: 16 Mar 2012
Total Posts: 43
16 Apr 2014 03:21 PM
errgggggh
key:byte() == 47
Report Abuse
brinkokevin is not online. brinkokevin
Joined: 25 Jul 2012
Total Posts: 1673
16 Apr 2014 03:24 PM
ok here is your script

if key:byte == 47 then
plr.walkspeed.23
game.animateservice.gunmovementlikebattlefield:Play()
end
Report Abuse
powertool is not online. powertool
Joined: 01 Feb 2008
Total Posts: 3771
16 Apr 2014 03:28 PM
--[[
local kolkolcode = "player.Lshift.press.activate.line2;player.walkspeed.23"

if kolkolcode:IsA("LegitLua") then
print("Grats you're good at coding. But wait you aren't.")
elseif kolkolcode:Failure() then
print("Do it right.")
]]

--There's your sprint script. LocalScript inside the StarterGui, or inside a tool.
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.KeyDown:connect(function(key)
if key:byte() == 304 then --This should be left shift.
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 23
end
mouse.KeyUp:connect(function(key)
if key:byte() == 304 then --Again, should be leftshift.
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
end
end)

--[[
print("Done right.")
end
]]

--Shira
Report Abuse
kolkolkol2004plpa is not online. kolkolkol2004plpa
Joined: 16 Mar 2012
Total Posts: 43
16 Apr 2014 03:29 PM
LOL NICE SCRIPT... (not)
Report Abuse
powertool is not online. powertool
Joined: 01 Feb 2008
Total Posts: 3771
16 Apr 2014 03:32 PM
But wait... Mine works! (Only thing that may need fixing is the key bind, I don't know the ASCII code for left shift, if there even is one.)

--Shira
Report Abuse
kolkolkol2004plpa is not online. kolkolkol2004plpa
Joined: 16 Mar 2012
Total Posts: 43
16 Apr 2014 03:38 PM
It was a joke right?
I need it for multiplayer not solo use...
Report Abuse
powertool is not online. powertool
Joined: 01 Feb 2008
Total Posts: 3771
16 Apr 2014 03:46 PM
You need it for multiplayer, guess what, slap that into a localscript inside of the playergui or inside of a gun script, then every time the player mashes shift he runs until he stops mashing it.

--Shira

PS Lrn2lua.
Report Abuse
Locard is not online. Locard
Joined: 13 Apr 2014
Total Posts: 3516
16 Apr 2014 03:47 PM
Do it yourself. We're not a business, plus it's against ROBLOX Rules.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image