All pastes #174953 Raw Edit

Unnamed

public lua v1 · immutable
·published 2006-09-18 11:05 UTC
rendered paste body
function LOLK(userid)	local Props = _EntitiesFindInSphere(_EntGetPos(playerChoice[userid].choice), 512)	for K, V in Props do		local Direction = vecSub(_EntGetPos(V), _EntGetPos(playerChoice[userid].choice))		local DirectionNormal=vecNormalize(Direction)		local Speed = 20 * -1		local DirectionFullForce = vecMul(DirectionNormal, vector3(Speed, Speed, Speed))		_phys.ApplyForceCenter(V, DirectionFullForce)	endend