hacimiks

Discord Lib

Apr 10th, 2024 (edited)
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.64 KB | None | 0 0
  1. local DiscordLib = loadstring(game:HttpGet"https://raw.githubusercontent.com/dawid-scripts/UI-Libs/main/discord%20lib.txt")()
  2.  
  3. local win = DiscordLib:Window("discord library")
  4.  
  5. local serv = win:Server("Preview", "")
  6.  
  7. local btns = serv:Channel("Buttons")
  8.  
  9. btns:Button("Kill all", function()
  10. DiscordLib:Notification("Notification", "Killed everyone!", "Okay!")
  11. end)
  12.  
  13. btns:Seperator()
  14.  
  15. btns:Button("Get max level", function()
  16. DiscordLib:Notification("Notification", "Max level!", "Okay!")
  17. end)
  18.  
  19. local tgls = serv:Channel("Toggles")
  20.  
  21. tgls:Toggle("Auto-Farm",false, function(bool)
  22. print(bool)
  23. end)
  24.  
  25. local sldrs = serv:Channel("Sliders")
  26.  
  27. local sldr = sldrs:Slider("Slide me!", 0, 1000, 400, function(t)
  28. print(t)
  29. end)
  30.  
  31. sldrs:Button("Change to 50", function()
  32. sldr:Change(50)
  33. end)
  34.  
  35. local drops = serv:Channel("Dropdowns")
  36.  
  37.  
  38. local drop = drops:Dropdown("Pick me!",{"Option 1","Option 2","Option 3","Option 4","Option 5"}, function(bool)
  39. print(bool)
  40. end)
  41.  
  42. drops:Button("Clear", function()
  43. drop:Clear()
  44. end)
  45.  
  46. drops:Button("Add option", function()
  47. drop:Add("Option")
  48. end)
  49.  
  50. local clrs = serv:Channel("Colorpickers")
  51.  
  52. clrs:Colorpicker("ESP Color", Color3.fromRGB(255,1,1), function(t)
  53. print(t)
  54. end)
  55.  
  56. local textbs = serv:Channel("Textboxes")
  57.  
  58. textbs:Textbox("Gun power", "Type here!", true, function(t)
  59. print(t)
  60. end)
  61.  
  62. local lbls = serv:Channel("Labels")
  63.  
  64. lbls:Label("This is just a label.")
  65.  
  66. local bnds = serv:Channel("Binds")
  67.  
  68. bnds:Bind("Kill bind", Enum.KeyCode.RightShift, function()
  69. print("Killed everyone!")
  70. end)
  71.  
  72. serv:Channel("by dawid#7205")
  73.  
  74.  
  75. win:Server("Main", "http://www.roblox.com/asset/?id=6031075938")
Add Comment
Please, Sign In to add comment