I don’t understand how to implement the ArePaidRandomItemsRestricted API in my game. (I don’t understand how to make the script for it)
Here is what I tried to do
wait(1)
local Players = game:GetService("Players")
local localPlayer = Players.LocalPlayer
local policy = GetPolicyInfoForPlayerAsync[localPlayer.UserId]
if policy.ArePaidRandomItemsRestricted == true then
script.Parent:Destroy()
end
Yes I know this is basic but pls help me