Caldona

SprintScriptImporter

Mar 31st, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. function onPlayerEntered(player)
  2. repeat wait () until player.Character ~= nil
  3. local s = script.SprintScript:clone()
  4. s.Parent = player.Character
  5. s.Disabled = false
  6. player.CharacterAdded:connect(function (char)
  7. local s = script.SprintScript:clone()
  8. s.Parent = char
  9. s.Disabled = false
  10. end)
  11. end
  12.  
  13. game.Players.PlayerAdded:connect(onPlayerEntered)
Add Comment
Please, Sign In to add comment