Hello, so I’m making a custom hotbar.My issue is that my .ChildAdded event doesn’t work. It doesn’t fire when items are added. It only fires when i do: instance.new(). This is my script, please help
local Player = game.Players.LocalPlayer
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
local Backpack = Player:WaitForChild("Backpack")
Backpack.ChildAdded:Connect(function(Weapon)
print(Weapon)
end)
In addition, you have to put .Name on Weapon when printing because the child added is just an instance. So if your printing it, it is just a instance then it won’t print any because it doesn’t know if you want to print the tip? The grip? And others