RandomLuaScripter

[ROBLOX] Local Speed Boost

Feb 8th, 2018
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. -- WARNING: Be sure to make this a Script and place it in Workspace if you want it to work!
  2. local speed = 50
  3. function respawnc(char)
  4. h = char:findFirstChild("Humanoid")
  5. if h ~= nil then
  6. h.WalkSpeed = speed
  7. end
  8. end
  9. function onPlayerEntered(newplayer)
  10. newplayer.CharacterAdded:connect(respawnc)
  11. end
  12. game.Players.PlayerAdded:connect(onPlayerEntered)
Advertisement
Add Comment
Please, Sign In to add comment