Crop Growth Stage Not Working

  • 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!

Status
Not open for further replies.
Feb 23, 2023
1
1
1
24
Code:
on break:
   if event-block is sugar cane:
       add 2.25 to {exp::%player's uuid%}
       send action bar "&b+2.25XP [%{exp::%player's uuid%}%/%{levelreq::%player's uuid%}%]" to player
   if event-block is fully grown wheat plant:
       add 4.75 to {exp::%player's uuid%}
       send action bar "&b+4.75XP [%{exp::%player's uuid%}%/%{levelreq::%player's uuid%}%]" to player
   if event-block is fully grown potato plant:
       add 4.75 to {exp::%player's uuid%}
       send action bar "&b+4.75XP [%{exp::%player's uuid%}%/%{levelreq::%player's uuid%}%]" to
player
   if event-block is fully grown carrot plant:
       add 4.75 to {exp::%player's uuid%}
       send action bar "&b+4.75XP [%{exp::%player's uuid%}%/%{levelreq::%player's uuid%}%]" to player
   if event-block is fully grown beetroot plant:
       add 4.75 to {exp::%player's uuid%}
       send action bar "&b+4.75XP [%{exp::%player's uuid%}%/%{levelreq::%player's uuid%}%]" to player
   if event-block is fully grown nether wart plant:
       add 4.75 to {exp::%player's uuid%}
       send action bar "&b+4.75XP [%{exp::%player's uuid%}%/%{levelreq::%player's uuid%}%]" to player

Ive tried every different version of how to word the crop id but it keeps activating on any stage for example: If you place down seeds on farmland and destroy them straight away the action bar still comes up, please someone help...
 
  • Like
Reactions: cringemaster100
Status
Not open for further replies.