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

    Solved Rpg need a level to use item

    XD why did that look like chatgpt was saying that XD "Sorry for the confusion. You are indeed correct, the proper syntax is player's tool's name. The changed code looks like this: on damage: attacker's tool's name is "Fiery Great Sword" if attacker's level < 5: set the damage...
  2. Merrical

    Solved Rpg need a level to use item

    attacker's tool's name will work, I just incorrectly typed the value. It is indeed not player's tool's name.
  3. Merrical

    Detecting the cause of "on inventory close:"

    I'll think about something. I'm curious, why are you trying to do this?
  4. Merrical

    Detecting the cause of "on inventory close:"

    Hold on, I read your message incorrectly. You cannot do that with vanilla skript. You will need reflect or to just code in java.
  5. Merrical

    Detecting the cause of "on inventory close:"

    check the name of the event-inventory. on inventory close: if name of event-inventory = "Hello World": send "This is the right inventory that is closing" else: send "Wrong Inventory that is closing" This is an example of debugging for the name
  6. Merrical

    Detecting the cause of "on inventory close:"

    check if the inventory name is the one you want
  7. Merrical

    Change Player's Group Skript

    An "on death:" event does not have player as a value.
  8. Merrical

    Change Player's Group Skript

    Please open your eyes and look at the previous code box.
  9. Merrical

    Solved Rpg need a level to use item

    on damage: player's tool's name is "Fiery Great Sword" if attacker's level < 5: set the damage to 0 send "&cYou are too weak to use this!" to attacker
  10. Merrical

    Change Player's Group Skript

    This wouldn't work, as your syntax is incorrect. command CiTransform: trigger: if player has permission "skript.CD": set player's group to "Ci" on death: if victim's group is "Ci" set victim's group to "default"
  11. Merrical

    Solved Reward for welcome new player

    do that yourself. If you know how to code, that should be a cakewalk.
  12. Merrical

    Script Easy-To-Use | Custom Skripted Mining - Increased efficiency

    Created functions for code that repeated to save performance. Removed the [mining] in the tab completions so its easier and more convenient for the user.
  13. Merrical

    Script Easy-To-Use | Custom Skripted Mining

    Merrical updated Easy-To-Use | Custom Skripted Mining with a new update entry: Increased efficiency Read the rest of this update entry...
  14. Merrical

    Solved Reward for welcome new player

    on first join: set {lastjoin} to now on chat: if message contains "Welcome": if difference between now and {lastjoin} < 2 seconds: add 5 to {tokens::%player%}
  15. Merrical

    Getting the last victim

    doesn't exist. instead you can do something like: on damage: set {lastvictim.%attacker%} to victim
  16. Merrical

    Script Easy-To-Use | Custom Skripted Mining

    Updating code to have mining animation using packets. (credit to Xicad) Edit: Also increasing efficiency.
  17. Merrical

    How can I add a cooldown to this bit of script?

    command cooldown: cooldown: 5 seconds cooldown message: You need to wait 5 seconds! trigger: send "Hello World" to player
  18. Merrical

    Delete Splash Potions on floor

    loop all dropped items in world "world": delete loop-value
  19. Merrical

    Discord Thread plss help

    if {_var} >= {_num}: #do code The second error will be fixed when you fix the if statement Posted by: maj0485 from the skUnity Discord.
  20. Merrical

    Discord Thread Dynmap Skript itegration?

    Oh you do it through world edit Posted by: maj0485 from the skUnity Discord.