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

    Trying to create a command to upgrade the amount of homes a player can have

    The main issue I see is the type of variables you're using. A variable such as {_example} will not be persistent (Local Variable) and the data of that variable will be lost in other sections of your code. Example: command var1 [<number>]: trigger: set {_num} to arg-1 broadcast...
  2. Luke_Sky_Walker

    Solved Change block type for player

    I think this is what you're looking for: Client Sided Blocks
  3. Luke_Sky_Walker

    Detect Player Looking At Player's Eye

    Here's probably how you could do this: Create an invisible small armor stand (Or Display Entity) at the player's head. When the other player looks at that armor stand OR display entity, you would then trigger your code.
  4. Luke_Sky_Walker

    Skript Minecraft 1.20.1 Aim Asssit Detection HELP

    Lo primero que diré sobre esto; No utilice AI para codificar en Skript. Esto se debe a que la AI es terrible en Skript, es mejor tener a alguien con experiencia para hacerlo. También creo que para la detección de hacks utilizando este tipo de lenguaje de código, sería más fácil hacer algunos...
  5. Luke_Sky_Walker

    Solved DISKY- what are valid bot names

    I would look back through your code and find what you defined your bot name as. Also, you could alternatively try using quotes for the bot name as when I utilized my bot name through Disky code, it was always in quotes.
  6. 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.
  7. 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.
  8. 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...
  9. 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: "").
  10. Luke_Sky_Walker

    Enchant help

    Because you have to parse it as an enchant (The enchanment type + number)
  11. 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...
  12. 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.
  13. 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...
  14. 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.
  15. 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.
  16. 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.
  17. Luke_Sky_Walker

    How to make a cage pet?

    You can create custom structures and place custom structures too, not just vanilla ones.
  18. 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)
  19. 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
  20. Luke_Sky_Walker

    Skript attraction/suction ability help needed

    Replace 'pull' with 'push'.