RemoveCharacter (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26 No edit summary |
>Legend26 No edit summary |
(No difference)
|
Revision as of 16:34, 23 December 2011
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
![]() | |
Returns | nil |
Description: | Sets the parent of the Player's character to nil. |
Member of: | Player |
Example
If using the Command Bar or a CoreScript then...game.Players.LocalPlayer:RemoveCharacter() -- removes the LocalPlayer's CharacterIf using a Script or a LocalScript...
game.Players.LocalPlayer:RemoveCharacter() --> s RemoveCharacter