Библиотека GUI
This is github-version of roblox ui library "Rayfield-Gen2" If https://sirius.menu/gen2 don't work
Loadstring — одна строка для подключения
loadstring(game:HttpGet("https://secret.griefer.world/library/raw/rayfield-gen2"))()
Пример использования
local RayfieldGen2 = loadstring(game:HttpGet("https://secret.griefer.world/library/raw/rayfield-gen2"))()
local Window = RayfieldGen2:CreateWindow({ Title = "My Hub" })
local Tab = Window:CreateTab("Main")
Tab:CreateButton({
Title = "Button",
Callback = function()
print("clicked!")
end,
})
Tab:CreateToggle({
Title = "Auto Farm",
Default = false,
Callback = function(state)
print("auto farm:", state)
end,
})