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

    Script Wizard.sk 1.0

    REQUIRES SkBEE Adds Harry Potter magic to the game. ALL VERY NEW AND WORK IN PROGRESS goes without saying this code is very unoptimized You must be holding a wand to use these: Left-click: Wizard M1 Right-click: Stupefy F: Lumos Shift + F: Expecto Patronum commands: /givewand: gives player 1 wand
  2. Gryphon2029

    Double Wardens skript bug.

    command /warden: cooldown: 5 seconds trigger: if {warden} is true: send "&c&lError &c- There is a warden wait till the warden dies!" else: set {warden} to true clear player's inventory send title "&c%player% Is now the...
  3. Gryphon2029

    Looking for help?

    I fixed the first two issues, but use chunk load would be inefficient for filling blocks that might have already been set to bedrock
  4. Gryphon2029

    Looking for help?

  5. Gryphon2029

    on chat: double event?

    When I tested it it only sounded once?
  6. Gryphon2029

    Looking for help?

    try this: options: # Which worlds are not affected by the skript # (ex: world filter: world "randomworld", world "world2, and world "myworld") world-blacklist: world "world_the_end" on chunk generate: if {@world-blacklist} contains event-world: stop set {_x} to...
  7. Gryphon2029

    XP multiplier and unmultiplier depending on kills/deaths

    I've never learned metadata tags but this looks much more efficient!
  8. Gryphon2029

    XP multiplier and unmultiplier depending on kills/deaths

    this requires skript-reflect tell me if it works on death: if damager is a player: set {_a} to {exp::%uuid of damager%.multiplier} if {exp::%uuid of damager%.multiplier} is not set: set {_a} to 0 set {_multi} to ({_a} + 5) / 5 set {_xp} to...
  9. Gryphon2029

    Looking for help?

    so do you just want to move the bedrock layer to y 0
  10. Gryphon2029

    Solved Skript Loops UUID instead of playername.

    The reason it doesn't alert you is because arg-2 contains all the data of the player, so when we call %name of arg-2% it directly returns the name not all the information. We are clarifying to skript that we want to store his name not the uuid. When we just provide arg-2 is guesses to store the...
  11. Gryphon2029

    How to use vectors for custom particles?

    I made this little script for you to hopefully help you understand vectors and particles more command /summonarc: trigger: set {_loc} to player's location set {_v} to vector from yaw 0 and pitch -90 set standard length of {_v} to 1 loop 10 times...
  12. Gryphon2029

    Solved Skript Loops UUID instead of playername.

    to fix it overall you can just store it as a name so use this: if arg-1 is "list": if arg-2 is not set: if arg-3 is not set: message "&4ᴄᴜʀʀᴇɴᴛ ꜱᴜꜱᴘᴇᴄᴛ ʟɪꜱᴛ:" loop {suspectList::*}: send "&8-...
  13. Gryphon2029

    Emojis in chat, chat pings and stuff - i wanna make my code more efficient / shorter

    you could use a lookup to ping groups to collapse the size
  14. Gryphon2029

    Solved Skript Loops UUID instead of playername.

    I don't fully understand your skript and how it can retrieve the uuid from loop-index but im pretty sure you can just do name of player with uuid "UUID HERE" Edit: I looked at NixTer's reasoning and I think I understand now here should be the working stuff if arg-1 is "list"...
  15. Gryphon2029

    Parrticle arcs

    my idea with y = mx + b was to start at an origin point and use the slope to count outwards. then store all the values in a list to offset from a location given in a world to get a list of points to generate particles at. like this but if you ever figure it out I would love to know how
  16. Gryphon2029

    Parrticle arcs

    have you tried simple y = mx + b? you could calculate the cumulative distance between three input points and plug it into that equation you could also try to use point slope maybe?
  17. Gryphon2029

    Solved skript doesnt work

    at the top you call if "%event-region%" contains "heart": if max health of player is greater than or equal to 40: send "&eYou're at &cmax health" to player stop else if player's level is less than 100: if "%event-region%" contains "heart": send "&eYou...
  18. Gryphon2029

    Hostile allay

    if you want only certain allays to attack you can repurpose ShaneBee's attack pig skript # REQUIRES SkBEE function spawnAttackAllay(l: location): spawn an allay at {_l}: set tag "custom;attackAllay" of nbt of entity to true set name of entity to "&cAttack Allay" #! LISTENER...
  19. Gryphon2029

    Solved Skript Loops UUID instead of playername.

    have you tried %name of loop-value%
  20. Gryphon2029

    Add list to list

    I hope the title is explanatory but I want to be able to do the following but haven't wound a way: set {_info::name} to "john" set {_info::head} to player head set {_info::money} to 5 loop random number between 1 and 7 times: add random item out of {@ext} to {_info::items::*} add {_info} to...