local players = game:GetService("Players")
local player = players.LocalPlayer
local RS = game:GetService("ReplicatedStorage")
local character = player.Character or player.CharacterAdded:Wait()
local descendants = character:GetDescendants()
local Acc = RS.Accessory
local function SetTransparencyToZeroAndAddAcc()
for _, descendant in pairs(character:GetDescendants()) do
if descendant:IsA("MeshPart") then
descendant.Transparency = 1
end
end
local human = character:WaitForChild("Humanoid")
local CloneR = RS.Accessory:Clone()
CloneR .Parent = character
human:AddAccessory(CloneR)
end
SetTransparencyToZeroAndAddAcc()
That’s because when you parent an accessory onto a character it automatically wears the accessory. With this knowledge, when you use human:AddAccessory(CloneR) you’re attempting to wear the accessory twice. To remove this warning delete the add accessory line.