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

    How to stop the events of another command happening

    Use a while loop Example: command /uhcstart: trigger: while {uhcstart} is not set: #Do stuff wait 3 ticks # Do stuff when game is stopped delete {uhcstart} command /uhcstop: trigger: set {uhcstart} to true
  2. AsuDev

    Solved Help me

    I am not sure. I've tested these on version 1.12.2 and 1.13.2 and it worked with FAWE. If it does not work without WorldGuard, try it out. I do not think it does though.
  3. AsuDev

    Solved Help me

    Hey, this might not be of any relevance to your issue but, the best way to make a "mine reset" would prob be to use Skematic addon or even FaweSK. They both use FAWE as a base, the syntax is easy, and its very fast (non laggy). Here is an example done with Skematic: set {_region} to a new...
  4. AsuDev

    Solved A simple and quick help.

    No problem, if you got anymore questions you can ask me on discord: AsuDev#0714 If this post is solved, mark as solved :)
  5. AsuDev

    Problem with looping, even though there is no loop...

    You stated "make attacker damage victim by damage" which repeats the damage event. You are basically recursively triggering the damage event until the condition is not met anymore 'if {_n} > 0'. I don't know why you are canceling the event tbh.
  6. AsuDev

    Solved A simple and quick help.

    Add 'to the player' on the end of the send statement: send "You have a full inventory." to the player
  7. AsuDev

    Solved A simple and quick help.

    Condition for inventory space: %player% has enough space for %itemstack%
  8. AsuDev

    Solved set variable to %player count%

    command /math: trigger: set {_count} to 0 loop all players: add 1 to {_count} broadcast "%{_count}%" You can also try this without loop: command /math: trigger: set {_count} to size of all players broadcast "%{_count}%" The loop one...
  9. AsuDev

    Please help me

    on quit: loop {players::*}: if "%loop-value%" is "%player%": remove loop-value from {players::*}
  10. AsuDev

    1.13.1 Aliases?

    Should auto generate when you load up the most recent of bensku skript. https://github.com/SkriptLang/Skript/releases Most current being 2.3-beta1 (run on paperspigot 1.13.1 or spigot 1.13.1) Make sure the aliases file is deleted so it is generated on startup if you already have existing files...
  11. AsuDev

    Solved endet

    WolvSk Addon Heres the link to anvil doc: https://github.com/Nashoba24/WolvSK/blob/master/examples/anvil-gui.sk
  12. AsuDev

    SafeTrade

    SafeTrade SafeTrade is a script that makes trading items between players easy and simple. Features - Safe and simple way for people to trade items - Configurable messages - Inventory checker for full inventory - Creative mode option - Configurable trade cool down and trade time out -...
  13. AsuDev

    Solved remove “attack damage” text

    You can add "HideFlags:63" to the nbt of the item to hide it. 2 examples: set {_item} to 1 of diamond sword with nbt "{HideFlags:63}" named "&cTest" with lore "&cTest" set {_item} to 1 of diamond sword named "&cTest" with lore "&cTest" add "{HideFlags:63}" to nbt of {_item} You need SkStuff...
  14. AsuDev

    Skript-Mirror Help

    How can I set {_message} to the new format? set {_message} to "!" set {_message} to {_message}.replaceFirst("!", " "); #Doesn't Work gives error {_message}.replaceFirst("!", " "); #Works but doesn't change anything in {_message} player.sendMessage({_message}.replaceFirst("!", " ")); #Does...
  15. AsuDev

    Solved Can anyone try to help plz

    on break: player's held item is a pickaxe set {_tag} to tag "value" of nbt of player's held item if {_tag} is not set: add "{value:1}" to nbt of player's held item set line 3 of lore of player's held item to "&a&lPickaxe" set line 4 of lore of player's held item...
  16. AsuDev

    Solved Double damage from behind on monsters

    This might not be the best way to go about this, but you can get the facing of both the victim and attacker. If their facing is the same, then do more damage. ex. on damage: set {_afacing} to facing of attacker set {_vfacing} to facing of victim if {_afacing} is {_vfacing}...
  17. AsuDev

    Solved Can anyone try to help plz

    You have SKStuff right?
  18. AsuDev

    Solved Can anyone try to help plz

    I just updated my post. Take a look at it now.
  19. AsuDev

    Solved Can anyone try to help plz

    I guess you can't have multiple options in a contains statement? I made an alternative method above ^ There is multiple ways you can do this. The way I sent will check any line of lore on your item. There is a much easier way if the item info will always stay on line 4 of the lore.
  20. AsuDev

    Solved Can anyone try to help plz

    on break: player's held item is a pickaxe set {_tag} to tag "value" of nbt of player's held item if {_tag} is not set: add "{value:1}" to nbt of player's held item set line 3 of lore of player's held item to "&a&lPickaxe" set line 4 of lore of player's held item...