Unfortunatrley, I may have missed a file when uploading the game, because it was working before.
Thank you for pointing this out, I might have missed a file or something because it was working perfectly fine before.
I'm really sorry about the bugs, it's my first time every making a game. Also I started a day before games were due, which I'm aware wasn't the best idea lol.