# Spelers zonder geldige keuze krijgen rood. execute unless score @s df_color matches 1..6 run scoreboard players set @s df_color 1 # Houd per speler bij of een route daadwerkelijk vuurwerk lanceerde. scoreboard players set @s df_state 0 execute if score @s df_color matches 1 run function death_firework:route/red execute if score @s df_color matches 2 run function death_firework:route/blue execute if score @s df_color matches 3 run function death_firework:route/yellow execute if score @s df_color matches 4 run function death_firework:route/green execute if score @s df_color matches 5 run function death_firework:route/pink execute if score @s df_color matches 6 run function death_firework:route/purple # Veiligheidsnet: een sterfgeval mag nooit stil verdwijnen. execute if score @s df_state matches 0 run function death_firework:launch/red/l60_t0_s1