Advertisement
Vzurxy

Error Log 404.

Aug 3rd, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. local shiftspeed = 25 -- Change if you want
  2. local mouse = game.Players.LocalPlayer:GetMouse()
  3. local running = false
  4.  
  5.  
  6. mouse.KeyDown:connect(function (key)
  7. key = string.lower(key)
  8. if string.byte(key) == 48 then
  9. running = true
  10. local keyConnection = mouse.KeyUp:connect(function (key)
  11. if string.byte(key) == 48 then
  12. running = false
  13. end
  14. end)
  15. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = shiftspeed
  16. repeat wait () until running == false
  17. keyConnection:disconnect()
  18. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  19. end
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement