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)
Use a method called, ClearCharacterAppearance. This clears all hats, shirts, pants, character meshes(packages) and etc.
game:GetService("Players").PlayerAdded:connect(plyr) plyr.CharacterAdded:connect(char) plyr:ClearCharacterAppearance() end) end)
Hope it helps!
I tried, I didn't test. Idk if it'll work. But tell me if it works.
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(character) character:WaitForChild("Hat") wait(2) character.Hat:Destroy end) end)
I do not know if this will work.. I'm kind of a newbie to scripting.. so.. I hope I helped.