Could anyone tell me what I'm doing wrong here please
Error: https://gyazo.com/07d9b2c50745c4af5bcbaa9a75a09017
Thanks
Code:
on break:
#Pos1
set {_x} to {loc.1.x::%uuid of player%}
set {_y} to {loc.1.y::%uuid of player%}
set {_z} to {loc.1.z::%uuid of player%}
set {_loc1} to location at {_x}, {_y}, {_z} in world "realms"
#Pos2
set {_x} to {loc.2.x::%uuid of player%}
set {_y} to {loc.2.y::%uuid of player%}
set {_z} to {loc.2.z::%uuid of player%}
set {_loc2} to location at {_x}, {_y}, {_z} in world "realms"
if location of event-block is not within {_loc1} to {_loc2}:
cancel event
send "You do not own this realm." to player
Error: https://gyazo.com/07d9b2c50745c4af5bcbaa9a75a09017
Thanks