How do I do it so it counts the quantity of an item that a player is holding andd assigns that to a player variable
How do I do it so it counts the quantity of an item that a player is holding andd assigns that to a player variable
you could try to create an entity script within the holder unit that triggers every second. in that script edit the owner player’s variable. you can get the item’s quantity with the item quantity function
Could I get an example?