GUI SCALE:
const selector = UI.AddDropdown(["Config", "Cheat", "General"], "GUI scale", ["50%%", "75%%", "100%%", "125%%", "150%%", "175%%", "200%%", "225%%", "250%%"], 0);
const gui_scale = ["Config", "Cheat", "General", "GUI scaling"];
function cback() {
UI.SetValue(gui_scale, ([0.5, 0.75, 1, 1.25, 1.5, 1.75, 2, 2.25, 2.5])[UI.GetValue(selector)]);
}
function init() {
UI.RegisterCallback(selector, "cback");
// Initializes the value of the selector to match your current scaling.
UI.SetValue(selector, UI.GetValue(gui_scale) * 4 - 2);
UI.SetEnabled(gui_scale, 0);
}
init();