local Dweapon = game:GetService("ReplicatedStorage").Dagger local Dclone = Dweapon:Clone() local TSweapon = game:GetService("ReplicatedStorage").TrainingSword local TSclone = TSweapon:Clone() game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) local D = player:WaitForChild("StarterGear"):FindFirstChild("Dagger") local TS = player:WaitForChild("StarterGear"):FindFirstChild("TrainingSword") if D then D:Destroy() wait(10) Dclone.Parent = player.StarterGear end if TS then TS:Destroy() wait(10) TSclone.Parent = player.StarterGear end end) end)
Error The Parent property of Dagger is locked, current parent: NULL, new parent StarterGear
Parent feature locked means they cannot be deleted or the game would stop working, like when you try deleting workspace with a script. Maybe you're deleting something you shouldn't?