I’m trying to when I equip a tool the player gets a outfit and when I unequip it it removes the outfit. The problem is when I reequip it again the hats don’t reequip.
--some code
--Tool gets equipped
local descClone = Humanoid:GetAppliedDescription()
descClone.HatAccessory = "1744246930,1744240420,88885069"
descClone.LeftArm = 1974612625
Humanoid:ApplyDescription(descClone)
--Tool unequipped
for _,v in pairs(Char:GetChildren()) do
if v:IsA("Accessory") then
if v.Name == "EmporerUniverseCrown" or v.Name == "FedNecklace" then
v:Destroy()
end
else if v.Name == "SpaceArmor" then
v:Destroy()
end
end
end