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. X

    Solved how to parsed as item

    set {_item} to "dirt" parsed as an item type
  2. X

    Solved Set the speed of the horse

    spawn a horse at player set {_} to last spawned horse equip {_} with a saddle add "{Tame:1,Attributes:[{Name:generic.movementSpeed,Base:0.5}]}" to nbt of {_} Requires SKStuff
  3. X

    GET LAST DAY OF A MONTH

    function lastDay(m: number,y: number) :: number: if {_m} = 1,3,5,7,9,11: return 31 else if {_m} = 2: if "%({_y}/4)%" contains ".": return 28 else: return 29 else: return 30 command /lastDay <number> <number>: usage...
  4. X

    Solved how to swap inventory item to hand?

    Try this on tool break: set {_tool} to id of event-item wait 2 ticks if player's tool is empty: loop items in player's inventory: if loop-item's id is {_tool}: set {_item} to loop-item remove loop-item from player's inventory...
  5. X

    Solved how to swap inventory item to hand?

    It works fine for me, It needs to be removed before its placed in the tool slot? Or does it not replace the player's tool?
  6. X

    Solved how to swap inventory item to hand?

    on tool breaking: set {_tool} to "%event-item%" parsed as an item set {_slot} to player's current hotbar slot send "%{_tool}% broke" wait 1 tick loop all items in player's inventory: if "%loop-item%" = "%{_tool}%": remove loop-item from player's inventory...
  7. X

    Solved how to swap inventory item to hand?

    J Just copy my code
  8. X

    ON right click on noc

    Skript doesn't recognize NPC as an entity type, use the skellett addon: https://docs.skunity.com/syntax/search/Citizens - Click
  9. X

    Solved how to swap inventory item to hand?

    on tool breaking: set {_tool} to "%event-item%" parsed as an item set {_slot} to player's current hotbar slot wait 1 tick loop all items in player's inventory: if "%loop-item%" = "%{_tool}%": remove loop-item from player's inventory set slot...
  10. X

    Saving variables to items

    You can save an item by doing Set {_} to player’s tool Or you can give a saved item by typing Give player {_}
  11. X

    Directions

    With this code your minecraft probably crashes. Try putting an extra " " before the wait 1 tick
  12. X

    Anvil Editor

    How can i make something like this from mineplex: https://gyazo.com/693ae55e3632079cbf61e3bcf50f01cc I want this to make players search like mineplex. My mc version is 1.12
  13. X

    Signs

    How can i make a player edit a sign like shown on this gif https://gyazo.com/fd6ae584f44e7cb34befa71222505db5 My mc version is 1.12
  14. X

    Right click

    How can i check when a player clicks on a armorstand and how do i get the name of the clicked armorstand because on right click does not work for me?
  15. X

    On region enter

    I am trying to check when a player enters a region but it gives an error Error: https://gyazo.com/733ed025cb1be9b3539e0362b4a5a6c9 Skript Version: 2.2 https://gyazo.com/f165adc9eb2fb294ec42f3f26b9049fd Mc Version: Spigot / CraftBukkit? 1.8.9 https://gyazo.com/dac923540e0a9347583afcc6fdd79a2c...
  16. X

    Move Citizen

    Hey skripters, I am trying to make a Citizen or Npc move to a specific location This sould be posible with the addon SkRayFall. https://www.skunity.com/search?search=Move+citizen I tried this in the following way: on npc right click: set {_} to "%event-number%" move citizen {_} to location...
  17. X

    MundoSk packets

    I am trying to use play_client_look packet but i don't exactly now how to use it, is there any tutorial for how this works? I would like to rotate the player using this so how can i do that?
  18. X

    Arg 1 is not set

    I am trying to use If arg 1 is not set: and it gives an internal error. Can someone help?
  19. X

    GuardianBeamAPI

    I have got a quick question. I have tried using the GuardianBeamAPI from WolvSK but it gives errors. https://gyazo.com/152541c4b104296395f24cb309147b03 This is the code: ``` create guardian beam from {_Loc} to {_Loc2} named "%player%" wait 10 seconds stop guardian beam named...
  20. X

    Hey i have seen your WolvSK addon, but how can i use the Guardian Beam because it gives errors...

    Hey i have seen your WolvSK addon, but how can i use the Guardian Beam because it gives errors for me https://gyazo.com/152541c4b104296395f24cb309147b03