Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onPlayerEntered(newPlayer)
- newPlayer.Character.Humanoid.WalkSpeed = 2
- end
- game.Players.ChildAdded:connect(onPlayerEntered)
- function onPlayerRespawned(newPlayer)
- h = newPlayer:findFirstChild("Humanoid")
- if h ~= nil then
- if game.Workspace:findFirstChild(h.Parent.Name) ~= nil then
- h.WalkSpeed = 2
- end
- end
- end
- game.Workspace.ChildAdded:connect(onPlayerRespawned
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement