RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"when script.parent textbutton triggered then do a low graphics toggleable"
-- local script local button = script.Parent local UserSettings = UserSettings() local GameSettings = UserSettings.GameSettings local function toggleGraphics() if GameSettings.RenderQualityLevel == Enum.RenderQualityLevel.Level01 then GameSettings.RenderQualityLevel = Enum.RenderQualityLevel.Level21 button.Text = 'Graphics: High' else GameSettings.RenderQualityLevel = Enum.RenderQualityLevel.Level01 button.Text = 'Graphics: Low' end end button.MouseButton1Click:Connect(toggleGraphics)