Displaying a UI for Age Groups

Hey everyone, with this new age group for chat, I’m curious if I can make a UI that displays if a user is not in a certain age group. My game is designed for 13-15 and 16-17 year olds, if a user is outside of that age bracket, they should receive a UI saying this game can’t accommodate you. They can still play but it gives them that friendly reminder. So if they are in the 18-20 or 21+, it will give them that message. Anybody know if thats possible?

Roblox does not give you a player’s exact age. For privacy and safety reasons, you only get access to age brackets via Player.AgeBracket. That’s what you’ll use for this kind of check.

Roblox age brackets currently look like:

  • Under13
  • 13+ (for teens and adults)

Roblox does not officially separate 13–17 from 18–20 or 21+ in a way that developers can reliably access. So you cannot directly detect “18–20” or “21+” specifically. All of those fall into the 13+ bracket from a scripting perspective.

That’s the key limitation.

What You Can Do

If your game is meant for 13–17, you technically can:

• Allow Under13 and 13+
• Or show a message to 13+ users saying it’s designed for teens

But you cannot isolate 18+ users unless Roblox changes how AgeBracket works.

You can use statistics and the age group (13-15, 15-17, 17-18, etc.), can chat API to find the exact age group of any player in your game if you have sufficient data and one known account (could even be your own account).

For this case, you can get by without an age group-specific UI, you can just have a textlabel that says it’s meant for ages 13-17. It could be helpful to have a UI perhaps in the corner of the screen that shows the # of players that the user can currently communicate with