I am trying to set the player’s character to a dummy in game.
I know it can be somewhat acheived this way:
Player.Character = --insert character here
This has some problems I need not to happen, though. I will list them below:
- Animations do not play upon being changed;
- Upon setting the character back to nil, a red flash happens and the character model gets deleted;
- The camera resets upon changing.
The only way I have found to somewhat “patch” the deletion issue is cloning the character before death and putting it on the workspace, around deletion time. The problem here is, not only does it not patch the remainder issues, but the characters blinks and goes to a slightly different position depending on if it was moving or not.
For a bit more context on what i am trying to acheive is having a bunch of dummies around the map and having the server select a random one every x seconds to be currently controlled by the player.
Thank you for reading, I will be awaiting your responses!