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").QualityLevelI got this error:
singleton RenderSettings already exists
Any help is very much appreciated. :)

2 comments
Did you test this yourself? And if so, it was in a local script right? For some reason I get an error from the code you gave; here it is: 14:07:23.126 - An error occurred 14:07:23.126 - Script 'Players.Player1.PlayerScripts.LocalScript', Line 1
Oops, I only ran the script in the commandbar, the settings() table is protected and cant be accessed by scripts, sorry about that.