scoreboard players set #Second nl.HasteTimer 20
scoreboard players operation #HasteTimer nl.HasteTimer = @s nl.HasteTimer
scoreboard players operation #HasteTimer nl.HasteTimer /= #Second nl.HasteTimer
tellraw @s[scores={nl.HasteTimer=1..}] ["",{"text":"[minecraft:next_level]: ","color":"gold"},{"text":"Haste Burst can be used again in ","color":"red"},{"score":{"name":"#HasteTimer","objective":"nl.HasteTimer"},"color":"blue"},{"text":"s","color":"red"}]
scoreboard players set #HasteTimer nl.HasteTimer 0
execute as @s[nbt={SelectedItem:{tag:{nl_Enchant_HasteBurstLvl:1b}}}] unless score @s nl.HasteTimer matches 1.. run effect give @s minecraft:haste 10 0 false
execute as @s[nbt={SelectedItem:{tag:{nl_Enchant_HasteBurstLvl:2b}}}] unless score @s nl.HasteTimer matches 1.. run effect give @s minecraft:haste 10 1 false
execute as @s[nbt={SelectedItem:{tag:{nl_Enchant_HasteBurstLvl:3b}}}] unless score @s nl.HasteTimer matches 1.. run effect give @s minecraft:haste 10 2 false
execute as @s[nbt={SelectedItem:{tag:{nl_Enchant_HasteBurstLvl:4b}}}] unless score @s nl.HasteTimer matches 1.. run effect give @s minecraft:haste 10 3 false
execute as @s[nbt={SelectedItem:{tag:{nl_Enchant_HasteBurstLvl:5b}}}] unless score @s nl.HasteTimer matches 1.. run effect give @s minecraft:haste 10 4 false
execute at @s unless score @s nl.HasteTimer matches 1.. run particle minecraft:dust 1 1 0 1 ~ ~1 ~ 1 1 1 0 50
execute at @s unless score @s nl.HasteTimer matches 1.. run playsound minecraft:entity.illusioner.cast_spell voice @s
execute as @s unless score @s nl.HasteTimer matches 1.. run scoreboard players set @s nl.HasteTimer 1200

scoreboard players set @s nl.DetectSneak 0