I put together an set of scan input functions. If a key is pressed, released, or down the respective function is called. The function calls are automatic. This saves a lot of writing of "if/then" statements. All the functions are organized by which key and the event of that key, making it a very organized method.
DBP Example:
Removed!
Current Problem: 
The problem is the Keyboard function can't be in a coroutine. It skips checking some keys. What I need is an alternative way to scan for input. Scancode doesn't work for scanning input!
This snippet is used in my project
Zombie Project: Early WIP.
Any comments, questions, or bugs let me know. Don't forget to credit me if you use any of my code.
DigitalFury