Search results

  • 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. Mich

    make it so a command checks everyone

    Also you can try this. command /join: trigger: add player to {game_guns::*} #to remove try remove player from {game_guns::*} command /start: trigger: give a diamond sword to the player #This will give the item for the one who execute /start loop all...
  2. Mich

    make it so a command checks everyone

    try this instead command /join: trigger: add player to {game_guns::*} #to remove try remove player from {game_guns::*} command /start: trigger: give a diamond sword to the player #This will give the item for the one who execute /start loop {game_guns::*}...
  3. Mich

    How can I have clickable links in messages?

    tru this https://forums.skunity.com/threads/click-on-url.8948/
  4. Mich

    How to teleport a player to a location

    this is also a example of something you can make command /set [<text>]: trigger: if arg 1 is "spawn": set {spawn} at the player's location message "spawn set at %{spawn}%" else if arg 1 is "lobby": set {lobby} at the player's location...
  5. Mich

    This skript in otalian, help meee

    functions tutorial to avoid console spam https://forums.skunity.com/threads/functions.41/ if {tm.%player%} is equal to 2: if {tm.%player%} is equal to 3: #dont use make player execute command to avoid console spam try using fuctions there is a tutorial...
  6. Mich

    Solved Help with right click

    try using a this condition something like player has 1 paper https://docs.skriptlang.org/conditions.html#CondCanHold
  7. Mich

    Solved Random slot number

    This is a vanilla gui from the tutorial on this page you just need skript to work function gui(s: string, r: number, p: player): open chest inventory with {_r} rows named "%{_s}%" to {_p} command /dirtchest: trigger: set {slot.%player%} to a random integer between 0 and 25...
  8. Mich

    make it so a command checks everyone

    I have seen people trying something like this. I am not good at loops I am trying to give you ideas. try looking for old loop players inside a variable to see if you find something for you. command /join: trigger: add player to {game_guns::*} #to remove try remove player from...
  9. Mich

    How to create predefined arguments A player can choose from a list?

    In not sure if this is possible but you can always do something like this Command /time [<text>]: Trigger: If arg 1 is "add": #do something Else if arg is "set": #do something Else: Message "/time set" Message "/time add"
  10. Mich

    How to cancel inventory slot click through hotkey

    try this instead on inventory click: if name of event-inventory is "&l&eShop": if index of event-slot is 0: cancel event or you can also do this on inventory click: if name of event-inventory is "&l&eShop": if index of event-slot is not 0: cancel event
  11. Mich

    How to cancel inventory slot click through hotkey

    Try my test gui to see if you have the same problem function gui(s: string, r: number, p: player): open chest inventory with {_r} rows named "%{_s}%" to {_p} command /shop: trigger: gui("&l&eShop", 1, player) set slot 0 of player's current inventory to iron sword named...
  12. Mich

    help with death cause

    I need you to be more specific please because if you arent then I can tell you for example how to check the attacker. on death of player: if attacker is a player: add 10 to {money::%attacker%} message "&l&9You recived $10 for killing %victim%. New balance...
  13. Mich

    Help With Player Vars

    #You tried this? every 1 second: loop all players: if {raincloud::%loop-player's uuid%} is set to true: play cloud above loop-player
  14. Mich

    Multiverse Skript Alternative

    https://forums.skunity.com/threads/creating-custom-worlds.6909/ I found skbee can make worlds like multiverse https://skripthub.net/docs/?addon=SkBee
  15. Mich

    Help With Player Vars

    you have to loop for players and use loop player
  16. Mich

    Reward on player kill HEEELP!

    on death of a player: attacker is a player chance of 40% give a iron sword to attacker
  17. Mich

    Solved ecuations in a function

    I'm not sure why is not working but I did this instead Set {_x} to (10 * {_v}) Set {_y} to ({vidamaxima::%player%} - {vida::%player%}) Set {_result} to ({_x}/{_y})
  18. Mich

    Solved ecuations in a function

    Script Version (do not put latest): 2.6.1 Script Author: TPGamesNL Minecraft Version: 1.18.2 I am making a linear interpolation formula for a custom health skript. I need to know how to make this work Console error: §c Can't understand this condition/effect: set {_result} to ((%{_v}% -...
  19. Mich

    Skript player data system whiteout addons ?

    i think figuring out a way to save variables by removing them from server ram. I want to share this with everyone since in version 1.14 to 1.16 there is no script yml. This is about saving the server variables in the lore of an object, deleting them and when joining, passing them back from the...
  20. Mich

    Custom Currency

    You just make a variable the currency like {money::%player} and you can do stuff like add 10 to {money::%player%} remove 10 from {money::%player%} clear {money::*} (remove money from everyone) but this currency is going to be compatible with stuff you make but you can make a way to transfer the...