Hello i want to make a cooldown that you don't be able to click a fern for 10 seconds after you clicked a fern.
can someone help me?
command /drugs:
trigger:
message "&2Bedankt voor het gebruik maken van &aOFTENMT-Drugs"
message "&2/drugs &8- &aKrijg alle commands!"
message "&2/selldrugs &8- &aVerkoop al je huidige drugs!"
message "&2/drugs-info &8- &aKrijg alle info over drugs!"
command /drugs-info:
trigger:
message "&2Bedankt voor het gebruik maken van &aOFTENMT-Drugs"
message "&2/drugs &8- &aKrijg alle commands!"
message "&2/selldrugs &8- &aVerkoop al je huidige drugs!"
#Wiet
on rightclick:
clicked block is a Fern
delete event-block
send player title "&a&lFarmen..." with subtitle "&710 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&79 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&78 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&77 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&76 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&75 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&74 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&73 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&72 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&71 seconde cooldown" for 1 seconds
Give player 1 poisonous Potato with name "Wiet"
#Effects
set {cooldown::%player%} to 10 seconds
wait 10 seconds
set event-block to fern
if is less than a minute:
message "You have to wait %difference between a minute and {_waited}% before you can use this command again!"
can someone help me?
command /drugs:
trigger:
message "&2Bedankt voor het gebruik maken van &aOFTENMT-Drugs"
message "&2/drugs &8- &aKrijg alle commands!"
message "&2/selldrugs &8- &aVerkoop al je huidige drugs!"
message "&2/drugs-info &8- &aKrijg alle info over drugs!"
command /drugs-info:
trigger:
message "&2Bedankt voor het gebruik maken van &aOFTENMT-Drugs"
message "&2/drugs &8- &aKrijg alle commands!"
message "&2/selldrugs &8- &aVerkoop al je huidige drugs!"
#Wiet
on rightclick:
clicked block is a Fern
delete event-block
send player title "&a&lFarmen..." with subtitle "&710 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&79 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&78 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&77 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&76 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&75 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&74 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&73 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&72 seconden cooldown" for 1 seconds
wait 1 seconds
send player title "&a&lFarmen..." with subtitle "&71 seconde cooldown" for 1 seconds
Give player 1 poisonous Potato with name "Wiet"
#Effects
set {cooldown::%player%} to 10 seconds
wait 10 seconds
set event-block to fern
if is less than a minute:
message "You have to wait %difference between a minute and {_waited}% before you can use this command again!"