rustung: type: world events: on player equips armor: - announce Script1 - if queue clear - if == eisenschuhe { - flag player loop_running - announce 'Starting Loop' - run s@armortask1 } on player equips armor: - announce Script2 - if queue clear - if == eisenhose { - flag player loop_running2 - announce 'Starting Loop2' - run s@armortask2 } on player equips armor: - announce Script3 - if queue clear - if == eisenbrust { - flag player loop_running3 - announce 'Starting Loop3' - run s@armortask3 } #on player equips armor: #- announce Script4 #- if queue clear #- if == eisenhelm { # - flag player loop_running4 # - announce 'Starting Loop4' # - run s@armortask4 # } eisenschuhe: type: item debug: true material: iron_boots display name: Neue schuhe lore: - Zauber 1 - Zauber 2 - Legend<รค>re Schuhe eisenhose: type: item debug: true material: iron_leggings display name: Eine neue Hose lore: - Lore 1 - Lore 2 - Eine blaue Lore eisenhelm: type: item debug: true material: iron_helmet display name: Ein Helm lore: - Lore 1 - Lore 2 eisenbrust: type: item debug: false material: iron_chestplate display name: Eine Brustplatte lore: - Lore 1 - Lore2 armortask1: type: task script: - announce " Task script starting. Castion potion to . " - cast JUMP duration:6s power:3 - wait 3s - flag player loop_running:! - if == eisenschuhe { - announce " If case running " - run s@armortask1 } - announce " Script is closing now" armortask2: type: task script: - announce " Task script 2 starting. Castion potion to . " - cast CONFUSION duration:6s power:3 - wait 3s - flag player loop_running2:! - if == eisenhose { - announce " If case2 running " - run s@armortask2 } - announce " Script2 is closing now" armortask3: type: task script: - announce " Task script 3 starting. Castion potion to . " - cast INVISIBILITY duration:6s power:3 - wait 3s - flag player loop_running3:! - if == eisenbrust { - announce " If case3 running " - run s@armortask3 } - announce " Script3 is closing now" armortask4: type: task script: - announce " Task script 4 starting. Castion potion to . " - cast SPEED duration:6s power:3 - wait 3s - flag player loop_running4:! - if == eisenhelm { - announce " If case4 running " - run s@armortask4 } - announce " Script4 is closing now"