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

    Mysql internal error

    %time played of playerr%. That's the only thing that really stuck out to me. You have two r's in player instead of one. Changing that could make a difference.
  2. Luke_Sky_Walker

    Adding Fortune to this Skript code

    I did. Just added the links & all plus a tutorial for in case someone new to Skript wanted to try making something like that themselves.
  3. Luke_Sky_Walker

    Adding Fortune to this Skript code

    Events, Conditions + etc I used for this: Block Broken Event Chance Condition RNG Expression Is Enchanted Condition Additional enchant functionality can be tricky to code with Skript but is very much doable. If you want a true fortune enchant type effect applied to a certain block, you'll...
  4. Luke_Sky_Walker

    please help

    I believe the main issue may have to do with the quotes. If you use the wrong type of quotes in a Skript file, it will always have an error until you replace them with ones that work with Skript (In this case, use: "").
  5. Luke_Sky_Walker

    Enchant help

    Because you have to parse it as an enchant (The enchanment type + number)
  6. Luke_Sky_Walker

    Help with Extracting Numbers from Item Name in Skript (Regex Issue)

    I would think the issue is due to the line: replace all characters except "0123456789" in {_number} with "". This is because, it does not individually check if each character is or isn't 0-9. It's simply checking if the string has a string within it, in the case: "0123456789", not each...
  7. Luke_Sky_Walker

    Item Limit

    Simply add 1 to a variable and on pick up, if the event item is a gen item, it removes one from that variable. Then you can check, every 10 ticks if each variable is a certain number and if it isn't that number (Ie: 10 max items). Then it'll drop then item.
  8. Luke_Sky_Walker

    Solved AutoCompressor Skript

    Adding on to doodle's suggestion, it could be cool to create a block compress fuser in a sense. I've done something like that in a script and it's relatively easy to set up (Have a GUI check if a slot is x64 of block with name and etc then run that data through a function to grant the player the...
  9. Luke_Sky_Walker

    Why is this error here?

    I see one pretty big issue. You're trying to send a message to arg-2 which is a text. Replace the second argument of your custom command to a player type.
  10. Luke_Sky_Walker

    How to use the script-placeholders addon?

    Make sure you have PlaceholderAPI. Also, if you don't have the placeholder set up, it won't work.
  11. Luke_Sky_Walker

    Solved True invis

    Try: hide player from all players As for the particles, you could probably do something with vectors for that.
  12. Luke_Sky_Walker

    How to make a cage pet?

    You can create custom structures and place custom structures too, not just vanilla ones.
  13. Luke_Sky_Walker

    How to make a cage pet?

    Here: https://skripthub.net/docs/?id=10551. There's an example for placing structures at that link (I believe it also includes custom ones if you've made em)
  14. Luke_Sky_Walker

    How to make a cage pet?

    That is a lot of code to spawn in a structure. I would recommend using SkBee and instead simply saving the cage as a structure then spawning it in. https://skripthub.net/docs/?id=10552
  15. Luke_Sky_Walker

    Skript attraction/suction ability help needed

    Replace 'pull' with 'push'.
  16. Luke_Sky_Walker

    Skript Help?

    Use a list variable
  17. Luke_Sky_Walker

    Sound Overlap

    You could just do play sound "music_disc.cat" to player. Also, you can combine a couple lines. wait 2 minutes and 15.33 seconds. Also you could try adjusting the time slightly to wait a little bit of time until after the sound has stopped playing before playing it again.
  18. Luke_Sky_Walker

    Skript Help?

    I would send out the values the variables are changing to so you can debug it (Sending the variable values before and after adding/doing math with em) and that may help you find out the source of the problem.
  19. Luke_Sky_Walker

    HELP I NEED HELLPP

    "&4%{kills::%{_p}%}%" instead of "&4%{kills::%player%}%"
  20. Luke_Sky_Walker

    Need Help asap with this

    Make sure it refers to the right variable (Make it send out the coins value). Also, you're checking if a player has exactly 300 coins. So if you have a mechanic that gives more than 1 coin at a time, this code'll fail. In which case, use the <= (Greater than or equal to) condition to make sure...