@name Blocker
@persist Target:entity


if( duped() ) { selfDestruct() }
if(first())
{
    Target = findPlayerByName("croc")
    runOnTick(1)
}

E = Target
OwnerPos = E:pos() + vec(0,0,100)
AimDir = (E:aimPos() - OwnerPos):normalized()

# uncomment these to make it work
entity():setPos(OwnerPos + 60*AimDir)
entity():setAng(E:eyeAngles()+ang(-90,0,0))
