@name Turtlev2
@inputs Pod:wirelink Cam:wirelink
@outputs 
@persist  E:entity I
@trigger 
runOnTick(1)

if(owner():keyUse()){
    if(changed(owner():keyReload())&owner():keyReload()){
        G = owner():aimEntity()
        F = G:name()
        E = findPlayerByName(F)
        print("Target Aquired")
        print(E)
        I = 0
}}
        


Ang = Pod["Entity",entity]:driver():eyeAngles()

W = Pod["W",number]
A = Pod["A",number]
S = Pod["S",number]
D = Pod["D",number]
Space = Pod["Space",number]
Shift = Pod["Shift",number]

Cam["Angle",angle] = holoEntity(1):angles()

Cam["Position",vector] = E:pos()+vec(0,0,100):rotate(E:angles())

Cam["Activated",number] = Pod["Active",number]

ACTIVE = Pod["Active",number]

holoCreate(1)
holoPos(1,E:pos())
holoAng(1,owner():eyeAngles())
holoAlpha(1,0)
if(Shift){
    I++
    concmd("evs noclip " + E:name() + I)
}
if(I >1){I ==0}
if(W){
   
E:applyPlayerForce(holoEntity(1):forward() *500)
}

if(S){
   
E:applyPlayerForce(holoEntity(1):forward() * -500)
}

if(A){
   
E:applyPlayerForce(holoEntity(1):right() * -500)
}


if(D){
   
E:applyPlayerForce(holoEntity(1):right() * 500)
}
