How would I count players nearby for a custom ability?

  • 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!

duckeducke

Member
Apr 17, 2021
1
0
1
24
For what I'm doing, I need to be able to count the players within 7 blocks when a player wearing certain pants is hit, and if there are 2 or less players nearby, the damage is decreased by 60%. How would I do this?