@name Bot
runOnTick(1)
EE=entity() #Expression Entity
applyForce(((owner():shootPos()+vec(0,0,50)-EE:pos())*10-EE:vel())*EE:mass())
#the +vec(0,0,50) part is so that it floats above your head instead hitting it.