Advertisement
1zxyuuki

aot revolution

May 25th, 2024 (edited)
929
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 1
  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 TweenService = game:GetService("TweenService")
  6.  
  7. local Window = Fluent:CreateWindow({
  8. Title = "Fluent " .. Fluent.Version,
  9. SubTitle = "by dawid",
  10. TabWidth = 160,
  11. Size = UDim2.fromOffset(580, 460),
  12. Acrylic = true,
  13. Theme = "Dark",
  14. MinimizeKey = Enum.KeyCode.LeftControl
  15. })
  16.  
  17. local Tabs = {
  18. Main = Window:AddTab({ Title = "Main", Icon = "" }),
  19. Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
  20. }
  21.  
  22. local Options = Fluent.Options
  23.  
  24. -- Função para mapear o valor do slider para a duração do tween
  25. local function mapSliderValueToTweenDuration(value)
  26. -- Mapeia o valor do slider de 10-100 para uma duração de tween de 50-5 segundos
  27. return 50 - ((value - 10) / 90) * 45
  28. end
  29.  
  30. local function teleportToTitan(titan)
  31. local player = game.Players.LocalPlayer
  32. local character = player.Character
  33. if not character or not character.PrimaryPart then return end
  34.  
  35. local hitbox = titan:FindFirstChild("Hitboxes")
  36. if hitbox then
  37. local hit = hitbox:FindFirstChild("Hit")
  38. if hit then
  39. local nape = hit:FindFirstChild("Nape")
  40. if nape and nape:IsA("BasePart") then
  41. local duration = mapSliderValueToTweenDuration(Options.TeleportSpeed.Value)
  42. local tweenInfo = TweenInfo.new(
  43. duration,
  44. Enum.EasingStyle.Linear,
  45. Enum.EasingDirection.InOut
  46. )
  47.  
  48. local goal = { CFrame = nape.CFrame }
  49. local tween = TweenService:Create(character.PrimaryPart, tweenInfo, goal)
  50. tween:Play()
  51. tween.Completed:Wait()
  52. end
  53. end
  54. end
  55. end
  56.  
  57. local function teleportToTitans()
  58. while Options.MyToggle.Value do
  59. local titans = workspace.Titans:GetChildren()
  60. if #titans > 0 then
  61. local randomTitan = titans[math.random(1, #titans)]
  62. teleportToTitan(randomTitan)
  63. end
  64. wait(1) -- Adjust the delay between teleports
  65. end
  66. end
  67.  
  68. local Toggle = Tabs.Main:AddToggle("MyToggle", { Title = "Toggle", Default = false })
  69.  
  70. Toggle:OnChanged(function()
  71. print("Toggle changed:", Options.MyToggle.Value)
  72. if Options.MyToggle.Value then
  73. task.spawn(teleportToTitans)
  74. end
  75. end)
  76.  
  77. Tabs.Main:AddButton({
  78. Title = "Auto Escape and Blade",
  79. Description = "Very important button",
  80. Callback = function()
  81. local VIM = game:GetService("VirtualInputManager")
  82. getgenv().autoescape = true
  83. while task.wait(0.3) do
  84. if not getgenv().autoescape then return end
  85. for i, v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Interface.Buttons:GetChildren()) do
  86. if v ~= nil then
  87. VIM:SendKeyEvent(true, string.sub(tostring(v), 1, 1), false, game)
  88. end
  89. end
  90. end
  91.  
  92. getgenv().autor = true
  93. while task.wait() do
  94. if not getgenv().autor then return end
  95. for i, v in pairs(game.Players.LocalPlayer.Character["Rig_" .. game.Players.LocalPlayer.Name]:GetChildren()) do
  96. if v.Name == "RightHand" or v.Name == "LeftHand" then
  97. for i2, v2 in pairs(v:GetChildren()) do
  98. if v2.Name == "Blade_1" then
  99. if v2:GetAttribute("Broken") ~= nil and v2:GetAttribute("Broken") == true then
  100. keypress(0x52)
  101. end
  102. end
  103. end
  104. end
  105. end
  106. end
  107. end
  108. })
  109.  
  110. Options.MyToggle:SetValue(false)
  111.  
  112. local TeleportSpeedSlider = Tabs.Main:AddSlider("TeleportSpeed", {
  113. Title = "Teleport Speed",
  114. Description = "Adjust the speed of the teleport tween.",
  115. Default = 30,
  116. Min = 10,
  117. Max = 100,
  118. Rounding = 10,
  119. Callback = function(Value)
  120. print("Teleport speed changed:", Value)
  121. end
  122. })
  123.  
  124. TeleportSpeedSlider:SetValue(10)
  125.  
  126. SaveManager:SetLibrary(Fluent)
  127. InterfaceManager:SetLibrary(Fluent)
  128. SaveManager:IgnoreThemeSettings()
  129. SaveManager:SetIgnoreIndexes({})
  130. InterfaceManager:SetFolder("FluentScriptHub")
  131. SaveManager:SetFolder("FluentScriptHub/specific-game")
  132. InterfaceManager:BuildInterfaceSection(Tabs.Settings)
  133. SaveManager:BuildConfigSection(Tabs.Settings)
  134. Window:SelectTab(1)
  135.  
  136. Fluent:Notify({
  137. Title = "Fluent",
  138. Content = "The script has been loaded.",
  139. Duration = 8
  140. })
  141.  
  142. SaveManager:LoadAutoloadConfig()
  143.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement