-- Script for Delta - Autofarm Wins + Autofarm Speed local player = game.Players.LocalPlayer local Event = game:GetService("ReplicatedStorage").Events.AddSpeed -- ===== FIXED COORDINATES (from image) ===== local TARGET_POSITION = Vector3.new(-2754.7, 165.6, 3935.9) -- Y: 167.6 - 2 = 165.6 -- ===== VARIABLES ===== local isSpeedActive = false local speedLoop = nil local winsLoop = nil local teleportInterval = 5 local isWinsActive = false -- ===== CREATE UI (PERMANENT) ===== local screenGui = Instance.new("ScreenGui") screenGui.Parent = player.PlayerGui screenGui.ResetOnSpawn = false -- Main Frame local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 300, 0, 280) frame.Position = UDim2.new(0.5, -150, 0.5, -140) frame.BackgroundColor3 = Color3.fromRGB(20, 20, 30) frame.BackgroundTransparency = 0.15 frame.Active = true frame.Draggable = true frame.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 10) corner.Parent = frame -- ===== TITLE ===== local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0.12, 0) title.Position = UDim2.new(0, 0, 0, 0) title.Text = "🪂 AUTO FARM" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.BackgroundTransparency = 1 title.Font = Enum.Font.GothamBold title.TextSize = 18 title.Parent = frame -- ===== COORDINATES DISPLAY ===== local coordFrame = Instance.new("Frame") coordFrame.Size = UDim2.new(0.9, 0, 0.15, 0) coordFrame.Position = UDim2.new(0.05, 0, 0.14, 0) coordFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 50) coordFrame.BackgroundTransparency = 0.5 coordFrame.Parent = frame local coordCorner = Instance.new("UICorner") coordCorner.CornerRadius = UDim.new(0, 6) coordCorner.Parent = coordFrame local coordLabel = Instance.new("TextLabel") coordLabel.Size = UDim2.new(1, 0, 1, 0) coordLabel.Text = "📍 X:-2754.7 Y:165.6 Z:3935.9" coordLabel.TextColor3 = Color3.fromRGB(100, 200, 255) coordLabel.BackgroundTransparency = 1 coordLabel.Font = Enum.Font.Gotham coordLabel.TextSize = 12 coordLabel.Parent = coordFrame -- ===== AUTOFARM SPEED SECTION ===== local speedFrame = Instance.new("Frame") speedFrame.Size = UDim2.new(0.9, 0, 0.2, 0) speedFrame.Position = UDim2.new(0.05, 0, 0.31, 0) speedFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 50) speedFrame.BackgroundTransparency = 0.5 speedFrame.Parent = frame local speedCorner = Instance.new("UICorner") speedCorner.CornerRadius = UDim.new(0, 6) speedCorner.Parent = speedFrame -- Speed Button local speedBtn = Instance.new("TextButton") speedBtn.Size = UDim2.new(0.6, 0, 0.6, 0) speedBtn.Position = UDim2.new(0.05, 0, 0.2, 0) speedBtn.Text = "▶ START" speedBtn.BackgroundColor3 = Color3.fromRGB(0, 180, 0) speedBtn.TextColor3 = Color3.fromRGB(255, 255, 255) speedBtn.Font = Enum.Font.GothamBold speedBtn.TextSize = 13 speedBtn.Parent = speedFrame local speedCornerBtn = Instance.new("UICorner") speedCornerBtn.CornerRadius = UDim.new(0, 6) speedCornerBtn.Parent = speedBtn -- Speed Status local speedStatus = Instance.new("TextLabel") speedStatus.Size = UDim2.new(0.3, 0, 0.6, 0) speedStatus.Position = UDim2.new(0.65, 0, 0.2, 0) speedStatus.Text = "🔴 OFF" speedStatus.TextColor3 = Color3.fromRGB(255, 0, 0) speedStatus.BackgroundTransparency = 1 speedStatus.Font = Enum.Font.Gotham speedStatus.TextSize = 13 speedStatus.Parent = speedFrame -- ===== AUTOFARM WINS SECTION ===== local winsFrame = Instance.new("Frame") winsFrame.Size = UDim2.new(0.9, 0, 0.2, 0) winsFrame.Position = UDim2.new(0.05, 0, 0.53, 0) winsFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 50) winsFrame.BackgroundTransparency = 0.5 winsFrame.Parent = frame local winsCorner = Instance.new("UICorner") winsCorner.CornerRadius = UDim.new(0, 6) winsCorner.Parent = winsFrame -- Wins Button local winsBtn = Instance.new("TextButton") winsBtn.Size = UDim2.new(0.35, 0, 0.6, 0) winsBtn.Position = UDim2.new(0.05, 0, 0.2, 0) winsBtn.Text = "OFF" winsBtn.BackgroundColor3 = Color3.fromRGB(180, 0, 0) winsBtn.TextColor3 = Color3.fromRGB(255, 255, 255) winsBtn.Font = Enum.Font.GothamBold winsBtn.TextSize = 13 winsBtn.Parent = winsFrame local winsCornerBtn = Instance.new("UICorner") winsCornerBtn.CornerRadius = UDim.new(0, 6) winsCornerBtn.Parent = winsBtn -- Wins Status local winsStatus = Instance.new("TextLabel") winsStatus.Size = UDim2.new(0.5, 0, 0.6, 0) winsStatus.Position = UDim2.new(0.45, 0, 0.2, 0) winsStatus.Text = "🔴 OFF" winsStatus.TextColor3 = Color3.fromRGB(255, 0, 0) winsStatus.BackgroundTransparency = 1 winsStatus.Font = Enum.Font.Gotham winsStatus.TextSize = 13 winsStatus.Parent = winsFrame -- ===== TIME INPUT ===== local timeFrame = Instance.new("Frame") timeFrame.Size = UDim2.new(0.9, 0, 0.18, 0) timeFrame.Position = UDim2.new(0.05, 0, 0.75, 0) timeFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 50) timeFrame.BackgroundTransparency = 0.5 timeFrame.Parent = frame local timeCorner = Instance.new("UICorner") timeCorner.CornerRadius = UDim.new(0, 6) timeCorner.Parent = timeFrame -- Label local timeLabel = Instance.new("TextLabel") timeLabel.Size = UDim2.new(0.35, 0, 1, 0) timeLabel.Text = "⏱ Seconds:" timeLabel.TextColor3 = Color3.fromRGB(200, 200, 200) timeLabel.BackgroundTransparency = 1 timeLabel.Font = Enum.Font.Gotham timeLabel.TextSize = 12 timeLabel.Parent = timeFrame -- Input Box local timeInput = Instance.new("TextBox") timeInput.Size = UDim2.new(0.3, 0, 0.6, 0) timeInput.Position = UDim2.new(0.38, 0, 0.2, 0) timeInput.Text = "5" timeInput.PlaceholderText = "Seconds" timeInput.BackgroundColor3 = Color3.fromRGB(60, 60, 70) timeInput.TextColor3 = Color3.fromRGB(255, 255, 255) timeInput.Font = Enum.Font.Gotham timeInput.TextSize = 14 timeInput.Parent = timeFrame local timeCornerInput = Instance.new("UICorner") timeCornerInput.CornerRadius = UDim.new(0, 6) timeCornerInput.Parent = timeInput -- Apply Button local applyBtn = Instance.new("TextButton") applyBtn.Size = UDim2.new(0.2, 0, 0.6, 0) applyBtn.Position = UDim2.new(0.72, 0, 0.2, 0) applyBtn.Text = "✓" applyBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255) applyBtn.TextColor3 = Color3.fromRGB(255, 255, 255) applyBtn.Font = Enum.Font.GothamBold applyBtn.TextSize = 18 applyBtn.Parent = timeFrame local applyCorner = Instance.new("UICorner") applyCorner.CornerRadius = UDim.new(0, 6) applyCorner.Parent = applyBtn -- ===== AUTOFARM SPEED FUNCTIONS ===== local function startSpeed() if speedLoop then return end speedLoop = game:GetService("RunService").Heartbeat:Connect(function() Event:FireServer() end) speedBtn.Text = "⏹ STOP" speedBtn.BackgroundColor3 = Color3.fromRGB(180, 0, 0) speedStatus.Text = "🟢 ON" speedStatus.TextColor3 = Color3.fromRGB(0, 255, 0) isSpeedActive = true end local function stopSpeed() if speedLoop then speedLoop:Disconnect() speedLoop = nil end speedBtn.Text = "▶ START" speedBtn.BackgroundColor3 = Color3.fromRGB(0, 180, 0) speedStatus.Text = "🔴 OFF" speedStatus.TextColor3 = Color3.fromRGB(255, 0, 0) isSpeedActive = false end -- ===== AUTOFARM WINS FUNCTIONS ===== local function startWins() if winsLoop then return end winsLoop = game:GetService("RunService").Stepped:Connect(function() local character = player.Character if not character then return end local rootPart = character.PrimaryPart if not rootPart then return end -- Teleport to fixed coordinates rootPart.CFrame = CFrame.new(TARGET_POSITION) end) winsBtn.Text = "ON" winsBtn.BackgroundColor3 = Color3.fromRGB(0, 180, 0) winsStatus.Text = "🟢 ON" winsStatus.TextColor3 = Color3.fromRGB(0, 255, 0) isWinsActive = true end local function stopWins() if winsLoop then winsLoop:Disconnect() winsLoop = nil end winsBtn.Text = "OFF" winsBtn.BackgroundColor3 = Color3.fromRGB(180, 0, 0) winsStatus.Text = "🔴 OFF" winsStatus.TextColor3 = Color3.fromRGB(255, 0, 0) isWinsActive = false end -- ===== BUTTON EVENTS ===== -- Autofarm Speed speedBtn.MouseButton1Click:Connect(function() if isSpeedActive then stopSpeed() else startSpeed() end end) -- Autofarm Wins winsBtn.MouseButton1Click:Connect(function() if isWinsActive then stopWins() else startWins() end end) -- Change time timeInput.FocusLost:Connect(function(enterPressed) if enterPressed then local newTime = tonumber(timeInput.Text) if newTime and newTime > 0 then teleportInterval = newTime if isWinsActive then stopWins() startWins() end timeInput.Text = tostring(teleportInterval) else timeInput.Text = tostring(teleportInterval) end end end) applyBtn.MouseButton1Click:Connect(function() local newTime = tonumber(timeInput.Text) if newTime and newTime > 0 then teleportInterval = newTime if isWinsActive then stopWins() startWins() end timeInput.Text = tostring(teleportInterval) else timeInput.Text = tostring(teleportInterval) end end) -- ===== FLY EFFECT (Press G) ===== local function flyEffect() local character = player.Character if not character then return end local humanoid = character:FindFirstChild("Humanoid") if humanoid then humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false) humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics, false) humanoid.PlatformStand = true end local rootPart = character.PrimaryPart if rootPart then local velocity = rootPart.Velocity rootPart.Velocity = Vector3.new(velocity.X, 50, velocity.Z + 20) end end -- Press "G" to fly game:GetService("UserInputService").InputBegan:Connect(function(input, processed) if processed then return end if input.KeyCode == Enum.KeyCode.G then flyEffect() end end) -- ===== CLEANUP ON DEATH ===== player.CharacterAdded:Connect(function() if isSpeedActive then stopSpeed() end if isWinsActive then stopWins() end end) print("🪂 Auto Farm System Loaded!") print("📍 Coordinates: X:-2754.7 Y:165.6 Z:3935.9") print("📌 Press G to fly") print("⚡ Autofarm Speed = Spam AddSpeed event") print("🏆 Autofarm Wins = TP to fixed coordinates")