The game itself does not. The official Roblox client is not malware, and installing it will not infect your machine.
The risk comes from everything around it. Sketchy links posted in games or chat, "free Robux" downloads, and fake Roblox Studio plugins or model files are common infection routes, and some of them will happily steal your session cookie along with your password. Stick to the official site, avoid running anything a stranger sends you, and keep two-step verification switched on.