Recent content by Kapo

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

    Please help me

    on damage: if name of attacker's held item is "&2Zom&abie &8| &fBow": if victim is a zombie: cancel event if victim is a baby zombie: cancel event if victim is a creeper: cancel event if victim is a witch: cancel event if victim is a cow: cancel event if victim is a blaze: cancel event if victim...
  2. Kapo

    Help with killing named entities

    As my predecessor said Keep in mind saving entities in lists is not recommended as the variables will be wiped when the server restarts. What you could do instead is save an entity's uuid and parse it as an entity type and then work with that. add this under your on rightclick event set {_x} to...
  3. Kapo

    TIps before I start something please

    Variables such as {note_lost} are global variables and they'll be replaced once you overwrite them. If you only need to change the lore, you can keep calling back to this same variable as it'll always overwrite the lore before awarding the item to the player. You could also create a local...
  4. Kapo

    Solved Repair System

    command /repair: permission: system.repair permission message: "&cYou don't have enough permission." description: &fRepairs your item for a price trigger: if player's tool is any pickaxe, axe, shovel, hoe, armor, bow, crossbow, shield, trident, flint and steel, fishing...
  5. Kapo

    Solved how do i add an nbt to an item

    can you pm me your skript? line works fine for me
  6. Kapo

    Solved how do i add an nbt to an item

    are you using skbee? it is required for nbt support in guis
  7. Kapo

    Solved how do i add an nbt to an item

    set slot 0 of metadata tag "shop" of player to black stained glass pane of mending 1 named " " with nbt "{HideFlags:1}" you can do it in one line like this
  8. Kapo

    Remove text from string?

    set {_loc} to location of player set {_x} to x-location of {_loc} set {_y} to y-location of {_loc} set {_z} to z-location of {_loc} broadcast "%{_x}% %{_y}% %{_z}%" you could do it like this, change {_loc} to the location you need
  9. Kapo

    Solved Random letter from a player name

    command /test: trigger: set {_length} to length of player's name set {_x} to 1 loop {_length} times: set {_chars::%{_x}%} to " " add 1 to {_x} set {_i::*} to integers between 1 and {_length} loop {_length} times: set...