сделай красивый бело фиолетовый ui local InterfaceBuild = '3K3W' local Release = "Build…
- User
сделай красивый бело фиолетовый ui 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
code},}
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
codeif 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()
- Assistant