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 comminuty!

    Now, what are you waiting for? Join the community now!

  1. O

    Iron Golems aggro

    I know about the AngryAt NBT tag, but how would I use Skript to summon an Iron Golem that instantly is hostile?
  2. O

    can't be set to because the latter is not an object

    Hello, I'm trying to revive an old server with a hologram leaderboard system using MorkazSK and skript-holo but whenever I try and reload the Skript file, it brings this error: {_slevels::*} can't be set to 'sorted {gold::*} from highest to lowest with format "@{index}"' because the latter is...
  3. O

    Solved <Command> JSON With %player%

    When I try and use the <command:command> format in text with Skript, it only shows in chat and is not clickable like how I want it to be. In the file I linked, I showed how it doesnt seem to want to be in the normal format and shows the whole <command> statement thats supposed to be clickable...
  4. O

    Help with shulker boxes

    I was checking if there was a way to check the items inside a shulker box inside a player's inventory maybe using like NBT or something along those lines. If you don't know, then that's fine, thanks anyways.
  5. O

    There's no location in an on script load event

    on script load: create new holo with line "&7» &c&lGold Leaderboard &7«" and store in {gold_lbs::*} at location at 84, 80, 83 in world "NORMALWORLD" refreshGoldLB() create new holo with line "&7» &c&lGPC Leaderboard &7«" and store in {gpc_lbs::*} at location at 52, 80, 83 in world...
  6. O

    Formatting numbers

    I need to make my numbers (Ex: 100,000) to be shortened to 100K for example for my leaderboard. I've looked all over but the only thing I can find is where you add a comma every 3 numbers. Any help?
  7. O

    Solved Making actionbar not flash

    on click: send action bar "blah blah blah" to player Hello, I needed to know how to make it so when I update an actionbar, it doesn't flash. Example: on click: add 1 to {clicks} send action bar "%{clicks}%" to player Thanks! Edit: I'm on Minehut Nevermind, I have figured it...
  8. O

    On Offhand Switch Not working

    When I try and use my "on offhand [move|switch]" event from Skellet, it doesn't work sometimes. Like when you click the slot in your inventory, it doesn't count as switching and therefore, doesn't trigger the event. If anyone knows a solution to this, please tell me. I'm trying to work on...
  9. O

    Solved Adding a variable to player's balance

    I found an issue regarding adding variables to a player's balance. I don't think you need my whole code, so here's the line of code: add {_a} to player's balance It doesn't seem to work and the error is: Can't understand this condition/effect: add {_a} to player's balance
  10. O

    "Skript Severe Internal Error" with creating NPC's with Skellet

    Hello, I was making a "WatchDog" anti-cheat and I was making a NPC to swarm around them. It used to work, but we started editing with it and the original Pastebin got deleted so we just kept on trying to fix it and nothing worked. CODE...
  11. O

    internal error occurred while trying to execute this command

    command /sell: trigger: set {_stone} to amount of stone in player's inventory set {_coal} to amount of coal in player's inventory * 2 set {_iron} to amount of iron ingot in player's inventory * 5 set {_gold} to amount of gold ingot in player's inventory * 10...
  12. O

    TuSKe Gui being overwritten.

    command /shop: trigger: open virtual chest with size 3 named "&9Shop" to player wait 1 tick set {_slot} to 0 loop 27 times: format gui slot {_slot} of player with random element out of {backgrounds::*} named " " add 1 to {_slot}...
  13. O

    loop-block is not a location

    command /generators: trigger: open virtual chest with size 3 named "&9Generator Shop" to player wait 1 tick format gui slot 10 of player with orange concrete named "&6&lCarrot Generator" with lore "&eTier: 1" and "&ePer 1 Item: 1$" and "&c750$" to run: if...
  14. O

    Top Blocks Mined leaderboard

    Ok I am a fairly new "Skripter" and I have never tried to do a leaderboard, so I was wondering, could anyone give me a "Top Blocks Mined" leaderboard? Or even like "Top Prestige" or "Top Coins" would be awesome, thanks!
  15. O

    Random Integer Between 2 Locations

    Ok so I am trying to make a skript where when you select a kit, it summons you to a random location between -22 9 5 and 25 0 56 and I know single number random integers but not 2 coords, and help?? Full Code: command /kits: trigger: open virtual chest with size 4 named "&9Kits" to...
  16. O

    Item Damaging

    I am trying to make items that give special effects when in your main hand. When the durability goes down, the skript stops working, as it thinks that the only thing it can do is... give it if the the sword/item has full durability. Is there any way to solve this? I have tried to make it so it...
  17. O

    "Severe Error"

    [18:47:31] [Server thread/ERROR]: #!#! [18:47:31] [Server thread/ERROR]: #!#! [Skript] Severe Error: [18:47:31] [Server thread/ERROR]: #!#! [18:47:31] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript. [18:47:31] [Server thread/ERROR]: #!#! This issue is NOT your fault! You...
  18. O

    loop-block is not a location

    I have posted this multiple times and nobody has been able to solve it. I am trying to make a crop harvester skript but when I set the composter (the block that is going to be used for the harvester) variable for the location because if I don't do that, other errors pop-up but this is my code...
  19. O

    Auto-Harvesters not working

    every 2 seconds in world "world": loop all blocks: if loop-block-1 is a composter: set {autoharvcomp} to {_loc} of loop-block loop all blocks in radius 5 around {autoharvcomp}: if loop-block-2 is fully grown wheat plant: set...
  20. O

    My argument shows up as <none>

    command /shrug <text>: permission: unicode.chat.shrug trigger: make player say "¯\_(ツ)_/¯ %arg 1%" command /tableflip <text>: permission: unicode.chat.tableflip trigger: make player say "(╯°□°)╯︵ ┻━┻ %arg 1%" command /cry <text>: permission: unicode.chat.cry...