Everytime i try to run my script it just errors out that the "backpack is not a valid member of player"
Here is what my code says,
game.Players.PlayerAdded:connect(function() if game.Players.raspyjessie then raspyjessi = game.Players.raspyjessie Tool = game.ReplicatedStorage.BuildingTools:clone() Tool.Parent = raspyjessi.Backpack end end)
You have to wait for the backpack to be created before adding the tool to the backpack
game.Players.PlayerAdded:connect(function(player) if player.Name == "raspyjessi" then local backpack = player:WaitForChild("Backpack") --waits for the backpack to be created game.ReplicatedStorage.BuildingTools:Clone().Parent = backpack end end)
Yeah, post the code in code block please.
Anyway, you needed to wait for the backpack creation because it is loading so fast the minute you are in the sever it runs before your character backpack is even created.