scoreboard players add @s timer_tutorial 1
execute @s[scores={timer_tutorial=2}] ~ ~ ~ execute @a[x=1783,y=12,z=1234,dx=2,dy=8,dz=8] ~ ~ ~ playsound gameplay.tutorial.voice_1 @s ~ ~ ~
execute @s[scores={timer_tutorial=2}] ~ ~ ~ tag @s add script_1a
execute @s[scores={timer_tutorial=2}] ~ ~ ~ titleraw @a[x=1783,y=12,z=1234,dx=2,dy=8,dz=8] actionbar {"rawtext":[{"translate":"gameplay.tutorial.room_one.script_1"}]}
execute @s[scores={timer_tutorial=15}] ~ ~ ~ titleraw @a[x=1783,y=12,z=1234,dx=2,dy=8,dz=8] actionbar {"rawtext":[{"translate":"gameplay.tutorial.room_one.script_1"}]}
execute @s[scores={timer_tutorial=30}] ~ ~ ~ titleraw @a[x=1783,y=12,z=1234,dx=2,dy=8,dz=8] actionbar {"rawtext":[{"translate":"gameplay.tutorial.room_one.script_1"}]}
execute @s[scores={timer_tutorial=40}] ~ ~ ~ titleraw @a[x=1783,y=12,z=1234,dx=2,dy=8,dz=8] actionbar {"rawtext":[{"translate":"gameplay.tutorial.room_one.script_1"}]}

execute @s[scores={timer_tutorial=40..}] ~ ~ ~ tag @s add script_1
execute @s[scores={timer_tutorial=40..}] ~ ~ ~ scoreboard players reset @s timer_tutorial

# time based killing
execute @s[scores={timer_tutorial=2}] ~ ~ ~ event entity @e[x=1581,y=125,z=1065,dx=322,dy=-100,dz=332] tsu:despawn
execute @s[scores={timer_tutorial=20..}] ~ ~ ~ kill @e[x=1581,y=125,z=1065,dx=322,dy=-100,dz=332]