|
| 26 Nov 2015 06:33 AM |
Is there a way to call a respawn? In my game framework, when the player dies, he can't respawn (sometimes); Is there a way to call a respawn event? |
|
|
| Report Abuse |
|
|
Sebery
|
  |
| Joined: 05 Apr 2014 |
| Total Posts: 182 |
|
|
| 26 Nov 2015 06:47 AM |
game.Players.PlayerAdded:connect(function(plr) humanoid = plr.Character:FindFirstChild'Humanoid' if humanoid then humanoid.Died:connect(function() plr:LoadCharacter() end) end end) |
|
|
| Report Abuse |
|
|
| |
|
Sebery
|
  |
| Joined: 05 Apr 2014 |
| Total Posts: 182 |
|
|
| 26 Nov 2015 07:35 AM |
eZ to make. *opens roblox wiki*
Greetings, Sebery. |
|
|
| Report Abuse |
|
|