How would I go about, saving Hats

Ever heard of the Game Trade Tower?..

They have something, where if you’re ingame and you join the Same Hats you had in that game Stay on your Avatar, which it’s a Trading game ( Ingame Hats Not Roblox ). and if you keep the hats you have on, and next time you rejoin it saves. Is there anyway to Possibly do this?