Advertisement
SekkayGod

Vape ui library

Apr 22nd, 2022
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. local lib = loadstring(game:HttpGet"https://raw.githubusercontent.com/dawid-scripts/UI-Libs/main/Vape.txt")()
  2.  
  3. local win = lib:Window("Getting Started",Color3.fromRGB(44, 120, 224), Enum.KeyCode.RightControl)
  4.  
  5. local tab = win:Tab("Tab 1")
  6.  
  7. tab:Button("Button", function()
  8. lib:Notification("Notification", "Hello!", "Hi!")
  9. end)
  10.  
  11. tab:Toggle("Toggle",false, function(t)
  12. print(t)
  13. end)
  14.  
  15. tab:Slider("Slider",0,100,30, function(t)
  16. print(t)
  17. end)
  18.  
  19. tab:Dropdown("Dropdown",{"Option 1","Option 2","Option 3","Option 4","Option 5"}, function(t)
  20. print(t)
  21. end)
  22.  
  23. tab:Colorpicker("Colorpicker",Color3.fromRGB(255,0,0), function(t)
  24. print(t)
  25. end)
  26.  
  27. tab:Textbox("Textbox",true, function(t)
  28. print(t)
  29. end)
  30.  
  31. tab:Bind("Bind",Enum.KeyCode.RightShift, function()
  32. print("Pressed!")
  33. end)
  34.  
  35. tab:Label("Label")
  36.  
  37. local changeclr = win:Tab("Change UI Color")
  38.  
  39. changeclr:Colorpicker("Change UI Color",Color3.fromRGB(44, 120, 224), function(t)
  40. lib:ChangePresetColor(Color3.fromRGB(t.R * 255, t.G * 255, t.B * 255))
  41. end)
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement