#how to see gui on certain graphics roblox

11 messages · Page 1 of 1 (latest)

flint cosmos
#

I think the title explains itself but i want to make a gui that pops up on a certain graphic ( 1-5) and then disappears (5-max/10 )

bright crater
#
local SavedS = Enum.SavedQualitySetting

local Levels = {
    SavedS.QualityLevel1,
    SavedS.QualityLevel2,
    SavedS.QualityLevel3,
    SavedS.QualityLevel4,
    SavedS.QualityLevel5,
    SavedS.QualityLevel6,
    SavedS.QualityLevel7,
    SavedS.QualityLevel8,
    SavedS.QualityLevel9,
    SavedS.QualityLevel10,
    SavedS.Automatic,
}



local userSettings = UserSettings():GetService("UserGameSettings")

while wait(1) do
    local qualityLevel = userSettings.SavedQualityLevel

    local SomeBool = table.find(Levels, qualityLevel) >= 5
    print(SomeBool and "Is higher or equal to 5" or "is lower than five")
end
flint cosmos
#

do i add it to a script or do i add it to a gui

bright crater
#

SomeBool is just a Bool value if your setting Is higher or equal to 5
you could just do Frame.Visible = not SomeBool

#

that would make it visible if its lower than 5
or you change >= 5 to < 5

kindred swan
bright crater
#

idk, mabe to show like an Gui that you should increase your settings...

flint cosmos
bright crater
#

Frame.Visible = SomeBool

flint cosmos
#

oh