I'm trying to code a graphics level detector so that if the players graphics are at a certain level, the lighting technology changes, and a bunch of other stuff happens. I put this localscript in both starterplayerscripts and startercharacter scripts, didn't work. Script:
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function()
if UserSettings().GameSettings.SavedQualityLevel >=8 then
print("Graphics High")
end
end)
Any help is appreciated

2 comments
I havent checked in alittle but I'm pretty sure LightingTechnology is locked and cannot be changed ingame through a script. So its not going to change even if the script was functional.
Could it be done through the server?