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

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

  1. PixelCraft_I_D_K

    Detect if player is holding an item with a specific NBT

    How might I do this with SkBee?
  2. PixelCraft_I_D_K

    Detect if player is holding an item with a specific NBT

    Hi there! I'm making a lightsaber Skript and it has a custom NBT. I'm trying to make it so when you hold the sword and deal damage to an entity it does damage. The error is that it's detecting the unbreakable NBT, and it doesn't think it's the damage item. Here is my code: command...
  3. PixelCraft_I_D_K

    Citizens only target prefix

    Oh. I found out how to do it with "set {prefix::%player's uuid%} to player's group" Thank you :D I'll mark this as solved. New code: on entity target: if entity is a citizen: set {prefix::%target's uuid%} to target's group if {prefix::%target's uuid%} contains "default" or...
  4. PixelCraft_I_D_K

    Citizens only target prefix

    Sorry if I caused any confusion. It's not the NPC that has the prefix, it is the player. The target is the player, and the entity is the NPC.
  5. PixelCraft_I_D_K

    Citizens only target prefix

    Hi there! I am making an SCP server and want a guard to attack only the "Class-D" prefix. ("&6Class-D &f" in Luck perms) Every code I try, it's not working. If anyone could help me, I'd appreciate it a lot! Thank you! :emoji_grin: Code: on entity target: if entity is a citizen...
  6. PixelCraft_I_D_K

    SK - Phones

    Never mind, I got it to work
  7. PixelCraft_I_D_K

    SK - Phones

    0-0 I just have no idea how to do this. I'd use the DerePhone Skript on spigot, but spigot isn't working for me.
  8. PixelCraft_I_D_K

    SK - Phones

    Hi there! I don't know how to continue this skript farther. Here is my idea: I'm trying to make a phone skript for an RP thing, and I want it so when the player accepts the call with an accept command, which I also need help with, they will be able to chat with the player. I'm thinking of using...
  9. PixelCraft_I_D_K

    Levels won't work

    Thank you for all of your help! It all works now :D
  10. PixelCraft_I_D_K

    custom armor set

    By the way, here is a link to ArmorSK: https://forums.skunity.com/resources/armorsk.1314/ This plugin works for all versions of the game.
  11. PixelCraft_I_D_K

    custom armor set

    I recommend using the ArmorSK plugin (all versions.) Then, here would be your code: on armor equip: wait 1 tick if player's boots is {CustomItem::SpeedBoots}: set player's walk speed to 1.1 on armor unequip: wait 1 tick set player's walk speed to 1 By the way, what you...
  12. PixelCraft_I_D_K

    Levels won't work

    Hi there! I made a Skript for my job-related server and you need levels to rank up. You need level 50 or higher to rank up with a certain job command. I'm level 54, and it says I have to be at least level 50 to do it (It means I'm not a high enough level even though I am.) If y'all could help...
  13. PixelCraft_I_D_K

    Item Owner

    I'm sorry, I can't figure out what you're saying that doesn't relate to the code I gave.
  14. PixelCraft_I_D_K

    Multiple spawn points

    Can you give an example of a command to teleport to the spawn?
  15. PixelCraft_I_D_K

    Multiple spawn points

    Oh, by the way, I want a singular player only when they first join (or die) to be tpd to a random location on the map
  16. PixelCraft_I_D_K

    Multiple spawn points

    Yes, please.
  17. PixelCraft_I_D_K

    please help

    You can use GUIs if that's what you're looking for. (Also, I'm sorry that nobody responded to you, since this was a bit of a long time ago.) command /vanillaGUI: description: The best way of doing something. trigger: set metadata tag "vanillaGUI" of player to chest inventory...
  18. PixelCraft_I_D_K

    Can't understand this structure

    This code should work when using integers in Skript. command /integer: trigger: set {_integer} to a random integer between 1 and 10 if {_integer} is between 1 and 5: #do something else if {_integer} is between 5 and 10: #do something else...
  19. PixelCraft_I_D_K

    Item Owner

    If you would like to have an owner or multiple owners of the actual item itself, if that's what you mean, you can try this code right here. on right click: if player is holding diamond axe: set {var::%player%} to player if {var::%player%} is "username" or "username": #input...
  20. PixelCraft_I_D_K

    Multiple spawn points

    Hi there! I'm trying to make a zombie apocalypse server and I want players to be spread around the map when they first join. I've tried integers and those aren't working. If anyone could help me out, that'd be great. Thank you! :emoji_grin: