Rejection?

I want to ask this boy out to go see a baseball game with me bc my town is big in it but I don’t want to get rejected. It seems like he talks to a lot of other girls but he’s always nice to me and talking about how pretty I am but idk if that’s him liking me or just flirting. What should I do?