Saving Player Shirt

Hello! im new at scripting, and i want to know if have any way to
save player shirt/pants
remove old player shirt/pants
give a new shirt/pants
wait(10)
remove the shirt/pants the script gave to player
and give player shirt/pants again
is there any method to do this?
This is my script, it just change player shirt/pants! :smiley:

local ChangerPart = script.Parent
local ShirtTemplate = "http://www.roblox.com/asset/?id=nicenumberhere"
local PantsTemplate = "http://www.roblox.com/asset/?id=nicenumberhere"

ChangerPart.Touched:Connect(function(TouchPart)
	if TouchPart and TouchPart.Parent and TouchPart.Parent:FindFirstChild("Humanoid") then
		print(TouchPart.Parent.Name ..  " - Changed clothes")
		local Character = TouchPart.Parent
		local shirt = Character:FindFirstChildOfClass("Shirt")
		local pants = Character:FindFirstChildOfClass("Pants")
		if not shirt then 
			shirt = Instance.new("Shirt", Character)
			shirt.Name = "Shirt"
		end 
		if not pants then 
			pants = Instance.new("Pants", Character)
			pants.Name = "Pants"
		end
		Character.Shirt.ShirtTemplate = ShirtTemplate
		Character.Pants.PantsTemplate = PantsTemplate
		wait(3)
	end
end)

You have to use HumanoidDescriptions.

local HumDesc = Instance.new("HumanoidDescription")
Player:LoadCharacterWithHumanoidDescription(HumDesc)

As for saving their clothing, just save it in a Variable then change the HumanoidDescription

what I do to store them:

  1. Make an IntValue using Instance.new("IntValue) and name it something like “Shirt”

  2. Make a LocalScript in StarterPlayerCharacter, so it runs every time someone respawns. Also parent it to the player.

  3. Inside the script you have to make a checker using a loop. It has to check if the IntValue is inside of the player, if so, make the shirt equip again.