Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onPlayerEntered(newPlayer)
- newPlayer.Character.Humanoid.WalkSpeed = 50 --Change this number to change speed. 16 is normal speed.
- 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 = 50 --Make sure this number is the same as the number above.
- end
- end
- end
- game.Workspace.ChildAdded:connect(onPlayerRespawned)
- --MetaRyan
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement