Facebook
From Eratic Sloth, 2 Years ago, written in Plain Text.
This paste is a reply to Retail Tycoon 2 script from cey - go back
Embed
Viewing differences between Retail Tycoon 2 script and Re: Retail Tycoon 2 script
local a = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/MaterialLua/master/Module.lua"))()
local b =
    a.Load(
    {
        Title = "Retail Tycoon",
        Style = 1,
        SizeX = 400,
        SizeY = 300,
        Theme = "Dark",
        ColorOverrides = {MainFrame = Color3.fromRGB(50, 50, 50)}
    }
)
local c = b.New({Title = "Main"})
local d = b.New({Title = "Credits"})
c.Toggle(
    {
        Text = "Auto Resupply",
        Callback = function(e)
            AutoResupply = e
            if AutoResupply == true then
                while wait() do
                    if AutoResupply == true then
                        for f, g in pairs(game.workspace:GetDescendants()) do
                            if g.Name == "Owner" and g.Value == game:GetService("Players").LocalPlayer.Name then
                                for f, h in pairs(g.Parent.Parent:GetChildren()) do
                                    for f, b in pairs(h:GetDescendants()) do
                                        if b.Name == "Amount" and b.ClassName == "IntValue" and b.Value >= 1 then
                                            for f, g in pairs(game.workspace:GetDescendants()) do
                                                if
                                                    g.Name == "Owner" and
                                                        g.Value == game:GetService("Players").LocalPlayer.Name
                                                 then
                                                    for f, h in pairs(g.Parent.Parent:GetChildren()) do
                                                        for f, i in pairs(h:GetDescendants()) do
                                                            if i.Name == "Item" and i.ClassName == "StringValue" then
                                                                local j = {g.Parent.Parent, i.Parent}
                                                                workspace.Functions.Restock:InvokeServer(unpack(j))
                                                            end
                                                        end
                                                    end
                                                end
                                            end
                                        end
                                    end
                                end
                            end
                        end
                    end
                end
            end
        end,
        Enabled = false
    }
)
c.Toggle(
    {
        Text = "Auto Clean Spills",
        Callback = function(e)
            AutoCleanSpills = e
            if AutoCleanSpills == true then
                while wait() do
                    if AutoCleanSpills == true then
                        for f, v in pairs(game.workspace:GetDescendants()) do
                            if v.Name == "Owner" and v.Value == game:GetService("Players").LocalPlayer.Name then
                                for f, n in pairs(v.Parent.Parent:GetChildren()) do
                                    for f, m in pairs(n:GetDescendants()) do
                                        if m.Name == "Claims" and m.ClassName == "IntValue" and m.Parent.Name == "Spill" then
                                            local j = {m.Parent}
                                            workspace.Functions.CleanSpill:FireServer(unpack(j))
                                        end
                                    end
                                end
                            end
                        end
                    end
                end
            end
        end,
        Enabled = false
    }
)
c.Toggle(
    {
        Text = "Auto Robber Catch",
        Callback = function(e)
            AutoRobberCatch = e
            if AutoRobberCatch == true then
                while wait() do
                    if AutoRobberCatch == true then
                        for f, g in pairs(game:GetService("Workspace").NPCModel:GetDescendants()) do
                            if g.Name == "HitboxPart" then
                                for f, h in pairs(g.Parent:GetChildren()) do
                                    if h.Name == "Num" then
                                        for f = 0, 6 do
                                            local j = {f, h.Value}
                                            workspace.Functions.CatchRobber:FireServer(unpack(j))
                                        end
                                    end
                                end
                            end
                        end
                    end
                end
            end
        end,
        Enabled = false
    }
)
c.Toggle(
    {
        Text = "Auto Tree Money",
        Callback = function(e)
            AutoTreeMoney = e
            if AutoTreeMoney == true then
                while wait() do
                    if AutoTreeMoney == true then
                        for f, g in pairs(game.workspace:GetDescendants()) do
                            if g.Name == "Owner" and g.Value == game:GetService("Players").LocalPlayer.Name then
                                for f, h in pairs(g.Parent.Parent:GetChildren()) do
                                    for f, i in pairs(h:GetDescendants()) do
                                        if i.Name == "TreeMoney" then
                                            firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, i, 0)
                                            firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, i, 1)
                                        end
                                    end
                                end
                            end
                        end
                    end
                end
            end
        end,
        Enabled = false
    }
)
d.Button(
    {
        Text = "                                 MaGiXx#2325",
        Callback = function()
            psetclipboard("MaGiXx#2325")
        end
    }
)
d.Button(
    {
        Text = "                   https://discord.gg/rANQFVv5Hn",
        Callback = function()
            psetclipboard("https://discord.gg/rANQFVv5Hn")
        end
    }
)
d.Button(
    {
        Text = "                                 Ahmed Mode#1983",
        Callback = function()
            psetclipboard("Ahmed Mode#1983")
        end
    }
)
d.Button(
    {
        Text = "                   https://discord.gg/samyR4ejpa",
        Callback = function()
            psetclipboard("https://discord.gg/samyR4ejpa")
        end
    }
)
d.Button(
    {
        Text = "                                 maxgat5#8395",
        Callback = function()
            psetclipboard("maxgat5#8395")
        end
    }
)
d.Button(
    {
        Text = "                   https://discord.gg/K4txdRSVfq",
        Callback = function()
            psetclipboard("https://discord.gg/K4txdRSVfq")
        end
    }
)
d.Button(
    {
        Text = "                                   Terni#2346",
        Callback = function()
            psetclipboard("Terni#2346")
        end
    }
)
d.Button(
    {
        Text = "                      https://discord.gg/EPTHrbcvH2",
        Callback = function()
            psetclipboard("https://discord.gg/EPTHrbcvH2")
        end
    }
)