Help Error

  • 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.

EMEKTAR

Member
Dec 13, 2018
4
0
0
29
code_language.skript:
on place of chest:
    if name of player's tool is "Deneme":
        add location to {spawner::*} 
        set {_location} to location of targeted block
        set {spawner::%{_location}%} to {_location}
        send "koydun"   

on break of chest:
    if {spawner::%location of targeted block%} is set:
        clear {spawner::%location of targeted block%}
        remove location of targeted block from {spawner::*}     
        send "kırdın"
        cancel event
        set block to air     
        give 1 chest named "Deneme" to player
        delete {demiradet::%location%}
    
        


every 5 second:
    loop all players:
        loop {spawner::%loop-player's targeted block%}:
            add 5 iron ingot to block at {spawner::%loop-player location block%}

ERROR:

Screenshot_35.png
 
The error is pretty straight forward.... you cant loop a single item
 
Status
Not open for further replies.