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

    How can i create an NPC like those in WynnCraft?

    Im looking to create NPC's similar to the merchants in wynncraft(mc server) that can turn their heads/bodys but can not move, im using skript and i dont want to add custom NPC because i dislike the GUI
  2. T

    Solved How to increase the effects of a custom enchant according to the number as level in the lore

    Hello I wanted to ask if it was possible to reduce this code, instead of putting in each condition the level number, like what is shown here. to put as in a single condition that detects depending on the level in number . making it increase for example the chance if level 1 : the chance was 5%...
  3. Sparkitye

    Teleporting Player (NEED HELP)

    How can I make a player teleport to a specific location when stepping on a block?
  4. V

    Solved Selectors and arg-1

    Script Version: 2.6.3 BoringSK v2.0 Skellett v2.0.3 SkRayFall v1.9.27 SkQuery v4.1.6 SkBee v2.5.1 Vault v1.7.3 WorldGuard v7.0.7 Script Author: Me (Vxnku) Minecraft Version: 1.18.1 Full Code: command /Infect <text> <player>: permission: op trigger: if "%arg-1%" is "Zombie"...
  5. 0

    How to i add a cooldown to this command?

    i want to make it so when you rightclick the beehive it has a cooldown so you cant just spam it on right click on a beehive: chance of 10%: give player bamboo named "&3Lockpick" send "You Found A LockPick With A &l10 &rprocent Chance! Wow" to player chance of 5%...
  6. iFammYT

    Messages with effects like run command dont work

    Hello, i wanted to make a skript with a message that you click so that it executes a command, but it seems not to work. i use version 2.1.2 of skript. people said to use json.sk but its abandoned and has so many errors in the logs. Here is the code im trying to make command /announce...
  7. R

    Skript right-click-on-block-detection

    Script Version: 2.6.3 Script Author: Me (RazorBl8de) Minecraft Version: 1.18.2 Hi I have been trying to make a right-click detection for making a closet that you can hide in. I know that this code doesn't work, but it tells you want I want done. Basically, if a player right clicks an acacia...
  8. G

    Execute skript the entire time that more than 15 players are online.

    This is for a random item drop skript. I want to make sure that it only works while the server is active, with more than 15 players online, I've looked for a while but can't seem to find anything that works properly. every 3 minutes: execute console command "consolecommand" stop...
  9. Z

    Solved make console execute command

    So ive been trying to make a skript where if a player dies he loses a heart and if he lost all his hearts he will get banned but somehow if I use this method: on death of player: if attacker is a player: if health of victim <= 0: make console execute command: "/kick...
  10. E

    Help With setting player for a variable

    Hello, I am currently having trouble setting a player in a variable to apply an affect to them. I was looking around the forums and didn't see anything that really helped. This might be a quick fix seeing as I only started working with skript a week or so ago, but I wanted to check just in case...
  11. T

    Issue With A Shop Skript

    Hey So Im Having an issue with my shop skript when you do /shop and click the blocks area it doesnt show the items in the gui but it works on a friends server im not sure why is there any addons i need? My Version is 2.6.3 it was made by my friend who is a decent skripter my server is on...
  12. T

    Help With Inventory Click

    Hey! So im making a gui but im having a issue with the "on inventory click:" When A Player Clicks There Own Inventory It Also Counts But I Only Want It To Count For The Gui Does Anyone Know How To Do This? Also Please Dont Judge My Gui lol [lookin at you shane] command /blockshop...
  13. N

    (solved) Need Help with level/scoreboard script

    need help with my leveling skript and scoreboard script level system: variables: {level::%player%} = 1 {max::%player%} = 10 {xp::%player%} = 0 on chat: set message format to "&7[&a%{level::%player%}%&7] %player's prefix%%player's displayname%: %message%" on death: if...
  14. D

    How do I make it so players can only break a certain block that they placed?

    on place of hay block: if player's tool is hay block named "&e&lWheat Gen" with lore "&7-----&8-----" and "&7Produces wheat every 10 seconds" and "&7Upgrade cost: &e500⛃" and "&7-----&8-----": set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 10...
  15. K

    Help with a teleport skript! :)

    Hey! I was hoping somebody here who has some spare time would be willing to help me out and make a quick teleport skript. I have been having some problems with permissions and having a custom command will fix it. It is just the regular minecraft /tp command but console executing it. so...
  16. T

    Need Help With A Sell Skript

    So im currently making a server shop and i have a shop gui that sells items the thing is im kinda new to skript but i have no idea what im doing wrong here can someone help me out? on inventory click: if name of event-inventory is "&8Sell Common Items": cancel event if...
  17. S

    ScoreBoard No work, help.

    What the problem?: The scoreboard no show up. Script: on join: if {deaths::%player's uuid%} is not set: set {deaths::%player's uuid%} to 0 if {kills::%player's uuid%} is not set: set {kills::%player's uuid%} to 0 while player is online: set title of...
  18. EliSSGames

    Can't execute command "/execute at player run ..."

    Hi, I am a new "Skript'er", and i need some help with my skript! I want smoke particles appear above the player's head when a black candle named "test" is used.
  19. C

    Chest Refill With Skript

    Hello,I am trying to learn more Skript by making a skywars-like gamemode and i tried making a command that refills the chests on executing but for some reason it executes without any errors, but the chests are still empty.I was wondering if you could help.Here is the Skript: command /refill...
  20. J

    Block states/data values of water

    Hi all, I made a mobgen skript that works fine until you put the gen under the water. Normally the gen requires players to be sneaking to remove the gen so they dont remove it accidentally, however when the gen is under the water it allows them to break it as for some reason in "On block break"...