To enable messaging on Roblox, your account age generally needs to be set to 13 or older when you sign up. That age setting is what unlocks the chat features.
Alternatively, a parent can create a parent account linked to yours and enable chat that way. Either route lets you turn on messaging, so choose whichever fits your situation best.