location

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

    loop-block is not a location

    on place: loop all blocks: if loop-block is composter: loop all blocks in radius of 5 of loop-block: if loop-block is fully grown wheat plant: wait 4 seconds set loop-block to air loop all blocks...
  2. M

    Is There to spawn an entity at a location

    Im trying to make like a custom rpg type thing and im trying to make a custom mob with custom names and drops, health, strength and extra but i need my mob to spawn in World Skyblock at a certain location and/or block. I already now how to spawn the mob but i dont now how to spawn it at this place
  3. B

    Can not set yaw and pitch to location variable

    this is a code on click: set {_loc}'s location to location at 0.5, 40, 0.5 in "world3" set {_loc}'s pitch to 90 set {_loc}'s yaw to 0 send "%{_loc}'s yaw%" send "%{_loc}'s pitch%" send "%{_loc}'s x-coordinate%" send "%{_loc}'s y-coordinate%" send "%{_loc}'s...
  4. Wolwer

    Solved Change Y-coordinate in variable

    Hi. I need help. I need to lock Y-coordinate of variable Smth like this: set {_behloc} to location 2 behind player set {_above} to location 1.5 above player set {_loc} to {_behloc} with Y-coordinates of {_above} How to do it? Please, help <3
  5. T

    Solved Help with skript arguments reference

    Hey people, I am writing a skript for my server, to make a system with which you can trap players in a cage. However, it doesnt work. Can someone please help me? (The problem is that it doesnt recognice the player reference / the location of the player but i dont know what to use i tried...
  6. S

    Solved World's spawn location

    Hello, I've search everywhere on the internet and I don't found how can i get the location of a specific world. (if I don't find a solution with armor stand, I would try when a player join the world to generate my schematic) My code: #creating world #teleport entity to my spawn in world...
  7. N

    Location spawn

    How do i do so a location spawn cookies forever but if i type /stopcookiespawn it stop spawning them but if i type /togglecookiespawn it spawns again Pls help me ( sorry for bad english )
  8. Tinkot

    Solved set {_loc} to 3 blocks west of {location} ---- (how?!?)

    so i am making minigames skript and i want to set a location near another location. it works for teleporting players to a location near the variable Teleport player 3 blocks west {location} but i cant figure out how to set a variable near a location of another variable
  9. uGim

    Solved Push players from location

    loop players in radius 20 of {_location}: push loop-player away from {_location} with speed 1 Is it possible to do it so all players are pushed back from a location?
  10. D

    Setting block

    How do i set a block from a location variable Like: set location of block to {Block} set {Block} to tripwire
  11. H

    Solved Teleporting Players to a Location Saved as a Variable

    Skript version and author not applicable. I'm trying to teleport players in two different arrays to a location saved as a variable, but the players are not being teleported. Can someone please tell me why this portion of my Skript isn't working? Thanks! (I've already added players to the...
  12. D

    Need help with loop-block event

    I have this code: command /setheadecocrate: permission: "headeco.admin" trigger: loop blocks in radius 3 around block at player: loop-block is a bedrock: send "&fConverting block..." set loop-block to end portal frame set...
  13. A

    Location At Expression

    Recently I noticed that the location at expression is said to be broken. Location At Allows to create a location from three coordinates and a world. "This expression is currently not parsed correctly, and there is no ETA on a fix yet." – http://skunity.com/expressions#LocationAt. Has the...
  14. xGrow

    Solved Skript Location

    It's possible do something like this: if victim's location is more than 30.5