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

    Solved gui help

    When writing code, be sure to write it within the code format. Leaving that aside, you have to look at some basic errors in your script. For example: set {argument.var} to "arg 1" Change it to: set {argument.var.%player%} to arg 1 So that should set the variable {argument.var.%player%} with...
  2. couger44

    "on command" won't recognize command with multiple arguments

    I would recommend using this: command /home [<string>]: trigger: arg 1 is "1": set {teleported::%player%} to true Instead of "on Command" to this case.
  3. couger44

    Solved /Buy Command help

    Also, there is a syntax error inside the loop. Change this: Set slot loop-number of metadata tag “BuyInvMeta” of player with white stained glass pane named “ “ to this: Set slot loop-number of metadata tag "BuyInvMeta" of player to white stained glass pane named " " From what I read in the...
  4. couger44

    Solved /Buy Command help

    Are you using Tab Key or Space Key?
  5. couger44

    player head in gui

    If its worked, mark the post as solved to close the thread. Otherwise, send me any doubts or errors that appear to you.
  6. couger44

    Solved /Buy Command help

    Well... in skript dev36 (minecraft 1.8) I would recommend using TuSKe inventories, from higher versions (Or at least 1.16) I would recommend using vanilla inventories. In terms of efficiency, the Vanilla and TuSKe inventories are better in my opinion. SkQuery has some bugs that prevent the...
  7. couger44

    Solved /Buy Command help

    I recommend you don't copy and paste the direct code of the post. Write it word for word to avoid Space/Tab errors. Also, if you can send a screen of the error
  8. couger44

    Solved /Buy Command help

    If you are going to do vanilla guis use MetaData Tags. Also, you've a lot of unnecessary code. You should reduce it.
  9. couger44

    player head in gui

    I recommend make Inventory GUIs like this: command /ban <player>: trigger: set metadata tag "BanInvMeta01" of player to chest inventory with 1 row named "&8[&aMenu&8]" set slot 4 of metadata tag "BanInvMeta01" of player to arg 1's head named "Player Skull" with lore "test"...
  10. couger44

    Get active potions of player

    In Skellett i think no. But in Skript 2.5.2 can do this without addons: if "%player's potion effects%" contains "speed of tier 1": send "&aSpeed I" else if "%player's potion effects%" contains "speed of tier 2": send "&aSpeed II" But as you said, your...
  11. couger44

    Get active potions of player

    Well... have you tried using this instead? command /test: trigger: set {_potions::*} to all of the active potion effects on player loop {_potions::*}: loop-value contains "speed": send "&aSpeed effect on you!" to player Its need Skellett
  12. couger44

    Get active potions of player

    What is your server version? QuarSk only works for 1.8 - 1.11.
  13. couger44

    Get active potions of player

    To do it you need QuarSk. And i think it's easier to check the potion effects the player has, not the ones he don't. loop active potion effects of player: if potion type of loop-potion effect is (potion effect): #do...
  14. couger44

    Solved Inventory click 1.13+

    Well... this does that you want, but i didnt do it in skript-mirror as you want. But its skript vanilla so you dont need addons. command /test: trigger: set {_m} to "Test01" set metadata tag "%{_m}%" of player to chest inventory with 3 rows named "&5Test 1" set slot...
  15. couger44

    Solved Check for specific minecraft world time?

    You're welcome.
  16. couger44

    Solved I need a skript

    You're welcome.
  17. couger44

    Solved Check for specific minecraft world time?

    If you want to set the same time to all worlds do this: For example Also, "world's time" will show you the world's time of the player that ran that command.
  18. couger44

    On right click 3 times

    This worked for me: on right click: if player's held item is a compass: add 1 to {n.%player%} if {n.%player%} >= 3: remove a compass from player's inventory delete {n.%player%}
  19. couger44

    near npc

    How weird... that works to me. Did you use /npcloc to set the positions of NPCs? If you had doubt, i tested it : https://gyazo.com/5da493d359377c3f2d50965400a52879
  20. couger44

    near npc

    Yep, this work for me: command /npcloc [<string>]: trigger: arg 1 is set: #Npc name set {npc.loc::%arg 1%} to player's location every second: loop {npc.loc::*}: loop all players in radius 5 of loop-value: push loop-player upwards with force 1...