For your case, it's not the way you ask or methods you
need.
It's your confidence. You've lost it, so you've got to get it back.

Go to any girl who gives you confirm eye contact and speak to
her...don't get number. Leave after three minutes(you only have
this few minutes to build your 1st impression) to join your
friends.
When you get confident in doing that, get the number.