Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- [[ Fluent ]] --
- local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
- local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
- local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
- local Window = Fluent:CreateWindow({
- Title = "0.2 | Visualise Launcher BETA",
- SubTitle = "By DevOxy",
- TabWidth = 160,
- Size = UDim2.fromOffset(580, 460),
- Acrylic = false, -- The blur may be detectable, setting this to false disables blur entirely
- Theme = "Dark",
- MinimizeKey = Enum.KeyCode.LeftControl -- Used when theres no MinimizeKeybind
- })
- -- [[ Tabs ]] --
- local Tabs = {
- Info = Window:AddTab({ Title = "Info", Icon = "info" }),
- Launch = Window:AddTab({ Title = "Launcher", Icon = "rocket" }),
- Ability = Window:AddTab({ Title = "Abilities", Icon = "gem" }),
- Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
- }
- -- [[ Notifs ]] --
- Fluent:Notify({
- Title = "Visualise Launcher",
- Content = "Visualise is ready to be Launched!",
- SubContent = "", -- Optional
- Duration = 5 -- Set to nil to make the notification not disappear
- })
- Fluent:Notify({
- Title = "Visualise",
- Content = "Last updated 2024/07/09",
- SubContent = "", -- Optional
- Duration = 5 -- Set to nil to make the notification not disappear
- })
- -- [[ Information ]] --
- Tabs.Info:AddParagraph({
- Title = "Information",
- Content = "The script is developed by @oxatzx on Discord."
- })
- Tabs.Info:AddButton({
- Title = "Copy Discord Invite",
- Description = "Join our discord to be cool!",
- Callback = function()
- setclipboard("https://discord.com/invite/aTBRsrfjTa")
- toclipboard("https://discord.com/invite/aTBRsrfjTa")
- end
- })
- -- [[ Launcher ]] --
- Tabs.Launch:AddButton({
- Title = "Launch",
- Description = "Launch Visualise 0.2",
- Callback = function()
- Window:Dialog({
- Title = "User",
- Content = "Are you sure?",
- Buttons = {
- {
- Title = "Yes",
- Callback = function()
- loadstring(game:HttpGet("https://pastebin.com/raw/j5yDenwm"))()
- end
- },
- {
- Title = "No",
- Callback = function()
- print("Cancelled the dialog.")
- end
- }
- }
- })
- end
- })
- -- [[ Abilities ]] --
- Tabs.Ability:AddParagraph({
- Title = "Abilities",
- Content = "Soon"
- })
- -- [[ Settings ]] --
- -- SaveManager (Allows you to have a configuration system)
- -- InterfaceManager (Allows you to have a interface managment system)
- -- Hand the library over to our managers
- SaveManager:SetLibrary(Fluent)
- InterfaceManager:SetLibrary(Fluent)
- -- Ignore keys that are used by ThemeManager
- -- You can add indexes of elements the save manager should ignore
- SaveManager:SetIgnoreIndexes({})
- -- use case for doing it this way:
- -- a script hub could have themes in a global folder
- -- and game configs in a separate folder per game
- InterfaceManager:SetFolder("Visualise")
- SaveManager:SetFolder("Visualise/BladeBall")
- InterfaceManager:BuildInterfaceSection(Tabs.Settings)
- SaveManager:BuildConfigSection(Tabs.Settings)
- Window:SelectTab(1)
- -- You can use the SaveManager:LoadAutoloadConfig() to load a config
- -- which has been marked to be one that auto loads!
- SaveManager:LoadAutoloadConfig()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement