@name MySpace
@inputs 
@outputs 
@persist Array:array Distance Result:string Times Damage HoloDist Circle X Y
@trigger 

runOnTick(1)
timer("check",1)
## SETTINGS!
#Distance
Distance = 250
#Player's that wont be killed E.G "findExcludePlayer("Rick")".

#findExcludePlayer(owner())

#Result (slay, jail, strip, slap, ragdoll)
Result = ""
#Only if you are using slap!
Times = 100
Damage = 20
interval(2000)
if (clk("check")) {
    findInSphere(entity():pos(), Distance)
    Array = findToArray()
    for(I=1,Array:count()) {
        if(Array[I,entity]:isPlayer()) {
            if(Array[I,entity]:isAlive()) {
                if (Result != "whip") {
    E = propSpawn(Result+vec(0,0,1000),0)   
    T = Array[I,entity]:pos()
    V = (T - E:pos() + vec(0, 0, 50)) * 5000
    E = propSpawn("models/props_c17/oildrum001_explosive.mdl",V+vec(0,0,1000),0)  
    E:applyForce(V + $V * 5)
    E:setTrails(500,500,500, "trails/smoke",vec(50,50,50),255,255,255)


}}}}}
