Advertisement
YoungAoS

VisualiseLauncher0.2

Jul 9th, 2024 (edited)
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. -- [[ Fluent ]] --
  2. local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
  3. local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
  4. local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
  5.  
  6. local Window = Fluent:CreateWindow({
  7. Title = "0.2 | Visualise Launcher BETA",
  8. SubTitle = "By DevOxy",
  9. TabWidth = 160,
  10. Size = UDim2.fromOffset(580, 460),
  11. Acrylic = false, -- The blur may be detectable, setting this to false disables blur entirely
  12. Theme = "Dark",
  13. MinimizeKey = Enum.KeyCode.LeftControl -- Used when theres no MinimizeKeybind
  14. })
  15.  
  16. -- [[ Tabs ]] --
  17. local Tabs = {
  18. Info = Window:AddTab({ Title = "Info", Icon = "info" }),
  19. Launch = Window:AddTab({ Title = "Launcher", Icon = "rocket" }),
  20. Ability = Window:AddTab({ Title = "Abilities", Icon = "gem" }),
  21. Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
  22. }
  23.  
  24. -- [[ Notifs ]] --
  25. Fluent:Notify({
  26. Title = "Visualise Launcher",
  27. Content = "Visualise is ready to be Launched!",
  28. SubContent = "", -- Optional
  29. Duration = 5 -- Set to nil to make the notification not disappear
  30. })
  31.  
  32. Fluent:Notify({
  33. Title = "Visualise",
  34. Content = "Last updated 2024/07/09",
  35. SubContent = "", -- Optional
  36. Duration = 5 -- Set to nil to make the notification not disappear
  37. })
  38.  
  39. -- [[ Information ]] --
  40. Tabs.Info:AddParagraph({
  41. Title = "Information",
  42. Content = "The script is developed by @oxatzx on Discord."
  43. })
  44.  
  45. Tabs.Info:AddButton({
  46. Title = "Copy Discord Invite",
  47. Description = "Join our discord to be cool!",
  48. Callback = function()
  49. setclipboard("https://discord.com/invite/aTBRsrfjTa")
  50. toclipboard("https://discord.com/invite/aTBRsrfjTa")
  51. end
  52. })
  53.  
  54. -- [[ Launcher ]] --
  55. Tabs.Launch:AddButton({
  56. Title = "Launch",
  57. Description = "Launch Visualise 0.2",
  58. Callback = function()
  59. Window:Dialog({
  60. Title = "User",
  61. Content = "Are you sure?",
  62. Buttons = {
  63. {
  64. Title = "Yes",
  65. Callback = function()
  66. loadstring(game:HttpGet("https://pastebin.com/raw/j5yDenwm"))()
  67. end
  68. },
  69. {
  70. Title = "No",
  71. Callback = function()
  72. print("Cancelled the dialog.")
  73. end
  74. }
  75. }
  76. })
  77. end
  78. })
  79.  
  80. -- [[ Abilities ]] --
  81. Tabs.Ability:AddParagraph({
  82. Title = "Abilities",
  83. Content = "Soon"
  84. })
  85.  
  86. -- [[ Settings ]] --
  87. -- SaveManager (Allows you to have a configuration system)
  88. -- InterfaceManager (Allows you to have a interface managment system)
  89.  
  90. -- Hand the library over to our managers
  91. SaveManager:SetLibrary(Fluent)
  92. InterfaceManager:SetLibrary(Fluent)
  93.  
  94. -- Ignore keys that are used by ThemeManager
  95. -- You can add indexes of elements the save manager should ignore
  96. SaveManager:SetIgnoreIndexes({})
  97.  
  98. -- use case for doing it this way:
  99. -- a script hub could have themes in a global folder
  100. -- and game configs in a separate folder per game
  101. InterfaceManager:SetFolder("Visualise")
  102. SaveManager:SetFolder("Visualise/BladeBall")
  103.  
  104. InterfaceManager:BuildInterfaceSection(Tabs.Settings)
  105. SaveManager:BuildConfigSection(Tabs.Settings)
  106.  
  107.  
  108. Window:SelectTab(1)
  109.  
  110. -- You can use the SaveManager:LoadAutoloadConfig() to load a config
  111. -- which has been marked to be one that auto loads!
  112. SaveManager:LoadAutoloadConfig()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement