execute unless score #KyuQStructuresInstall KyuDummy5 matches 1 run effect give @s[tag=HasteSpell2,tag=K,tag=!HasteReset] minecraft:haste 180 0
execute unless score #KyuQStructuresInstall KyuDummy5 matches 1 run effect give @s[tag=HasteSpell2,tag=K,tag=!HasteReset] minecraft:speed 180 0

execute unless score #KyuQStructuresInstall KyuDummy5 matches 1 run effect give @s[tag=HasteSpell2,tag=HasteUpgrade2,tag=K,tag=!HasteReset] minecraft:haste 300 0
execute unless score #KyuQStructuresInstall KyuDummy5 matches 1 run effect give @s[tag=HasteSpell2,tag=HasteUpgrade2,tag=K,tag=!HasteReset] minecraft:speed 300 1

execute unless score #KyuQStructuresInstall KyuDummy5 matches 1 run tellraw @s[tag=HasteSpell2,tag=!HasteReset] ["",{"text":"Haste + speed has been activated!","color":"green"}]
execute unless score #KyuQStructuresInstall KyuDummy5 matches 1 run tellraw @s[tag=HasteSpell2,tag=HasteReset] ["",{"text":"You have already used the Haste spell today - You may use it again tomorrow.","color":"yellow"}]
execute unless score #KyuQStructuresInstall KyuDummy5 matches 1 run tag @s[tag=HasteSpell2,tag=K,tag=!HasteReset] add HasteReset

execute unless score #KyuQStructuresInstall KyuDummy5 matches 1 run tag @s remove KyuLatentSpeedSpell
#scoreboard players set @s KyuSpells 0




#structures ver

execute if score #KyuQStructuresInstall KyuDummy5 matches 1 run effect give @s[tag=HasteSpell2,tag=K,tag=!HasteReset] minecraft:haste 180 0
execute if score #KyuQStructuresInstall KyuDummy5 matches 1 run effect give @s[tag=HasteSpell2,tag=K,tag=!HasteReset] minecraft:speed 180 0

execute if score #KyuQStructuresInstall KyuDummy5 matches 1 run effect give @s[tag=HasteSpell2,tag=HasteUpgrade2,tag=K,tag=!HasteReset] minecraft:haste 300 1
execute if score #KyuQStructuresInstall KyuDummy5 matches 1 run effect give @s[tag=HasteSpell2,tag=HasteUpgrade2,tag=K,tag=!HasteReset] minecraft:speed 300 1

execute if score #KyuQStructuresInstall KyuDummy5 matches 1 run tellraw @s[tag=HasteSpell2,tag=!HasteReset] ["",{"text":"Haste + speed has been activated!","color":"green"}]
execute if score #KyuQStructuresInstall KyuDummy5 matches 1 run tellraw @s[tag=HasteSpell2,tag=HasteReset] ["",{"text":"You have already used the Haste spell today - You may use it again tomorrow.","color":"yellow"}]
execute if score #KyuQStructuresInstall KyuDummy5 matches 1 run tag @s[tag=HasteSpell2,tag=K,tag=!HasteReset] add HasteReset
execute if score #KyuQStructuresInstall KyuDummy5 matches 1 run tag @s remove KyuLatentSpeedSpell
#execute if score #KyuQStructuresInstall KyuDummy5 matches 1 run scoreboard players set @s KyuSpells 0