|
| 06 Jan 2017 08:40 AM |
I'm wondering if it's possible to check the DOB with a script. I wanted to recreate the old bubble safe chat bot 12 and under as a test. I don't really care that much if this does exist or not, I'm just wondering.
~MightyDantheman~ |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2017 08:48 AM |
| Do you mean the age the player entered on creating an account, or the age of their account? |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2017 08:50 AM |
LocalScript print(game.Players.LocalPlayer.AccountAge) ServerScript game.Players.PlayerAdded:connect(function(Player) print(Player.AccountAge) end) |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2017 08:52 AM |
| @Travel Did you even read the post? That returns how many days since the user created his roblox account. |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2017 08:53 AM |
| @Kritikal "Checking Account Age?" |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2017 08:56 AM |
| @Travel DOB means date of birth. Your script will not do return that. |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2017 09:56 AM |
| The author simply wanted to know if they were under 12 years old. Therefore the posted suggestion would be fine. |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2017 09:57 AM |
| Just check if the numbers of days are more than 365.25 * 12 |
|
|
| Report Abuse |
|
|
Zenuvius
|
  |
| Joined: 26 Aug 2014 |
| Total Posts: 551 |
|
|
| 06 Jan 2017 10:04 AM |
With HttpService maybe, but it's redundant isn't it ? Since we're assuming everyone is honest with their age input when making a Roblox account. Probably best to make your own chat filter alongside Roblox's default, and if it detects certain unruly speech patterns, then you can either warn the player or mute the player and only allow the player to speak with a custom safechat you made.
- Zenuvius |
|
|
| Report Abuse |
|
|