retail tycoon 2 scripts local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))() local w = library:CreateWindow("Retail Tycoon 2") local b = w:CreateFolder("AutoFarm") local f = w:CreateFolder("Vehicle") local g = w:CreateFolder("Character") local e = w:CreateFolder("Mix") local u = w:CreateFolder("Credits") SelectedItemToPlace = "" Items = {} for i,v in pairs(game:GetService("ReplicatedStorage").Sellables:GetChildren()) do for i,v1 in pairs(v.Variants:GetChildren()) do retail tycoon 2 scripts How to get it? retail tycoon 2 scripts table.insert(Items,v1.Name) end end b:Dropdown("Select Item",Items,true,function(a) SelectedItemToPlace = a end) b:Toggle("Place Item",function(bool) shared.toggle = bool retail tycoon 2 scripts How to dowload it? retail tycoon 2 scripts Place = bool end) b:Button("Place All Items (Buggy)",function() Plot = nil for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do if v.ClassName == "TextLabel" then if tostring(v.Name) == tostring("StoreName") then if tostring(v.Text) == tostring(game:GetService("Players").LocalPlayer.Name.."'s Store") then Plot = v.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Name retail tycoon 2 scripts PasteShr retail tycoon 2 scripts end end end end for i,v in pairs(game:GetService("Workspace").Map.Plots[Plot].Objects:GetDescendants()) do if string.find(v.Name,"Shelves") then for i,v1 in pairs(game:GetService("ReplicatedStorage").Sellables:GetChildren()) do for i,v2 in pairs(v1.Variants:GetChildren()) do pcall(function() game:GetService("ReplicatedStorage").Remotes.StockShelfFunction:InvokeServer(v,tostring(v2.Name)) retail tycoon 2 scripts PasteShr retail tycoon 2 scripts end) end end end end end) f:Button("Tp Base",function() Plot = nil for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do retail tycoon 2 scripts PasteShr retail tycoon 2 scripts if v.ClassName == "TextLabel" then if tostring(v.Name) == tostring("StoreName") then if tostring(v.Text) == tostring(game:GetService("Players").LocalPlayer.Name.."'s Store") then Plot = v.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Name end end end end for i,v in pairs(game:GetService("Workspace").PlayerVehicles["Vehicle_"..game:GetService("Players").LocalPlayer.Name]:GetChildren()) do if v.ClassName == "MeshPart" or v.ClassName == "Part" then retail tycoon 2 scripts How to get it for free? retail tycoon 2 scripts v.CFrame = CFrame.new(game:GetService("Workspace").Map.Plots[Plot].Sign.SignBase.CFrame.Position + Vector3.new(-30,10,0)) end end end) f:Button("Tp Market",function() for i,v in pairs(game:GetService("Workspace").PlayerVehicles["Vehicle_"..game:GetService("Players").LocalPlayer.Name]:GetChildren()) do if v.ClassName == "MeshPart" or v.ClassName == "Part" then for i,v1 in pairs(game:GetService("Workspace").Map.Landmarks["Loading Dock"]:GetDescendants()) do if v1.Name == "Detector" then retail tycoon 2 scripts How to get it for free? retail tycoon 2 scripts v.CFrame = CFrame.new(v1.CFrame.Position + Vector3.new(-10,0,0)) end end end end end) f:Button("Unload Truck",function() Plot = nil for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do retail tycoon 2 scripts PasteShr retail tycoon 2 scripts if v.ClassName == "TextLabel" then if tostring(v.Name) == tostring("StoreName") then if tostring(v.Text) == tostring(game:GetService("Players").LocalPlayer.Name.."'s Store") then Plot = v.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Name end end end end for i,v in pairs(game:GetService("Workspace").PlayerVehicles["Vehicle_"..game:GetService("Players").LocalPlayer.Name]:GetChildren()) do if v.ClassName == "MeshPart" or v.ClassName == "Part" then retail tycoon 2 scripts How to get it? retail tycoon 2 scripts for i,v1 in pairs(game:GetService("Workspace").Map.Plots[Plot]:GetDescendants()) do if string.find(v1.Name,"Door") then if v1:FindFirstChild("Base") then spawn(function() v1.Base.CanCollide = false v.CFrame = CFrame.new(v1.Base.CFrame.Position + Vector3.new(0,0,0)) end) end end end retail tycoon 2 scripts PasteShr retail tycoon 2 scripts end end wait(1) game:GetService("ReplicatedStorage").Remotes.UnloadVehicle:InvokeServer() end) g:Button("Tp Base",function() Plot = nil for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do if v.ClassName == "TextLabel" then retail tycoon 2 scripts How to use it? retail tycoon 2 scripts if tostring(v.Name) == tostring("StoreName") then if tostring(v.Text) == tostring(game:GetService("Players").LocalPlayer.Name.."'s Store") then Plot = v.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Name end end end end game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Map.Plots[Plot].Sign.SignBase.CFrame.Position + Vector3.new(-30,10,0)) end) retail tycoon 2 scripts How to get it? retail tycoon 2 scripts g:Button("Tp Market",function() for i,v in pairs(game:GetService("Workspace").Map.Landmarks["Loading Dock"]:GetDescendants()) do if v.Name == "Detector" then game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.CFrame.Position + Vector3.new(0,0,0)) end end end) e:Toggle("AntiAfk",function(bool) shared.toggle = bool retail tycoon 2 scripts How to get it for free? retail tycoon 2 scripts AntiAfk = bool end) --Credits u:Button(game:service("HttpService"):JSONDecode(game:HttpGet("https://raw.githubusercontent.com/Maxgat5/Decode/main/JSON")).username,function() setclipboard(game:service("HttpService"):JSONDecode(game:HttpGet("https://raw.githubusercontent.com/Maxgat5/Decode/main/JSON")).username) end) u:Button("Discord Server",function() setclipboard(game:service("HttpService"):JSONDecode(game:HttpGet("https://raw.githubusercontent.com/Maxgat5/Decode/main/JSON")).discord) retail tycoon 2 scripts How to use it? retail tycoon 2 scripts end) game:GetService('RunService').Stepped:connect(function() spawn(function() if AntiAfk == true then local bb=game:service'VirtualUser' bb:CaptureController() bb:ClickButton2(Vector2.new()) end end) retail tycoon 2 scripts How to get it for free? retail tycoon 2 scripts end) while wait() do if Place == true then Plot = nil for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do if v.ClassName == "TextLabel" then if tostring(v.Name) == tostring("StoreName") then if tostring(v.Text) == tostring(game:GetService("Players").LocalPlayer.Name.."'s Store") then Plot = v.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Name retail tycoon 2 scripts How to dowload it? retail tycoon 2 scripts end end end end for i,v in pairs(game:GetService("Workspace").Map.Plots[Plot].Objects:GetDescendants()) do if string.find(v.Name,"Shelves") then pcall(function() game:GetService("ReplicatedStorage").Remotes.StockShelfFunction:InvokeServer(v,SelectedItemToPlace) end) end retail tycoon 2 scripts How to get it for free? retail tycoon 2 scripts end end end retail tycoon 2 scripts