(HELP!) Accessory Cloning Glitch!

I’m trying to clone a custom accessory and add it to the player’s Character, but for some reason it wouldn’t work. Note: There is nothing wrong with the accessory placements btw.

Script in ServerScriptService:

local LevelHammers = game.ReplicatedStorage.LevelHammers
local Starter = LevelHammers.Starter
local Experienced = LevelHammers.Experienced
local Advanced = LevelHammers.Advanced

game.Players.PlayerAdded:Connect(function(plr)
	local StarterClone = Starter:Clone()
	StarterClone.Parent = plr.Character
end)
1 Like

You should wait or listen for whenever the character is created. The character is not loaded at the same time the player is. In short, you’re parenting the StarterClone to nil since plr.Character does not exist. I would suggest using the CharacterAdded method. Here’s how you implement that:

game.Players.PlayerAdded:Connect(function(plr)
   plr.CharacterAdded:Connect(function(character)
      local StarterClone = Starter:Clone()
      StarterClone.Parent = character
   end)
end)
1 Like