#Unreliable skript
1 messages · Page 1 of 1 (latest)
Here is the skript:
#Blueberry Skript
if target block is tube coral block:
if {bluecooldown.%player%} is set:
if difference between now and {bluecooldown.%player%} is less than 1 second:
send message "&cYou must wait %1 second - difference between now and {bluecooldown.%player%}%" to player
else:
give player blue dye with name "&9Blueberries" with lore "Ngl blue berries are purple irl"
send message "&aYou have picked up some blue berries" to player
play sound "BLOCK_COMPOSTER_FILL" with volume 2 at location of target block
set {bluecooldown.%player%} to now
else:
give player blue dye with name "&9Blueberries" with lore "Ngl blue berries are purple irl"
send message "&aYou have picked up some blue berries" to player
play sound "BLOCK_COMPOSTER_FILL" with volume 2 at location of target block
set {bluecooldown.%player%} to now
#Blackcurrent Skript
else if target block is bubble coral block:
if {purplecooldown.%player%} is set:
if difference between now and {purplecooldown.%player%} is less than 1 second:
send message "&cYou must wait %1 second - difference between now and {purplecooldown.%player%}%" to player
else:
give player purple dye with name "&dBlackcurrents" with lore "Black and purple aren't even that similar?"
send message "&aYou have picked up some blackcurrents" to player
play sound "BLOCK_COMPOSTER_FILL" with volume 2 at location of target block
set {purplecooldown.%player%} to now
else:
give player purple dye with name "&dBlackcurrents" with lore "Black and purple aren't even that similar?"
send message "&aYou have picked up some blackcurrents" to player
play sound "BLOCK_COMPOSTER_FILL" with volume 2 at location of target block
set {purplecooldown.%player%} to now```
else if target block is fire coral block:
if {redcooldown.%player%} is set:
if difference between now and {redcooldown.%player%} is less than 1 second:
send message "&cYou must wait %1 second - difference between now and {redcooldown.%player%}%" to player
else:
give player red dye with name "&cStrawberries" with lore "I am actually red?!?"
send message "&aYou have picked up some strawberries" to player
play sound "BLOCK_COMPOSTER_FILL" with volume 2 at location of target block
set {redcooldown.%player%} to now
else:
give player red dye with name "&cStrawberries" with lore "I am actually red?!?"
send message "&aYou have picked up some strawberries" to player
play sound "BLOCK_COMPOSTER_FILL" with volume 2 at location of target block
set {redcooldown.%player%} to now```
Simplified the skript and it still does the same thing: ```on right click:
#Blueberry Skript
if target block is tube coral block:
give player blue dye with name "&9Blueberries" with lore "Ngl blue berries are purple irl"
send message "&aYou have picked up some blue berries" to player
play sound "BLOCK_COMPOSTER_FILL" with volume 2 at location of target block
#Blackcurrent Skript
else if target block is bubble coral block:
give player purple dye with name "&dBlackcurrents" with lore "Black and purple aren't even that similar?"
send message "&aYou have picked up some blackcurrents" to player
play sound "BLOCK_COMPOSTER_FILL" with volume 2 at location of target block
#Strawberry Skript
else if target block is fire coral block:
give player red dye with name "&cStrawberries" with lore "I am actually red?!?"
send message "&aYou have picked up some strawberries" to player
play sound "BLOCK_COMPOSTER_FILL" with volume 2 at location of target block```
what goes wrong?