#Please help. I want to make a script: when the player looks at a block in the mine region, they will

1 messages · Page 1 of 1 (latest)

elder cape
#

Please help. I want to make a script: when the player looks at a block in the mine region, they will have an actionbar message "Block strength n/n"

manic pond
#

Please format the code

#

I'm on handy

elder cape
#

how to format?

manic pond
#

.format

#

Wiat

manic pond
elder cape
# manic pond Send the code and put ``` around it

on rightclick: if clicked block is not air: if target block is dirt: set {_loc} to location of target block set {_x} to {_loc}'s x-coord set {_y} to {_loc}'s y-coord set {_z} to {_loc}'s z-coord send action bar "dirt %{_x}%%{_y}%%{_z}%" to player else: send action bar "no dirt %location of target block%" to player

manic pond
timber osprey
#

not `code`

manic pond
#

Yes yes

timber osprey
#

also that code is NOT gonna tell you the hardness of a block

wispy shale
timber osprey
#

prefix it with \

wispy shale
#

that sounds so stupid

timber osprey
#

just rightclick copy text on a message if you wanna see the direct stuff they put in to get it