Just click the left pointing arrow at the top right corner of the screen, buy a turret(s), deploy it, and then at the top left corner of the screen, press the play button and the enemy's army will come but your turrets will fight back and you have 20 health and if it goes to 0 you will lose all of your game progress and have to restart.
ty to Warfame for the original idea, script and game Tower Defense Game although I changed the icons