Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
666 B
2
Indexable
Never
on break of beetroots[age=3]:
    if player's level is lower than 150:
        cancel event
        send "&cYou need at least &llevel 150 &cto harvest beetroot." to player

on break of carrots[age=7]:
    if player's level is lower than 300:
        cancel event
        send "&eYou need at least &llevel 300 &eto harvest carrots." to player

on break of potatoes[age=7]:
    if player's level is lower than 600:
        cancel event
        send "&2You need at least &llevel 600 &2to harvest potatoes." to player


on level up:
        send "&6&lCongratulations %players%! You've leveled up!"
        play sound "entity.player.levelup" at player
Leave a Comment