Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Putting a tool inside a players ?backpack dosen't work no errors either

Asked by 5 years ago
game.Players.PlayerAdded:Connect(function(plr)

    Instance.new("Tool",plr.Backpack)

end)
0
Did you name one of the parts in the tool "Handle"? n00b_warri0r 11 — 5y

2 answers

Log in to vote
0
Answered by
Fad99 286 Moderation Voter
5 years ago
Edited 5 years ago

Its most probably because the char didint load yet, so waiting for it should fix the issue (Tested In Studio)

game.Players.PlayerAdded:Connect(function(plr)
    repeat wait() until plr.Character
    Instance.new("Tool",plr.Backpack)
end)
Ad
Log in to vote
1
Answered by 5 years ago

First, get your tool. Then name, or one of, the part "Handle". Then press the plus next to workspace and add a tool. Next, you put the part(s) in the tool. Finally, put the tool with the part(s) in "StarterPlayerPack".

Answer this question