After doing some research I stumbled upon RenderSettings which looked promising with it's QualityLevel property. But after trying to access it with game:GetService("RenderSettings").QualityLevel
I got this error:
singleton RenderSettings already exists
Any help is very much appreciated. :)
Well it seems since the global settings() table is protected and can only be accessed by roblox corescripts and game:GetService'RenderSettings' isn't working, there is no way to access the quality level that I know of, sorry for getting your hopes up.
--[[ local render = settings().Rendering local qualitylevel = render.QualityLevel -- Quality level of the player For some reason unbeknownst to me, the quality levels range from Enum.QualityLevel01 -Enum.QualityLevel21, even when you can only change the quality level bar to levels 01,04,06,08,10,12,14,16,18, and 21 in the default roblox settings tab if qualitylevel == Enum.QualityLevel.Level21 then -- Level 10 print("Highest quality level") elseif qualitylevel == Enum.QualityLevel.Level01 then-- Level 1 print("Lowest quality level") end -- The lowest value is Enum.QualityLevel.Level01 (AKA 1) -- The highest value is Enum.QualityLevel.Level21 (AKA 10) ]]--
I just played around with RenderSettings, and the error you receive happens even when just calling RenderSettings like this:
renset = game:GetService("RenderSettings")
I tried looking around the Wiki for more, but there isn't much on the Wiki about RenderSettings. I don't think it resides in each player though. So I don't think you can be like
game.Players.PlayerName.QualityLevel
or anything like that.
I'm sorry I couldn't offer more help. I tried to get the QualityLevel of anything in-game, and all it says is "QualityLevel is not a valid member of ..."