Search results

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

    Getting display name of loop-mob into variable

    I want to spawn armor stands with names (of players) that teleport to their player Can anyone help? every 1 second: loop all mobs: if loop-mob is a armor stand: set {_nick} to display name of loop-mob broadcast "%{_nick}%"
  2. C

    Solved Execute console command

    so I'm having trouble with my console command I think it's because my command has " inside of it, anyone got solutions? command /test: trigger: execute console command "/title %player% actionbar...
  3. C

    loop block on y cords

    set {_y} to y-coordinate of event-block if loop-block is on y-coordinate of {_y}: Line 1 works Line 2 doesn't Can someone help to loop blocks on a certain y level
  4. C

    Check if block at {_loc}

    So I want to check if stone is at the location of {_loc}
  5. C

    Solved whats {_variable}

    so I was wondering whats _ does in {_x}?
  6. C

    Solved Chance of

    Please help me, this line dosen't work, chance of {key.chance.%player%}%: Full code command /pickset <text> <integer>: trigger: if arg 1 = "key": set {key.random.%player%} to arg 2 on break: if event-block is stone: if player is holding a diamond pickaxe...
  7. C

    Block Change

    i want to change the event-block to yellow, then turn back after 1 second else if target block of player is set: set {_eventblock} to event-block send "%{_eventblock}%" set event-block to yellow wool wait 1 seconds set event-block to {_eventblock} send "%{_eventblock}%"
  8. C

    Solved [Self Solved] Set lore to variable

    i want to set the first line lore of event-item (paper) to a variable on rightclick holding paper: if player is holding paper named "&cBanknote": set {_bank} to lore of event-item # Problem Here Full Script command /withdraw <integer>: trigger: if arg 1 is set...
  9. C

    Solved Make items glowing

    So i made this, it works and all but when im on the menu i want the item that is selected to be glowing, and the make the other glowing (if there is) to stop. Please help me variables: {chatcolor.%player%} = "&f" on chat: set the chat format to "%player% &8>> %{chatcolor.%player%}%...
  10. C

    Find Nearest Person

    Line 8: I need an expression similar to that. command /eventstart: permission: "event.admin" trigger: loop players in radius 200 of {eventpos}: set {target} to loop-player if {target} is set: set {eventpos} to location at (0, 4, 0) in...
  11. C

    Variables and arguments

    I want to /setbal for a player and the amount, but when on the last line the code is wrong and i don't know how to fix it command /setbal <player> <number>: permission: op permission message: "&4&lUhh, you can't do that" aliases: /sbal trigger: if arg-2 is not set: send "&c/setbal...