Advertisement
Meizch

Sprint Set (Shift)

Jun 29th, 2021
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement