Advertisement
giorgichaduneli

Untitled

Mar 30th, 2024
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 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 = "Test Script",
  7. SubTitle = "by bosterdrone",
  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. Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
  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:AddParagraph({
  32. Title = "About",
  33. Content = "This is a private script you have acess to it because you are a tester"
  34. })
  35.  
  36. Tabs.Main:AddButton({
  37. Title = "manual spam",
  38. Description = "Very important button",
  39. Callback = function()
  40. Window:Dialog({
  41. Title = "Title",
  42. Content = "This is a dialog",
  43. Buttons = {
  44. {
  45. Title = "Confirm",
  46. Callback = function()
  47. local gui = Instance.new("ScreenGui", game.CoreGui)
  48. local frame = Instance.new("Frame")
  49. local button = Instance.new("TextButton")
  50.  
  51. gui.ResetOnSpawn = false
  52. frame.Size = UDim2.new(0, 150, 0, 75)
  53. frame.Position = UDim2.new(0, 10, 0, 10)
  54. frame.BackgroundColor3 = Color3.new(0, 0, 0)
  55. frame.BorderSizePixel = 0
  56. frame.Active = true
  57. frame.Draggable = true
  58. frame.Parent = gui
  59.  
  60. button.Text = "Off"
  61. button.Size = UDim2.new(1, -20, 1, -20)
  62. button.Position = UDim2.new(0, 10, 0, 10)
  63. button.BackgroundColor3 = Color3.new(0, 0, 0)
  64. button.BorderColor3 = Color3.new()
  65. button.BorderSizePixel = 2
  66. button.Font = Enum.Font.SourceSans
  67. button.TextColor3 = Color3.new(1, 1, 1)
  68. button.TextSize = 16
  69. button.Parent = frame
  70.  
  71. local activated = false
  72.  
  73. local function toggle()
  74. activated = not activated
  75. button.Text = activated and "On" or "Off"
  76. while activated do
  77. local args = {math.huge, CFrame.new(math.huge, math.huge, math.huge) * CFrame.Angles(math.huge, math.huge, math.huge), {[tostring(math.huge)] = Vector3.new(math.huge, math.huge, math.huge)}, {math.huge, math.huge}}
  78. game:GetService("ReplicatedStorage").Remotes.ParryAttempt:FireServer(unpack(args))
  79. game:GetService("RunService").Heartbeat:Wait()
  80. end
  81. end
  82.  
  83. button.MouseButton1Click:Connect(function()
  84. toggle()
  85. end)
  86. end
  87. },
  88. {
  89. Title = "Cancel",
  90. Callback = function()
  91. print("Cancelled the dialog.")
  92. end
  93. }
  94. }
  95. })
  96. end
  97. })
  98. end
  99.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement