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 comminuty!

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

  1. R

    Solved Loop all items in player's inventory

    Hi, I am trying to do a skript that loops items in player's inventory and then it adds it to a yml file. The problem is that when I reload my skript, an error appears saying "Can't understand this type of loop: "loop all items in player's inventory", etc". First I did something like this and I...
  2. P

    Solved How can i change player to any mob AND player except the attacker?

    Here is the code: loop players except the attacker in radius 5 around the attacker: damage loop-player by damage
  3. FUZIK

    chunks at player in radius 10

    please help me. how to receive all chunks in a radius? #example command chunks <location> <integer>: trigger: loop chunks at arg-1 in radius arg-2: broadcast "%loop-chunk%" thanks.
  4. I

    Teleport GUI

    So I tried this code: on click with a clock: name of tool is "&bTeleport": open chest with 3 rows named "&cTeleport" to the player wait a tick set {_s} to 0 loop all players in player's world: if loop-player is not player: format...
  5. E

    Solved Please help me with loop

    I have this script that will get ban history of player and will place it in a GUI. When i use this script, it will place 50 items instead of 8 and this will be the Lore of the items: BeatTheBeat,BeatTheBeat,BeatTheBeat,BeatTheBeat,BeatTheBeat,BeatTheBeat,BeatTheBeat,BeatTheBeat. I dont know...
  6. F

    Solved Random Block in Loop Radius

    Hey! I've been trying to make a skript, but I ran into a problem that I can't solve. (Been using skript for about 2 weeks) How could I loop blocks in radius 5 of player and then select a random block from the looped blocks and I used "on any movement:" from SkQuery, but I'd like to change that...
  7. F

    Chest gui loop

    command /hatstest: trigger: open chest with 6 rows named "&fTest" to player wait 3 ticks loop integers between 0 and inventory size of chest named "&fTest" - 1: set slot loop-number of chest named "&fTest" to light green stained glass pane named " " What...
  8. S

    Staff Chat aliases

    Using this #This skript is made by DerpyBadger, feel free to change the Messages/Colours. Thanks for downloading! Make sure to leave a review ;) <3 xo command /sc <text>: usage: &cIncorrect usage. Try, /sc [Message] permission: skript.staffchat permission message: &cYou do not have...
  9. X

    Looping regions not working

    Hi, i have this script: every 10 seconds: broadcast "1" loop {zombies::*}: broadcast "2" loop all blocks in the region {zombies::%loop-value%}: broadcast "3" spawn zombie at loop-block set name of last spawned entity to "Boss" And I'm...
  10. W

    Other Block Effects

    This is a tutorial for effects with blocks. We will now start with a radius from the location of a block. This code loops entities in a radius of 5 around the block's position. loop all entities in radius 5 around blocks's location: Now we will add an event for in which this loop will occur...