#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)
how to format?
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

```code```
not `code`
Yes yes
also that code is NOT gonna tell you the hardness of a block
😮 how did u do it without doing it
prefix it with \
that sounds so stupid
just rightclick copy text on a message if you wanna see the direct stuff they put in to get it