Error code 773 - How to check if a found game is privated

how would i go on about checking if a found game is privated or not?

i’ve tried

	if info.Privacy == 'Private' then
		passed = false
	end

along with other things, which did not work.

i should also mention that the script does work when it finds a public game, hence why i’m asking about how to determine whether a game is privated or not because i can’t get anything to work

To determine if the game is private just set the default value of isPublic (for example) to false, and if the code successfully checks that the game is public then set isPublic to true. If not, the .Privacy variable might be a Enum type, likely Enum.GamePrivacySetting