- Trying to add a cooldown of 1500 ticks, or 1 minute and 15 seconds, but placing it anywhere it still has not worked at all. please help im very new
on right click:
player is holding a enchanted book named "Medical Syringe" with lore "Heal 2 hearts after 2 seconds":
if player's health is 10:
send "&cYou're already full health!"
else:
send " is administering a Medical Syringe"
apply slowness to player for 60 ticks
wait 60 ticks
remove 1 of player's held item from player's inventory
heal player by 3 hearts
cooldown: 1500 ticks
cooldown message: You must wait %remaining_time% more seconds!
#/give @p enchanted_book{display:{Name:'[{"text":"Medical Syringe","italic":false}]',Lore:['[{"text":"Heal 2 hearts after 2 seconds","italic":false}]']},Enchantments:[]} 1#
Need help with also clearing the action, if the book is taken out of hand