do you guys know why my accessorys dont register inside of a character? heres my script to check but even when the accessorys are put in the character server sided they don appear
local character = script.Parent.Rig
script.Parent.ClickDetector.MouseClick:Connect(function(plr)
local pos = plr.Character.PrimaryPart.CFrame
local charCloned = character:Clone()
charCloned.Name = plr.Name
plr.Character = charCloned
charCloned.Parent = workspace
charCloned.PrimaryPart.CFrame = pos
for i,v in pairs(charCloned:GetChildren()) do
if v:IsA("Part") or v:IsA("MeshPart") then
v.Anchored = false
end
end
for i,v in pairs(plr.Character:GetChildren()) do
print(v.Name)
if v:IsA("Accessory") then
warn("Accessory " .. v.Name)
end
end
end)
the script doesnt register it inside the character aka its not showing up when i print the whole character and not appearing when i search for accessorys inside the character
Well instead of keeping the Accessory inside the character, instead take it out and put it somewhere like ReplicatedStorage, and clone it then parent it to workspace and manually add the accessory as i mentioned above.