local Players = game:GetService("Players") local RunService = game:GetService("RunService") local CoreGui = game:GetService("CoreGui") local TweenService = game:GetService("TweenService") local LocalPlayer = Players.LocalPlayer local Camera = game.Workspace.CurrentCamera if CoreGui:FindFirstChild("TrollFlingGUI") then CoreGui.TrollFlingGUI:Destroy() end local ScreenGui = Instance.new("ScreenGui", CoreGui) ScreenGui.Name = "TrollFlingGUI" local MainFrame = Instance.new("Frame", ScreenGui) MainFrame.Size = UDim2.new(0, 450, 0, 250) MainFrame.Position = UDim2.new(0.5, -225, 0.5, -125) MainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true local TrollFace = Instance.new("ImageLabel", MainFrame) TrollFace.Size = UDim2.new(1, 0, 1, 0) TrollFace.BackgroundTransparency = 1 TrollFace.Image = "rbxassetid://6684187771" TrollFace.ZIndex = 1 local TargetInput = Instance.new("TextBox", MainFrame) TargetInput.Size = UDim2.new(0, 400, 0, 50) TargetInput.Position = UDim2.new(0.5, -200, 0, 30) TargetInput.BackgroundColor3 = Color3.fromRGB(30, 30, 30) TargetInput.TextColor3 = Color3.new(1, 1, 1) TargetInput.PlaceholderText = "Введите ник игрока..." TargetInput.Text = "" TargetInput.TextSize = 20 TargetInput.ZIndex = 2 local FlingBtn = Instance.new("TextButton", MainFrame) FlingBtn.Size = UDim2.new(0, 400, 0, 60) FlingBtn.Position = UDim2.new(0.5, -200, 0, 120) FlingBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) FlingBtn.Text = "START FLING" FlingBtn.TextColor3 = Color3.new(1, 1, 1) FlingBtn.TextSize = 24 FlingBtn.ZIndex = 2 local CreditsLabel = Instance.new("TextLabel", MainFrame) CreditsLabel.Size = UDim2.new(0, 400, 0, 30) CreditsLabel.Position = UDim2.new(0.5, -200, 0, 190) CreditsLabel.BackgroundTransparency = 1 CreditsLabel.Text = "by:@JABA" CreditsLabel.TextColor3 = Color3.fromRGB(150, 150, 150) CreditsLabel.TextSize = 16 CreditsLabel.Font = Enum.Font.Gotham CreditsLabel.ZIndex = 2 local isFlinging = false local currentTarget = nil local originalPos = nil local function stopEverything() isFlinging = false currentTarget = nil if originalPos and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then local hrp = LocalPlayer.Character.HumanoidRootPart local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out) local tween = TweenService:Create(hrp, tweenInfo, {CFrame = originalPos}) tween:Play() end Camera.CameraSubject = LocalPlayer.Character:FindFirstChild("Humanoid") FlingBtn.Text = "START FLING" FlingBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) end FlingBtn.MouseButton1Click:Connect(function() if not isFlinging then local name = string.lower(TargetInput.Text) local foundPlayer = nil for _, p in pairs(Players:GetPlayers()) do if string.find(string.lower(p.Name), name) or string.find(string.lower(p.DisplayName), name) then foundPlayer = p break end end if foundPlayer and foundPlayer.Character then currentTarget = foundPlayer originalPos = LocalPlayer.Character.HumanoidRootPart.CFrame isFlinging = true FlingBtn.Text = "STOP" FlingBtn.BackgroundColor3 = Color3.fromRGB(150, 0, 0) else TargetInput.Text = "Игрок не найден!" task.wait(1) TargetInput.Text = "" end else stopEverything() end end) RunService.Heartbeat:Connect(function() if isFlinging then if not currentTarget or not currentTarget.Character or not currentTarget.Character:FindFirstChild("Humanoid") or currentTarget.Character.Humanoid.Health <= 0 then stopEverything() return end local myHRP = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") local targetHRP = currentTarget.Character:FindFirstChild("HumanoidRootPart") if myHRP and targetHRP then Camera.CameraSubject = currentTarget.Character.Humanoid for _, p in pairs(LocalPlayer.Character:GetDescendants()) do if p:IsA("BasePart") then p.CanCollide = false end end local power = 1.1 local velocity = targetHRP.Velocity * Vector3.new(1, 0, 1) local predictionDistance = (velocity.Magnitude > 1) and (12 * power) or 0 local moveVector = (velocity.Magnitude > 0.1) and velocity.Unit or targetHRP.CFrame.LookVector local predictedPos = targetHRP.CFrame + (moveVector * predictionDistance) local timeTick = tick() local reachRadius = (2 + (currentTarget.Character.Humanoid.WalkSpeed / 16)) * power local isJumping = (currentTarget.Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall) local offsetCFrame = isJumping and CFrame.new(math.cos(timeTick*44)*2.2, math.sin(timeTick*38.5)*reachRadius-1.5, math.sin(timeTick*44)*2.2) or CFrame.new(math.cos(timeTick*33)*reachRadius, 0, math.sin(timeTick*33)*reachRadius) myHRP.CFrame = predictedPos * offsetCFrame myHRP.Velocity = Vector3.new(220000, 220000, 220000) myHRP.RotVelocity = Vector3.new(220000, 220000, 220000) end end end)