-
Notifications
You must be signed in to change notification settings - Fork 318
/
Turtle UI
36 lines (25 loc) · 889 Bytes
/
Turtle UI
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
local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/turtle"))()
local OwO = library:Window("Rawr")
OwO:Button("Button name", function()
print("pressed button")
end)
OwO:Toggle("Example toggle", true, function(bool)
print(bool) -- bool is true or false depending on the state of the toggle
end)
OwO:ColorPicker("Color Picker", Color3.fromRGB(255, 255, 255), function(color)
print(color)
end)
OwO:Slider("Example Slider",0,100,20, function(value)
print(value)
end)
OwO:Label("Credits to Intrer#0421", Color3.fromRGB(127, 143, 166))
OwO:Box("Walkspeed", function(text, focuslost)
if focuslost then
print(text)
end
end)
local dropdown = OwO:Dropdown("Example dropdown", {"Button 1", "Button 2", "Third button"}, function(name)
print(name)
end)
dropdown:Button("New button")
dropdown:Remove("Button")