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

    summon lightning bolt now working

    I'm pretty sure there are existing code statements to both damage and set the player on fire. Here. I didn't include how to damage a player as it's a very simple expression and shouldn't be too difficult to figure out :)
  2. Luke_Sky_Walker

    i was wondering if my skirpt was good ?

    Just skimming through your Skript, I can tell you it's okay. It's decent for a start, but not optimized. In my opinion and through past experiences in coding GUIs, I found that you want to try and use functions if you can for them, especially if they have the same size/similar contents. This...
  3. Luke_Sky_Walker

    how do i detect if a player killed themselves?

    Try looking through this resource for custom death messages: https://www.spigotmc.org/resources/death-messages-skript.111568/. It basically replaces every death message so you can go through it and see how to detect if a player dies in a specific way which would then send a corresponding message.
  4. Luke_Sky_Walker

    Lootchests

    You can use list variables to store items for each rarity then loop said list for a bit of RNG when the player opens a chest (Player opens chest, rarity is chosen based on a chance, it then uses a designated list for said rarity and selects a few items for the rarity to put into the chest)...
  5. Luke_Sky_Walker

    "on tab complete:" no working

    Try 'completions' instead of 'complete'.
  6. Luke_Sky_Walker

    can anyone fix this

    Just ran your code through the parser. There isn't any errors with the code itself but that could mean it could have some logic errors. It would be best to provide a screenshot or explain what part of your code isn't working.
  7. Luke_Sky_Walker

    Effectsmp

    A huge tip I can give you is to avoid using 'execute console command' if you can help it. Skript has many already built in statements/conditions that allow you to apply potion affects, save individual player score values, and much more in shorter (More effective) lines as compared to longer...
  8. Luke_Sky_Walker

    Wins Scoreboard Counter

    Using that code, you can add something like: command addwin [<player>] [<number>]: # Example /addwin Player 100 (Adds 100 wins to the player) trigger: add arg-2 to {wins::%arg-1's uuid%} # Add code below here to update your scoreboard By the way: Make sure only devs can run that...
  9. Luke_Sky_Walker

    (SOLVED) so uhh help.

    You could easily do this by using on death, checking victim is a player then looping all the items in the player's inventory. If the loop item is the concrete, it will then remove all of that event item from the player.
  10. Luke_Sky_Walker

    Is this script wrong by any chance?

    There's not a ton we can do to help if your Skript's issue is a logical issue (Sometimes Skripts will have issues that console errors cannot provide context for)
  11. Luke_Sky_Walker

    Dropped Items

    You could likely do this with NBT components (There is a nbt tag that makes it so that the lifetime of an item can be changed).
  12. Luke_Sky_Walker

    Script Sales Site Questions

    You can sell premium resources on SkUnity which can be like plugins and stuff but you could also maybe sell Skripts that way too (I’d double check the rules in case that’s not allowed and would also be careful about that kind of thing).
  13. Luke_Sky_Walker

    Levels won't work

    Try printing out the variable stats in chat (Ie: The level and police var) so you can double check the values you want are correct. Also, you can use ‘<= 50’ which means the same as greater than or equal to 50 (And is a little shorter). You can also set a player’s group with Skript and don’t...
  14. Luke_Sky_Walker

    Double Wardens skript bug.

    I would guess by the logic, it would make more sense to combine 'on command /warden' and your actual warden command together to make it a little easier to read and to have your code be a little shorter (Also, you should check that {warden} is false BEFORE attempting to set it to true)...
  15. Luke_Sky_Walker

    give me your skript ideas!

    I'd have to find it. The main concept (And way I got it to work the way it kinda did) was I basically had it so that every time a round started, it preselected a random 5 letter word from a list variable then set that as the word (The player wouldn't see). Then, as a player entered their guesses...
  16. Luke_Sky_Walker

    I need help

    Verwenden Sie für Argument 2 "player" anstelle von "text". Andernfalls kann es sein, dass es nicht das tut, was Sie wollen. Sie können für das dritte Argument auch ein Zahlenargument anstelle eines Textarguments eingeben. Das könnte Teil Ihres Problems sein.
  17. Luke_Sky_Walker

    give me your skript ideas!

    Good luck!
  18. Luke_Sky_Walker

    Removing all bossbars

    Each bossbar has a unique ID, you should be able to find it and delete it from the unique ID of the bossbar you want to delete.
  19. Luke_Sky_Walker

    give me your skript ideas!

    The way I did this was the player would input their guess into chat (After starting a game) and a scoreboard would display and keep track of each guess, coloring each letter either gray, red, yellow or green on the scoreboard.
  20. Luke_Sky_Walker

    give me your skript ideas!

    I’ve done this challenge before but my final code was still a little buggy. The idea is to recreate Wordle using only Skript (And Skript addons). I’m curious to see what other devs can come up with for this challenge!