Was wondering if it was possible to copy a characters hats and clothing and after they press a button or something they would be taken off then re-applied back on. If this is possible how could it be done; Thanks.
✓ ANSWER ACCEPTED
Copy hats and clothing from a character?
1 answer
✓ Accepted answer
Here, hope this helps:
local p = game.Players.LocalPlayer
repeat wait() until p.Character
local c = p.Character
local folder = Instance.new("Folder",script)
folder.Name = "ClothesHolder"
function removeclothes() -- Puts your clothes in a folder.
for i,v in pairs(c:GetChildren()) do
if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Accessory") then
v.Parent = folder
end
end
end
function grabclothes() -- Puts your clothes back.
for i,v in pairs(folder:GetChildren()) do
if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Accessory") then
v.Parent = c
end
end
end
wait(1)
removeclothes() -- Calls the function to remove yor clothing.
wait(1)
grabclothes() -- Calls the function to return the clothing.
2 comments
0
Thanks
0
np
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
make the cloothing invisible?
More so for a tool that on click it takes it off applies different clothing then puts back on your original