loop

  • 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 community!

    Now, what are you waiting for? Join the community now!

  1. MEGATREX4

    Furnace damage while smelting

    I want that while the furnace is melting it will deal damage to the player i tried using different triggers on smelt: - does not work on fuel burn: - does not work on join: - works all the time, even when it is not melting on smelt: wait 1 tick while player is alive: loop all...
  2. J

    Search and retrieve keyword to retrieve from list

    PLEASE DO NOT REACT TO ANYTHING BUT THE FINAL QUESTION Don't get confused by the long intro, i'm simply attempting to describe my idea, current problem and thought process. Before finally asking the one question i have deduced will allow me to succeed. INTRO BELOW Basicly what i'm imagining...
  3. Verku

    Loop players/times not working

    Hey! Ich habe seit einiger Zeit das Problem das ich keine Loop-Funktion nutzen kann. Ich benutze momentan die 1.18 Minecraft Version und dort funktioniert es nicht. In jeder anderen Version hat es funktioniert. Gab es da ein Update oder funktioniert es einfach in der Version nicht? Weil diese...
  4. ImCardiaK

    Solved Skript ne reconnais pas les Loop.

    Bonjour ! Depuis que j'utilise Skript pour la version 1.18 de Minecraft. Aucune Loop ne fonctionne. Peut-importe si la loop est: - Loop X times - loop all entities - loop all player ... Une erreur console apparaît indiquant seulement la ligne ou la loop ce situe. Pouvez-vous me dire si cela à...
  5. C

    Solved Loop blocks and players not working as expected

    I have this script set up to act as temperature using Skript, but there's an issue. If two players stand very close together next to the campfire, one of them doesn't get the variable increase. Is there anything I can do about this? every 2 ticks: loop all players: loop all blocks...
  6. A

    Loop skripts just completely broke down

    All my loop all players skripts just broke; no errors when I reload them they just don't work. Also, when I reload the file, no matter what code I write (code that normally gives errors) reloads and says no errors. 1 of my skripts: every tick: loop all players: if lore of...
  7. K

    Is it possible to execute a command with arguments every 15 seconds in Skript?

    Basicaly, here is my current skript, not working. ==================================== every 15 seconds: make console execute command "broadcast Something."
  8. S

    Solved How to get the location of the block of the looped item?

    Hello, I'm trying to develop an anti-dupe system and I need help urgently.. I want to get the location of the block of the looped item, but do not know how :/ This is my code: every 1 seconds: loop {pchest::*}: loop all items in block at loop-value: if {banneditems::*}...
  9. FoxCraftGaming

    Error while looping items

    Hello, i am trying to cancel a drop event when there are to much items but i dont get it to work This is my skript: every 1 seconds: loop dropped items in radius 3 of location of {drop.1}: if loop-value is more than 9: cancel event drop 3 egg at {drop.1}
  10. Jimsk

    see amount of loop-item

    on right click with paper: loop all items of player's inventory: if name of loop-item is "&6$0.50": remove loop-item from player add 0.50 to player's balance This code works but only gives 0.50 when it takes all the items. I have tried using "set {_amount::*}...
  11. H

    How to Infinity

    I know there is another forum with the same name or similar name but I did not understand I want to make a pet I have a problem in making a circle is infinite if anyone can solve my problem Sorry for writing all this in bad English Has been a translator
  12. A

    [HELP] Changing price for item

    Hi i want to want let a item change price every 10 seconds, and i dont know what to do. This my code so far. every 10 seconds: loop all players: set {_prijs} to a random integer between 2800 and 4600
  13. KingDooms

    Doesn't damage players

    So im trying to make a sword that has multiple abilities, but one of the abilities damages everything except players but i want it to damage everything. Help? if {ShaggyWeapon::%player%} is 3: push the player up at speed 1.1 wait 16 ticks set...
  14. W

    Solved Help with making a moving gradient for a name.

    Hello. I would like to have a rainbow-ish coloured name tag in my Minecraft server. For example, my name tag would be: WilliamPlays0402 0.5s later: WilliamPlays0402 0.5s later: WilliamPlays0402 etc.. This is what I've achieved so far: every 5 tick: add 1 to {60ticktime} if {60ticktime} is...
  15. W

    check lore number

    Hello, i need help i tried to check the number of my item lore on damage: victim is a living entity if attacker is a player: attacker is holding a sword set {_lore::*} to attacker tool split by "||" #this one the problem loop {_lore::*}: set...
  16. J

    LOOP CHEST ITEMS

    Hello! I was wondering if anyone could help me with a skript Objective: When a players mine a chest, it checks the items in the chest, & if it has a specific item, in this case for an example, a water bottle, it would cancel the event The skript still runs fine, however when I place a water...
  17. M

    Why do my loops repeat even after I reload the script?

    Title says everything
  18. N

    Scoreboard works fine for me, friend that joins doesn't have it.

    Script Version: 2.5.3 Script Author: Nutrition35? I assume author of the Skript itself Minecraft Version: 1.15.2 Full Code: Code: every 1 seconds: loop all players: if loop-player is in world "Prison": wipe loop-player's sidebar set name of sidebar of loop-player to...
  19. pokw

    Loop the inventory of player's tool

    How do I loop the inventory of a player's tool? This is the code I have right now if someone can help. command /command: trigger: player's tool is shulker: loop the inventory of player's tool: if loop-inventory contains dirt: send "loop inventory contains dirt"...
  20. X

    Loop all entities?

    Hi and thanks for clicking on my post. I got this code: every 5 seconds: loop all entities: sunlight level at the loop-entity is greater than 10 ignite loop-entity for 5 seconds broadcast "Ignited 1 entity" And it is not working at all, but Skript is not giving...