local Players = game:GetService("Players") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer local checkpoint = Workspace.World.FinalCheckpoint local gui = Instance.new("ScreenGui") gui.Parent = player:WaitForChild("PlayerGui") gui.ResetOnSpawn = false local frame = Instance.new("Frame") frame.Parent = gui frame.Size = UDim2.new(0, 300, 0, 160) frame.Position = UDim2.new(0.35, 0, 0.35, 0) frame.BackgroundColor3 = Color3.fromRGB(40, 0, 60) frame.BorderSizePixel = 0 local uiCornerFrame = Instance.new("UICorner") uiCornerFrame.CornerRadius = UDim.new(0, 12) uiCornerFrame.Parent = frame local uiStrokeFrame = Instance.new("UIStroke") uiStrokeFrame.Color = Color3.fromRGB(170, 0, 255) uiStrokeFrame.Thickness = 2 uiStrokeFrame.Parent = frame local titleBar = Instance.new("Frame") titleBar.Parent = frame titleBar.Size = UDim2.new(1, 0, 0, 35) titleBar.BackgroundColor3 = Color3.fromRGB(60, 0, 90) titleBar.BorderSizePixel = 0 local uiCornerTitle = Instance.new("UICorner") uiCornerTitle.CornerRadius = UDim.new(0, 12) uiCornerTitle.Parent = titleBar local title = Instance.new("TextLabel") title.Parent = titleBar title.Size = UDim2.new(1, -40, 1, 0) title.Position = UDim2.new(0, 10, 0, 0) title.Text = "auto win thingy" title.TextColor3 = Color3.fromRGB(220, 190, 255) title.BackgroundTransparency = 1 title.Font = Enum.Font.GothamBold title.TextSize = 16 title.TextXAlignment = Enum.TextXAlignment.Left local minimize = Instance.new("TextButton") minimize.Parent = titleBar minimize.Size = UDim2.new(0, 35, 1, 0) minimize.Position = UDim2.new(1, -35, 0, 0) minimize.Text = "-" minimize.TextColor3 = Color3.fromRGB(220, 190, 255) minimize.BackgroundTransparency = 1 minimize.Font = Enum.Font.GothamBold minimize.TextSize = 20 local body = Instance.new("Frame") body.Parent = frame body.Size = UDim2.new(1, 0, 1, -35) body.Position = UDim2.new(0, 0, 0, 35) body.BackgroundColor3 = Color3.fromRGB(30, 0, 50) body.BorderSizePixel = 0 local uiCornerBody = Instance.new("UICorner") uiCornerBody.CornerRadius = UDim.new(0, 12) uiCornerBody.Parent = body local toggle = Instance.new("TextButton") toggle.Parent = body toggle.Size = UDim2.new(0.7, 0, 0, 45) toggle.Position = UDim2.new(0.15, 0, 0.5, -22) toggle.BackgroundColor3 = Color3.fromRGB(80, 0, 120) toggle.TextColor3 = Color3.fromRGB(255, 255, 255) toggle.Font = Enum.Font.GothamBold toggle.TextSize = 16 toggle.Text = "off" local uiCornerButton = Instance.new("UICorner") uiCornerButton.CornerRadius = UDim.new(0, 10) uiCornerButton.Parent = toggle local uiStrokeButton = Instance.new("UIStroke") uiStrokeButton.Color = Color3.fromRGB(200, 150, 255) uiStrokeButton.Thickness = 2 uiStrokeButton.ApplyStrokeMode = Enum.ApplyStrokeMode.Border uiStrokeButton.Parent = toggle local dragging, dragInput, dragStart, startPos titleBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) titleBar.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then dragInput = input end end) game:GetService("UserInputService").InputChanged:Connect(function(input) if input == dragInput and dragging 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) local running = false toggle.MouseButton1Click:Connect(function() running = not running toggle.Text = running and "on" or "off" toggle.BackgroundColor3 = running and Color3.fromRGB(120, 0, 180) or Color3.fromRGB(80, 0, 120) end) local minimized = false minimize.MouseButton1Click:Connect(function() minimized = not minimized body.Visible = not minimized minimize.Text = minimized and "+" or "-" frame.Size = minimized and UDim2.new(0, 300, 0, 35) or UDim2.new(0, 300, 0, 160) end) task.spawn(function() while true do if running then if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then player.Character.HumanoidRootPart.CFrame = checkpoint.CFrame end task.wait(0.5) if player.Character and player.Character:FindFirstChild("Humanoid") then player.Character.Humanoid.Health = 0 end player.CharacterAdded:Wait() task.wait(0.1) if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then player.Character.HumanoidRootPart.CFrame = checkpoint.CFrame end end task.wait(0.1) end end) setclipboard("https://discord.gg/TR3quUFgT6")