Player two army


I tried to make a player two for My Game but the thing is the player is supposed to be created when press z an if i press z another time ir shouldn’t happen so, how do i do that because it happens if You Do it again,


How many players do you want? If you only want 1 player then do this:

Number of Player < 1
Z key is pressed
Create Player

If you want many players in one scene then do this:

Scene Variable players < 1
Z key is pressed
Create Player
Change the Scene Variable players + 1


I have to objects player one and player two and i only want one player two



is Okay but make sure that you write Player2 instead of Player


Ok let me try todo that


Worked perfectly thanks!