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

    Script Better Elevators 1.4

    No addons required 1. /elevatorset Command Usage: /elevatorset How it works: Targets a wool block. Checks if there are wool blocks stacked above it (up to 100 blocks high). If valid, registers the wool block as part of the elevator and confirms with a message. If invalid, notifies you that...
  2. R

    Simple skript problem

  3. jawa2828

    Trying to create a command to upgrade the amount of homes a player can have

    This is what I have so far. It is taking the payment correctly, but for some reason it is not upgrading the rank of the player at all. The player's rank just stays constant. command /upgradehomes: description: Upgrade your home level for a high fee. permission: skript.upgradehomes...
  4. pidgendev

    Solved SOLVED Setting health to a variable and vice versa

    hey gang whats up. So im coding a double life plugin (Grians life series) but its linked with 4 players and not just 2. It functions by on regen and on damage it sets the variable to the players health and every tick it sets all players health on that soul link to that variable. BUT I CANT...
  5. VeryGoodSand

    Solved Change block type for player

    In some servers, I've seen them use some sort of skript to change a block for one player, while leaving it the same for another. For instance, in a prison server, the blocks will break for the player who breaks them, but the mine will stay the same for everyone else. I have searched for a while...
  6. pcrdex

    Looking for improvement Suggestions - My Skript-knowledge is pretty old and rusty..

    So I've made a Report Skript with using AdvancedBans (configurable obv) and I'm looking for improvements: command /report [<player>] [<text>]: trigger: if arg-1 is set: if arg-1 is a player: if arg-2 is set: send "&e[&6&lREPORT&e] You...
  7. C

    Im trying to extract a number out of a string(lore), but it just returns as none.

    if {minmods::%loop-entity's uuid%::%{_count}%} is dispenser named "&aMinion Compressor": set {_lore::*} to line 1 of lore of {minmods::%loop-entity's uuid%::%{_count}%} split at " " set {_lore::*} to {_lore::3} split at "/" set {_comp}...
  8. menawshh

    Create script that allows the player to equip any piece of armor.

    Skript 2.1.2 or 2.1.1 for 1.7.10 (does not specify the version :() I want to make a script so that when the player equips a specific piece of armor, it executes a command, and when the player removes the specific piece of armor, it executes another command. However, I think that in this...
  9. B

    need help!!!!

    im making a zombie apocalypse server and this just aint working plz help thank you! every 1 second: set {_x} to a random integer between 96 and 47 set {_y} to a random integer between 3 and 2 set {_z} to a random integer between 150 and 199 console command...
  10. P

    need help!!!!!!

    im making a zombie apocalypse server and i trying to make random generator for zombies. its been easy to make the random number generator but of course i dont want zombies spawning in blocks so i would add 1 to the y coordinate of the location of where zombies spawn but if its underground i...
  11. PixelCraft_I_D_K

    Solved Luckperms Groups

    Hi there! I perfectly understand how to make LuckPerms groups, but it's not working on my version of Skript. I'm using the 1.21 version of Skript. I have the LP plugin and my server is 1.19. Everything should be working fine, however, it is not. I am using the set {group::%player's uuid%} to...
  12. T

    cooldown does not work

    i have a skript for a lightning wand but de cooldown doosn't work can someone fix it for me thanks :) on right click with wooden hoe: if name of player's held item is "&9lightning wand": difference between now and {cooldown::%player's uuid%} is less than 5 seconds: message "On...
  13. N1coNico

    Script Fly and Depth Limit 1.0.0

    How It Works: Height Restriction: The script checks if any player’s Y-coordinate exceeds the height limit. Teleportation: If the player is too high, they are teleported to the build limit’s Y-coordinate Flight Disabled: If the player was flying, their flight mode is disabled after teleporting...
  14. kjregtkdshtkdjrghdkjfhgrd

    Help with Boutique GUI skript

    Salut j'ai un petit soucis avec mon Skript. J'ai 6 erreurs que je n'arrive pas à résoudre. Je suis en version 1.21.1 de mon serveur. on right click with gold ingot: if name of player's tool is "&6&lBoutique": open chest with 6 row named "&8Boutique" to player format slot 10...
  15. TimeStellar

    Skript Help?

    I have a weapon level system but i dont understand why it doesnt work like when i right click (i set it so for testing) it gives xp but the max xp breaks and goes to none can anyone help? on right click with a sword: if name of player's tool is "&aLeveled Sword": set...
  16. PixelCraft_I_D_K

    Sound Overlap

    Hi there! I'm trying to make an in-game music Skript where it loops the cat disc. I calculated the exact number of minutes the disc is (im using a texture pack) and when I play it in-game it works but the sound plays over itself. I can't figure out how this happens. Here is my code: command...
  17. R

    Solved Help with vectors and armor stand generation; Entity-homing wave attack

    So I found this attack on hypixel skyblock and I really wanted to recreate it with only Skript and SkBee. I did well at first, getting some things right, but then progress just stopped moving and I couldn't figure it out. The specific help I need is to calculate the "movement/generation" of the...
  18. TimeStellar

    Solved Item id?

    i want to make a item level system but i wanna use varibles but how would i make a variable for a specific item like an id or smth like that. command /admin <text>: permission: op trigger: if arg-1 is "give": give diamond sword named "&aLeveled Sword" with lore ""...
  19. Yushaa

    Help with custom SMP Skript

    I'm trying to make it so u need a specific variable to be true to be able to withdraw the invis rogue so people cant withdraw it without having the variable on their player [it'd be nice if it said an error message too but its not needed] command /withdrawrogue <text>: trigger: if...
  20. Laserlp

    Solved hide/show entities to individuel players?

    Hey! Like the title says, I wanted to ask how I can hide or show individuel entities to individuel players. What I have made so far is this: on every 5 ticks: loop all players: if {Level.%loop-player%} is more than 9: loop all text displays in radius 25 around...