Please never use loadfile(), especially for scripts that load resources like images because they are executed again every time! It can become terribly slow in real situations like a pause menu.
I will take that in mind. I am still getting used to Lua syntax. I will stalk your game scripts later.

I updated the main script, cleaned up comments, fixed 2 bugs, and credited everyone. Please let me know if any additional credit is wanted or changed related to the individual.
Updated scriptThe project and a complete tutorial will be here by Sunday for this script. You will be able to use the images and everything. It only took me 5 minutes to make the images and the images can be replaced with anything. They do not have to be dots because they could be bars.
Edit:Noticed a bug when walking. I fixed. No more bomb walking sounds.
P.S. I became a Sr. Member. That means I need to make some sound effects to celebrate the rank up.