Setblock to x-axis of 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.

skanto123

Active Member
Jan 8, 2018
70
0
0
How do I make it so when I place a lava bucket named "&6Test" that it turns into cobblestone and loops it to the x-axis 16 times so 16 blocks go to the x axis so when you place the lava bucket that 16 blocks get placed on the x axis not y axis
 
Did you searching already in Documentions?

what you have do it:

get location of placed block
loop 16 times
set block at location to cobblestone
add 1 to x-coord

should be simple.
 
can you make the skript please i am not very good at it
then next time, Put it into Request section my friend...


code_language.skript:
on place of lava:
    set {_loc} to location of event-block
    loop 16 times:
        set block at {_loc} to cobblestone
        add 1 to x-coord of {_loc}
 
Status
Not open for further replies.