local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local character, humanoid, rootPart local function bindCharacter(char) character = char humanoid = char:WaitForChild("Humanoid") rootPart = char:WaitForChild("HumanoidRootPart") end bindCharacter(player.Character or player.CharacterAdded:Wait()) player.CharacterAdded:Connect(bindCharacter) local screenGui = Instance.new("ScreenGui") screenGui.Name = "FlingGUI" screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui") local flingFrame = Instance.new("Frame") flingFrame.Size = UDim2.new(0, 240, 0, 180) flingFrame.Position = UDim2.new(0.5, -120, 0.5, -90) flingFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 40) flingFrame.BorderSizePixel = 0 flingFrame.Parent = screenGui Instance.new("UICorner", flingFrame).CornerRadius = UDim.new(0, 10) local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1, 0, 0, 32) titleBar.BackgroundColor3 = Color3.fromRGB(50, 50, 55) titleBar.BorderSizePixel = 0 titleBar.Parent = flingFrame Instance.new("UICorner", titleBar).CornerRadius = UDim.new(0, 10) local titleFix = Instance.new("Frame") titleFix.Size = UDim2.new(1, 0, 0, 10) titleFix.Position = UDim2.new(0, 0, 1, -10) titleFix.BackgroundColor3 = titleBar.BackgroundColor3 titleFix.BorderSizePixel = 0 titleFix.Parent = titleBar local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -90, 1, 0) title.Position = UDim2.new(0, 10, 0, 0) title.BackgroundTransparency = 1 title.Text = "💥 Fling Tool" title.TextColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.GothamBold title.TextSize = 14 title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = titleBar local minimizeBtn = Instance.new("TextButton") minimizeBtn.Size = UDim2.new(0, 26, 0, 26) minimizeBtn.Position = UDim2.new(1, -60, 0, 3) minimizeBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 75) minimizeBtn.Text = "—" minimizeBtn.TextColor3 = Color3.new(1, 1, 1) minimizeBtn.Font = Enum.Font.GothamBold minimizeBtn.TextSize = 16 minimizeBtn.Parent = titleBar Instance.new("UICorner", minimizeBtn).CornerRadius = UDim.new(0, 6) local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 26, 0, 26) closeBtn.Position = UDim2.new(1, -30, 0, 3) closeBtn.BackgroundColor3 = Color3.fromRGB(180, 60, 60) closeBtn.Text = "✕" closeBtn.TextColor3 = Color3.new(1, 1, 1) closeBtn.Font = Enum.Font.GothamBold closeBtn.TextSize = 16 closeBtn.Parent = titleBar Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(0, 6) local contentFrame = Instance.new("Frame") contentFrame.Size = UDim2.new(1, 0, 1, -32) contentFrame.Position = UDim2.new(0, 0, 0, 32) contentFrame.BackgroundTransparency = 1 contentFrame.Parent = flingFrame local function makeInput(y, labelText, default) local container = Instance.new("Frame") container.Size = UDim2.new(0.9, 0, 0, 28) container.Position = UDim2.new(0.05, 0, 0, y) container.BackgroundColor3 = Color3.fromRGB(50, 50, 55) container.BorderSizePixel = 0 container.Parent = contentFrame Instance.new("UICorner", container).CornerRadius = UDim.new(0, 6) local label = Instance.new("TextLabel") label.Size = UDim2.new(0, 50, 1, 0) label.BackgroundTransparency = 1 label.Text = labelText label.TextColor3 = Color3.fromRGB(100, 200, 150) label.Font = Enum.Font.GothamBold label.TextSize = 14 label.Parent = container local box = Instance.new("TextBox") box.Size = UDim2.new(1, -55, 1, -4) box.Position = UDim2.new(0, 50, 0, 2) box.BackgroundTransparency = 1 box.Text = default box.ClearTextOnFocus = false box.TextColor3 = Color3.new(1, 1, 1) box.Font = Enum.Font.Code box.TextSize = 14 box.Parent = container return box end local powerBox = makeInput(5, "Power", "50") local timerBox = makeInput(38, "Timer", "0.5") local button = Instance.new("TextButton") button.Size = UDim2.new(0.9, 0, 0, 40) button.Position = UDim2.new(0.05, 0, 0, 75) button.BackgroundColor3 = Color3.fromRGB(0, 180, 130) button.Text = "Fling Me!" button.TextColor3 = Color3.new(1, 1, 1) button.Font = Enum.Font.GothamBold button.TextSize = 14 button.Parent = contentFrame Instance.new("UICorner", button).CornerRadius = UDim.new(0, 8) local dragging, dragStart, startPos = false titleBar.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = i.Position startPos = flingFrame.Position end end) titleBar.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) UserInputService.InputChanged:Connect(function(i) if dragging and i.UserInputType == Enum.UserInputType.MouseMovement then local delta = i.Position - dragStart flingFrame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) local minimized = false minimizeBtn.MouseButton1Click:Connect(function() minimized = not minimized contentFrame.Visible = not minimized flingFrame.Size = minimized and UDim2.new(0, 240, 0, 32) or UDim2.new(0, 240, 0, 180) minimizeBtn.Text = minimized and "+" or "—" end) closeBtn.MouseButton1Click:Connect(function() screenGui:Destroy() end) local function fling() if not (character and humanoid and rootPart) then return end local power = tonumber(powerBox.Text) or 50 local duration = tonumber(timerBox.Text) or 0.5 humanoid.PlatformStand = true local bv = Instance.new("BodyVelocity") bv.Velocity = rootPart.CFrame.LookVector * power + Vector3.new(0, 30, 0) bv.MaxForce = Vector3.new(1e6, 1e6, 1e6) bv.Parent = rootPart local bav = Instance.new("BodyAngularVelocity") bav.AngularVelocity = Vector3.new(0, 20, 0) bav.MaxTorque = Vector3.new(1e6, 1e6, 1e6) bav.Parent = rootPart task.wait(duration) humanoid.PlatformStand = false bv:Destroy() bav:Destroy() end button.MouseButton1Click:Connect(fling)