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 community!
Now, what are you waiting for? Join the community now!
applescript
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
if {_waited} is less than 600 seconds:
c++
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
if {_waited} is less than 600s:
# put here some effects and set {_waited } it again to now?
applescript
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 600s:
stop
else:
apply swiftness 2 to the player for 3 minutes
set {name::%uuid of player%::speedmushroom} to now