lowvillan
|
  |
| Joined: 14 Sep 2010 |
| Total Posts: 725 |
|
|
| 21 Apr 2014 04:46 PM |
| Any specific function or something gais |
|
|
| Report Abuse |
|
|
| 21 Apr 2014 04:53 PM |
Wiki ftw
local respawnTime = 5--change to a higher number local Players = Game:GetService("Players") Players.CharacterAutoLoads = false Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) -- find the humanoid, and detect when it dies local Humanoid = Character:FindFirstChild("Humanoid") if Humanoid then Humanoid.Died:connect(function() -- delay, then respawn the character wait(respawnTime) Player:LoadCharacter() end) end end) Player:LoadCharacter() -- load the character for the first time end)
Alt. of Jetta765214 |
|
|
| Report Abuse |
|
lowvillan
|
  |
| Joined: 14 Sep 2010 |
| Total Posts: 725 |
|
| |