How to give player character appearance but keep player height

I made a height simulator game but to see more accurately the height differences I made a hat remover however I need to make it so it gives back the player their accessories once they leave the zone without respawning them. How could I achieve this?

HumanoidDescription

You can grab their Avatars Current Description by saying Humanoid:GetAppliedDescription() which should give you the Id of their accessories, clothing, etc.

would this give me the description even though i already remove their accessories in game?

As long as you dont apply any changes to the HumanoidDescription the Data will remain the exact same, If you plan on changing it, I recommend saving the Instance, or the Data in it, so it can be used later.

So If i destroyed the accessory via a script in game the humanoiddescription wont work?