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 community!

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

  1. D

    Solved PLS HELP me with kitpvp GUI Only will works if you in region: Kitpvpspawn

    Pls help me With this i want it taht the command only work in Region: kitpvpspawn command /kitpvpkits: trigger: if "%region at player%" contains "kitpvpspawn"] open chest with 1 rows named "&a&lSelect kit" to player wait 1 tick format slot 0 of player with...
  2. D

    Solved I dont know what is wrong with the skript it isent working pls help

    I dont know what is wrong with the skript it isent working pls help command /punish [<offline player>] [<text>]: aliases: /p permission: ban.use permission message: &cNo Permission. trigger: if arg-1 is not set: send "&7[&cBan&7] &c/ban &7<player> [reason]" if arg-1 is set: open...
  3. D

    Error scordboard pls help

    Its error i dont know why pls help me fix it on join: while player is online: wait 3 ticks wipe player's sidebar set name of sidebar of player to "&a&lSkyGrind99" set score "&c&lWelcome" in sidebar of player to 14 set score "&e%player%" in sidebar of player to 13 set score "" in sidebar of...
  4. J

    Help me

    command /enchant [<text>] [<integer>] [<text>]: permission: timtheenchanter.jaydev permission message: "&e[Tim] I don't think so." trigger: if arg 1 is "protection" or "protect": arg 2 is set: arg 3 is not set: enchant the...
  5. T

    Solved Help with on damage of entity regarding level of player

    Skript Version (do not put latest): Skript 2.4 (maybe, don't know how to tell) Skript Author: Tanner Minecraft Version: 1.15 --- Full Code: on damage of pig: if {levels::%attacker%} is more than 1: #This is set to more than 1 for test purposes broadcast "test" #broadcast is set for...
  6. C

    not allow /dupe for enchanted items

    i have the /dupe skript which dupes items how do you make it so players cant dupe enchanted or lored items heres what i have so far command /duplicate: trigger: give player's tool to player i tried to add a if and else but i dont know how to put: if players tool is enchanted ...
  7. J

    Add Damage To A Block Help

    I don't have any skripts to show, but how can i add damage to a block using set block to large fern I want to use damage like the minecraft command: /setblock ~ ~ ~ minecraft:tallgrass {Damage:1}
  8. S

    Solved How do I give a player an item with custom name and enchant?

    Hello, so I have made a shop, and I want to give a player a sword with a custom name, and a custom enchant. How do I do this? [/Code give player wooden sword named "&a[1] &2Wooden Sword" of sharpness 1] What I have done gives an error saying "Can not understand this condition" Thanks
  9. NeonFox__

    Help! Punishment gui

    Yo! Could anyone please give me a skript for a punishment gui! If so tysm! My discord is ugly scp tato#3884 God bless
  10. Z

    Can't loop because its only a single value

    Ok so I saw this skript that was a command log and I wanted to try to make it so each player had their own logs. For example, you could do /logs Player Commands and all of those players command would be listed. Heres the code: on command: if sender is a player: set {_time} to now...
  11. Dabriel

    Solved On pickup event|Count the amount of items

    Hello, fellow scripters, I'm new here, so my name is Dabriel (Tyler), and I'm looking for a solution for this feature that I'm trying to create. Simply, on pick up of emerald named "&aGem", I want to send a message to the player that picked the item up, and tell him the amount that he picked up...
  12. T

    Name in Structure Blocks

    I was wondering if there was a way to set a block as a structure block with a player's name in it. e.g., set block at () to structure_block ^ Have that be in save/load containing a player's name.
  13. CustomWorldYT

    Solved Skript help - Defining multiple list variables in "contains"

    Skript Version: 2.2 dev36 (latest) Skript Author: Bensku Minecraft Version: 1.12 I'm trying to do ranks for my FreeOP server in Skript. I can't use permissions, because it's FreeOP (where everyone is opped). I have in game command for setting rank. But now I want to define multiple list...
  14. CustomWorldYT

    Solved Placeholders + Variables

    I'm developing Skript, and I want a command to edit messages of plugin in-game, because not every person is friend with Skript's options. I'm using variables to save pieces of messages, that can be edited in-game using command "/edit prefix &a&lNew Prefix &b&l>>" (for example). But now, I want...
  15. Claver01

    Solved Can anyone try to help plz

    .
  16. MrScopes

    Solved Help with "if arg 1 is not set:"

    I'm having problems with where to place "if arg 1 is not set:" https://gyazo.com/5d8fde46b50bdb3a0a00aae309bd0dd6 https://gyazo.com/8cf6e291bab683d92dd10f00013e9987
  17. MrScopes

    Solved Clearing another players inventory

    I'm setting up a /clear command, but I haven't found a way to clear another players inv. Also, could someone fix the aligning of the "if arg 1 is not set:" I get minor errors with it. command /clear [<player>]: aliases: /ci, /eclear permission: scopes.clear permission message...
  18. Y

    Creating Magic using the skript

    Thank you for reading this page Right now I am thinking to create a Magic that moves slowly to the enemy. But with my skills, I don’t know how should create this. What I think is that I use an invisible zombie with particles and move it to the enemy, but I think the quality of this is terrible...
  19. P

    Iron Trapdoor open/close skript

    Hello my name is Petervpg. I am trying to make a Iron Trapdoor Skript so I can open a Iron Trapdoor with my hand. I ran in to some problems and i cant seem to solve them. it says this: " 'Iron Trapdoor' is not an entity type " I have some pictures in game and in the skript (Im Danish btw For the...
  20. Z

    Item Damage

    How would I prevent items from burning in lava or fire? Here's what I have: on damage of entity: event-entity is item: damage was caused by burn: cancel the event I've gotten no errors from it either, and I can't find anything on it