Oh please, the only reason those hat remove scripts break is because the Hat class is deprecated, they need to switch to Accessory, watch
--In a LocalScript--
p = game.Player.LocalPlayer
m = p:GetMouse()
m.KeyDown:connect(function(key)
if key == "=" or key == "+" then
if p.Character == nil then return end
ch = p.Character:GetChildren()
for i=1,#ch do
if ch[i].className == "Accessory" or ch[i].className == "Hat" then
ch[i]:Destroy()
end
end
end
end) |