Is there a script for this? I tried this:
local prev
local parts = script.Parent:GetChildren()
for i = 1,#parts do
--remove any of the following parts that say "(parts[i].className == [className])" if you want to exclude that particular className type from the Weld
if ((parts[i].className == "Hat")) then
if (prev ~= nil) then
parts[i]:Destroy()
end
prev = parts[i]
end
end
wait(3)

2 comments
So you want the player to not have any hats or shirts and etc?
Yes