BumpyPlayz

Instant Spawn Script

Jan 5th, 2020
823
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1.  
  2.  
  3. game.Players.CharacterAutoLoads = false
  4.  
  5. game.Players.PlayerAdded:Connect(function(player)
  6.     player.CharacterAdded:Connect(function(char)
  7.         local humanoid = char:WaitForChild("Humanoid")
  8.         if humanoid then
  9.             humanoid.Died:Connect(function()
  10.                 player:LoadCharacter()
  11.             end)
  12.         end
  13.     end)
  14.     player:LoadCharacter()
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment