hi so i made a weapon and it should show a cooldown on an action bar but it doesn't
here is the action bar code
here is the action bar code
code_language.skript:
on join:
while player is online:
if player's tool is Iron Sword named "&6The wrath sword" with lore "&7Jump":
set {_TIME} to difference between now and {cooldown::%player's uuid%}
send action bar "On cooldown! Time left: %{_TIME}%" to player
wait 1 second