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 TweenService = game:GetService("TweenService")
- local Window = Fluent:CreateWindow({
- Title = "Fluent " .. Fluent.Version,
- SubTitle = "by dawid",
- TabWidth = 160,
- Size = UDim2.fromOffset(580, 460),
- Acrylic = true,
- Theme = "Dark",
- MinimizeKey = Enum.KeyCode.LeftControl
- })
- local Tabs = {
- Main = Window:AddTab({ Title = "Main", Icon = "" }),
- Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
- }
- local Options = Fluent.Options
- -- Função para mapear o valor do slider para a duração do tween
- local function mapSliderValueToTweenDuration(value)
- -- Mapeia o valor do slider de 10-100 para uma duração de tween de 50-5 segundos
- return 50 - ((value - 10) / 90) * 45
- end
- local function teleportToTitan(titan)
- local player = game.Players.LocalPlayer
- local character = player.Character
- if not character or not character.PrimaryPart then return end
- local hitbox = titan:FindFirstChild("Hitboxes")
- if hitbox then
- local hit = hitbox:FindFirstChild("Hit")
- if hit then
- local nape = hit:FindFirstChild("Nape")
- if nape and nape:IsA("BasePart") then
- local duration = mapSliderValueToTweenDuration(Options.TeleportSpeed.Value)
- local tweenInfo = TweenInfo.new(
- duration,
- Enum.EasingStyle.Linear,
- Enum.EasingDirection.InOut
- )
- local goal = { CFrame = nape.CFrame }
- local tween = TweenService:Create(character.PrimaryPart, tweenInfo, goal)
- tween:Play()
- tween.Completed:Wait()
- end
- end
- end
- end
- local function teleportToTitans()
- while Options.MyToggle.Value do
- local titans = workspace.Titans:GetChildren()
- if #titans > 0 then
- local randomTitan = titans[math.random(1, #titans)]
- teleportToTitan(randomTitan)
- end
- wait(1) -- Adjust the delay between teleports
- end
- end
- local Toggle = Tabs.Main:AddToggle("MyToggle", { Title = "Toggle", Default = false })
- Toggle:OnChanged(function()
- print("Toggle changed:", Options.MyToggle.Value)
- if Options.MyToggle.Value then
- task.spawn(teleportToTitans)
- end
- end)
- Tabs.Main:AddButton({
- Title = "Auto Escape and Blade",
- Description = "Very important button",
- Callback = function()
- local VIM = game:GetService("VirtualInputManager")
- getgenv().autoescape = true
- while task.wait(0.3) do
- if not getgenv().autoescape then return end
- for i, v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Interface.Buttons:GetChildren()) do
- if v ~= nil then
- VIM:SendKeyEvent(true, string.sub(tostring(v), 1, 1), false, game)
- end
- end
- end
- getgenv().autor = true
- while task.wait() do
- if not getgenv().autor then return end
- for i, v in pairs(game.Players.LocalPlayer.Character["Rig_" .. game.Players.LocalPlayer.Name]:GetChildren()) do
- if v.Name == "RightHand" or v.Name == "LeftHand" then
- for i2, v2 in pairs(v:GetChildren()) do
- if v2.Name == "Blade_1" then
- if v2:GetAttribute("Broken") ~= nil and v2:GetAttribute("Broken") == true then
- keypress(0x52)
- end
- end
- end
- end
- end
- end
- end
- })
- Options.MyToggle:SetValue(false)
- local TeleportSpeedSlider = Tabs.Main:AddSlider("TeleportSpeed", {
- Title = "Teleport Speed",
- Description = "Adjust the speed of the teleport tween.",
- Default = 30,
- Min = 10,
- Max = 100,
- Rounding = 10,
- Callback = function(Value)
- print("Teleport speed changed:", Value)
- end
- })
- TeleportSpeedSlider:SetValue(10)
- SaveManager:SetLibrary(Fluent)
- InterfaceManager:SetLibrary(Fluent)
- SaveManager:IgnoreThemeSettings()
- SaveManager:SetIgnoreIndexes({})
- 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
- })
- SaveManager:LoadAutoloadConfig()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement