Hello!
I have a skript that makes a block turn into bedrock after being broken, but only if it is at those specific coordinates. It does return "A" so I know that works... it just isn't setting the block. I don't know why it isn't setting the block.
NEVERMIND i figured it out, it was just spawn protection's fault!!!!!!
I have a skript that makes a block turn into bedrock after being broken, but only if it is at those specific coordinates. It does return "A" so I know that works... it just isn't setting the block. I don't know why it isn't setting the block.
code_language.skript:
on break:
set {_locx} to x position of event-block
set {_locy} to y position of event-block
set {_locz} to z position of event-block
broadcast "%{_locx}%"
broadcast "%{_locy}%"
broadcast "%{_locz}%"
if {_locx} = 0.5:
if {_locz} = 0.5:
if {_locy} = 100.5:
broadcast "A"
set block at location 0, 100, 0 in world "Skyblock1" to bedrock
NEVERMIND i figured it out, it was just spawn protection's fault!!!!!!