#Happens not like need to be

1 messages · Page 1 of 1 (latest)

open tulip
#

Code:

on block break:
    if event-block is ancient debris:
        enchantment level of fortune of event-player's tool is 35:
            drop 4 of event-block at player
        set {_amount} to amount of ancient debris in player's inventory
        set {_amount} to {_amount}/4
        set {_amount} to round {_amount}
        remove {_amount}*4 of ancient debris from player
        give {_amount} of netherite block to player
forest quartz
#

looks like you have nearly copy-pasted sections of code, consider using a function to clean it up

#

you should also debug to figure out where the code breaks, as you havent really explained that yet

open tulip
#

There isn't any errors in code, but it works not like I need

forest quartz
#

cool