scoreboard objectives add temp dummy
scoreboard players random @s temp 1 10

execute as @s[scores={temp=1}] run summon ldz:tutorial_enderman 104 167 56
execute as @s[scores={temp=2}] run summon ldz:tutorial_enderman 108 167 60
execute as @s[scores={temp=3}] run summon ldz:tutorial_enderman 101 167 61
execute as @s[scores={temp=4}] run summon ldz:tutorial_enderman 96 167 62
execute as @s[scores={temp=5}] run summon ldz:tutorial_enderman 109 167 66
execute as @s[scores={temp=6}] run summon ldz:tutorial_enderman 102 167 70
execute as @s[scores={temp=7}] run summon ldz:tutorial_enderman 99 167 65
execute as @s[scores={temp=8}] run summon ldz:tutorial_enderman 108 167 71
execute as @s[scores={temp=9}] run summon ldz:tutorial_enderman 104 167 59
execute as @s[scores={temp=10}] run summon ldz:tutorial_enderman 112 167 61

execute at @e[type=ldz:tutorial_enderman,c=1] run playsound player.morph.vanilla.teleport @a ~ ~ ~ 1.5
execute at @e[type=ldz:tutorial_enderman,c=1] run particle ldz:vanilla_teleport ~ ~ ~

execute if score .current TutorialStage matches 3 as @p run function tutorial/stage_4