Facebook
From Silly Bongo, 1 Year ago, written in Plain Text.
This paste is a reply to Re: Retail Tycoon 2 script from Sloppy Agouti - view diff
Embed
Download Paste or View Raw
Hits: 228
  1. local a = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/MaterialLua/master/Module.lua"))()
  2. local b =
  3.     a.Load(
  4.     {
  5.         Title = "Retail Tycoon",
  6.         Style = 1,
  7.         SizeX = 400,
  8.         SizeY = 300,
  9.         Theme = "Dark",
  10.         ColorOverrides = {MainFrame = Color3.fromRGB(50, 50, 50)}
  11.     }
  12. )
  13. local c = b.New({Title = "Main"})
  14. local d = b.New({Title = "Credits"})
  15. c.Toggle(
  16.     {
  17.         Text = "Auto Resupply",
  18.         Callback = function(e)
  19.             AutoResupply = e
  20.             if AutoResupply == true then
  21.                 while wait() do
  22.                     if AutoResupply == true then
  23.                         for f, g in pairs(game.workspace:GetDescendants()) do
  24.                             if g.Name == "Owner" and g.Value == game:GetService("Players").LocalPlayer.Name then
  25.                                 for f, h in pairs(g.Parent.Parent:GetChildren()) do
  26.                                     for f, b in pairs(h:GetDescendants()) do
  27.                                         if b.Name == "Amount" and b.ClassName == "IntValue" and b.Value >= 1 then
  28.                                             for f, g in pairs(game.workspace:GetDescendants()) do
  29.                                                 if
  30.                                                     g.Name == "Owner" and
  31.                                                         g.Value == game:GetService("Players").LocalPlayer.Name
  32.                                                  then
  33.                                                     for f, h in pairs(g.Parent.Parent:GetChildren()) do
  34.                                                         for f, i in pairs(h:GetDescendants()) do
  35.                                                             if i.Name == "Item" and i.ClassName == "StringValue" then
  36.                                                                 local j = {g.Parent.Parent, i.Parent}
  37.                                                                 workspace.Functions.Restock:InvokeServer(unpack(j))
  38.                                                             end
  39.                                                         end
  40.                                                     end
  41.                                                 end
  42.                                             end
  43.                                         end
  44.                                     end
  45.                                 end
  46.                             end
  47.                         end
  48.                     end
  49.                 end
  50.             end
  51.         end,
  52.         Enabled = false
  53.     }
  54. )
  55. c.Toggle(
  56.     {
  57.         Text = "Auto Clean Spills",
  58.         Callback = function(e)
  59.             AutoCleanSpills = e
  60.             if AutoCleanSpills == true then
  61.                 while wait() do
  62.                     if AutoCleanSpills == true then
  63.                         for f, v in pairs(game.workspace:GetDescendants()) do
  64.                             if v.Name == "Owner" and v.Value == game:GetService("Players").LocalPlayer.Name then
  65.                                 for f, n in pairs(v.Parent.Parent:GetChildren()) do
  66.                                     for f, m in pairs(n:GetDescendants()) do
  67.                                         if m.Name == "Claims" and m.ClassName == "IntValue" and m.Parent.Name == "Spill" then
  68.                                             local j = {m.Parent}
  69.                                             workspace.Functions.CleanSpill:FireServer(unpack(j))
  70.                                         end
  71.                                     end
  72.                                 end
  73.                             end
  74.                         end
  75.                     end
  76.                 end
  77.             end
  78.         end,
  79.         Enabled = false
  80.     }
  81. )
  82. c.Toggle(
  83.     {
  84.         Text = "Auto Robber Catch",
  85.         Callback = function(e)
  86.             AutoRobberCatch = e
  87.             if AutoRobberCatch == true then
  88.                 while wait() do
  89.                     if AutoRobberCatch == true then
  90.                         for f, g in pairs(game:GetService("Workspace").NPCModel:GetDescendants()) do
  91.                             if g.Name == "HitboxPart" then
  92.                                 for f, h in pairs(g.Parent:GetChildren()) do
  93.                                     if h.Name == "Num" then
  94.                                         for f = 0, 6 do
  95.                                             local j = {f, h.Value}
  96.                                             workspace.Functions.CatchRobber:FireServer(unpack(j))
  97.                                         end
  98.                                     end
  99.                                 end
  100.                             end
  101.                         end
  102.                     end
  103.                 end
  104.             end
  105.         end,
  106.         Enabled = false
  107.     }
  108. )
  109. c.Toggle(
  110.     {
  111.         Text = "Auto Tree Money",
  112.         Callback = function(e)
  113.             AutoTreeMoney = e
  114.             if AutoTreeMoney == true then
  115.                 while wait() do
  116.                     if AutoTreeMoney == true then
  117.                         for f, g in pairs(game.workspace:GetDescendants()) do
  118.                             if g.Name == "Owner" and g.Value == game:GetService("Players").LocalPlayer.Name then
  119.                                 for f, h in pairs(g.Parent.Parent:GetChildren()) do
  120.                                     for f, i in pairs(h:GetDescendants()) do
  121.                                         if i.Name == "TreeMoney" then
  122.                                             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, i, 0)
  123.                                             firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, i, 1)
  124.                                         end
  125.                                     end
  126.                                 end
  127.                             end
  128.                         end
  129.                     end
  130.                 end
  131.             end
  132.         end,
  133.         Enabled = false
  134.     }
  135. )
  136. d.Button(
  137.     {
  138.         Text = "                                 MaGiXx#2325",
  139.         Callback = function()
  140.             psetclipboard("MaGiXx#2325")
  141.         end
  142.     }
  143. )
  144. d.Button(
  145.     {
  146.         Text = "                   https://discord.gg/rANQFVv5Hn",
  147.         Callback = function()
  148.             psetclipboard("https://discord.gg/rANQFVv5Hn")
  149.         end
  150.     }
  151. )
  152. d.Button(
  153.     {
  154.         Text = "                                 Ahmed Mode#1983",
  155.         Callback = function()
  156.             psetclipboard("Ahmed Mode#1983")
  157.         end
  158.     }
  159. )
  160. d.Button(
  161.     {
  162.         Text = "                   https://discord.gg/samyR4ejpa",
  163.         Callback = function()
  164.             psetclipboard("https://discord.gg/samyR4ejpa")
  165.         end
  166.     }
  167. )
  168. d.Button(
  169.     {
  170.         Text = "                                 maxgat5#8395",
  171.         Callback = function()
  172.             psetclipboard("maxgat5#8395")
  173.         end
  174.     }
  175. )
  176. d.Button(
  177.     {
  178.         Text = "                   https://discord.gg/K4txdRSVfq",
  179.         Callback = function()
  180.             psetclipboard("https://discord.gg/K4txdRSVfq")
  181.         end
  182.     }
  183. )
  184. d.Button(
  185.     {
  186.         Text = "                                   Terni#2346",
  187.         Callback = function()
  188.             psetclipboard("Terni#2346")
  189.         end
  190.     }
  191. )
  192. d.Button(
  193.     {
  194.         Text = "                      https://discord.gg/EPTHrbcvH2",
  195.         Callback = function()
  196.             psetclipboard("https://discord.gg/EPTHrbcvH2")
  197.         end
  198.     }
  199. )