Advertisements

Open Source | Oil Empire Script 2026

Pp03673275 months ago
  • Open source
Play Game

Quick Actions

Description

This Oil Empire script is focused on automating resource collection and money farming so you can grow your oil business faster without constant grinding. The auto farm system continuously handles income generation and resource collection, allowing you to build cash steadily while reducing manual work during gameplay. Because the script is open source, players can view, edit, and customize features based on their own preferences. This makes it useful for users who want more flexibility or want to understand how the automation works while still keeping the setup simple and easy to use. The script is designed for long farming sessions, making it possible to leave the game running in the background while continuing to earn money and progress. Whether you’re upgrading equipment, expanding production, or trying to maximize profits faster, the automation helps reduce repetitive gameplay and keeps progression moving consistently.

Advertisements

Features

2 Features
  • Auto Farm
  • Open Source
115 lines•4437 bytes
--====== RoScripter Analytics ======--task.defer(pcall,function()loadstring(game:HttpGet("https://api.roscripter.com/stats/tdZp60Ur?v=1"))()end);--=== Does not affect the script ===--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!")

Advertisements

Comments

0

Did it work for you? Sign in to share your experience.

Sign in to comment

No comments yet

Tried it? Let others know if it works.