How do I check if a user has a studio beta enabled?

  1. 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:
image

  1. What is the issue? It uses RunService:IsStudio() so it wouldn’t work well

image

  1. 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

5 Likes

I don’t think they have implemented that in yet but I may be wrong

3 Likes

Me too, I also don’t think that as-well, which is why I have made this topic

2 Likes

you should probably just make a setting to enable or disable the New topbar UI.

also, i dont think they would have that as a feature anyways, as the New UI will become the standard eventually.

Why? I don’t want it to look like the picture shown at the OP unfortunately

does TopBarPlus have a center buttons feature or something along the lines of that?

What do you mean by: “center button feature”??

like is there a function to make the topbar buttons move to the top middle of the screen?

If I were you then I would go to the TBP topic

You’re right, i’ll go do that now.

there is a function for aligning the buttons to the middle, its icon:setMid()

hopefully this helps, as it should make the UI seamless even without some players not having the new topbar UI.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.