иземени цвет Background3 и ещё tabs local InterfaceBuild = '3K3W' local Release = "Build…
- User
иземени цвет Background3 и ещё tabs local InterfaceBuild = '3K3W' local Release = "Build 1.67" local RayfieldFolder = "Rayfield" local ConfigurationFolder = RayfieldFolder.."/Configurations" local ConfigurationExtension = ".rfld" local settingsTable = { General = { -- if needs be in order just make getSetting(name) rayfieldOpen = {Type = 'bind', Value = 'K', Name = 'Rayfield Keybind'}, -- buildwarnings -- rayfieldprompts
},}
local HttpService = game:GetService("HttpService") local RunService = game:GetService("RunService")
-- Environment Check local useStudio = RunService:IsStudio() or false
local settingsCreated = false local cachedSettings local prompt = useStudio and require(script.Parent.prompt) or loadstring(game:HttpGet('https://raw.githubusercontent.com/SiriusSoftwareLtd/Sirius/refs/heads/request/prompt.lua'))() local request = (syn and syn.request) or (fluxus and fluxus.request) or (http and http.request) or http_request or request
local function loadSettings() local file = nil
if isfolder and isfolder(RayfieldFolder) then if isfile and isfile(RayfieldFolder..'/settings'..ConfigurationExtension) then file = readfile(RayfieldFolder..'/settings'..ConfigurationExtension) end end if file then local success, decodedFile = pcall(function() return HttpService:JSONDecode(file) end) if success then file = decodedFile else file = {} end else file = {} end if not settingsCreated then cachedSettings = file return end if file ~= {} then for categoryName, settingCategory in pairs(settingsTable) do if file[categoryName] then for settingName, setting in pairs(settingCategory) do if file[categoryName][settingName] then setting.Value = file[categoryName][settingName].Value setting.Element:Set(setting.Value) end end end end endend
if debugX then warn('Now Loading Settings Configuration') end
loadSettings()
if debugX then warn('Settings Loaded') end
local RayfieldLibrary = { Flags = {}, Theme = { Default = { TextColor = Color3.fromRGB(240, 240, 240),
Background = Color3.fromRGB(25, 25, 25), Topbar = Color3.fromRGB(34, 34, 34), Shadow = Color3.fromRGB(20, 20, 20), NotificationBackground = Color3.fromRGB(20, 20, 20), NotificationActionsBackground = Color3.fromRGB(230, 230, 230), TabBackground = Color3.fromRGB(80, 80, 80), TabStroke = Color3.fromRGB(85, 85, 85), TabBackgroundSelected = Color3.fromRGB(210, 210, 210), TabTextColor = Color3.fromRGB(240, 240, 240), SelectedTabTextColor = Color3.fromRGB(50, 50, 50), ElementBackground = Color3.fromRGB(35, 35, 35), ElementBackgroundHover = Color3.fromRGB(40, 40, 40), SecondaryElementBackground = Color3.fromRGB(25, 25, 25), ElementStroke = Color3.fromRGB(50, 50, 50), SecondaryElementStroke = Color3.fromRGB(40, 40, 40), SliderBackground = Color3.fromRGB(50, 138, 220), SliderProgress = Color3.fromRGB(50, 138, 220), SliderStroke = Color3.fromRGB(58, 163, 255), ToggleBackground = Color3.fromRGB(30, 30, 30), ToggleEnabled = Color3.fromRGB(0, 146, 214), ToggleDisabled = Color3.fromRGB(100, 100, 100), ToggleEnabledStroke = Color3.fromRGB(0, 170, 255), ToggleDisabledStroke = Color3.fromRGB(125, 125, 125), ToggleEnabledOuterStroke = Color3.fromRGB(100, 100, 100), ToggleDisabledOuterStroke = Color3.fromRGB(65, 65, 65), DropdownSelected = Color3.fromRGB(40, 40, 40), DropdownUnselected = Color3.fromRGB(30, 30, 30), InputBackground = Color3.fromRGB(30, 30, 30), InputStroke = Color3.fromRGB(65, 65, 65), PlaceholderColor = Color3.fromRGB(178, 178, 178) }, } - Assistant