Alternative to Player:RemoveCharacter()

Don’t need to explain much here
Is there an alternative to Player:RemoveCharacter()?
I’m trying to remove the player’s character, but keep the character in workspace.

I’ve noticed that game servers can’t call :RemoveCharacter(), it’s only available in studio.
I’ll look into cloning the character then deleting the original, but that would cause unnecessary hassle if there’s an alternative.

It says in the documentation for Player | Roblox Creator Documentation that it is not usable in scripts. This is most likely the cause of your problem.

You can do this simply enough by setting the Parent of the character model to nil. Then, when you want to, re-parent the player back to the Workspace | Roblox Creator Documentation or a descendant of it. You will see that the character will be in exactly the same position, orientation, and state that it was in when it was removed.

I tried that, it didn’t exactly work the way I wanted.
When I remove the character, I want it to stay in workspace, just not set as the player’s character.

Cloned player’s body parts in to a new model, and set original character to nil.

Oh. Sorry for the late reply. I’m pretty sure you can just set the Player | Roblox Creator Documentation property to nil and set it back to the same character when you want to.

Yeah I tried that on one of my first attempts, it just removes the character itself. What I wanted was the character to stay in Workspace, but the player no longer controls it.

Player:LoadCharacter()

Possibly the above, not sure why you need an alternative for this.

Player:LoadCharacter() loads the character. I don’t want the player to load their player avatar, but remove their current one without removing the current one from the workspace.

1 Like

Have you tried parenting the character model to some folder outside of workspace?

His problem is that he wants the character to remain where they are but not be able to move or anything.