Advertisement
VuaxExploits

Untitled

Dec 31st, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Character = Player.Character
  3. local UserInputService = game:GetService("UserInputService")
  4. local Speed = 200
  5.  
  6.  
  7. UserInputService.InputBegan:Connect(function(key)
  8. if key.KeyCode == Enum.KeyCode.LeftShift then
  9. Character.Humanoid.WalkSpeed = Speed
  10. end
  11. end)
  12.  
  13.  
  14.  
  15. UserInputService.InputEnded:Connect(function(key)
  16. if key.KeyCode == Enum.KeyCode.LeftShift then
  17. Character.Humanoid.WalkSpeed = 20
  18. end
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement