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

    See who did the most damage?

    You can add the number of hits to a list and the damage to another list then check the highest hits and damage and make another list and add those two values and the hiest score wins the event. I am not sure how to check the hiest score of a list but I can help you on how to define the list On...
  2. Mich

    Solved Set Specific Usernames

    Do this instead Command /test: Trigger: Set {list::1} to player Just you execute this command then delete it
  3. Mich

    Get Items

    you are using a local variable and its also not a list you have to do {items::*} command /test: trigger: give a random element out of {items::*} to the player command /add: trigger: add player's held item to {items::*}
  4. Mich

    Solved Set Specific Usernames

    I have an idea On load: Set {list::1} to ElementAstronaut Now you can do stuff like Set {list::1}'s max health to 10 Kill {list::1}
  5. Mich

    Solved Auto regenerate Mana

    I change the variable for a list because you can do more stuff with list like for example you can reset everyone mana and max mana in the server with this line on code set {mana::*} to 0 or you can set everyone max mana to an infinite number set {max_mana::*} to 9999999 on join: set...
  6. Mich

    Solved Auto regenerate Mana

    Click the + icon (insert) then choose code
  7. Mich

    Solved Auto regenerate Mana

    I try and help you when I get home
  8. Mich

    Solved Auto regenerate Mana

    If you want mana just for a minigame then when they join the game do a while loop, if it just in a specific world then make the while loop using on world chance and if that is for everyone in the server then use on join with a while loop. On join: While player is online: #mana code...
  9. Mich

    Compare arg with text

    I think it can done but you have to to arg-1 If arg-1 is "example": Code If arg-2 is set: Code Else: Message "arg 2 is not set"
  10. Mich

    Solved Set Specific Usernames

    Command /test [<player>]: Trigger: If arg 1 is "Mich7272": Set player's max health to 20
  11. Mich

    Compare arg with text

    You can just do this If arg 1 is "example": Code If arg 2 is set: Code Else: Message "arg 2 is not set"
  12. Mich

    Need to cancel player drops every 1 minute

    every 1 minutes: loop all players: if loop-player is online: set {cancel_drop::%loop-player's uuid%} to true wait a tick wait 10 seconds delete {cancel_drop::*} on droping: if {cancel_drop::%player's uuid%} is true: cancel event on...
  13. Mich

    Script Pets - Remove command /test

    I forgot to remove command /test. Its just a command I was using to tests pets.
  14. Mich

    Script Pets 2022-05-07

    Important: You need sk bee add on for this script to work. There is an error on line 485 to spawn a toast rabbit I don't know yet how to fix it but is not a problem for the script. Screen shoots pets: Screen shoots GUI Commands: /pet or /pets opens a GUI to choose a pet...
  15. Mich

    Pets

    Important: You need sk bee add on for this script to work. There is an error on line 485 to spawn a toast rabbit I don't know yet how to fix it but is not a problem for the script. Screen shoots pets: Screen shoots GUI Commands: /pet or /pets opens a GUI to choose a pet...
  16. Mich

    Solved Dye on zombie Spawn

    I think you are correct because on the post red zombie attack blue zombie someone dye using RGB and when I made the code for the red zombie to attack the blue zombie also the dye didn't work and there were no errors
  17. Mich

    Solved Dye on zombie Spawn

    #try this dye last spawned entity's boots red
  18. Mich

    Solved how can I spawn a black and white rabbit? (toast)

    skript version 2.6.1 server version git paper 283 1.18.2 Console error: Can't understand this condition/effect: spawn a toast rabbit at the player rabbit I want to spawn https://minecraft.fandom.com/wiki/Rabbit?file=Toast_Rabbit_JE2_BE2.png
  19. Mich

    Fighting Zombie

    You need sk bee for path find function PathFind(zombie: entity, team: string): if {_team} is "red": set {_target} to a random element out of {blue team zombie::*} add {_zombie} to {red team zombie::*} while {_zombie} is alive: set path target with speed...
  20. Mich

    Solved Detect username from a chat message

    I think that only works for command using tab completions from skbee add on https://skripthub.net/docs/