@name Deathblade II
@inputs
@outputs 
@persist Setup On
Time=15
if(first()){On=0}
interval(Time)
Chat = entity():owner():lastSaid()
Kl = curtime() - entity():owner():lastSaidWhen() < (Time*3)/1000
On1=Chat:find("ZOOM!")
On=Chat:find("ARISE!")
On0=Chat:find("HALT!")
Kill=Chat:find("CEASE!")
if(Kl&Kill){selfDestruct() print("Suiciding")}

if(Kl&On1){On=1 print("Activating")}
if(Kl&On0){On=0 print("Deactivating")}
entity():setAlpha(0)
if(On){
K = 30
RelativeXYZ= entity():owner():aimPos() - entity():pos() + vec(0,0,100)
EntVel=entity(86):vel() 
Mass=entity():isConstrainedTo():mass()
Var1 = K*RelativeXYZ-EntVel*Mass/20
applyForce(Var1)

}
if(!entity():isConstrainedTo()){selfDestruct()}
