I had a hat remover working in my game but when I changed it to R6, the hat remover stopped working so I tried to make a new one but nothing seemed to work. Can someone help me by pointing out what I've done wrong? There are no errors in the output bar.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
local c = char:GetChildren()
if c.ClassName == "Accessory" then
c:Destroy()
c:Remove()
end
end)
end)

1 comment
The script still doesn't work. Nothing in the output bar either.