You can earn Robux indirectly for free by first collecting Tix. You get Tix just by logging in daily and by having people visit your place—the main way being to build a cool game that draws visitors, plus the daily login bonus for simply showing up.
Once you've saved up some Tix, click the Tix symbol next to the log-out button and choose "Trade Currency." The exchange rate between Robux and Tix fluctuates, but it's often close to 1 Robux per Tix. Alternatively, you can buy Tix with real money—about 4.95 USD gets you 400 Robux (450 for Builders Club members)—but earning them in-game is the easier route for most players.