Well now it compiled. And I feel a tad stupid for late-night coding, but oh well.
It works and compiles right now thanks to you guys.
__________________
I can't believe I wasted 5 years of my life not knowing how to program correctly. Went too deep into advanced coding before even learning the basics correctly. :c