I need help with making my code

what i’m making is a game where it’s essentially a cafe. what i need is a way to make selectable food icons at the bottom of the screen, and i need to figure out how to make the game take or give points based on whether you gave the customer what they want or not. i don’t know if this is too complicated or anything, but any possible assistance would be greatly appreciated.

I would suggest posting the game and saying @richard with the question

Step #1. Create a variable for every food. This way if it’s a needed food item set it to true.
Step #2. Create a trigger. This will be used when a customer comes with there request so we can tell what food was selected. The best way we can do this is create a timer and when it’s done it will check the food that was clicked. If you have the Mini-menu extension you won’t need a timer and you can detect clicks.
Step #3. Create another variable for the food that activates when the trigger runs. This way when you click it the variable will read the number for amount clicked.
Step #4. When the variable goes off you can run this code:
If “bread” is equal to (1) or (2) then
+1 point

Do that for every food you added

If you need a more in depth explanation. I can recommend asking the mods.

thank you