About Policy Service - ArePaidRandomItemsRestricted

Hello, so I want to know if a player returns true from ArePaidRandomItemsRestricted, do we have to remove gamepasses from the shop or simply the purchases of the in-game currency that can be purchased with Robux?

From what I can see in the documentation ArePaidRandomItemsRestricted refers to a player spending in-game currency OR robux on something with chance involved (say for instance a mystery crate where the contents are unknown). So it really depends what the gamepass is enabling the player to do.

What if the currency can also be obtained through playing the game, the player who returns true from the ArePaidRandomItemsRestricted can’t still interact with those crates that have a chance of awarding you something?

You can’t prevent gamepasses purchases through PolicyService. You must prevent a player from spending robux or money that can be obtained with robux on random items.

If the currency can be bought with Robux and then spent on opening crates or similar systems then players with ArePaidRandomItemsRestricted enabled should not have access to such systems, that’s what I understood atleast.

I bet Roblox handles this for you, just add this when trying to purchase game passes, and dev products in game.

Roblox doesn’t handle this for you, because they don’t know what the gamepass/dev product really is and can’t afford to go into every game to check them so they wait for players to report it. It is up to the developers to use PolicyService

I have tried to search the Policy Service and there is no information about this

Thanks for your help

Not really sure what you’re asking.

ArePaidRandomItemsRestricted will only tell you if the player has enabled Roblox’s restricted random items feature.

If you’re asking if you have to remove gamepasses from a shop if a player has restricted random items enabled, then no, you do not have to do that.

ArePaidRandomItemsRestricted is essentially a “Parental Controls” feature.