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!

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

33 indentation errors on my skript thing help

Sep 11, 2021
33 indentation errors on my skript thing help
  • im not sure if this is the right place to put this but im new to Skript so i cant figure out this glitch please help theres 33 indentation errors and i cant figure it out im very new to Skript

    each of them says "Indentation error: expected 8 spaces, but found 7 tabs" help

    Code (Text):
    1. every 10 seconds:
    2.     loop all players:
    3.         set {num} to random integer between 1 and 3
    4.             if {num} is 1
    5.                 give oak log to loop-player
    6.             if {num} is 2
    7.                 give dirt to loop-player
    8.             if {num} is 3
    9.                 set {num} to random integer between 1 and 2
    10.                 if {num} is 1
    11.                     give cobblestone to loop-player
    12.                 if {num} is 2
    13.                     set {num} to random integer between 1 and 3
    14.                     if {num} is 1
    15.                         give coal to loop-player
    16.                     if {num} is 2
    17.                         give iron ore to loop-player
    18.                     if {num} is 3
    19.                         set {num} to random integer between 1 and 6
    20.                         if {num} is 1
    21.                             give lapis ore to loop-player
    22.                         if {num} is 2
    23.                             give redstone ore to loop-player
    24.                         if {num} is 3
    25.                             give gold ore to loop-player
    26.                         if {num} is 4
    27.                             give emerald ore to loop-player
    28.                         if {num} is 5
    29.                             give quartz ore to loop-player
    30.                         if {num} is 6
    31.                             set {num} to random integer between 1 and 2
    32.                             if {num} is 1
    33.                                 give diamond ore to loop-player
    34.                             if {num} is 2
    35.                                 give ancient debris to loop-player