Giving tool when join doesnt work

when join, this script will give me subspace tripmine. But it doesnt work, and i dont have any idea why. but if parent of tool is anything else, script working successly.

game.Players.PlayerAdded:Connect(function(player)

	if player.Name == "SANS3R66iROBLOX_work" then
		print(player, player.Backpack)
		local copy = game.ServerStorage.SubspaceTripmine:Clone()
		copy.Parent = player.Backpack
	end
end)
copy.Parent = player:WaitForChild("Backpack")

Backpack is prolly not loaded when the player joins (not sure). Also name checks are weak, do user id checks instead

yeah, i just added delay in script after this post, anyways, thanks!

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