I have a loop that creates multiple TextButtons depending on the players inventory, each TextButton features the same name but with a unique NumberValue instance inside of it to differentiate between.
Currently I'm using this method to detect clicks, but it seems to not be working with the auto generated TextButtons. Do you have any advice how to handle this problem? as I want each button to be clickable.
yScreenMenu.Inventory.ScrollingFrame.TheInventoryItem.MouseButton1Click:connect(function()
--Not detecting
end)

1 comment
Genius, very smart. Thank be to you sir.