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

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

    Item Owner

    You could just have it set the lore and use that to check what player owns which axe.
  3. 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...
  4. 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.
  5. 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”:’
  6. 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...
  7. 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?
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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
  13. 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...
  14. 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...
  15. 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.
  16. Luke_Sky_Walker

    Solved Send player to another server?

    I don't think you could do that as the way most server networks work for sending players to another server is by having the servers connected to one another (Usually via bungee cord). This is also why there isn't like a server hub server that can connect you to tons of different servers (ie...
  17. Luke_Sky_Walker

    Friends GUI help

    Unless you provide code for what you’re trying to do and explain how the system is supposed to work, there’s not really much we could do to help you get your code to work.
  18. Luke_Sky_Walker

    GUI Skript with buttons that execute commands

    Not related to solving your issue, but you can format multiple GUI slots at once by separating the numbers via commas and that could help your code in general to be more readable. Example: format slot 16,17,18,18,19,20,21,22,23,24,25 and 26 of player with gray stained glass pane named “ “ to be...
  19. Luke_Sky_Walker

    Animated text

    Imo, wouldn't be too hard to make. You just loop a variable an infinite amount of times and you can have it change colors/etc. # Example: every second: set {An} to "&cAnimation" wait 0.25 seconds set {An} to "&6Animation" wait 0.25 seconds set {An} to "&eAnimation" wait 0.25...
  20. Luke_Sky_Walker

    Hello, can anyone help me?

    By utilizing loops and list variables this can be achieved pretty easily.