Wait to receive user input

How can I have my script wait to receive user input? Basically, I want my script to pop up a prompt on the HUD and essentially delay ad infinitum until one of the prompts was selected and proceed accordingly.

Hi ShermTank7272,

You can have it set to boolean checks, it will not move forward unless one of the options is selected(i.e: you select option A, which sets a boolean for A to true, that allows X function, if false, it will check B, then C, etc.).