They are uncomparable. This debate is age-old and stupid
Roblox is a game development platform which allows people to make their own games and have others play them.
Minecraft is a procedurally generated sandbox building game with multiplayer functionality.
Though as they both have multiplayer and a massive online community, I think Minecraft has the best one. Nowadays, it appeals to so many different types of people and is global.