Glass bug

  • 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.
Jul 31, 2019
24
0
1
43
Hello, I am making a skywars skript and I am trying to make the cage but when I set the block type to glass it picks a random stained glass color.

command /glass:
trigger:
set block northeast of the player to glass
set block east of the player to glass
set block southeast of the player to glass
set block south of the player to glass
set block southwest of the player to glass
set block west of the player to glass
set block northwest of the player to glass
set block 2 blocks up north of the player to glass
set block 2 blocks up northeast of the player to glass
set block 2 blocks up east of the player to glass
set block 2 blocks up southeast of the player to glass
set block 2 blocks up south of the player to glass
set block 2 blocks up southwest of the player to glass
set block 2 blocks up west of the player to glass
set block 2 blocks up northwest of the player to glass
set block 2 blocks above the player to glass

Please help me.
 
specify the glass type you want, like `clear glass`
if {cage.%player%} is "rainbow":
set block north of the player to glass
set block east of the player to glass
set block south of the player to glass
set block west of the player to glass
set block below player to glass
set block north below player to glass
set block east below player to glass
set block south below player to glass
set block west below player to glass
set block 1 blocks up north of the player to glass
set block 1 blocks up east of the player to glass
set block 1 blocks up south of the player to glass
set block 1 blocks up west of the player to glass
set block 2 blocks up north of the player to glass
set block 2 blocks up east of the player to glass
set block 2 blocks up south of the player to glass
set block 2 blocks up west of the player to glass
set block 3 blocks up north of the player to glass
set block 3 blocks up east of the player to glass
set block 3 blocks up south of the player to glass
set block 3 blocks up west of the player to glass
set block 3 blocks above the player to glass
 
Status
Not open for further replies.