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

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

    give me your skript ideas!

    Good luck!
  3. 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.
  4. 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.
  5. 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!
  6. Luke_Sky_Walker

    Blocksmined Leaderboard Skript

    The issue is the type of variable, you have to use a list variable. So {blocks_mined::%player's uuid%} instead of {blocks_mined.%player's uuid%}
  7. Luke_Sky_Walker

    Item Owner

    You could just have it set the lore and use that to check what player owns which axe.
  8. Luke_Sky_Walker

    Can't understand this structure

    I'm not fully sure what you're trying to check for but I'm going to guess that you're trying to see how many compactors a player has. In which case, you don't have to check the 'size' of it, just check if a certain number of the list is set as a value. Ie: if {Example::7} is set. Let me know if...
  9. Luke_Sky_Walker

    i have this skript but when i keep right clicking it is putting the cooldown again

    You don't have a way to check if the cooldown isn't zero. Include that and it won't keep refreshing the cooldown.
  10. Luke_Sky_Walker

    Referral skript Error

    To check a player’s group, you’ll have to use the condition, ‘If player’s group is “example”:’
  11. Luke_Sky_Walker

    Many event vs If chain

    For server performance, the lesser lines of code is always better. I would think one listen event that calls many functions from another file would be better than a single if else chain file as then you don’t have to duplicate similar lines of code many times which in turn would lead to more...
  12. Luke_Sky_Walker

    Custom player heads

    Not sure if this would be helpful, but you can modify NBT data of items using SkBee, so maybe you could use SkBee to modify the NBT data of a skull to get it to be a custom one?
  13. Luke_Sky_Walker

    Making Numbers To Letters

    To do this, you should use a function that takes a number and returns a text value based on data. You can then split that data (Given it's one text component) and do a bit of math to determine what abbreviation to give the number, Keep in mind, ONLY use this in text otherwise your code won't...
  14. Luke_Sky_Walker

    Solved Tablist Ranks after order

    I'm thinking you do this by looping the number of online players if their rank isn't owner then have a line on top of that for Owner to show up first in the list then for all the other players (Thus the loop) to show below that. You may need to add a very minor delay in the loop for this to work...
  15. Luke_Sky_Walker

    Problem with the fishing rod with custom fishing loot.

    I did a bit of research from an older thread (here), and found that there isn’t really an easy or effective way to do this with Skript that isn’t buggy or that works well. The only solution mentioned is by using SkriptMirror and to manually set the caught item, however, this is an older thread...
  16. Luke_Sky_Walker

    in-game command maker

    Right off the bat, I can see that the type of variable you’re using for the type of command is likely not one you’ll want to use. {_command} will only be saved in the lines of code it’s used. So if you were to send “%{_command}%” on the On Chat event, it will print <none> since it won’t be set...
  17. Luke_Sky_Walker

    Help me please

    Sure. on death of player: set {_n} to random number between 0 and 100 # Sets up a RNG if {_n} is between 0 and 89: # Basically 90% Chance cancel drops else: # 100-90 = 10% Chance # Nothing here since drops will not be cancelled
  18. Luke_Sky_Walker

    bag of loot

    The way you'd do this (I would think) is to run the give command in game then set up a command that'll save that item as a variable. Then, when the player right clicks, check if their tool is that item then run code for loot (For loot, have it so that the loot is saved in a list variable then...
  19. Luke_Sky_Walker

    Solved Anti Nether Roof

    I would recommend something like this: on walk on bedrock: if player is in world "poppedmc_nether": if y-coordinate of player > 127: cancel event execute player command "spawn %player%" This is I think an easier approach than checking every time a player moves and...
  20. Luke_Sky_Walker

    Solved help with holograms

    Make sure you have Holographic Displays too. If that's not the issue then instead make sure all your plugins are up to date and don't have any reported issues that'd cause those errors.