killing an entity in a radius

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

  • 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.
I mean so even if it's 200 blocks away and I'm not the centre of the radius.
"200 blocks away"... there will no any Mobs spawned. Mob will spawned evertime if a player near... maybe 8 Chunks (8 x 16 = under 160 blocks)
So you don't need worry about "Far away" mobs
 
"200 blocks away"... there will no any Mobs spawned. Mob will spawned evertime if a player near... maybe 8 Chunks (8 x 16 = under 160 blocks)
So you don't need worry about "Far away" mobs
Okay, an armorstand then
 
You can try this, it needs skquery
code_language.skript:
loop blocks within {pos1} to {pos2}:
    if loop-block is armor stand:
        kill loop-entity
 
Armor stands aren't blocks

code_language.skript:
kill all entities where [entity input is not in radius 5 of player]
That would not allow him to specify the radius of a separate location, it would just kill everything not near the player.
 
That would not allow him to specify the radius of a separate location, it would just kill everything not near the player.
I just read the OP. He can just replace the player with location, the same concept applies
 
I just read the OP. He can just replace the player with location, the same concept applies
Doesn't seem to work. with player or a location
c8ae6160b4.jpg
 
Status
Not open for further replies.