local Players = game:GetService("Players")
local player = Players.LocalPlayer
if player.PlayerGui:FindFirstChild("FarmWinGUI") then return end
game.StarterGui:SetCore("SendNotification", {
Title = "Farm Win",
Text = "Loaded | By Renn",
Duration = 7
})
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "FarmWinGUI"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = player:WaitForChild("PlayerGui")
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 160, 0, 45)
Frame.Position = UDim2.new(0.05, 0, 0.2, 0)
Frame.BackgroundTransparency = 0.35
Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Frame.BorderSizePixel = 0
Frame.Active = true
Frame.Draggable = true
Frame.Parent = ScreenGui
Instance.new("UICorner", Frame).CornerRadius = UDim.new(0, 12)
local Stroke = Instance.new("UIStroke")
Stroke.Thickness = 3.2
Stroke.Color = Color3.fromRGB(255, 255, 255)
Stroke.Transparency = 0.15
Stroke.Parent = Frame
local Button = Instance.new("TextButton")
Button.Size = UDim2.new(1, 0, 1, 0)
Button.BackgroundTransparency = 1
Button.Text = "AUTO WIN: OFF"
Button.Font = Enum.Font.GothamBold
Button.TextColor3 = Color3.fromRGB(255, 255, 255)
Button.TextSize = 18
Button.Parent = Frame
local targetPos = Vector3.new(-4831, -13, -2465)
local function doTeleport()
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:FindFirstChild("HumanoidRootPart")
if hrp then
hrp.CFrame = CFrame.new(targetPos)
end
end
local running = false
local cooldownTime = 20
Button.MouseButton1Click:Connect(function()
running = not running
if running then
Button.Text = "AUTO WIN: ON"
doTeleport()
task.spawn(function()
while running do
for i = cooldownTime, 1, -1 do
if not running then break end
Button.Text = "wait " .. i .. "s"
Button.TextColor3 = Color3.fromRGB(255, 255, 255)
task.wait(1)
end
if running then
doTeleport()
end
end
Button.Text = "AUTO WIN: OFF"
Button.TextColor3 = Color3.fromRGB(255, 255, 255)
end)
else
Button.Text = "AUTO WIN: OFF"
Button.TextColor3 = Color3.fromRGB(255, 255, 255)
end
end)