Title is basically self explanatory.
In this script here, the hats will not be removed. The problem is on line 5. I've tried using :Destroy(), :Remove() and :ClearCharacterAppearance() but none have worked. All other lines of the script work, except for line 5.
wait(0.1)
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
player:ClearCharacterAppearance()
player.CameraMode = Enum.CameraMode.LockFirstPerson
player.Character.Humanoid.WalkSpeed = 10
player.Character.Humanoid.Name = "Hoomanoid"
mouse.Icon = "rbxassetid://251444305"
Any help is much appreciated, thanks!

5 comments
:Remove() is deprecated. Use :Destroy()
That didn't work either.
Neither :Remove() or :Destroy() worked.
.... Jesus. I am gonna write this script from scratch, you're obvioudly too inexperienced to do it yourself.
make it capital 'D'