can any1 help explain to me why my code isnt working here?

execute as @a if score @s AbilityUse matches 1.. if score @s Cooldown matches 1200.. run scoreboard players reset @s Cooldown
scoreboard players add @a Cooldown 1
scoreboard players reset @a AbilityUse 
execute if score NotSoop AbilityUse matches 1 run tellraw @s "Hell0!"

effect give @a[tag=Warrior] strength 1 0 true
attribute @a[tag=Warrior,limit=1] generic.max_health base set 24
execute as @a[tag=Warrior,nbt={SelectedItem:{id:"minecraft:warped_fungus_on_a_stick",components:{"minecraft:custom_model_data":1}}}] if score @s AbilityUse matches 1.. if score @s Cooldown matches 1200.. run effect give @s strength 30 2 true
execute as @a[tag=Warrior,nbt={SelectedItem:{id:"minecraft:warped_fungus_on_a_stick",components:{"minecraft:custom_model_data":1}}}] if score @s AbilityUse matches 1.. if score @s Cooldown matches 1200.. run effect give @s haste 30 0 true
Continue to help post