Help on when answering a question you get Ammo or Energy

Hello im making a game and i was wondering on how i can make it to where a player answers a question, They will get Energy or Ammo depending on whats easier to make

this is in the gimkit documentation

use this

and link a item granter to the questioner so when a question is answer correctly it grants the item