A Super Awesome Deathblow

Hey, I was just killin some NPCs and manhacks and used the fastmelee… than! I came out with this idea! a super awesome deathblow That sends npc FLYING FAR AWAY that I have to bind somethin to a console command =3 It would be awesome for me…

if you are playing on local or single, use on console this:

bind mouse3 “lua_run local ent = Entity(1):GetEyeTraceNoCursor() if ent then ent:SetVelocity(ent:GetVelocity() + (ent:GetPos() + Entity(1):GetPos()):Normalize() * 100)”

Change mouse3 for whatever you want.

Uhh it doesnt work an error sayin :1: ‘end’ expected near ‘<eof>’
comes out

Which means it expects “end”. Try “lua_run local ent = Entity(1):GetEyeTraceNoCursor() if ent then ent:SetVelocity(ent:GetVelocity() + (ent:GetPos() + Entity(1):GetPos()):Normalize() * 100) end”

lol Yeah I forgot an end.

ERROR! :
:1: attempt to call method ‘GetVelocity’ (a nil value)

You’ve gotta be looking at it…

OoOoOo I’m gonna try this.

Edit: agh, same thing he’s getting.

looking at WHAT?

The enemy. Before you kill it. You also have to be in singleplayer.