I walk up to a person, sometimes i gain a phone number. Sometimes i dont.

I usually say some shit like "hey i saw you, and i wondering if you had a phonenumber"

What are some better ways to increase my success?