I tried to create a script that can remove accesories on a player when the server is filtered enabled and this script won't work, I'm not sure why since I just started to script with RemoteEvents ~~~~~~~~~~~~~~~~~
local Event = game:GetService('ReplicatedStorage'):WaitForChild('HatRemover') script.Parent.MouseButton1Down:connect(function() game.ReplicatedStorage.HatRemover:FireServer(script.Parent.Text) end) function MouseButton1Click(hit) local d = hit.Parent:GetChildren() for i=1, #d do if (d[i].className == "Accessory") then d[i]:remove() end end end Event.Touched:connect(function() )~~~~~~~~~~~~~~~~~