Kill a loop-mob every minute. Please help its urgent.

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

GamingHard

Member
Oct 5, 2019
17
0
0
23
So basically, i want to kill all armor stands in the world "creative" every minute. Here is my code, i dont know why it doesnt work:

Code:
every 1 minute:
    loop all mobs in world "creative":
        if loop-mob is "armor stand":
            kill loop-mob
 
1) Armor stands are not mobs
2) you can't compare an entity with a string
3) Just kill all amor stands
try this:
code_language.skript:
every 1 minute:
    kill all armor stands in world "creative"
 
Last edited:
Use loop entity,
You can't compare an entity to a string.
 
Status
Not open for further replies.