1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to a set random block

Discussion in 'Skript' started by MrBlooble, Nov 17, 2020.

Tags:
Thread Status:
Not open for further replies.
  1. MrBlooble

    MrBlooble Member

    Joined:
    Dec 14, 2017
    Messages:
    11
    Likes Received:
    0
    Hi! I'm trying to create an area and put blocks (max 3/2 blocks) into it at random, but I'm not able: D here are just the commands taken from help here on SkUnity. Thanks!!

    command /tlamp:
    trigger:
    set {Wall1} to location of location of player

    command /lamp:
    trigger:
    set {Wall2} to location of location of player

    command /check:
    trigger:
    if player is within {Wall1} to {Wall2}:
    send "yes" to player
    else:
    send "no" to player
     
  2. acai

    acai Active Member

    Joined:
    Oct 23, 2020
    Messages:
    89
    Likes Received:
    1
    You can't set an area to a random block.
     
    MrBlooble likes this.
Thread Status:
Not open for further replies.

Share This Page

Loading...