Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local running = false
- spawn(function()
- game.Players.LocalPlayer.Character.Humanoid.Running:Connect(function(speed)
- if speed > 0 then
- running = true
- else
- running = false
- end
- end)
- end)
- spawn(function()
- while true do
- wait()
- if running == true then
- game.ReplicatedStorage.Events.Speed:FireServer()
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment