Recent content by Goose

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

    Is there a count function

    You can use the modulo function (remainder of division) to achieve this. mod({_number}, 10) # 7
  2. Goose

    SKRIPT HELP entity spawning not working!!!!

    Please use code blocks in the future so that indentation is preserved c: You need to change the first argument type to `entity type`, like so: `<entity type>`
  3. Goose

    Solved Damage and Left click event not called in a specific range

    You may want to try `on arm swing:`
  4. Goose

    Solved Changing all enchantment levels

    You can loop enchants of an item with `loop enchantments of player's tool:` Then, you can get the enchantment level with `level of loop-value on player's tool` You can then add one to that.
  5. Goose

    Help with a Reward Skript

    thank you for understanding how to help people instead of writing comments that are rude and unhelpful, the Skript community needs more people like you :)
  6. Goose

    Solved arg-2 mob spawner is not a type

    append `of` to specify amounts, ex. `20 of dirt`
  7. Goose

    how do i get it to excluded a word

    replace "AND" in {brick_wall} with "" though, this could be circumvented with "DUCK AANDND", so maybe you want to replace it in a loop until you're sure it doesn't contain AND
  8. Goose

    how to loop kinda

    exactly that, just remove the comma in the number and you're good to go
  9. Goose

    im dum

    it might be better to use the effect dedicated to striking lightning, documented here https://skripthub.net/docs/?id=1139
  10. Goose

    im dum

    yes! there are skunity docs & skripthub docs. https://docs.skunity.com/ https://skripthub.net/docs/ feel free to try them both to see which you like best
  11. Goose

    This is not registering.

    I would investigate logs for any errors just in case. My best assumption is that Skript is failing because your `get` method is protected instead of public.
  12. Goose

    im dum

    unfortunately skript isn't magic, we will have to use specific syntax to get stuff done you can refer to arguments by either using the argument's index (or, what number it is in the list. 1 for the first argument, 2 for the second, etc), or by using the type of the argument (in this case...
  13. Goose

    Solved You cannot get all values of type 'player'

    `loop all players in world "world"` will grab all the players in the `world` world, and then loop through them, meaning to run the code below for each player in that list. Removing the `s` will send the message to the currently looped player. If that is done for every looped player, then the...
  14. Goose

    ! Make player damage targeted entity?

    You can use the Force Attack effect for this. make player attack target entity of player If you want them to be damaged by 4 specifically, you could set the player's 'generic attack damage' attribute.