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

    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...
  2. 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.
  3. 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...
  4. 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...
  5. Luke_Sky_Walker

    Hello, can anyone help me?

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

    not work skript random money

    One of the biggest issues I see with that code right away is that it’s not consistent. {player.randommoney} is not defined because it doesn’t match the variable you set a random number to on the previous line. Same with the line after.
  7. Luke_Sky_Walker

    Solved How to send a variable in chat?

    Add percents around variables if you plan to use them in text. Example: send “%{Example}%” to player.
  8. Luke_Sky_Walker

    Optimization of item-replacer script

    Functions. Functions can run multiple similar lines using only one line which makes them useful for Skripts that have many repetitive or similar lines. Example of optimization using a function and your code: Keep in mind, the code is untested and you may need to change a bit to fit your needs.
  9. Luke_Sky_Walker

    Disable anvil renaming for paper

    Not sure if this would be super helpful but maybe you can do a few conditional statements to check if the player's inventory is an Anvil GUI (This would be used for an on click event), then after that, check if the event item is paper then cancel that event.
  10. Luke_Sky_Walker

    colour codes just dont want to work anymore

    Firstly, provide errors/code. Secondly, if the issue is due to usage of gradients (Ie: <#084cfb>), simple double the hashtag(s) (A singular hashtag in any piece of Skript that isn't doubled can cause tons of issues especially if the hashtag is meant for colors/solely text and not code notes).
  11. Luke_Sky_Walker

    Enchantment Fix

    Behold, a piece of code I used for my server. This code is not an immediate fix to your problem but should lead you to the right direction! It sets a custom damage regardless of the weapon used. I'll leave it to you to add conditional statements that will make the damage be much greater/lower...
  12. Luke_Sky_Walker

    Need help with skript

    This should be what you're looking for! Click on the spoiler I provided below to see what I wrote & explanations of the line I added in the notes.
  13. Luke_Sky_Walker

    Click 50 times for open iron door

    I figured out a solution and a few fixes to your current code. See the spoiler below for the code (With notes for stuff I added/changed):
  14. Luke_Sky_Walker

    Skript Review/Optimze/Shorten

    You can use a function for the key all and use options. Here‘s what I was able to write as an example (No errors but untested in game):
  15. Luke_Sky_Walker

    Loop-Entity issue

    Your variable, {_PEL} can only store a singular value. Like any number or text. You’re trying to store an entire location into that variable which includes at least three different numbers. Which is why you should use a list variable, that can save as much info as you want.
  16. Luke_Sky_Walker

    Loop-Entity issue

    Hello! I've ran into this issue before too. The easiest way to fix this is to consider different script variables and what a location is. The variable you're currently using to try and set the location can only hold one value. A location in script contains at least three values, the X, Y and Z...
  17. Luke_Sky_Walker

    Skript Review/Optimze/Shorten

    That's definitely a step in the right direction. Your code is now shorter than the original version and imo is a bit easier to read.
  18. Luke_Sky_Walker

    Solved Disable comments

    No prob.
  19. Luke_Sky_Walker

    Skript Review/Optimze/Shorten

    One of the best ways to shorten/optimize code is with functions! In my opinion, functions are extremely helpful and honestly extremely convenient to use if you wanna optimize your code. You should also look into loops too. If you have multiple lines of code doing pretty similar things, you can...
  20. Luke_Sky_Walker

    Solved Disable comments

    Check Skript's main config.