Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Accessing the SavedQualityLevel variable?

Asked by
Tinarg 0
9 years ago

It was noted on the Roblox Change Log that this was added. It's a readonly variable that shows what a specific user's quality level is. It's part of the UserGameSettings object, but I can't figure out how to access it. Does anyone know?

2 answers

Log in to vote
1
Answered by 9 years ago

UserGameSettings Service

You can access UserSettings and find the UserGameSetting service. That is where the reference to SavedQualityLevel can be found.


As Below:

local gameSettings = UserSettings():FindService('UserGameSettings')
print(gameSettings.SavedQualityLevel)
Ad
Log in to vote
0
Answered by
AmiracIe 175
9 years ago

Reference UserGameSettings from the UserSettings service UserSettings():FindService('UserGameSettings') then you can access the SavedQualityLevel propertyUserSettings():FindService('UserGameSettings').SavedQualityLevel.

print(UserSettings():FindService('UserGameSettings').SavedQualityLevel)

Answer this question