Advertisement
giorgichaduneli

Untitled

Feb 26th, 2024 (edited)
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
  2. local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
  3. local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
  4. ()
  5.  
  6. local Window = Fluent:CreateWindow({
  7. Title = "Fluent " .. Fluent.Version,
  8. SubTitle = "by dawid",
  9. TabWidth = 160,
  10. Size = UDim2.fromOffset(580, 460),
  11. Acrylic = true,
  12. Theme = "Dark",
  13. MinimizeKey = Enum.KeyCode.LeftControl
  14. })
  15.  
  16. local Tabs = {
  17. Main = Window:AddTab({ Title = "Main", Icon = "" }),
  18. Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
  19. }
  20.  
  21. local Options = Fluent.Options
  22.  
  23. do
  24. Fluent:Notify({
  25. Title = "Notification",
  26. Content = "This is a notification",
  27. SubContent = "SubContent",
  28. Duration = 5
  29. })
  30.  
  31. Tabs.Main:AddParagraph({
  32. Title = "Paragraph",
  33. Content = "This is a paragraph.\nSecond line!"
  34. })
  35.  
  36. local Toggle = Tabs.Main:AddToggle("MyToggle", {Title = "Toggle", Default = false })
  37.  
  38. Toggle:OnChanged(function()
  39. print("Toggle changed:", Options.MyToggle.Value)
  40. end)
  41.  
  42. Options.MyToggle:SetValue(false)
  43.  
  44. SaveManager:SetLibrary(Fluent)
  45. InterfaceManager:SetLibrary(Fluent)
  46. SaveManager:IgnoreThemeSettings()
  47. SaveManager:SetIgnoreIndexes({})
  48. InterfaceManager:SetFolder("FluentScriptHub")
  49. SaveManager:SetFolder("FluentScriptHub/specific-game")
  50. InterfaceManager:BuildInterfaceSection(Tabs.Settings)
  51. SaveManager:BuildConfigSection(Tabs.Settings)
  52. Window:SelectTab(1)
  53.  
  54. Fluent:Notify({
  55. Title = "Fluent",
  56. Content = "The script has been loaded.",
  57. Duration = 8
  58. })
  59.  
  60. SaveManager:LoadAutoloadConfig()
  61. end
  62.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement