Number of player entry system

I was wondering if anybody, can help me. I’m trying to make a number of player system. so at the beginning of the scene i want a text entry to display asking how many players (1-8), then after selecting which amount (from in-memory text) it will automatically display the number of characters on the next scene. So for instance “3” players was typed in entry, only 3 character objects will display

I suppose you need to store the text entry in a number variable, and then repeat Variable(NumberOfPlayers) times the create object action.