OMG I MADE THIS SOOO LONG AGO!!
I give credit to...the scratch coding book for teaching me how to do this.