OskarMaDzika

Untitled

Jul 6th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. local running = false
  2. spawn(function()
  3. game.Players.LocalPlayer.Character.Humanoid.Running:Connect(function(speed)
  4. if speed > 0 then
  5. running = true
  6. else
  7. running = false
  8. end
  9. end)
  10. end)
  11.  
  12. spawn(function()
  13. while true do
  14. wait()
  15. if running == true then
  16. game.ReplicatedStorage.Events.Speed:FireServer()
  17. end
  18. end
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment