-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRandom-UI.lua
More file actions
23 lines (18 loc) · 737 Bytes
/
Random-UI.lua
File metadata and controls
23 lines (18 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
local LynxUIX = loadstring(game:HttpGet("https://vexar.xyz/LynxUI/LynxUIX.php"))()
local PrintWindow = LynxUIX.Window("Print Window")
local txtBox = PrintWindow:TextBox("Enter text")
local printButton = PrintWindow:Button("Print text", function()
print(txtBox:GetText())
end)
local AutofarmWindow = LynxUIX.Window("Autofarm")
local mainLabel = AutofarmWindow:Label("Main")
local toggle = AutofarmWindow:Toggle("Enable", function(state)
print(state)
end)
local settingsLabel = AutofarmWindow:Label("Settings")
local mobToFarm = AutofarmWindow:Dropdown("Choose mob", {"Mob1", "Mob2", "Mob3"}, function(change)
_G.tofarm = change
end)
local printToFarm = AutofarmWindow:Button("Print mob", function()
print(_G.tofarm)
end)