Advertisement
Bacon_Script

Untitled

May 25th, 2024
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.60 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. local Window = Fluent:CreateWindow({
  6. Title = "roblox classic event" .. Fluent.Version,
  7. SubTitle = "script",
  8. TabWidth = 160,
  9. Size = UDim2.fromOffset(580, 460),
  10. Acrylic = true, -- The blur may be detectable, setting this to false disables blur entirely
  11. Theme = "Dark",
  12. MinimizeKey = Enum.KeyCode.LeftControl -- Used when theres no MinimizeKeybind
  13. })
  14.  
  15. --Fluent provides Lucide Icons https://lucide.dev/icons/ for the tabs, icons are optional
  16. local Tabs = {
  17. Main = Window:AddTab({ Title = "Main", Icon = "" }),
  18. credit = Window:AddTab({ Title = "credit", Icon = "" }),
  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", -- Optional
  28. Duration = 5 -- Set to nil to make the notification not disappear
  29. })
  30.  
  31. Tabs.Main:AddButton({
  32. Title = " Pet Simulator 99 (Dupe) ",
  33. Description = "Fully Works !!",
  34. Callback = function()
  35. Window:Dialog({
  36. Title = "Title",
  37. Content = "Dupe Pets Working!",
  38. Buttons = {
  39. {
  40. Title = "Confirm",
  41. Callback = function()
  42. loadstring(game:HttpGet('https://raw.githubusercontent.com/tobi437a/Scripts/main/3b657ca4d279f550c069eec0.lua'))()
  43. end
  44. },
  45. {
  46. Title = "Cancel",
  47. Callback = function()
  48. print("Cancelled the dialog.")
  49. end
  50. }
  51. }
  52. })
  53. end
  54. })
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Tabs.credit:AddParagraph({
  61. Title = "Credit to the owner - Tora IsMe",
  62. Content = "subscribe to tora IsMe"
  63. })
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. -- OnClick is only fired when you press the keybind and the mode is Toggle
  73. -- Otherwise, you will have to use Keybind:GetState()
  74. Keybind:OnClick(function()
  75. print("Keybind clicked:", Keybind:GetState())
  76. end)
  77.  
  78. Keybind:OnChanged(function()
  79. print("Keybind changed:", Keybind.Value)
  80. end)
  81.  
  82. task.spawn(function()
  83. while true do
  84. wait(1)
  85.  
  86. -- example for checking if a keybind is being pressed
  87. local state = Keybind:GetState()
  88. if state then
  89. print("Keybind is being held down")
  90. end
  91.  
  92. if Fluent.Unloaded then break end
  93. end
  94. end)
  95.  
  96. Keybind:SetValue("MB2", "Toggle") -- Sets keybind to MB2, mode to Hold
  97.  
  98.  
  99. local Input = Tabs.Main:AddInput("Input", {
  100. Title = "Input",
  101. Default = "Default",
  102. Placeholder = "Placeholder",
  103. Numeric = false, -- Only allows numbers
  104. Finished = false, -- Only calls callback when you press enter
  105. Callback = function(Value)
  106. print("Input changed:", Value)
  107. end
  108. })
  109.  
  110. Input:OnChanged(function()
  111. print("Input updated:", Input.Value)
  112. end)
  113. end
  114.  
  115.  
  116. -- Addons:
  117. -- SaveManager (Allows you to have a configuration system)
  118. -- InterfaceManager (Allows you to have a interface managment system)
  119.  
  120. -- Hand the library over to our managers
  121. SaveManager:SetLibrary(Fluent)
  122. InterfaceManager:SetLibrary(Fluent)
  123.  
  124. -- Ignore keys that are used by ThemeManager.
  125. -- (we dont want configs to save themes, do we?)
  126. SaveManager:IgnoreThemeSettings()
  127.  
  128. -- You can add indexes of elements the save manager should ignore
  129. SaveManager:SetIgnoreIndexes({})
  130.  
  131. -- use case for doing it this way:
  132. -- a script hub could have themes in a global folder
  133. -- and game configs in a separate folder per game
  134. InterfaceManager:SetFolder("FluentScriptHub")
  135. SaveManager:SetFolder("FluentScriptHub/specific-game")
  136.  
  137. InterfaceManager:BuildInterfaceSection(Tabs.Settings)
  138. SaveManager:BuildConfigSection(Tabs.Settings)
  139.  
  140.  
  141. Window:SelectTab(1)
  142.  
  143. Fluent:Notify({
  144. Title = "Fluent",
  145. Content = "The script has been loaded.",
  146. Duration = 8
  147. })
  148.  
  149. -- You can use the SaveManager:LoadAutoloadConfig() to load a config
  150. -- which has been marked to be one that auto loads!
  151. SaveManager:LoadAutoloadConfig()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement