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. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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.
  13. 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...
  14. 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"...
  15. S

    How can i splitt a message, so i can make a color gradient

    Hey, I made an "actionbar timer" skript about a month ago and wanted to make a color gradient for the text like in this video: Here is my code: https://pastecode.io/s/ievx4mxu
  16. T

    Selected hotbar slot

    Hello, I have a problem with the set current hotbar slot of player to 0, the problem is that it doesn't works and in reload its says that the hotbar slot of player can't be set to 0 because the latter is not an slot
  17. M

    Please help me with my script

    Im trying to make a gen server with placeable gens but the upgrade from tier 1 to tier 2 does not work, i cant find out why it doesn't work on right click on white glazed terracotta: if player is sneaking: if {cooldown.%player%} is true: send "%{prefix}% Slow down!"...
  18. T

    I want to make it remove 1 wither skeleton skull out of my inventory but it not working can some1

    on rightclick: if player is holding a wither skeleton skull named "&7Wither Skull Blaster": remove player's held item from player's inventory spawn a wither skull at location in front of player's eyes
  19. S

    How Do I make trap command? Help please!

    I want to make a trap command were you can do /trap <Player> <Time> and it puts glass all around then for a certain amount of time and then goes back to normal. I found my skript has some problems to it. 1. If the player is jumping there is no floor because I dont know how to save block data...
  20. T

    Boomerang help

    Hello, how can I make a boomerang projectile?