|
| 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 |
|
|
|
| 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 |
|
|
|
| 16 Apr 2014 03:14 PM |
| http://wiki.roblox.com/index.php?title=Scripting |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 16 Apr 2014 03:18 PM |
| even that 1 line isnt correct :P |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 03:19 PM |
sorry... player.Lshift.press.activate.line2 player.walkspeed.23
|
|
|
| Report Abuse |
|
|
|
| 16 Apr 2014 03:21 PM |
errgggggh key:byte() == 47 |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
| |
|
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 |
|
|
|
| 16 Apr 2014 03:38 PM |
It was a joke right? I need it for multiplayer not solo use... |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|