---
title: "ANCIENT EGYPT Script for Roblox: Auto Farm - ScriptBlox"
description: "ANCIENT EGYPT Roblox script: Auto Farm. only an auto farm (you have to be spawned in as something)"
canonical_url: "https://scriptblox.com/script/ANCIENT-EGYPT-BETA-Auto-Farm-27397"
meta:
  "og:description": "ANCIENT EGYPT Roblox script: Auto Farm. only an auto farm (you have to be spawned in as something)"
  "og:image": "https://tr.rbxcdn.com/180DAY-6e07752cda15f77b1ef8b563cbcb5623/500/280/Image/Jpeg/noFilter"
  "og:title": "ANCIENT EGYPT Script for Roblox: Auto Farm - ScriptBlox"
  "twitter:description": "ANCIENT EGYPT Roblox script: Auto Farm. only an auto farm (you have to be spawned in as something)"
  "twitter:image": "https://tr.rbxcdn.com/180DAY-6e07752cda15f77b1ef8b563cbcb5623/500/280/Image/Jpeg/noFilter"
  "twitter:title": "ANCIENT EGYPT Script for Roblox: Auto Farm - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![📜\[ELECTION LAW\]📜ANCIENT EGYPT](https://tr.rbxcdn.com/180DAY-6e07752cda15f77b1ef8b563cbcb5623/500/280/Image/Jpeg/noFilter)

# **Auto Farm**

[**ANCIENT EGYPT**](https://scriptblox.com/game/2631572400-ancient-egypt "📜[ELECTION LAW]📜ANCIENT EGYPT")**![Tea\_LOL](https://scriptblox.com/images/user-default.webp) [Tea\_LOL](https://scriptblox.com/u/Tea_LOL)First script**

2 years ago

[**Play game **](roblox://placeId=2631572400) [**Game Link **](https://roblox.com/games/2631572400)

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

Auto Farm is an ANCIENT EGYPT script for Roblox, uploaded to ScriptBlox on Jan 21, 2025.

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

only an auto farm (you have to be spawned in as something)

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Update script
2. Jan 21, 2025

   ****Script edited:**** Update script
3. Jan 21, 2025

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/ANCIENT-EGYPT-BETA-Auto-Farm-27397)

```
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

local runService = game:GetService("RunService")
local starterGui = game:GetService("StarterGui")

local enabled = false -- Toggle state
local lastCollectionTime = 0
local lastSellTime = 0
local platform = nil -- Reference to the platform under the player

-- Create GUI
local function createGui()
    local screenGui = Instance.new("ScreenGui")
    screenGui.Name = "AutomationGui"
    screenGui.ResetOnSpawn = false -- Prevent GUI from disappearing after reset
    screenGui.Parent = player.PlayerGui

    local toggleButton = Instance.new("TextButton")
    toggleButton.Size = UDim2.new(0, 200, 0, 50)
    toggleButton.Position = UDim2.new(0.5, -100, 0.8, 0)
    toggleButton.Text = "Start Automation"
    toggleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
    toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
    toggleButton.Parent = screenGui

    local closeButton = Instance.new("TextButton")
    closeButton.Size = UDim2.new(0, 30, 0, 30)
    closeButton.Position = UDim2.new(1, -35, 0, 5)
    closeButton.Text = "X"
    closeButton.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
    closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
    closeButton.Parent = screenGui

    toggleButton.MouseButton1Click:Connect(function()
        enabled = not enabled
        if enabled then
            toggleButton.Text = "Stop Automation"


```

## **Comments **

**4**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/ANCIENT-EGYPT-BETA-Auto-Farm-27397)

![UltraPP's profile picture](https://scriptblox.com/images/photo/6769dc72212ac94027e2628e-1735357320184.jpg)

[**UltraPP**](https://scriptblox.com/u/UltraPP)2 years ago(edited)

Its working and nice but its too slow.. maybe add a faster way than selling wheat

2

![C0conut's profile picture](https://scriptblox.com/images/photo/693873df062c3834e2611694-1765307466852.jpg)

[**C0conut**](https://scriptblox.com/u/C0conut)11 months ago

need something like this for rise to royalty

1

![Aspkgs's profile picture](https://scriptblox.com/images/user-default.webp)

[**Aspkgs**](https://scriptblox.com/u/Aspkgs)2 years ago(edited)

[@Tea\_LOL](https://scriptblox.com/u/Tea_LOL) chills bro... chills

1

![Tea\_LOL's profile picture](https://scriptblox.com/images/user-default.webp)

[**Tea\_LOL**](https://scriptblox.com/u/Tea_LOL)**Uploader**2 years ago(edited)

i kinda cant the game has a cooldown for selling wheat thats why i use both of the wheat sells

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/ANCIENT-EGYPT-BETA-Auto-Farm-27397#script","url":"https://scriptblox.com/script/ANCIENT-EGYPT-BETA-Auto-Farm-27397","name":"Auto Farm","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"Tea_LOL","url":"https://scriptblox.com/u/Tea_LOL"},"datePublished":"2025-01-21T04:12:28.947Z","image":"https://tr.rbxcdn.com/180DAY-6e07752cda15f77b1ef8b563cbcb5623/500/280/Image/Jpeg/noFilter","about":{"@type":"VideoGame","name":"Ancient Egypt","gamePlatform":"Roblox"},"isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/ANCIENT-EGYPT-BETA-Auto-Farm-27397#webpage","@type":"WebPage","description":"ANCIENT EGYPT Roblox script: Auto Farm. only an auto farm (you have to be spawned in as something)","name":"ANCIENT EGYPT Script for Roblox: Auto Farm - ScriptBlox","url":"https://scriptblox.com/script/ANCIENT-EGYPT-BETA-Auto-Farm-27397","breadcrumb":{"@id":"https://scriptblox.com/script/ANCIENT-EGYPT-BETA-Auto-Farm-27397#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/ANCIENT-EGYPT-BETA-Auto-Farm-27397#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/ANCIENT-EGYPT-BETA-Auto-Farm-27397"]}]},{"@id":"https://scriptblox.com/script/ANCIENT-EGYPT-BETA-Auto-Farm-27397#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Ancient Egypt","item":"https://scriptblox.com/game/2631572400-ancient-egypt","position":2},{"@type":"ListItem","name":"Auto Farm","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
