What is the variable for the location [coords] of a block?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

CyberRyan

Member
Nov 18, 2018
3
0
0
What is the variable for the location [coords] of a block? I am trying to do a skript to where whenever you break a block at a certain coordinate position, it will set the hologram above it to "Respawning" then a couple of seconds later to "Mine me!".

I gladly appreciate anyone who takes time to help!
 
set {_x} to x-coordinate of event-block
set {_y} to y-coordinate of event-block
set {_z} to z-coordinate of event-block
set {_pos} to location of event-block

Does that help at all?
 
  • Like
Reactions: BotiSteve
Well you can always use
code_language.skript:
location of block above event-block
 
Status
Not open for further replies.