Accessory not attaching to player

im trying to make a tool that equips an accessory when used but when you use it the cloned accessory is not attached to the player
there is an attachment called LeftCollarAttachment parented to handle
this is the code in a localscript

tool = script.Parent

tool.Activated:Connect(function()
	
	local playa = script.Parent.Parent
	local clone = game.Workspace.accessory["employee badgeAccesory"]:Clone()

	clone.Parent = playa
	print(playa)
	print(clone.Parent)

	

end)

please help i cant figure it out

This part should probably only be

local clone = game.Workspace["employee badgeAccesory"]:Clone()

Also keep in mind that other players won’t be able to see it because it’s a local script.

1 Like

the employee badge is in a folder called accessory

i put it into a serverscript and it worked

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.