I backpacked this stuff from another contest entry I made, but the original took me hours to make. I hope you appreciate it!
Thanks to @Atomic Sapper101 for teaching me how to make the player. (I changed the code a bit to work with this) All the rest of the code is 100% me.