I'm sure that this is possible, but I'm not sure what the best way to do it is. In my game, I'm going to have uniform changers, mostly with department uniforms (Police, Fire Dept, etc.)
What I'm wondering is the best way for a uniform changer to change to their normal avatar. I'm not sure exactly how to do this.
What my first thought to do (but was a bad way to do it) is copy their inventory to a temporary location, save their location, and then reset them, teleport them back to that position, and give their items back. This, obviously, is not the best way to do it, but I'm not sure if there's any better way.
Any suggestions or documentation links would be very helpful! Thank you.
Edit: I've found out about Player:LoadCharacter() I am not sure if this removes anything from the player's inventory/backpack, or anything inside of the Player object inside game.Players.

2 comments
Thank you, I'll try this out!
When you call LoadCharacter() the player's backpack does indeed get wiped, but doing LoadCharacter() does not count as a Humanoid death.