script.Parent.ChildAdded:connect(function(child) local inventorygui = script.Parent.Parent.PlayerGui.GUIs.Inventory.Inventory.List script.Parent.Items.Value = script.Parent.Items.Value + 1 inventorygui[script.Parent.Items.Value].Text = child.Name end)
It's a very simple script. When I pasted a line to print on the second line nothing happened however. I verified that the script was in the right place and there was a child being added. Any idea what could be happening?
In situations like this, sometimes it's good to confirm that the script is running at all. Possible reasons: