Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Backpack event

Is there any event that runs when an item is added to the backpack?

2 answers

Game.Players.PlayerAdded:connect(function(Player)
    Player:WaitForChild("Backpack").ChildAdded:connect(function(Tool)
    --Execute more code here
    end)
end)

The .ChildAdded:connect() would be useful here.

2 comments

0

Thx, I'll try to use it.

0

The code above is better.

This discussion is preserved as it was. New answers, comments, and votes are closed.