I wanna make the cracked stone bricks disappear for a while when someone moves onto them.
But I can't make it happen correctly.
Sometimes the blocks won't spawn at their original position......
But I can't make it happen correctly.
Sometimes the blocks won't spawn at their original position......
code_language.skript:
on walking on Cracked Stone Bricks:
send "watch out!" to player
set {lx.crackedbricks.%player%} to the player's x-coordinate
set {ly.crackedbricks.%player%} to the player's y-coordinate
set {lz.crackedbricks.%player%} to the player's z-coordinate
set {lw.crackedbricks.%player%} to the player's world
wait 3 tick
subtract 1 from {ly.crackedbricks.%player%}
set block at location at {lx.crackedbricks.%player%}, {ly.crackedbricks.%player%}, {lz.crackedbricks.%player%} in world {lw.crackedbricks.%player%} to air
wait 10 tick
set block at location at {lx.crackedbricks.%player%}, {ly.crackedbricks.%player%}, {lz.crackedbricks.%player%} in world {lw.crackedbricks.%player%} to Cracked Stone Bricks