NEED HELP

I’ve been going out clubbing and on nights out with my flatmate (I’m in uni), her boyfriend and his friend. So when drunk I’ve been close with his friend but I feel that’s maybe because we are the two single people so it just happens. And I thought I did like him but now I’m thinking it’s just a friends thing because we’ve been going out with a bigger group and I haven’t felt the need to dance with him and stuff and I like the fact I can flirt with other boys. But I feel if I get with him I wouldn’t be able to do that, but I have been flirty with him and stuff so I don’t know what to say to him to make it clear I won’t get with him and I think we’re better off as friends, but I don’t wanna make it awkward or hurt his feelings because to him I have been flirty so it may confuse him. HELP???