Advertisement
Bacon_Script

Untitled

May 25th, 2024
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.36 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 = 100,
  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/Adopt-Me-Scripts/AdoptmeScript/main/AdoptmeScript/RJDIPUU-adopt-me.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. Tabs.Main:AddButton({
  57. Title = " Pet Simulator 99 (Dupe) ",
  58. Description = "Fully Works !!",
  59. Callback = function()
  60. Window:Dialog({
  61. Title = "Title",
  62. Content = "Dupe Pets Working!",
  63. Buttons = {
  64. {
  65. Title = "Confirm",
  66. Callback = function()
  67.  
  68. end
  69. },
  70. {
  71. Title = "Cancel",
  72. Callback = function()
  73. print("Cancelled the dialog.")
  74. end
  75. }
  76. }
  77. })
  78. end
  79. })
  80.  
  81.  
  82.  
  83.  
  84.  
  85. Tabs.credit:AddParagraph({
  86. Title = "Credit to the owner - Tora IsMe",
  87. Content = "subscribe to tora IsMe"
  88. })
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97. -- OnClick is only fired when you press the keybind and the mode is Toggle
  98. -- Otherwise, you will have to use Keybind:GetState()
  99. Keybind:OnClick(function()
  100. print("Keybind clicked:", Keybind:GetState())
  101. end)
  102.  
  103. Keybind:OnChanged(function()
  104. print("Keybind changed:", Keybind.Value)
  105. end)
  106.  
  107. task.spawn(function()
  108. while true do
  109. wait(1)
  110.  
  111. -- example for checking if a keybind is being pressed
  112. local state = Keybind:GetState()
  113. if state then
  114. print("Keybind is being held down")
  115. end
  116.  
  117. if Fluent.Unloaded then break end
  118. end
  119. end)
  120.  
  121. Keybind:SetValue("MB2", "Toggle") -- Sets keybind to MB2, mode to Hold
  122.  
  123.  
  124. local Input = Tabs.Main:AddInput("Input", {
  125. Title = "Input",
  126. Default = "Default",
  127. Placeholder = "Placeholder",
  128. Numeric = false, -- Only allows numbers
  129. Finished = false, -- Only calls callback when you press enter
  130. Callback = function(Value)
  131. print("Input changed:", Value)
  132. end
  133. })
  134.  
  135. Input:OnChanged(function()
  136. print("Input updated:", Input.Value)
  137. end)
  138. end
  139.  
  140.  
  141. -- Addons:
  142. -- SaveManager (Allows you to have a configuration system)
  143. -- InterfaceManager (Allows you to have a interface managment system)
  144.  
  145. -- Hand the library over to our managers
  146. SaveManager:SetLibrary(Fluent)
  147. InterfaceManager:SetLibrary(Fluent)
  148.  
  149. -- Ignore keys that are used by ThemeManager.
  150. -- (we dont want configs to save themes, do we?)
  151. SaveManager:IgnoreThemeSettings()
  152.  
  153. -- You can add indexes of elements the save manager should ignore
  154. SaveManager:SetIgnoreIndexes({})
  155.  
  156. -- use case for doing it this way:
  157. -- a script hub could have themes in a global folder
  158. -- and game configs in a separate folder per game
  159. InterfaceManager:SetFolder("FluentScriptHub")
  160. SaveManager:SetFolder("FluentScriptHub/specific-game")
  161.  
  162. InterfaceManager:BuildInterfaceSection(Tabs.Settings)
  163. SaveManager:BuildConfigSection(Tabs.Settings)
  164.  
  165.  
  166. Window:SelectTab(1)
  167.  
  168. Fluent:Notify({
  169. Title = "Fluent",
  170. Content = "The script has been loaded.",
  171. Duration = 8
  172. })
  173.  
  174. -- You can use the SaveManager:LoadAutoloadConfig() to load a config
  175. -- which has been marked to be one that auto loads!
  176. SaveManager:LoadAutoloadConfig()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement