So I’m trying to see the local player’s AllowedExternalLinkReferences, and everything shows up for me except GitHub. I’m over 13 and in the United States, so I can access it online even though it doesn’t show up in Studio.
Code (local script in StarterPlayerScripts):
local PolicyService = game:GetService("PolicyService")
local plr = game.Players.LocalPlayer
local policyInfo = PolicyService:GetPolicyInfoForPlayerAsync(plr)
local allowedLinks = policyInfo.AllowedExternalLinkReferences
print(allowedLinks)
if table.find(allowedLinks, "GitHub") then
print("Can use GitHub")
end
Output:
▼ {
[1] = "Discord",
[2] = "YouTube",
[3] = "Twitch",
[4] = "Facebook",
[5] = "X",
[6] = "Guilded"
} - Client - GitHubCheck:7
As you can see from the output, GitHub isn’t in the table, and "Can use GitHub"
is nowhere to be seen either. Anyone know what’s wrong?