11.3k Views
116 Executions
Autofarm is an Unboxing RNG script for Roblox, uploaded to ScriptBlox on Oct 7, 2025.
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
# Open Sourced () Basically Auto Opens cases and automatically claims the gifts so you can stay afk -- no anti afk included - I will not make/improve scripts for the game since I wasted too much time + bad game Features: Add case names to the list and you must include a weight - How often should what case open
_G.ScriptEnabled = true
_G.AutoClaim = true
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local OpenCase = ReplicatedStorage.Cases.Remotes.OpenCase
local ClickMoney = ReplicatedStorage.UI.Remotes.ClickMoney
local ClaimGift = ReplicatedStorage.GiftFolder.ClaimGift
local weightedCases = {
{name = "2014 Summer Case", weight = 10},
{name = "Free Case", weight = 50},
{name = "Recoil Case", weight = 10},
{name = "Revolution Case", weight = 10},
{name = "Fracture Case", weight = 10},
{name = "Kilowatt Case", weight = 5},
{name = "Snakebite Case", weight = 5},
}
local function pickWeightedCase()
local totalWeight = 0
for _, c in ipairs(weightedCases) do
totalWeight = totalWeight + c.weight
end
local rand = math.random() * totalWeight
local cumulative = 0
for _, c in ipairs(weightedCases) do
cumulative = cumulative + c.weight
if rand <= cumulative then
return c.name
end
end
return weightedCases[1].name
end
task.spawn(function()
while _G.ScriptEnabled do
local caseName = pickWeightedCase()
local success, result = pcall(function()
return OpenCase:InvokeServer(caseName, 1)
end)
if success then
if result == nil then

![[🎲] Unboxing RNG](/images/script/139805140562286-1759185906667.png)
![[🎲] Unboxing RNG](/images/script/139805140562286-1764786727624.png)
![[🎲] Unboxing RNG](/images/script/139805140562286-1760381466834.jpg)
please add a gui
doesnt load