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.

Help Error

Discussion in 'Skript' started by EMEKTAR, Dec 20, 2018.

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

    EMEKTAR Member

    Joined:
    Dec 13, 2018
    Messages:
    4
    Likes Received:
    0
    Code (Skript):
    1. on place of chest:
    2.     if name of player's tool is "Deneme":
    3.         add location to {spawner::*}
    4.         set {_location} to location of targeted block
    5.         set {spawner::%{_location}%} to {_location}
    6.         send "koydun"  
    7.  
    8. on break of chest:
    9.     if {spawner::%location of targeted block%} is set:
    10.         clear {spawner::%location of targeted block%}
    11.         remove location of targeted block from {spawner::*}    
    12.         send "kırdın"
    13.         cancel event
    14.         set block to air    
    15.         give 1 chest named "Deneme" to player
    16.         delete {demiradet::%location%}
    17.    
    18.        
    19.  
    20.  
    21. every 5 second:
    22.     loop all players:
    23.         loop {spawner::%loop-player's targeted block%}:
    24.             add 5 iron ingot to block at {spawner::%loop-player location block%}
    ERROR:

    Screenshot_35.png
     
  2. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,172
    Likes Received:
    188
    The error is pretty straight forward.... you cant loop a single item
     
Thread Status:
Not open for further replies.
Loading...