help

  • 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. Sunny_Noob132

    Issue with functions in Skript

    I have a bit of an issue with Skript functions, they seem to be non-blocking by default. For example, if I have the function below: function countdown(length: number): loop {_length} times: broadcast loop-number wait 1 second And I use this function in another section of...
  2. B

    need help!!!!

    im making a zombie apocalypse server and this just aint working plz help thank you! every 1 second: set {_x} to a random integer between 96 and 47 set {_y} to a random integer between 3 and 2 set {_z} to a random integer between 150 and 199 console command...
  3. C

    Snowball able to successfully shoot fireballs

    I was trying to write a Skript that's able to change snow golem's snowballs to fireballs, though I'm not too good at stuff like this. It kinda worked, but not only do I not really see the fireballs as much (I assume they phase into the ground or they go too fast), the snow golem shoots them...
  4. JesterThr0ugh

    Solved True invis

    Hello! How do I make a function that lets me go into 'true invis' meaing it shows nothing, not ur tools, not particles, not armour, im very new and i cant figure out functions as i cant find any thing about it online! Please help me. on rightclick: if player's tool is unbreakable diamond...
  5. C

    Help with the clan system that I wrote

    command /clan [<text>] [<text>] [<text>]: aliases: guild, g, c trigger: #CLAN SETRANK if arg-1 is "setrank": if arg-2 is set: if {clan::%{clan::%player's uuid%}%::membercount::*} contains arg-2 parsed as player's uuid: if...
  6. TimeStellar

    Skript Help?

    I have a weapon level system but i dont understand why it doesnt work like when i right click (i set it so for testing) it gives xp but the max xp breaks and goes to none can anyone help? on right click with a sword: if name of player's tool is "&aLeveled Sword": set...
  7. R

    Solved Help with vectors and armor stand generation; Entity-homing wave attack

    So I found this attack on hypixel skyblock and I really wanted to recreate it with only Skript and SkBee. I did well at first, getting some things right, but then progress just stopped moving and I couldn't figure it out. The specific help I need is to calculate the "movement/generation" of the...
  8. C

    Armorstand Boomerang

    Hi! I'm new to skript and i can't seem to find any forums on boomerangs or much anything about armorstands... all i am trying to do is make it so that if you right click on a snowball it cancels the event and creates an armorstand that rotates and moves forward in the direction that you were...
  9. TimeStellar

    Solved Item id?

    i want to make a item level system but i wanna use varibles but how would i make a variable for a specific item like an id or smth like that. command /admin <text>: permission: op trigger: if arg-1 is "give": give diamond sword named "&aLeveled Sword" with lore ""...
  10. MrBenjaroo

    PlaceholderAPI with WorldGuard

    So, I am trying to make a certain command with skript in WorldGuard. If the flag is allowed, deny it. If the flag is denied, allow it. It is a quick way to swap values over, as WorldGuard doesn't have a toggle feature. This is my buggy code: command /toggleflag <text>: permission...
  11. Yushaa

    Help with custom SMP Skript

    I'm trying to make it so u need a specific variable to be true to be able to withdraw the invis rogue so people cant withdraw it without having the variable on their player [it'd be nice if it said an error message too but its not needed] command /withdrawrogue <text>: trigger: if...
  12. Laserlp

    Solved hide/show entities to individuel players?

    Hey! Like the title says, I wanted to ask how I can hide or show individuel entities to individuel players. What I have made so far is this: on every 5 ticks: loop all players: if {Level.%loop-player%} is more than 9: loop all text displays in radius 25 around...
  13. Yushaa

    I need someone to make a skript for my SMP!

    Upon killing a player they drop an item called a "Rune" and when the player right clicks the Rune, they gain a random positive permanent effect they cannot lose even after dying. the only way to get rid of it is if the player does "/withdrawrune" which gives them the embued rune veil. The player...
  14. R

    random int

    set {_time} to random number from 7 to 11 every {_time} seconds: loop all players: if block below loop-player is red wool: spawn a zombie at location of loop-player i want spwan zombie random time(7sec ~ 11) + p.s Is it possible to summon zombie it at a random location on...
  15. R

    help my skript

    every 10 seconds: loop all players: if loop-player is on red wool: spawn a zombie at location of loop-player it's make error that there's no loop matches "loop-player" is on red wool
  16. TimeStellar

    Solved command help

    i wanna make a command with like a selection given like in this image so players can just press tab and automaticly put it in?
  17. M

    Can't compare 'balance of player' with an integer

    So my skript version is 2.2 dev 36 Minecraft server version is 1.8.8 And this is the important code: balance of player is greater than 10000000: And the error message goes like this: Can't compare 'balance of player' with an integer (balance.sk) line 157: balance of player is greater than...
  18. S

    luckperms voucher help

    so i made a voucher rank for luckperms bc i want to use a piece of paper and right clicking does a console command and removes it from your inventory, but i encountered a problem that i cant get past. when i use this code on right click with paper: If name of player's tool is "&cOwner Rank"...
  19. PixelCraft_I_D_K

    Block's UUID in a variable

    Hi there! I was just wondering how you'd put a block's UUID inside a variable. I'm trying to give the block data (a variable) when right clicked on by a certain item. I have to use %block's uuid%, but that's not working. If I used %player's uuid% that wouldn't work either, since only admins are...
  20. VoiderYT

    Variables that don't reset on load

    I am trying to make a skript thingy that stores a variable (in my case, a list) but when I restart the server, it resets the variable. How would I avoid that? Here is an example (not my case but just a general idea): command /sethome: trigger: set {home} to location of player...