Place block only horizontally

  • 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.

aDaxxas

Member
Jul 30, 2017
1
0
0
Hello,

I'm trying to make a block that can be placed only horizontally, like only on the side faces of a block.

I could easily make block that can only be placed vertically with :

code_language.skript:
on right click:
    if player is holding plank:0:
        if name of player's tool is "&fStructure de mur":
            if block above is air:
                set block above clicked block to plank:0
                remove 1 of player's tool from player's tool

It would be more for adventure gamemode than survival gamemode, there will be no utility for that if it was for survival mode
 
Status
Not open for further replies.