--fling GUI by leon4ik_653 -- Загрузка Fluent UI 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 Window = Fluent:CreateWindow({ Title = "fling system gui", SubTitle = "by leon4ik_653", TabWidth = 160, Size = UDim2.fromOffset(380, 360), Acrylic = true, Theme = "Dark", MinimizeKey = Enum.KeyCode.LeftControl }) -- Загрузка всего local Players = game:GetService("Players") local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local UserInputService = game:GetService("UserInputService") local GuiService = game:GetService("GuiService") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local root = character:WaitForChild("HumanoidRootPart") if _G.FlingSystemLoaded then return end _G.FlingSystemLoaded = true local FOLLOW_FLING_EVENT = "FollowFlingSync_"..player.UserId local syncEvent = ReplicatedStorage:FindFirstChild(FOLLOW_FLING_EVENT) or Instance.new("RemoteEvent") syncEvent.Name = FOLLOW_FLING_EVENT syncEvent.Parent = ReplicatedStorage if not RunService:IsClient() then syncEvent.OnServerEvent:Connect(function(plr, targetPlayer, action) if plr ~= player then return end local targetChar = targetPlayer.Character if targetChar then local hrp = targetChar:FindFirstChild("HumanoidRootPart") if hrp then if action == "push" then hrp.AssemblyLinearVelocity = Vector3.new( math.random(-800, 800), 1200, math.random(-800, 800) ) elseif action == "follow" then hrp.AssemblyLinearVelocity = Vector3.new(0, 50, 0) end end end end) end local isFollowing = false local currentTarget = nil local followLoop = nil local mobileIcon = Instance.new("ImageButton") mobileIcon.Name = "FlingMobileIcon" mobileIcon.Size = UDim2.new(0, 60, 0, 60) mobileIcon.Position = UDim2.new(0.9, 0, 0.8, 0) mobileIcon.AnchorPoint = Vector2.new(0.5, 0.5) mobileIcon.BackgroundColor3 = Color3.fromRGB(40, 40, 40) mobileIcon.BackgroundTransparency = 0.3 mobileIcon.Image = "rbxassetid://11372878622" mobileIcon.ScaleType = Enum.ScaleType.Fit mobileIcon.AutoButtonColor = false mobileIcon.ZIndex = 10000 local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(1, 0) corner.Parent = mobileIcon local glow = Instance.new("ImageLabel") glow.Name = "GlowEffect" glow.Size = UDim2.new(1.2, 0, 1.2, 0) glow.Position = UDim2.new(-0.1, 0, -0.1, 0) glow.BackgroundTransparency = 1 glow.Image = "rbxassetid://11502847519" glow.ImageColor3 = Color3.fromRGB(255, 100, 100) glow.ScaleType = Enum.ScaleType.Slice glow.SliceCenter = Rect.new(100, 100, 100, 100) glow.Parent = mobileIcon coroutine.wrap(function() while mobileIcon and mobileIcon.Parent do TweenService:Create(glow, TweenInfo.new(0.8), { ImageTransparency = 0.3 }):Play() TweenService:Create(mobileIcon, TweenInfo.new(0.8), { Size = UDim2.new(0, 65, 0, 65) }):Play() task.wait(0.8) TweenService:Create(glow, TweenInfo.new(0.8), { ImageTransparency = 0.7 }):Play() TweenService:Create(mobileIcon, TweenInfo.new(0.8), { Size = UDim2.new(0, 55, 0, 55) }):Play() task.wait(0.8) end end)() local screenGui = Instance.new("ScreenGui") screenGui.Name = "FlingSystemGUI" screenGui.ResetOnSpawn = false screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.Parent = playerGui mobileIcon.Parent = screenGui local function updateMobileIconPosition() local screenSize = workspace.CurrentCamera.ViewportSize if screenSize.Y > screenSize.X then mobileIcon.Position = UDim2.new(0.92, 0, 0.85, 0) else mobileIcon.Position = UDim2.new(0.95, 0, 0.9, 0) end end updateMobileIconPosition() workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(updateMobileIconPosition) local isGUIVisible = false local function toggleGUI() isGUIVisible = not isGUIVisible if Window and Window.Instance then Window.Instance.Visible = isGUIVisible end -- Анимации mobileIcon.ImageColor3 = isGUIVisible and Color3.new(1, 0.5, 0) or Color3.new(0.5, 1, 0.5) mobileIcon.Size = UDim2.new(0, 55, 0, 55) TweenService:Create(mobileIcon, TweenInfo.new(0.3), { ImageColor3 = Color3.new(1, 1, 1), Size = UDim2.new(0, 60, 0, 60) }):Play() -- месседж консоль print(isGUIVisible and "GUI показан" or "GUI скрыт") end mobileIcon.Activated:Connect(toggleGUI) local function followAndFling(targetPlayer) if not targetPlayer or targetPlayer == player then return end if isFollowing then return end local targetChar = targetPlayer.Character if not targetChar then return end local targetRoot = targetChar:FindFirstChild("HumanoidRootPart") if not targetRoot then return end isFollowing = true currentTarget = targetPlayer local originalCFrame = root.CFrame local humanoidState = humanoid:GetState() -- физика humanoid:ChangeState(Enum.HumanoidStateType.Physics) followLoop = RunService.Heartbeat:Connect(function() if not isFollowing or not targetRoot or not targetRoot.Parent then followLoop:Disconnect() return end root.CFrame = targetRoot.CFrame * CFrame.new(0, 3, 0) targetRoot.Velocity = Vector3.new( math.random(-100, 100), 150, math.random(-100, 100) ) syncEvent:FireServer(targetPlayer, "follow") -- Случайный флинг if math.random(1, 5) == 1 then syncEvent:FireServer(targetPlayer, "push") targetRoot.Velocity += Vector3.new( math.random(-300, 300), 400, math.random(-300, 300) ) end end) delay(2, function() if isFollowing then isFollowing = false if followLoop then followLoop:Disconnect() end -- Финальный флинг syncEvent:FireServer(targetPlayer, "push") targetRoot.Velocity = Vector3.new( math.random(-500, 500), 800, math.random(-500, 500) ) root.CFrame = originalCFrame humanoid:ChangeState(humanoidState) end end) return true end local searchRadius = 30 local function findTarget() for _, plr in ipairs(Players:GetPlayers()) do if plr ~= player and plr.Character then local hrp = plr.Character:FindFirstChild("HumanoidRootPart") if hrp and (hrp.Position - root.Position).Magnitude < searchRadius then return plr end end end end local function emergencyStop() isFollowing = false if followLoop then followLoop:Disconnect() end humanoid:ChangeState(Enum.HumanoidStateType.Running) if workspace:FindFirstChild("SafeSpawn") then root.CFrame = workspace.SafeSpawn.CFrame elseif workspace:FindFirstChild("Baseplate") then root.CFrame = workspace.Baseplate.CFrame + Vector3.new(0, 5, 0) end end local MainTab = Window:AddTab({Title = "Основное", Icon = "home"}) local SettingsTab = Window:AddTab({Title = "Настройки", Icon = "settings"}) local MobileTab = Window:AddTab({Title = "Мобильный режим", Icon = "smartphone"}) local FlingButton = MainTab:AddButton({ Title = "флинг", Description = "дать пизды ближайшей цели", Callback = function() local target = findTarget() if target then local success = followAndFling(target) if success then Window:Dialog({ Title = "Успешно!", Content = "Флинг применен к: "..target.Name, Buttons = { { Title = "OK", Callback = function() end } } }) end else Fluent:Notify({ Title = "долбаеб,подойди к жертве", Content = "Цель не найдена в радиусе "..searchRadius.." studs", Duration = 3 }) end end }) local AutoToggle = MainTab:AddToggle("AutoToggle", { Title = "Авто флинг", Description = "дает пиздюлей жертве каждые 2 секунды", Default = false, Callback = function(Value) if Value then coroutine.wrap(function() while AutoToggle.Value do local target = findTarget() if target then followAndFling(target) end task.wait(2) end end)() end end }) -- Мобильная вкладка MobileTab:AddParagraph({ Title = "Мобильный интерфейс", Content = "Используйте плавающую иконку для управления GUI" }) MobileTab:AddButton({ Title = "Показать/скрыть иконку", Callback = function() mobileIcon.Visible = not mobileIcon.Visible end }) MobileTab:AddSlider("IconSizeSlider", { Title = "Размер иконки", Description = "Размер твоего спасителя", Default = 60, Min = 40, Max = 100, Rounding = 0, Callback = function(Value) mobileIcon.Size = UDim2.new(0, Value, 0, Value) end }) MobileTab:AddSlider("IconTransparency", { Title = "Прозрачность", Description = "трансперенси кнопочки возле прыжка", Default = 30, Min = 0, Max = 80, Rounding = 0, Callback = function(Value) mobileIcon.BackgroundTransparency = Value/100 end }) -- Радиус поиска local RadiusSlider = SettingsTab:AddSlider("RadiusSlider", { Title = "Радиус поиска", Description = "расстояние действия стенда", Default = 30, Min = 10, Max = 120, Rounding = 0, Callback = function(Value) searchRadius = Value end }) local playerList = {} for _, plr in ipairs(Players:GetPlayers()) do if plr ~= player then table.insert(playerList, plr.Name) end end local PlayerDropdown = SettingsTab:AddDropdown("PlayerDropdown", { Title = "выбери жертву", Values = playerList, Default = "", Multi = false, Callback = function(Value) local target = Players:FindFirstChild(Value) if target then followAndFling(target) end end }) Players.PlayerAdded:Connect(function(plr) table.insert(playerList, plr.Name) PlayerDropdown:SetValues(playerList) end) Players.PlayerRemoving:Connect(function(plr) for i, name in ipairs(playerList) do if name == plr.Name then table.remove(playerList, i) break end end PlayerDropdown:SetValues(playerList) end) local HotkeyInput = SettingsTab:AddInput("HotkeyInput", { Title = "Горячая клавиша", Default = "F", Placeholder = "тапни кейкап", Numeric = false, Finished = false, Callback = function(Value) UserInputService.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode[Value:upper()] then local target = findTarget() if target then followAndFling(target) end end end) end }) SettingsTab:AddDropdown("ThemeDropdown", { Title = "цвет скритата/script colour", Values = {"Dark", "Light", "Darker", "Rose", "Amethyst"}, Default = "Dark", Multi = false, Callback = function(Value) Window:SetTheme(Value) end }) SettingsTab:AddToggle("AntiAFK", { Title = "antiIdle", Description = "хуй даст вылететь роблоксу", Default = true, Callback = function(Value) if Value then local vu = game:GetService("VirtualUser") player.Idled:Connect(function() vu:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame) task.wait(1) vu:Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame) end) end end }) UserInputService.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.F10 then emergencyStop() Fluent:Notify({ Title = "Аварийная остановка", Content = "Система флинга отключена", Duration = 3 }) end end) SaveManager:SetLibrary(Fluent) InterfaceManager:SetLibrary(Fluent) SaveManager:IgnoreThemeSettings() SaveManager:SetIgnoreIndexes({"MobileIcon"}) InterfaceManager:BuildInterfaceSection(SettingsTab) SaveManager:BuildConfigSection(SettingsTab) SaveManager:LoadAutoloadConfig() local highlight = Instance.new("Highlight") highlight.FillTransparency = 0.8 highlight.OutlineColor = Color3.new(1, 0, 0) highlight.Parent = playerGui coroutine.wrap(function() while task.wait(0.1) do highlight.Adornee = isFollowing and currentTarget and currentTarget.Character or nil end end)() Fluent:Notify({ Title = "Система флинга", Content = "Успешно загружена!", SubContent = UserInputService.TouchEnabled and "Используйте мобильную иконку" or "Используйте интерфейс для управления", Duration = 5 }) Window:SelectTab(1) Fluent:Show() player.CharacterRemoving:Connect(function() if screenGui then screenGui:Destroy() end if followLoop then followLoop:Disconnect() end _G.FlingSystemLoaded = false end) if UserInputService.TouchEnabled then Window:SetSize(UDim2.new(0.9, 0, 0.8, 0)) Window:SetPosition(UDim2.new(0.5, 0, 0.5, 0)) Window:SetAnchorPoint(Vector2.new(0.5, 0.5)) for _, tab in pairs(Window.Tabs) do for _, element in pairs(tab.Content) do if element.Instance:IsA("TextButton") then element.Instance.Size = UDim2.new(1, 0, 0, 50) end end end end task.wait(1) toggleGUI() -- Скрыть GUI при запуске