forked from bloodball/UI-Librarys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Shadow Lib (V2)
47 lines (36 loc) · 1.09 KB
/
Shadow Lib (V2)
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
--Made by : https://v3rmillion.net/member.php?action=profile&uid=1265584
_G.Settings = {
['Name'] = 'Some random template',
['Intro'] = true,
['Keybind'] = 'G'
}
local Library = loadstring(game:HttpGet("https://pastebin.com/raw/QPehPJ6m", true))()
local Tab1 = Library:CreateTab('Tab1')
Tab1:Label('Epik Label')
Tab1:Button('Epik Button', function()
print("OMG, YOU PRESSED THE BUTTON! YOU'RE SO SMART!")
end)
Tab1:Toggle('Epik Toggle', false, function(bool)
print(bool)
end)
Tab1:TextBox('Epik Textbox', 'Placeholder idk', function(output)
print(output)
end)
Tab1:Dropdown('Epik Dropdown', {'Epic', 'Right?', 'Skillz'}, function(output)
print(output)
end)
Tab1:Label('Everything is epik, totes.')
local Tab2 = Library:CreateTab('Tab2')
Tab2:Label('OMG ANOTHER TAB!')
--[[
Refresh example:
]]
local TabwithRefresh = Library:CreateTab('TabwithRefresh')
local Dropdown = TabwithRefresh:Dropdown('Epik Dropdown', {'Epic', 'Right?', 'Skillz'}, function(output)
print(output)
end)
wait(10)
Dropdown:Refresh('OMG REFRESH', {'NANI', 'WHAT IS', 'THIS MAGIC?'}, function(output)
print(output)
print('lol')
end)