Like I want to add some 13+ stuff, and I would like to check if someone is 13+
Is there some way like finding it?
I’ve tried to use Voice Chat Enabled for user? like if its enabled, they might be 13+, but I found that my friend’s friend, who are all 8 and 9 years, have voice chat by using their brother or sister id
you’d use PolicyService:GetPolicyInfoForPlayerAsync, i believe. the ‘AllowedExternalLinkReferences’ part of it, more speficially is what you’re looking for(it checks if a user is allowed to see youtube/discord links, a trait only pertaining to 13+ users)
local PolicyService = game:GetService("PolicyService")
local Players = game:WaitForChild("Players")
local plr = Players.LocalPlayer
local result , policyinfo = pcall(function()
return PolicyService:GetPolicyInfoForPlayerAsync(plr)
end)
if not policyinfo.AllowedExternalLinkReferences then
plr:Kick("You are under 13!")
end
Allowed external refrences, is an array, if you can get access to all social media, the table will have all the 4 social media values names like twitter, discord,youtube