Advertisement
ClearlyPaste

Slow Walking Speed

Aug 10th, 2019
440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. function onPlayerEntered(newPlayer)
  2. newPlayer.Character.Humanoid.WalkSpeed = 2
  3. end
  4. game.Players.ChildAdded:connect(onPlayerEntered)
  5.  
  6. function onPlayerRespawned(newPlayer)
  7. h = newPlayer:findFirstChild("Humanoid")
  8. if h ~= nil then
  9. if game.Workspace:findFirstChild(h.Parent.Name) ~= nil then
  10. h.WalkSpeed = 2
  11. end
  12. end
  13. end
  14. game.Workspace.ChildAdded:connect(onPlayerRespawned
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement