they should remove an accessory called "acc" from the character but that error appeared in the output menu..so what to do ? (the remoteEvent called "remove" )
the localscript (inside a textbutton)
button = script.Parent
rbl = game:GetService("ReplicatedStorage")
remove = rbl.remove
button.MouseButton1Click:Connect(function()
remove:FireServer()
end)
the server-sided script (serverscriptservice)
rblstorage = game:GetService("ReplicatedStorage")
remove = rblstorage.remove
remove.OnServerEvent:Connect(function(plr)
local char = plr.Character
local acc = char:FindFirstChild("acc")
acc:Destroy()
end)

2 comments
I answered your question. I hope it helps!
If I helped you out please accept my answer!