Make player see 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 comminuty!

    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.

Computerize

Member
Oct 10, 2019
38
0
0
23
How would I use this effect and do something like this:

Code:
on rightclick:
  if clicked block is set:
    if player's tool is stone sword:
      set {_x} to clicked block's x-coord
      set {_y} to clicked block's y-coord
      set {_z} to clicked block's z-coord
      add 1 to {_y}
      make player see block at {_x} {_y} {_z} as glass

Error:
5be43159910feac2c4f6b5a56cfd6291.png

https://gyazo.com/5be43159910feac2c4f6b5a56cfd6291
 
Last edited:
Code:
on rightclick with stick:
    if clicked block is set:
        set block at location 1 meter forward and 2 meter upwards location of player to glass
    else:
        if clicked block is not set:
            cancel event
here you go ! :emoji_grinning:
[doublepost=1580050380,1580042037][/doublepost]Let me know if that does work, if you have any questions ASK and if it's perfect set thread as solved
(PS. try using https://skripthub.net/docs/ this website it includes ADDONS which is useful + you can search)
 
Status
Not open for further replies.