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

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

  1. B

    Magic find

    Ok so im trying to make a magic find system which doubles your chances for every 100 magic find you have. here is the code: options: coal_precentage: 5 iron_precentage: 2.5 gold_precentage: 1 diamond_precentage: 0.5 emerald_precentage: 0.1 netherite_precentage: 0.01...
  2. B

    blast enchant

    ok so ive been trying to make a blast enchant where if you break 1 block it breaks the blocks around it in a radius [based on the level of enchant] ive tried loop blocks but when i do: on join: set {_blast} to {blast.%player%} ? 0 # i have no idea what ? 0 does on break: if...
  3. ArmadilloMike

    My script is not working

    My script is supposed to add a permission to a player but it is having errors here is the code i have: command /permissions <add|remove> <player> <permission>: permission: op permission message: "You must Be an OP to change permissions" aliases: perm usage: No sytex error...
  4. lolib

    Solved daily quest skript

    How can I add a 1-day cooldown to this quest? if {dq1.zombidie::%player%} = 10: set {dq1.durum::%player%} to "&a&lcompleted" send "&amission completed" to player add 100 to player's money else: send "&cYou didn't kill enough zombies." to player
  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. Zodie

    If event-slot is 11

    I'm trying to create a gui with 3 buttons, and when you click on the tripwire hook the inventory should close, (for now) When i use this exact skript for any of the empty slots it works, but when it's one of the slots with items, the skript is reloading successfully but nothing happens when I...
  7. Acidic

    Disable anvil renaming for paper

    Hey, How do I disable anvil renaming of paper, without using Tuske? (Tuske is broken, and disables all my scripts, so I can't use it).
  8. zysw

    I made a lootbox but people can place it on the ground, anyone know how to fix this (the item is a chest)

    im having problems making it so people cant place it on the ground code: on join: add diamond to {items::*} add diamond sword to {items::*} on right click: if player is holding a chest named "lootbox": give player random element out of {items::*} remove 1 chest...
  9. adomen

    Arena Reset skript

    Hello i need somebody to make a skript for me.. I need an box arena reset skript that will every 4 minutes remove all blocks in on a flat surface. So when people build block they will get cleared after some time. Thanks!
  10. K

    Need help with this fortune/telepathy skript

    I have this skript for fortune and telepathy, but it can't detect if the block it breaks is an extendable Drop. Does anybody know how to fix this?
  11. K

    Solved Is there a way to make this code more efficient?

    Hi everyone, I am very new to coding. I made a skript for fortune to work on all blocks and so that they go in the player's inventory. The skript is working fine, but I was wondering If I can make the code more efficent, more compact. I added the skript in a .txt file below thanks!
  12. K

    Solved Need Help with compacting this skript

    Hi everyone, I am really new to skript and I made a skript but I have no idea how to make it smaller. The skript I have right now is way too long and crashes the server (It works when its smaller) Can someone help me? Thanks! I put the code in a .txt file your you guys to read.
  13. IViddyy

    Selecting A Random Player

    Hi im trying to make a command that when used selects a random player and calls them a nerd (example: [player] is a nerd!!!) but i dont know how to.I made a command that kinda works but idk how to send the name of the player.Here is the code i have currently command /nerd: trigger...
  14. IViddyy

    Solved Removing Blocks Around Player

    Hi im trying to make a command that can be turned on and off and removes blocks in a 5 block radius while on.But i dont know how to remove blocks around the player so can someone help?
  15. R

    Skript cannot compare values to integers or other values

    skript cannot compare values for some reason there is no errors or anything I cant find anything on any of the forums on join: set {cr.%player's uuid%} to 15000 command /test: trigger: if {cr.%player's uuid%} >= 10000: send "Success" to console
  16. R

    skript cannot compare one value to another

    skript cannot compare values for some reason there is no errors or anything I cant find anything on any of the forums on join: set {cr.%player's uuid%} to 15000 command /test: trigger: if {cr.%player's uuid%} >= 10000: send "Success" to console
  17. N

    Help for skript creative item detector

    Can skript is detect the items we take into inventory from creative menu?
  18. N

    Why this skript is can't detect block place event?

    Hello I hope everybody have a good day! I try code a anti block glitch skript but if I place a block to a untrusted griefprevention claim, skript is can't detect my block place event and can't trigger my skript code and just give me normal griefprevention untrusted error(without trigger on...
  19. M

    Skript need help!

    This here is working but if i add more remove like : remove Slowness from player remove Mining Fatigue from player remove Nausea from player remove Blindness from player remove Weakness from player remove Poison from player...
  20. R

    Does anyone know why this doesn't work?

    Does anyone know why this doesn't work? command /give <number> <item> <text> <player>: usage: /give (number) (item) (name) (player) permission: wf.give trigger: give arg 1 arg 2 named "%arg 3%" to arg 4 command /remove <number> <item> <text> <player>: usage: /remove...