thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 25 Jul 2013 01:36 PM |
How would I remove the character?
Players.Player.Character:remove()
Would that work? |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2013 01:38 PM |
| I'm not sure, I suggest removing the parts inside the character |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 25 Jul 2013 01:40 PM |
Don't do Roy's idea, because once you remove the head or torso your character dies.
Player.Character.Parent = nil
That's what I would do. Or set it to Lighting, which doesn't necessarily removes their character but makes them inactive |
|
|
| Report Abuse |
|
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 25 Jul 2013 01:40 PM |
Use :Destroy() for best results.
Workspace.Character:Destroy() |
|
|
| Report Abuse |
|
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 25 Jul 2013 01:41 PM |
| What I want to do is make a 'play' gui that when you click it, it will spawn you. But without loading your character it can't load the gui, so I need a way to remove the character so that the gui comes up |
|
|
| Report Abuse |
|
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 25 Jul 2013 01:45 PM |
| @miz how would I make there character be in lighting? Cause if I use that idea when they click the gui button I want them to spawn |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2013 01:46 PM |
game.Players.LocalPlayer.Character:destroy() That's all there is to it. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2013 03:17 PM |
All you have to do is set the character's parent to Lighting then set its parent back to workspace when you need it to spawn.
If you put the character into lighting though the animation script breaks so you'll need to make the script run again by toggling the disabled property to true then to false in order to reset the script. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2013 03:25 PM |
game.Players.LocalPlayer.Character:LoadCharacter()
-That SHOULD work.
*Tell me about the rabbits, George* |
|
|
| Report Abuse |
|
|