local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local oldGui = playerGui:FindFirstChild("TossStunSimple") if oldGui then oldGui:Destroy() end local gui = Instance.new("ScreenGui") gui.Name = "TossStunSimple" gui.ResetOnSpawn = false gui.Parent = playerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 176, 0, 118) frame.Position = UDim2.new(0.5, -88, 0.5, -59) frame.BackgroundColor3 = Color3.fromRGB(22, 22, 30) frame.BorderSizePixel = 0 frame.Parent = gui local frameCorner = Instance.new("UICorner") frameCorner.CornerRadius = UDim.new(0, 10) frameCorner.Parent = frame local frameStroke = Instance.new("UIStroke") frameStroke.Color = Color3.fromRGB(110, 90, 245) frameStroke.Thickness = 1.5 frameStroke.Parent = frame -- Drag Bar local dragBar = Instance.new("Frame") dragBar.Size = UDim2.new(1, 0, 0, 24) dragBar.BackgroundColor3 = Color3.fromRGB(32, 32, 44) dragBar.BorderSizePixel = 0 dragBar.Parent = frame local dragCorner = Instance.new("UICorner") dragCorner.CornerRadius = UDim.new(0, 10) dragCorner.Parent = dragBar local dragFill = Instance.new("Frame") dragFill.Size = UDim2.new(1, 0, 0, 10) dragFill.Position = UDim2.new(0, 0, 1, -10) dragFill.BackgroundColor3 = Color3.fromRGB(32, 32, 44) dragFill.BorderSizePixel = 0 dragFill.Parent = dragBar local dragTitle = Instance.new("TextLabel") dragTitle.Size = UDim2.new(1, -14, 1, 0) dragTitle.Position = UDim2.new(0, 10, 0, 0) dragTitle.BackgroundTransparency = 1 dragTitle.Text = ":: TOSS STUN ::" dragTitle.TextColor3 = Color3.fromRGB(215, 215, 235) dragTitle.Font = Enum.Font.GothamBold dragTitle.TextSize = 11 dragTitle.TextXAlignment = Enum.TextXAlignment.Left dragTitle.Parent = dragBar -- Smooth Dragging (Mouse + Touch) local dragging = false local dragStart = nil local startPos = nil dragBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position end end) UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - dragStart frame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) -- Toss Button local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -16, 0, 38) btn.Position = UDim2.new(0, 8, 0, 30) btn.BackgroundColor3 = Color3.fromRGB(92, 72, 230) btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.Font = Enum.Font.GothamBold btn.TextSize = 16 btn.Text = "Toss Stun" btn.Parent = frame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 7) btnCorner.Parent = btn -- Power Box local box = Instance.new("TextBox") box.Size = UDim2.new(1, -16, 0, 32) box.Position = UDim2.new(0, 8, 0, 76) box.BackgroundColor3 = Color3.fromRGB(38, 38, 52) box.TextColor3 = Color3.fromRGB(255, 255, 255) box.Font = Enum.Font.GothamBold box.TextSize = 16 box.Text = "65" box.ClearTextOnFocus = false box.Parent = frame local boxCorner = Instance.new("UICorner") boxCorner.CornerRadius = UDim.new(0, 7) boxCorner.Parent = box local busy = false local function setAnimsDisabled(hum, disabled) local animator = hum:FindFirstChildOfClass("Animator") if not animator then return end if disabled then for _, track in ipairs(animator:GetPlayingAnimationTracks()) do track:Stop(0.05) end end local animateScript = hum.Parent and hum.Parent:FindFirstChild("Animate") if animateScript and animateScript:IsA("LocalScript") then animateScript.Disabled = disabled end end btn.Activated:Connect(function() if busy then return end local char = player.Character local cam = workspace.CurrentCamera local hum = char and char:FindFirstChildOfClass("Humanoid") local hrp = char and char:FindFirstChild("HumanoidRootPart") if not hum or not hrp or not cam or hum.Health <= 0 then return end busy = true btn.Text = "Stunned..." btn.BackgroundColor3 = Color3.fromRGB(170, 55, 95) local power = tonumber(box.Text) or 65 box.Text = tostring(power) setAnimsDisabled(hum, true) hum:ChangeState(Enum.HumanoidStateType.Physics) hum.PlatformStand = true hum.AutoRotate = false hrp.AssemblyLinearVelocity = (cam.CFrame.LookVector * power) + Vector3.new(0, 25, 0) hrp.AssemblyAngularVelocity = Vector3.new(math.random(-15, 15), math.random(-8, 8), math.random(-15, 15)) task.wait(2.5) char = player.Character hum = char and char:FindFirstChildOfClass("Humanoid") if hum and hum.Health > 0 then hum.PlatformStand = false hum.AutoRotate = true setAnimsDisabled(hum, false) hum:ChangeState(Enum.HumanoidStateType.GettingUp) end busy = false btn.Text = "Toss Stun" btn.BackgroundColor3 = Color3.fromRGB(92, 72, 230) end)