Tool wont load inside backpack everytime

im trying to add a tool inside the player when they join and it doesnt work everytime maybe only 30% of the time it actually clones inside the backpack, (its a simulator so i cant just use starterpack because they will have unique items currently equipped)

Players.PlayerAdded:Connect(function(player)
	PlayerAdded(player)
	
	local currentNet = player:FindFirstChild("HiddenStats").CurrentNet.Value
	local Net = game:GetService("ServerStorage").NetTools:FindFirstChild(currentNet)


	local clone = Net:Clone()
	player.CharacterAdded:Connect(function(character)
		clone.Parent = player:WaitForChild("Backpack")
		
	end)

	ReplicatedStorage.RemoteEvents:WaitForChild("UpdateNet"):FireClient(player, clone.Name)
end)

Or maybe because you clone the tool once instead of every character reset. Human mind is always better than some silly ChatGPT.

4 Likes

Just use Player.StarterGear instead.

have tried all 3 of these already same result

1 Like

basically the same thing, still the same result

As with what @SomeFedoraGuy said, you’re cloning the tool only once when the player joins. Once the character is reset, you’re trying to parent the destroyed clone to the backpack, hence the issue.

Instead, clone the tool every time the player’s character respawns, simple:

	player.CharacterAdded:Connect(function(character)
		local clone = Net:Clone()
		clone.Parent = player:WaitForChild("Backpack")
	end)
1 Like

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