#0 Errors but dont working as i want, Mushroom that have cooldown in using after use
1 messages · Page 1 of 1 (latest)
- send code don't send an image
have you read it?
have you read what I sent to you??
the Event Cooldown
what haven't you understand so I can explain to you
wdym?
ok so let's start with setting the variable to now
on right click with crimson fungus:
if name of event-item is "&b&lGrzyb Prędkosci &7(PPM)":
set {name::%uuid of player%::speedmushroom} to now
you understand this right?
now what do you think we need to do next?
yes but what the next step??
no wait
we don't need to use wait here at all
read the doc I send you
noo
where in the doc this exist 
please read
yes
ok so
on right click with crimson fungus:
if name of event-item is "&b&lGrzyb Prędkosci &7(PPM)":
set {_waited} to difference between {name::%uuid of player%::speedmushroom} and now
set {name::%uuid of player%::speedmushroom} to now
what do you think we have to do next? @radiant laurel
we already done that
it's {_waited}
yes for that we need to use if statment
to check if it has been 600s sense the last use
if {_waited} is less than 600 seconds:
ok try to put things together
you try not me
yes almost
well
on right click with crimson fungus:
if name of event-item is "&b&lGrzyb Prędkosci &7(PPM)":
set {_waited} to difference between {name::%uuid of player%::speedmushroom} and now
if {_waited} is less than 600 seconds:
stop
else:
apply swiftness 2 to the player for 3 minutes
set {name::%uuid of player%::speedmushroom} to now
yes
you can add message too
before the stop
send "Try again in %difference between 600 seconds and {_waited}%"
so the end result should look something like this
on right click with crimson fungus:
if name of event-item is "&b&lGrzyb Prędkosci &7(PPM)":
set {_waited} to difference between {name::%uuid of player%::speedmushroom} and now
if {_waited} is less than 600 seconds:
send "Try again in %difference between 600 seconds and {_waited}%"
stop
else:
apply swiftness 2 to the player for 3 minutes
set {name::%uuid of player%::speedmushroom} to now
please read the doc again so you can have a better understanding
all you hade to do is reading
:)
read the entire tutorial again you will learn alot