skript

  • 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. 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...
  2. PixelCraft_I_D_K

    Sound Overlap

    Hi there! I'm trying to make an in-game music Skript where it loops the cat disc. I calculated the exact number of minutes the disc is (im using a texture pack) and when I play it in-game it works but the sound plays over itself. I can't figure out how this happens. Here is my code: command...
  3. 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...
  4. 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 ""...
  5. 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...
  6. 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...
  7. Equip

    Addon SkEssentials v1.0.0

    About SkEssentials SkEssentials was made to simply make your life easier for using features from SkEssentials in Skript instead of having to do it with Skript-reflect. You can put people in vanish, afk people, and more coming soon. Issues/Suggestions Found an issue with SkEssentials or want to...
  8. T

    Loop entities with nbt data

    How do i loop entities with nbt data?
  9. T

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

    i have a function that creates a gui and when a player clicks on a item it returns something. when i want to reload my skript it says "The return statement cannot be used here"
  10. 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?
  11. J

    Solved Autocompressor that works when in offhand

    I tried coding an autocompressor that works in offhand but i get this error: this is the code: on join: if loop-player's offhand tool is hopper minecart named "&6Autocompresser &7[&a1&7]": every 1 ticks: loop all players: if loop-player has 32 oak log...
  12. V

    Xp Bar Progression

    Hello, so I have a levelling skript in which I have {level::%player's uuid%} which is the level of the player and I also have {levelxp::%player's uuid%} which is the xp for my levels system and finally I have {levelmaxxp::%player's uuid%} which is the xp you need for next level, now I want to...
  13. Z

    How do I make an if variable is skript?

    I'm new to skript and trying to make a basic plugin to learn, I'm trying to make it so that it detects if a variable is a certain value. I've done it like this: command selectbuff: if "{%player's uuid%.gotbuff}" is set to "Selected": stop else: my code blah blah blah But...
  14. 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...
  15. 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...
  16. L

    Right click on a block while holding food

    I need help with a script, i am making a prison server and a part of it includes working in a kitchen. There i want a player to wash a poisonous potato in a sink. So he needs to right click with that potato on a tripwire and it will give him a normal potato. I have tried things like: on eat...
  17. Acidic

    Cooldown

    Hey there, I am looking for some help with my skript for cooldowns. on right click: if player is holding gold ingot: set {_c} to difference between {cd::%player's uuid%} and now {_c} < 10 seconds: send "&cWait %{_c}% seconds before using again" to player...
  18. aabss

    Addon SkHttp 1.4

    SkHttp You need Skript 2.7.0 and up to use. This addon is just a random addon I made to support/add http/web related things. Either message me on skUnity or join my Discord (I am more active on discord) For any support or suggestions, join my Discord here! If you are instead looking for...
  19. D

    block break skript

    Catergory Skript Help Spigot/Skript Version: Paper 1.20.4, Latest version of Skript What I want: I need a script that makes blocks in a specified region (named "blockbreak") instantly break and set to air as soon as a player starts mining them, without dropping any items. When I'd like it by: As...
  20. D

    Slice attack

    Hello, i tryed to make a Skript, when on attack it will shoot (Look at the Picture) and it will damage the Player of 2.5 HP (Armor or Protection will not help to get less damage) and if it hit an entity, it will damage it, but it will stil go trought them with Range of 10 blocks and no Cooldown...