What do you want to achieve? I am making a way that if the user has the “Updated Roblox Controls” beta feature enabled, the Topbar Style will change for custom made topbars
This is what I mean:
What is the issue? It uses RunService:IsStudio() so it wouldn’t work well
What solutions have you tried so far? I searched for solutions but I don’t seem to find any
I am using TopbarPlus to achieve this, but there is no API to check the ability
local RepStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Icon = RepStorage:WaitForChild("Icon")
local IconController = require(Icon:WaitForChild("IconController"))
local Themes = require(Icon:WaitForChild("Themes"))
if RunService:IsStudio() then
IconController.setGameTheme(Themes.NewUI)
end
This is the code, you are free to reply if you know a way or is impossible to do that