adding cooldown to this

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Shameless plug

It has stuff for command coooldowns, some methods of doing item cooldowns, and stuff about cooldown messages
i try this one
time between {cooldown::%player's uuid%} and now is less than 5 seconds:
message "On cooldown!" to player
else:
#do stuff
set {cooldown::%player's uuid%} to now didint work
 
Shameless plug

It has stuff for command coooldowns, some methods of doing item cooldowns, and stuff about cooldown messages
ok so i did this but now it goes up not down
on right click:

player is holding 1 diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 and looting 3 and mending named "&7&m--&e&ka&6&lStregth Wand&e&ks&7&m--" with lore "&7Right click for 10s of stregth 4"
if player has player's tool on cooldown: #requires skript 2.8+
message "&cOn cooldown %time%" to player
stop
execute console command "effect give %player% minecraft:strength 11 3"