Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 = "roblox classic event" .. Fluent.Version,
- SubTitle = "script",
- TabWidth = 160,
- Size = UDim2.fromOffset(580, 460),
- Acrylic = true, -- The blur may be detectable, setting this to false disables blur entirely
- Theme = "Dark",
- MinimizeKey = Enum.KeyCode.LeftControl -- Used when theres no MinimizeKeybind
- })
- --Fluent provides Lucide Icons https://lucide.dev/icons/ for the tabs, icons are optional
- local Tabs = {
- Main = Window:AddTab({ Title = "Main", Icon = "" }),
- credit = Window:AddTab({ Title = "credit", Icon = "" }),
- }
- local Options = Fluent.Options
- do
- Fluent:Notify({
- Title = "Notification",
- Content = "This is a notification",
- SubContent = "SubContent", -- Optional
- Duration = 5 -- Set to nil to make the notification not disappear
- })
- Tabs.Main:AddButton({
- Title = " Pet Simulator 99 (Dupe) ",
- Description = "Fully Works !!",
- Callback = function()
- Window:Dialog({
- Title = "Title",
- Content = "Dupe Pets Working!",
- Buttons = {
- {
- Title = "Confirm",
- Callback = function()
- loadstring(game:HttpGet('https://raw.githubusercontent.com/tobi437a/Scripts/main/3b657ca4d279f550c069eec0.lua'))()
- end
- },
- {
- Title = "Cancel",
- Callback = function()
- print("Cancelled the dialog.")
- end
- }
- }
- })
- end
- })
- Tabs.credit:AddParagraph({
- Title = "Credit to the owner - Tora IsMe",
- Content = "subscribe to tora IsMe"
- })
- -- OnClick is only fired when you press the keybind and the mode is Toggle
- -- Otherwise, you will have to use Keybind:GetState()
- Keybind:OnClick(function()
- print("Keybind clicked:", Keybind:GetState())
- end)
- Keybind:OnChanged(function()
- print("Keybind changed:", Keybind.Value)
- end)
- task.spawn(function()
- while true do
- wait(1)
- -- example for checking if a keybind is being pressed
- local state = Keybind:GetState()
- if state then
- print("Keybind is being held down")
- end
- if Fluent.Unloaded then break end
- end
- end)
- Keybind:SetValue("MB2", "Toggle") -- Sets keybind to MB2, mode to Hold
- local Input = Tabs.Main:AddInput("Input", {
- Title = "Input",
- Default = "Default",
- Placeholder = "Placeholder",
- Numeric = false, -- Only allows numbers
- Finished = false, -- Only calls callback when you press enter
- Callback = function(Value)
- print("Input changed:", Value)
- end
- })
- Input:OnChanged(function()
- print("Input updated:", Input.Value)
- end)
- end
- -- Addons:
- -- 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.
- -- (we dont want configs to save themes, do we?)
- SaveManager:IgnoreThemeSettings()
- -- 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("FluentScriptHub")
- SaveManager:SetFolder("FluentScriptHub/specific-game")
- InterfaceManager:BuildInterfaceSection(Tabs.Settings)
- SaveManager:BuildConfigSection(Tabs.Settings)
- Window:SelectTab(1)
- Fluent:Notify({
- Title = "Fluent",
- Content = "The script has been loaded.",
- Duration = 8
- })
- -- 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