Help with PolicyService

I have a script that is supposed to protect my game from getting banned using PolicyService, but it doesn’t work.
Emulator:

Script
function LegalSolver()
	local ArePaidRandomItemsRestricted = PolicyInfo.ArePaidRandomItemsRestricted
	local AllowedExternalLinkReferences = PolicyInfo.AllowedExternalLinkReferences
	local IsPaidItemTradingAllowed = PolicyInfo.IsPaidItemTradingAllowed
	local IsSubjectToChinaPolicies = PolicyInfo.IsSubjectToChinaPolicies
	if not ArePaidRandomItemsRestricted then
		print(string.format("Paid random items are restricted from %s.",Player.Name))
	elseif not IsPaidItemTradingAllowed then
		print(string.format("Paid random items trading is restricted from %s.",Player.Name))
	elseif IsSubjectToChinaPolicies then
		print("no")
		NotAvailable.Visible = true
		Socials.Visible = false
	end
	for _, social in pairs(AllowedExternalLinkReferences) do
		local Icon = Socials:FindFirstChild(social)
		if Icon then
			Icon.Visible = true
		end
	end
end

And only Paid random items are restricted from %s. prints. What did I do wrong?

Instead of using an if else use three if statements. It’s because of your order of execution in the code.