[🎲] Unboxing RNG
11.3k Views
116 Executions

Autofarm

Unboxing RNG
mcdaggitt
mcdaggittPublished 50
1 year ago
Please login to perform these actions:

Autofarm is an Unboxing RNG script for Roblox, uploaded to ScriptBlox on Oct 7, 2025.

Does it work?

No reports yet

No 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

View Raw
_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


Comments

2
Log in to join the conversation. Login
2Bad4Uss's profile picture
2Bad4Uss6 months ago

please add a gui

1
vampicist00's profile picture
vampicist009 months ago

doesnt load

1