Accessory not on player

Im sending an accessory through the server to replicated storage then on the client cloning it and adding it to the character though its inside the character but hes not wearing it

Server

accessory.Parent = ReplicatedStorage

Client

		for i,v in pairs(ReplicatedStorage:GetChildren()) do
			if v:IsA('Accessory') then
				local accessory = v:Clone()
				humanoid:AddAccessory(accessory)
			end
		end

Thank you!!

1 Like

Why are you trying to only wear it on the client?

Also if you’re cloning an accessory, you can just parent the clone to the character, instead of using AddAccessory.

accessory.Parent = humanoid.Parent
1 Like

yea i understood my mistake instead i used a remote event and did it on the server

1 Like

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