To set your Roblox game as solo play, go to "Configure This Place" in the My Places options and deselect the "Copylocked" setting.
That adjustment keeps your place private to you, so you can enjoy it on your own without others dropping in.