|
| 24 Nov 2012 06:43 PM |
What is the normal respawn time / how do I change it
(Dont say you cant, Crazyman32 (Or someone) made a script to do just this) |
|
|
| Report Abuse |
|
|
thumper10
|
  |
| Joined: 17 Apr 2009 |
| Total Posts: 3304 |
|
|
| 24 Nov 2012 06:55 PM |
There's a lovely property called CharacterAutoLoads. You should look into it.
~ We're all immortal. We're just stuck in full screen. (Droban/Corecii) |
|
|
| Report Abuse |
|
|
| |
|
thumper10
|
  |
| Joined: 17 Apr 2009 |
| Total Posts: 3304 |
|
|
| 24 Nov 2012 07:02 PM |
There is ONE problem with CharacterAutoLoads: the player has to stare at the "Waiting for Character...". There's really no way around it that doesn't involve loading the Character first.
~ We're all immortal. We're just stuck in full screen. (Droban/Corecii) |
|
|
| Report Abuse |
|
|
thumper10
|
  |
| Joined: 17 Apr 2009 |
| Total Posts: 3304 |
|
|
| 24 Nov 2012 07:02 PM |
game.Players.CharacterAutoLoads = false
~ We're all immortal. We're just stuck in full screen. (Droban/Corecii) |
|
|
| Report Abuse |
|
|
|
| 24 Nov 2012 07:05 PM |
| That just makes them stay dead though lol... |
|
|
| Report Abuse |
|
|
thumper10
|
  |
| Joined: 17 Apr 2009 |
| Total Posts: 3304 |
|
|
| 24 Nov 2012 07:30 PM |
You must manually load the character each time. Put this in a Regular Script and edit the variables, I just threw this together:
local respawnTime = 5
function waitForDeath(char) char.Humanoid.Died:connect(function() wait(respawnTime) game:GetService("Players")[char.Name]:LoadCharacter() end) end
game:GetService("Players").PlayerAdded:connect(function (player) wait() player.CharacterAdded:connect(waitForDeath) player:LoadCharacter() end)
~ I ate Sorcus ~ |
|
|
| Report Abuse |
|
|