Hi! Trying to do a custom Hotbar for tools while encountering an issue.
My LocalScript (which is located in PlayerGui) doesn’t detect when a child is being added/removed from the backpack.
local player = game.Players.LocalPlayer
local backpack = player.Backpack
backpack.ChildAdded:Connect(function(tool)
if tool:IsA("Tool") then
generateButton(tool)
end
end)
Hierarchy, unsure of it's usefulness though.

Any help is appreciated!