Oil Empire Auto Farm Script Keyless
Oil Empire Keyless
Oil Empire Auto Farm Script Keyless
👤 alexriderr 👁 264 views ❤️ 0 likes ⏱ May 14, 2026
This is an open-source script that includes a simple auto farm feature. Just enable auto farm, and it will start farming automatically.
✨ Features
Auto farm
📋 Script Code
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Modules = ReplicatedStorage:WaitForChild("Modules")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local AlertModule = pcall(require, Modules:FindFirstChild("AlertModule")) and require(Modules.AlertModule)
local PriceModule = pcall(require, Modules:FindFirstChild("GasolinePriceModule")) and require(Modules.GasolinePriceModule)
local ParticleModule = pcall(require, Modules:FindFirstChild("ParticleModule")) and require(Modules.ParticleModule)

local function findRemote(name)
    for _, v in pairs(ReplicatedStorage:GetDescendants()) do
        if v.Name == name and v:IsA("RemoteEvent") then return v end
    end
end

local SellRemote = findRemote("SellGas")
_G.AutoFarm = false

local function notify(text, color)
    if AlertModule then
        AlertModule.Alert(LocalPlayer, text, color or "Pink")
    end
end

local ScreenGui = Instance.new("ScreenGui", LocalPlayer.PlayerGui)
ScreenGui.Name = "KawaiGodV5"

local Main = Instance.new("Frame", ScreenGui)
Main.Size = UDim2.new(0, 220, 0, 180)
Main.Position = UDim2.new(0.8, 0, 0.4, 0)
Main.BackgroundColor3 = Color3.fromRGB(10, 10, 12)
Main.Active = true
Main.Draggable = true
Instance.new("UICorner", Main)

local Title = Instance.new("TextLabel", Main)
Title.Size = UDim2.new(1, 0, 0, 45)
Title.Text = "🌸 KAWAI HUB 🌸"
Title.TextColor3 = Color3.fromRGB(255, 100, 200)
Title.BackgroundTransparency = 1
Title.Font = Enum.Font.GothamBold
Title.TextSize = 18

local InfoLabel = Instance.new("TextLabel", Main)
InfoLabel.Size = UDim2.new(1, 0, 0, 25)
InfoLabel.Position = UDim2.new(0, 0, 0, 45)
InfoLabel.Text = "Price Monitor Active"
InfoLabel.TextColor3 = Color3.new(0.5, 0.5, 0.5)
InfoLabel.BackgroundTransparency = 1
InfoLabel.Font = Enum.Font.Gotham
InfoLabel.TextSize = 11

local farmBtn = Instance.new("TextButton", Main)
farmBtn.Size = UDim2.new(0.9, 0, 0, 50)
farmBtn.Position = UDim2.new(0.05, 0, 0, 80)
farmBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
farmBtn.Text = "AUTO FARM: OFF"
farmBtn.TextColor3 = Color3.new(1, 1, 1)
farmBtn.Font = Enum.Font.GothamBold
farmBtn.TextSize = 14
Instance.new("UICorner", farmBtn)

local Credit = Instance.new("TextLabel", Main)
Credit.Size = UDim2.new(1, 0, 0, 20)
Credit.Position = UDim2.new(0, 0, 1, -25)
Credit.Text = "kawaiblox.com"
Credit.TextColor3 = Color3.fromRGB(255, 150, 200)
Credit.BackgroundTransparency = 1
Credit.Font = Enum.Font.Code
Credit.TextSize = 12
Credit.TextTransparency = 0.5

farmBtn.MouseButton1Click:Connect(function()
    _G.AutoFarm = not _G.AutoFarm
    farmBtn.Text = "AUTO FARM: " .. (_G.AutoFarm and "ON" or "OFF")
    farmBtn.BackgroundColor3 = _G.AutoFarm and Color3.fromRGB(255, 80, 150) or Color3.fromRGB(30, 30, 35)
    notify("Auto Farm " .. (_G.AutoFarm and "Enabled" or "Disabled"))
end)

task.spawn(function()
    while true do
        if PriceModule then
            local p = PriceModule.GetStock()
            InfoLabel.Text = "Current Stock/Price: " .. tostring(p)
        end
        if _G.AutoFarm and SellRemote then
            pcall(function()
                local root = LocalPlayer.Character.HumanoidRootPart
                for _, plot in pairs(workspace.Plots:GetChildren()) do
                    for _, m in pairs(plot.Buildings:GetChildren()) do
                        local hit = m:FindFirstChild("Primary") or m:FindFirstChild("Main") or m:FindFirstChildOfClass("Part")
                        if hit and hit:FindFirstChild("TouchInterest") then
                            firetouchinterest(hit, root, 0)
                            task.wait()
                            firetouchinterest(hit, root, 1)
                        end
                    end
                end
            end)
            SellRemote:FireServer()
            if ParticleModule then
                pcall(function()
                    ParticleModule.Emit(LocalPlayer.Character.HumanoidRootPart.Position, {AmountPerBurst = 2, Color = Color3.fromRGB(255, 100, 200)})
                end)
            end
        end
        task.wait(1)
    end
end)

notify("Kawai HUB Loaded!")
🎮 Similar Scripts
💬 Comments (0)
Login to post a comment
No comments yet. Be the first!
Script Info
Game Oil Empire
TypeKeyless
Authoralexriderr
Views264
Likes0
PublishedMay 14, 2026
🎮 Play Game on Roblox
🕐 Recent Scripts
Hood Rivals script by Nick Hub | Hitbox Expander
Hood Rivals script by Nick Hub | Hitbox Expander
Hood Rivals • 👁 3
Keyless
PS99 auto lucky block – complete
PS99 auto lucky block – complete
Pet Simulator 99! • 👁 4
Keyless
Egg Toss script by Venera Hub | Auto toss and catch
Egg Toss script by Venera Hub | Auto toss and catch
Egg Toss • 👁 7
Keyless
One of Us script by Venera Hub | ESP Player
One of Us script by Venera Hub | ESP Player
One of Us • 👁 9
Keyless
Scary Shawarma Kiosk script by Venera Hub
Scary Shawarma Kiosk script by Venera Hub
Scary Shawarma Kiosk: the ANOMALY • 👁 6
Keyless