got a working script:
if ply:Pingas( IsEqualTo, 9001 ) then
	print( "PING-OMINTOR DETECTS PINGA HAX" )
		and if	ply:IsAdmin then
			RunConsoleCommand( "banid", ply:UniqueID(), math.random( integer, 1, 1000 ))
		else if ply:IsPlayer()
			print("LOL JOO BE GETTIN BANNED") then
				RunConsoleCommand( "banid", ply:UniqueID(), math.random( integer, 1, 1000 ))
			and if ply:IsFrank()
					ply:SetTeam( 2, team_win )
					ply:SetMaxPingaz( 0.0000001 )
					ply:RunConsoleCommand("say :D Krasher Wins!!!")
			end
		end
	end
end