Solved Damage Entity in a radius of 5

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Melody

Member
Jan 19, 2021
17
1
3
23
Idk how I can do it I tried so many stuff but I cant find it if you know please let me know aswell
[doublepost=1615110315,1615109592][/doublepost]Ok I found a solution to thius

loop all entities in radius 10 around the player:
damage loop-entity by 10

but I cant make it so it does not affect players
 
Code:
damage all entities in radius 10 around player where [input is not a player] by 10
This basically translates to:
Code:
loop all entities in radius 10 around player:
    if loop-entity isn't a player:
        damage loop-entity by 10
 
Status
Not open for further replies.