Hi guys, I have created a game where zombies spawn at the side of the screen and walk towards the player. I created some code that gives a 2% chance of them spawning which works well at the start but I would like the rate to increase over time to create a sense of challenge.
Here is the code I have now:

