-- LocalScript - Simple Wins Auto Farm (0.5s)
local player = game.Players.LocalPlayer
-- Create GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "AutoFarmGUI"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 220, 0, 120)
frame.Position = UDim2.new(0.5, -110, 0.5, -60)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.Parent = screenGui
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 10)
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 40)
title.BackgroundTransparency = 1
title.Text = "+1 Speed Monkey Escape Menu" -- Updated Title
title.TextColor3 = Color3.fromRGB(0, 255, 100)
title.TextScaled = true
title.Font = Enum.Font.GothamBold
title.Parent = frame
local toggleButton = Instance.new("TextButton")
toggleButton.Size = UDim2.new(0.9, 0, 0, 50)
toggleButton.Position = UDim2.new(0.05, 0, 0.35, 0)
toggleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
toggleButton.Text = "Start Auto Farm"
toggleButton.TextColor3 = Color3.new(1,1,1)
toggleButton.TextScaled = true
toggleButton.Font = Enum.Font.GothamSemibold
toggleButton.Parent = frame
Instance.new("UICorner", toggleButton).CornerRadius = UDim.new(0, 8)
-- Variables
local farming = false
local loop = nil
-- Find UI Part
local function findWinUI()
local world2 = workspace:FindFirstChild("World2")
if not world2 then return nil end
local stage7 = world2:FindFirstChild("Stage7")
if not stage7 then return nil end
local normalWin = stage7:FindFirstChild("NormalWin")
if not normalWin then return nil end
return normalWin:FindFirstChild("UI")
end
-- Teleport Function
local function teleportToUI()
local character = player.Character
if not character then return end
local root = character:FindFirstChild("HumanoidRootPart")
if not root then return end
local uiPart = findWinUI()
if uiPart and uiPart:IsA("BasePart") then
root.CFrame = uiPart.CFrame * CFrame.new(0, 4, 0)
end
end
-- Toggle Farming
toggleButton.MouseButton1Click:Connect(function()
farming = not farming
if farming then
toggleButton.Text = "Stop Auto Farm"
toggleButton.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
loop = coroutine.create(function()
while farming do
teleportToUI()
wait(0.5) -- Every 0.5 seconds
end
end)
coroutine.resume(loop)
else
toggleButton.Text = "Start Auto Farm"
toggleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
end
end)
-- Make GUI draggable
local dragging = false
local dragStart, startPos
title.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = frame.Position
end
end)
game:GetService("UserInputService").InputChanged:Connect(function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement 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)
title.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
end
end)
print("+1 Speed Monkey Escape Menu loaded!")