Why is this game so bugged. Plus more

I tried looking through the code, but it’s just to messy for me to look through it all.

Here are some tips to organize your code better