Hello, I have a problem, in my game, when clicking on an object, an accessory is put on the player, but then I need to remove it, and how to do this I do not understand
local Player = game:GetService("Players")
local Loc2 = script.Parent
Loc2.ClickDetector.MouseClick:Connect(function(guy, hey)
local CARD = game.ServerStorage.Card
local CARDClone = CARD:Clone()
local hum = guy.Character:WaitForChild("Humanoid")
CARDClone.Parent = game.ServerStorage
hum:AddAccessory(CARDClone)
wait(2)
hum:RemoveAccessory(CARDClone)
end)