-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGamesense example UI
More file actions
64 lines (56 loc) · 1.36 KB
/
Gamesense example UI
File metadata and controls
64 lines (56 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Mp3Alt/UI/refs/heads/main/gamesense", true), "gamesense")()
local Window = library:CreateWindow({
Key = Enum.KeyCode.RightControl,
})
local Page = Window:CreatePage({
Icon = "rbxassetid://8547236654"
})
local Page2 = Window:CreatePage({
Icon = "rbxassetid://8547254518"
})
local Section = Page:CreateSection({
Name = "Section 1",
Size = 150,
Side = "Left",
})
local Toggle = Section:CreateToggle({
Name = "Toggle 1",
Callback = function(state)
print("Toggle 1", state)
end
})
local Slider = Section:CreateSlider({
Name = "Slider 1",
Default = 10,
Min = 0,
Max = 100,
Decimals = 1,
Suffix = "ms",
Callback = function(state)
print("Slider 1", state)
end
})
local Multibox = Section:CreateMultibox({
Name = "Multibox 1",
Default = {1},
Options = {1, 2, 3},
Min = 1,
Max = 2,
Callback = function(state)
print("Multibox 1", state)
end
})
local Keybind = Section:CreateKeybind({
Name = "Keybind 1",
Mode = "Hold",
Callback = function(state)
print("Keybind 1", state)
end
})
local Colorpicker = Section:CreateColorpicker({
Name = "Colorpicker 1",
State = Color3.fromRGB(255, 255, 255),
Callback = function(state)
print("Colorpicker 1", state)
end
})