execute if entity @a[scores={tutorial_room=1}] run function functionfamily:tutorial/room1

execute if entity @a[scores={tutorial_room=2}] run function functionfamily:tutorial/room2

execute if entity @a[scores={tutorial_room=3}] run function functionfamily:tutorial/room3

execute if entity @a[scores={tutorial_room=4}] run function functionfamily:tutorial/room4

execute if entity @a[scores={tutorial_room=5}] run function functionfamily:tutorial/room5




execute as @a[scores={tutorial_room=1}] at @s if block ~ ~-1 ~ minecraft:magenta_glazed_terracotta run function functionfamily:tutorial/next_room2

execute as @a[scores={tutorial_room=2}] at @s if block ~ ~-1 ~ minecraft:magenta_glazed_terracotta run function functionfamily:tutorial/next_room3

execute as @a[scores={tutorial_room=3}] at @s if block ~ ~-1 ~ minecraft:magenta_glazed_terracotta run function functionfamily:tutorial/next_room4

execute as @a[scores={tutorial_room=4}] at @s if block ~ ~-1 ~ minecraft:magenta_glazed_terracotta run function functionfamily:tutorial/next_room5

execute as @a[scores={tutorial_room=5}] at @s if block ~ ~-1 ~ minecraft:magenta_glazed_terracotta run function functionfamily:tutorial/next_end

