player rng 🎲 (testing)
12.2k Views
11 Executions

Auto Roll and delete

player rng
yofriendfromschool1
yofriendfromschool1Published 50
3 years ago
Please login to perform these actions:

Auto Roll and delete is a player rng script for Roblox, uploaded to ScriptBlox on Apr 3, 2024.

Does it work?

No reports yet

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

Also noticed:

Description

auto rolls character and auto deletes the character if it is not a Mythic (highest rarity i think)

View Raw
getgenv().autodelete = true -- set to false if you dont want to auto delete
getgenv().autoopen = true -- set to false if you dont want to auto open
task.spawn(function()
    while true do wait()
        if not getgenv().autodelete then
            break
        end
        for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.Inventory.ScrollingFrame:GetChildren()) do
            if v.Name == "PlayerCard" then
                for i,v in pairs(v:GetChildren()) do
                    if v.Name == "Rarity" and v.Text ~= "Mythic" then
                        local lol = v.Parent.Info.Id.Text
                        local hi = string.sub(lol, 2)
                        local num = tonumber(hi)
                        game:GetService("ReplicatedStorage"):WaitForChild("DeleteCard"):FireServer(num)
                        
                        game:GetService("ReplicatedStorage"):WaitForChild("GetInventory"):InvokeServer()
                        
                    end
                end
            end
        end
    end
end)
task.spawn(function()
    while true do wait()
        if not getgenv().autoopen then
            break
        end
        game:GetService("ReplicatedStorage"):WaitForChild("OpenPack"):InvokeServer()
    end
end)


Comments

2
Log in to join the conversation. Login
yofriendfromschool1's profile picture
yofriendfromschool1Uploader3 years ago(edited)

@Catullah tbh it is random and completely luck based as i know of sorry.

1
Catullah's profile picture
Catullah3 years ago(edited)

can u make good script for 2x chance somethings

1