OpenSource OP Script
Key Required

OpenSource OP Script

Toilet Defense RNGDragonZ_THDragonZ_TH 28.7K views 37 executesUpdated Sep 25, 2024
5.0/ 5(1 votes)
10100% Positive
Lua Script•52 lines (1600 chars)
_G.x = 1000000
---Delete Unit
spawn(function()
    while wait() do
        for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.UnitBagGui.main.Left:GetChildren()) do
            if v:FindFirstChild("Button") then
                a = v.Button.Rarity.Text
                if a:find("1/") then
                    a = a:gsub("1/","")
                end
                if tonumber(a) < _G.x then
                    local args = {
                        [1] = "client_del_unit",
                        [2] = {
                            ["1"] = {
                                ["1"] = tonumber(v.Name)
                            }
                        }
                    }
    
                    game:GetService("ReplicatedStorage"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args))
                end
            end
        end
    end
end)
---Auto Roll
spawn(function()
    while wait() do
        local args = {
            [1] = "client_get_roll_item",
            [2] = {}
        }
    
        game:GetService("ReplicatedStorage"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args))
        wait()
        local args = {
            [1] = "put_in_unit_backpack",
            [2] = {}
        }
    
        game:GetService("ReplicatedStorage"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args))
    end
end)
---Collect Drop
spawn(function()
    while wait() do
        for i,v in pairs(workspace.scene_drop:GetChildren()) do
            v:SetPrimaryPartCFrame(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame)
        end
    end
end)

Features & Information

Auto Roll Collect Drop Auto Delete Unit (lower x)

Community Comments (7)

MONiKAMONiKASep 26, 2024(edited)

Its good script but need to be fixed, because auto delete unit its not good enough

DragonZ_THDragonZ_THSep 26, 2024(edited)

why it not good?

MONiKAMONiKASep 26, 2024(edited)

too long to get unit x

DragonZ_THDragonZ_THSep 26, 2024(edited)

you can set any you want like this _G.x = 1000

MONiKAMONiKASep 26, 2024(edited)

Thank you, btw can you make script to for game death ball? Thanks before

DragonZ_THDragonZ_THSep 26, 2024(edited)

what function you need in death ball?

MONiKAMONiKASep 26, 2024(edited)

Like this one - Auto Parry (Customizable) - Follow Ball - Auto Hatch - Auto Ready - Auto Parry in Raid Boss Can you?