I’m trying to figure out the best way to make a ghost sytem, where once a player dies, they turn into a ghost, but their dead “body” is still there without actually resetting the character, and once the game is over, they return back to their normal bodies. Any tips for this would be appreciated
I’m not sure, I don’t have much experiencing editing the character, but you could try copying all body parts in the character to a new model, then when the player respawns so anything visual you need, like changing character transparency.
Like I said, I don’t know much about the character or rigging in general, so I’m not sure this will work.
To make this work, you need to make the player character archivable (by default it’s not).
Then, you need to clone the player character. The original copy should have properties edited to become a “ghost” and then the copy should have any death effects applied.
Let me know if you need an example!
Thanks an example could help, I will try this whenever I can.
How would you prevent the player from dying if their health is at 0? Would you just do if humanoid died then health = 5 or something? or would that not work.
You would need to make a custom health system.
When the player’s “health” drops to zero, you could run ragdoll functions and clone the character.
Alternatively, you could respawn the player and move them to where their dead body is. (though you would need to set the ragdoll health to 100 and back to 0 again quickly)
if you need any more info please tell me