Fall Damage

Can someone just post a hook or function or anything that will increase falldamage.

I need the damage to kill someone if they hit something at terminal velocity.

Thanks in advance

function FallDamage( ent, inflictor, attacker, amount, dmginfo )
	if ( ent:IsPlayer() ) then --Is player?
		if (ent:GetVelocity():Length() > 50 and dmginfo:IsFallDamage()) then  --How fast and was it fall damage?
		          dmginfo:SetDamage (1000) --How much damage to do.

hook.Add("EntityTakeDamage", "FallDamage", FallDamage)

Not tested but all you should have to do is change the “50” to whatever works.

And where should i put this?