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

    clear lag

    I don't think you could just delete them, however, you could do something where when that command is called, is sets a variable to true, then another statement checks on death with the same requirements for mob as the loop you made, then cancel all drops and then you can delete the variable you...
  2. Luke_Sky_Walker

    clear lag

    Simply loop all your entities in a world, check if the entity is of this type: https://skripthub.net/docs/?id=2154. And if it is that type of entity AND is named, then kill it.
  3. Luke_Sky_Walker

    [i] message

    Try maybe cancelling the message event then sending the tooltip with a message.
  4. Luke_Sky_Walker

    Solved Help to create a dome around who uses a certain item

    on right click: player is holding iron door named "Test" loop all blocks in radius 4 around player's location: if distance between location and loop-block's location is between 3.5 and 4.5: loop-block is air set loop-block to bedrock Try this! You can change the...
  5. Luke_Sky_Walker

    [i] message

    Couldn't you use something like: "set {_t} to formatted "&b<tootip:Example><reset>[Item]" "
  6. Luke_Sky_Walker

    How to set a block then delete it

    Set the position of the target block to a variable, then after a while set the block at that location (If it's brown carpet) to air.
  7. Luke_Sky_Walker

    Solved SkBee attribute modifiers

    No prob!
  8. Luke_Sky_Walker

    Solved SkBee attribute modifiers

    Hold on. Found out why: "Note that the movement speed attribute cannot be reliably used for players. For that purpose, use the speed expression instead". Found that here: https://skripthub.net/docs/?id=4272.
  9. Luke_Sky_Walker

    Solved SkBee attribute modifiers

    Wouldn't it be 'generic.movement_speed'?
  10. Luke_Sky_Walker

    Auto compressor

    It seems a bit overly complicated. You could simply write a function to check if player has 64 of item named X then give the player an item named Y. Example: (Set as spoiler in case you wanna try turning it into a function first)
  11. Luke_Sky_Walker

    Strange parsing error I think?

    List variables are better/easier when it comes to handling variable storage. This is probably why {smeltOres.%type of event-block%} is less effective to use compared to {smeltOres::%type of event-block%}.
  12. Luke_Sky_Walker

    Placeholders with skript

    You're looking for the expression: on papi request for prefix "example":
  13. Luke_Sky_Walker

    how to cancel inventory drag

    I think I know what you mean. Try: on inventory click: if name of event-inventory is "just mapleeeee": if event-slot is 0 or 8: cancel event
  14. Luke_Sky_Walker

    Creating an area with Skript

    Technically you could by setting two coordinates then looping between the two to run your code, but it could be easier if you were to use WorldGuard then check for changes in a specific region which you create.
  15. Luke_Sky_Walker

    random int

    You can spawn zombies in a random location on the red wool by looping the coords between that area and then setting random numbers between those coordinates as you'd wish then spawning a zombie at the coords you set.
  16. Luke_Sky_Walker

    luckperms rankup help please

    I won't spoon-feed you code to your solution, however, you can do this by checking out these places that I've linked on the docs! For stepping on blocks: https://docs.skunity.com/syntax/search/id:4849 For setting the player's rank (FYI: You can use the set effect with this expression!)...
  17. Luke_Sky_Walker

    Solved return something in function when clicked on inventory with skript-gui

    You have to set up the function to be able to return values (Could be boolean, text, an item, etc) and attach that value to the end when you create your function. Like so: function ExampleFunction(t: text) :: boolean: if {_t} is "Option1": return true else: return false
  18. Luke_Sky_Walker

    Mob Spawn

    Alright, I did a little research and I don't think there's an easy way to do this with Skript. The best thing I found you could use (If you figured out how to) would be this: https://docs.skunity.com/syntax/search/id:10555. Basically different classes for how something could spawn. Not sure how...
  19. Luke_Sky_Walker

    Solved Auto Compresser

    Check the event-item's name to make sure it isn't a compressed item.