Why isn't my wave detection code working?

I'm making a big game, and I can't get the game to read what wave/round the player is on. Can someone help? GAME LINK:https: //microstudio.dev/i/codecat1/bitgrind

Can anyone look at my code and tell me why it's not working?