|
| 04 May 2014 09:51 PM |
| I know there is a way to edit the set time that a player remains dead and set a new respawn time. So is there a way to create a new respawn function all together? Like respawn upon clicking a GUI button. |
|
|
| Report Abuse |
|
|
|
| 04 May 2014 09:53 PM |
player:LoadCharacter()
respawns the player instantly, does not kill it.
Or if you want a delay
wait(3) game.Players.NeoEclipse:LoadCharacter() |
|
|
| Report Abuse |
|
|
|
| 04 May 2014 09:54 PM |
| But the thing with load character is if the wait is longer than 5 seconds it will load the character 2 times |
|
|
| Report Abuse |
|
|
|
| 04 May 2014 09:56 PM |
| you might have to delete the character on death then in x amount of seconds respawn with loadcharacter |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 04 May 2014 09:59 PM |
| http://wiki.roblox.com/index.php/CharacterAutoLoads_(Property) |
|
|
| Report Abuse |
|
|
|
| 04 May 2014 10:01 PM |
| Oh boy, 128GB, thanks for the link! Also, do you know the link for the wiki page to default character customization? To get rid of anything the user added to the character (inducing hats, clothes, and body colors). |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 04 May 2014 10:20 PM |
I don't believe there is a wiki link for exactly that But you could make it using these
http://wiki.roblox.com/index.php/PlayerAdded_(Event) http://wiki.roblox.com/index.php/CharacterAdded_(Event) http://wiki.roblox.com/index.php?title=Loops http://wiki.roblox.com/index.php/API:Instance/IsA
Basically, when a player joins the game, use character added on them, then loop through everything in their character and us IsA to to check
if Object:IsA("Hat") then -- example
then destroy the object |
|
|
| Report Abuse |
|
|
|
| 04 May 2014 10:22 PM |
@128GB,
There is a thing similar to CharacterAutoLoads that you can set for the character to be null, but I forgot what it was... I used it about 6 months ago... |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 04 May 2014 10:24 PM |
Oh right http://wiki.roblox.com/index.php/CharacterAppearance_(Property) |
|
|
| Report Abuse |
|
|
Zorbon61
|
  |
| Joined: 05 Jun 2012 |
| Total Posts: 321 |
|
|
| 04 May 2014 10:24 PM |
| Just make them spawn with a custom appearance set to '-1' rather than their userID. |
|
|
| Report Abuse |
|
|
|
| 04 May 2014 10:26 PM |
| Don't believe that's it either. I am going to look through things and see if I can find it. If I do I will tell you for future reference. |
|
|
| Report Abuse |
|
|
|
| 04 May 2014 10:28 PM |
Yes, use character appearance. What I did was made an alt and changed it to look however I wanted, and set the CharacterAppearance to it. The thing is though if you set it when a player is added, you will have to kill/respawn the player for it to show. |
|
|
| Report Abuse |
|
|
|
| 04 May 2014 10:34 PM |
Alright, found exactly what I wanted. It is a function to set the character to look like the class "noob" model. It goes into a player entrance function.
Player.CanLoadCharacterAppearance = false |
|
|
| Report Abuse |
|
|