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. K

    Hello! There was a problem with SmithItemEvent :(

    I need to make sure that the player's time is checked and if it is less than N hours, then it is executed like this (this wrong)
  2. PixelCraft_I_D_K

    Citizens only target prefix

    Hi there! I am making an SCP server and want a guard to attack only the "Class-D" prefix. ("&6Class-D &f" in Luck perms) Every code I try, it's not working. If anyone could help me, I'd appreciate it a lot! Thank you! :emoji_grin: Code: on entity target: if entity is a citizen...
  3. PixelCraft_I_D_K

    SK - Phones

    Hi there! I don't know how to continue this skript farther. Here is my idea: I'm trying to make a phone skript for an RP thing, and I want it so when the player accepts the call with an accept command, which I also need help with, they will be able to chat with the player. I'm thinking of using...
  4. SuperRcraft

    Variable Problems

    command /lootbox [<string>] [<string>] [<string>] [<string>] [<string>] [<string>] [<string>] [<string>]: permission: skript.lootbox.admin trigger: if arg-1 = "create": if {lootbox::list::*} does not contain arg-2: add arg-2 to {lootbox::list::*}...
  5. M

    spawn minecart when block is clicked

    I have the line "spawn minecart at clicked block". It works properly with other minecart types, like when I replace it with "spawn minecart with chest at clicked block". When I use the spawn minecart at clicked block line, it prevents further lines from executing after, and does not spawn a...
  6. Z

    Can't understand this structure

    I'm trying to use "if size of a variable", but it isn't working Addons: Skellet, SkQuery, skRayFall, Skbee, skript-gui Code: if size of {compactors::%player's uuid%::*} is 7: send "work" to player
  7. Z

    Solved Can't understand this section: (skript-gui)

    I am having an issue where if I try run a command on click of a gui slot, it throws this error (attached below) Skript Addons: skript-gui, skRayFall, SkBee, Skellet Code: command /gui: trigger: create a gui with virtual chest named "&c&lCOMPACTOR" with 1 rows: make gui...
  8. D

    Cage Skript

    Hello, iam wondering how to make a Skript to Beacon named "Cage" It will do: On place it will create bedrock sphere around the beacon for 30 seconds, and if someone mine the beacon in less than 30 seconds, it will remove, and the beacon will not drop, and the bedrock sphere will be removed back...
  9. X

    Drop everything but armor, sword and tools

    Hello , I have tried myself coding but I am new and its pretty hard to skript things like that. Does some one have a script like that or maybe know what I have to do pls?
  10. PixelCraft_I_D_K

    Detect if player is facing a certain block

    Hi there! I need some assistance with detecting if a player is facing a certain block. Here is my code. on right click: if player is holding white dye named "&f&lDoor Open": if player is facing iron door: make player execute command "thru" else: send...
  11. G

    Help with particle skript (with skdragon)

    I have this skript: drawRings particle "redstone", RGB 80, 255, 255, center player, id "%player%", rainbowMode true, randomRotation true, animated false, radius 1, ringCount 4, ringDensity 10, visibleRange 32, pulseDelay 2 It is working but idk why i cant see the particles and i have particles...
  12. J

    Clickable links in chat

    Hi, I'm trying to make a skript where i can put a url in the chat and it can be clicked. This is the code i have so far: function link(text:text) :: text: return {_text}.replaceAll("(https://[a-zA-Z0-9./]{10})", "<link:$1><##84E9FF>&n$1&r<reset>") function chatFormat(p: player): set...
  13. legendofgow

    Referral skript Error

    Hello, So i have simple skript for referral players https://parser.skunity.com/9f5bee33 And as you can see in parser, there is this error: Can't compare a player with 'in group "referral"' else if player is in group "referral": And skript dont send console commands upon check if player is...
  14. SirSmurfy2

    Script Skript | Custom Merchants 1.1.0

    == CUSTOM MERCHANTS == [ Required Plugins: Skript 2.8.2+ , SkBee 3.4.0+ ] This Skript allows you to easily create, customize, and manage merchants. - MERCHANTS - Each merchant created allows you to set different trades Trades are saved and loaded when editing in the "Trade Editor GUI" Each...
  15. F

    Request - Death Packages Skript

    I am on Paper Velocity 1.18.2. I also am on Skript 2.8.3, with some addons such as SkQuery (V4.1.10), and SkBee (V3.2.1) I would like the skript to make it so whenever a person dies, it drops a chest and when you right click with all their loot that they died with gets put in your inventory. I...
  16. D

    Is this even possible?

    Is this possible to make? (The Ball as big Magma Block, not ball shape
  17. Asleeppp

    Addon skript-oraxen 1.0

    skript-oraxen, an addon aiming to connect Skript and Oraxen together. This addon requires the plugin "Oraxen" to function. Ever wanted to control your Oraxen experience a little more, but don't want to delve into Java development? skript-oraxen is the addon for you, aiming to add as much as...
  18. TimeStellar

    Making Numbers To Letters

    I have a mob skript that has a billion hp and how can i make it say 1 b instend of 1000000000 the code: command /devp: trigger: open chest inventory with 3 rows named "&cDev Panel" to player wait 1 tick set slot 0 of player's current inventory to stone named "&aZombie" on...
  19. KhoaMiTom

    Help me please

    Could someone kindly assist me with crafting a script tailored for Minecraft version 1.18.2? The aim is to create a scenario where, upon a player's demise, there's a chance for their entire inventory to gracefully scatter and drop all its contents.
  20. F

    Skript Help: Elytra Disable item

    Hey, I wanted help on this item I was going to make for my server. When used, whoever the player hits with the item (shears) can't be able to use their elytra for 1.5 or 2 seconds. I want it to not damage the player and I want it to be a one use only item. Here is the skript I have right now...