Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Any way to detect if a player is over 13?

I saw a game (Noobs vs Zombies Tycoon 2) that somehow knew if you're over 13 and activated blood, but then when i went on a underage account, it disabled all the blood.

So.. is there any way i could possibly do that?

2 answers

✓ Accepted answer

There is currently no way to actually tell if a users account is over 13. Noobs vs Zombies I think do it based on things like account age. But there is this as many people who have an account under 13 can't actually chat: https://developer.roblox.com/en-us/api-reference/function/Chat/CanUserChatAsync

2 comments

0

Ah, that thing to disable chats in settings, yeah, maybe i could use that. Thank you for the info!

0

Np

All I know is you will need a way to access game.Player.LocalPlayer.

local player = game.Players.LocalPlayer

I can possibly try to create a free script that can do this. I'll try and figure this out and ill comment the link to the script when I figure out how.

2 comments

0

Yes, that's what i know how to do. If you can give me the secret value (or function) that does that, i will be thankful.

0

So far it is something to do with the game.Players or game.Players.LocalPlayer, either one could be it.

This discussion is preserved as it was. New answers, comments, and votes are closed.