@name Tornado
@inputs A B C D E F Clk
@outputs In
@persist ED A O:entity G EA
Time=15
interval(Time)
Chat = entity():owner():lastSaid()
K = curtime() - entity():owner():lastSaidWhen() < (Time*1)/1000
Brk="G"
Com="Torn"
Com1=Chat:find(Com)
Brk1=Chat:find(Brk)
if(Com1&K&Brk1){Orders=Chat:explode(Brk) G=Orders:string(2):toNumber()
    print("ummm sumtin funny")
    print("Also A is: "+A)}


#Entity
findIncludePlayerProps(owner())
findByClass("prop_physics") 
Ex= findResult(ED)
Ef=findResult(EA)
#Varibles
G += 0.5
ED+= 1
EA+= 1
if(ED>30){ED=0}
if(EA>60){EA=30}

#Vector Model
X = O:pos():x()-sin(G*360)*ED*100-Ex:pos():x()
Y = O:pos():y()-cos(G*360)*ED*100-Ex:pos():y()
Z = O:pos():z()-Ex:pos():z()+80+(ED*80)

V = vec(X,Y,Z)
Ex:applyForce((V*2-Ex:vel())*Ex:mass())

#Vector Model 2
X2 = O:pos():x()-cos(G*360)*ED*150-Ef:pos():x()
Y2 = O:pos():y()-sin(G*360)*ED*150-Ef:pos():y()
Z2 = O:pos():z()-Ef:pos():z()+80+(ED*80)

V2 = vec(X2,Y2,Z2)
Ef:applyForce((V2*2-Ef:vel())*Ef:mass())
