scoreboard players set var shapescape_mb_PlayerNumber 0
execute as @a run scoreboard players add var shapescape_mb_PlayerNumber 1
scoreboard players operation @s shapescape_mb_PlayerNumber = var shapescape_mb_PlayerNumber
execute as @s[scores={shapescape_mb_PlayerNumber=..1}] run event entity @s player_number_1
execute as @s[scores={shapescape_mb_PlayerNumber=2}] run event entity @s player_number_2
execute as @s[scores={shapescape_mb_PlayerNumber=3..}] run event entity @s player_number_3