Is there anyway to easily remove the players character without actually killing them??
Destroying the character and LoadCharacter() are the only two things that come to mind. You’re gonna have to be more specific I think.
Method Suggestion:
You will have to disable the auto-respawning for the players by default. After that, you will have the camera only. Then(destroy the character?) you can hook functions to run Player:LoadCharacter()
as @cloakedyoshi stated.
Player.Character = nil
should remove the character without actually killing the character, then Player:LoadCharacter()
to spawn the character in again.
Doesn’t the player have to be in the DataModel for LoadCharacter to be called?
I didn’t destroy the player object, I only set the character to nil
I find this question odd because the character doesn’t die if you change it’s ancestry. Are you trying to achieve a respawn system or something?
Calling Destroy on the character should be sufficient enough, provided you do not need the character model anymore. If you do, then parent it to ServerStorage (wouldn’t say nil, might get garbage collected there).