Hello, I need a help.
Yesterday I've created a skript which should when I clicking on minecraft button IN
certain location (wooden/stone no matter) setting/deleting a block which I need in another location.
But when I try to click on the button, nothing happens. (I think, my coordinates is incorrect but I have already checked it by dint of F3. I dunno how to do correct coordinates because when button located below, I mean that it is not on the wall, but on the block it's works. But when I try set it on the wall it stops working.
sk:
This not works:
[doublepost=1615633624,1615202617][/doublepost]UP!!!!!!!!!!!!!!!!!!!!!!!
Yesterday I've created a skript which should when I clicking on minecraft button IN
certain location (wooden/stone no matter) setting/deleting a block which I need in another location.
But when I try to click on the button, nothing happens. (I think, my coordinates is incorrect but I have already checked it by dint of F3. I dunno how to do correct coordinates because when button located below, I mean that it is not on the wall, but on the block it's works. But when I try set it on the wall it stops working.
sk:
Code:
on right-click on button:
if location of clicked block is location at "ON SCREEN" of the world "world":
wait 1 second
set block at location at 32.9, 10, -18 in world "world" to air
play critical hit at location of player to all players
play sound "block.dispenser.dispense" with volume 1 at player
Set {_time} To a random integer between 7 And 15
Set {_end} To "%{_time}% seconds" parsed as a time span
Wait {_end}
play sound "block.dispenser.dispense" with volume 1 at player
set block at location at 31, 8, -18 in world "world" to mossy cobblestone
This not works:
[doublepost=1615633624,1615202617][/doublepost]UP!!!!!!!!!!!!!!!!!!!!!!!