Advertisement
Guest User

BLOXPIZZATHICCFASTEZ

a guest
May 20th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.13 KB | None | 0 0
  1. local times = 0
  2.  
  3. local Text3 = Instance.new("TextLabel")
  4. local Main3 = Instance.new("Frame")
  5. local CF3 = Instance.new("ScreenGui")
  6. local CG3 = game.CoreGui
  7.  
  8. CF3.Name = "Pizza Maker"
  9. CF3.Parent = CG3
  10. local CGG3 = CG3["Pizza Maker"]
  11.  
  12. Main3.Name = "Main3"
  13. Main3.Parent = CF3
  14. Main3.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  15. Main3.BorderColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  16. Main3.Position = UDim2.new(0, 500, 0, 500)
  17. Main3.Size = UDim2.new(0, 117, 0, 65)
  18. Main3.Visible = true
  19. Main3.Draggable = true
  20. Main3.Active = true
  21.  
  22. Text3.Name = "Text3"
  23. Text3.Parent = Main3
  24. Text3.BackgroundColor3 = Color3.new(1, 1, 1)
  25. Text3.BackgroundTransparency = 1
  26. Text3.Position = UDim2.new(0, 0, 0, 0)
  27. Text3.Size = UDim2.new(0, 20, 0, 35)
  28. Text3.Font = Enum.Font.SourceSansBold
  29. Text3.FontSize = Enum.FontSize.Size18
  30. Text3.Text = "test"
  31. Text3.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
  32. Text3.TextSize = 18
  33. Text3.TextXAlignment = Enum.TextXAlignment.Left
  34.  
  35.  
  36. function newbut(name, buttext)
  37.  
  38.   newname = name
  39.  
  40.   buttontext = buttext
  41.  
  42.   times = times + 1
  43.  
  44.   down = times * 33
  45.  
  46.   local Clicker3 = Instance.new("TextButton")
  47.  
  48.  
  49.   Clicker3.Name = (newname)
  50.   Clicker3.Parent = Main3
  51.   Clicker3.BackgroundColor3 = Color3.new(0.780392, 0.309804, 0.341176)
  52.   Clicker3.Position = UDim2.new(0, 0, 0, down)
  53.   Clicker3.Size = UDim2.new(0, 117, 0, 30)
  54.   Clicker3.Font = Enum.Font.Cartoon
  55.   Clicker3.FontSize = Enum.FontSize.Size14
  56.   Clicker3.Text = (buttontext)
  57.   Clicker3.TextSize = 14
  58.   Clicker3.TextXAlignment = Enum.TextXAlignment.Left
  59.  
  60. end
  61.  
  62.  
  63. function newbox(bname, text)
  64.  
  65.   boxname = bname
  66.  
  67.   boxtext = text
  68.  
  69.   times = times + 1
  70.  
  71.   down = times * 33
  72.  
  73.   local thingbox = Instance.new("TextBox")
  74.  
  75.   thingbox.Name = (boxname)
  76.   thingbox.Parent = Main3
  77.   thingbox.BackgroundColor3 = Color3.new(0.780392, 0.309804, 0.341176)
  78.   thingbox.Position = UDim2.new(0, 0, 0, down)
  79.   thingbox.Size = UDim2.new(0, 117, 0, 30)
  80.   thingbox.Font = Enum.Font.Cartoon
  81.   thingbox.FontSize = Enum.FontSize.Size14
  82.   thingbox.Text = (boxtext)
  83.   thingbox.TextSize = 14
  84.   thingbox.TextXAlignment = Enum.TextXAlignment.Left
  85.  
  86. end
  87.  
  88. newbut("On", "ON")
  89.  
  90.  
  91. CGG3.Main3.On.MouseButton1Down:connect(function()
  92. if CGG3.Main3.On.Text == "ON" then
  93.   CGG3.Main3.On.Text = "OFF"
  94.   a = true
  95.  
  96.   while a == true do
  97.     wait(0.1)
  98.     for i, v in pairs(game.Workspace.PizzaPlanet:GetChildren()) do
  99.       if v.Name == "BakerWorkstations" then
  100.         for a, b in pairs(v:GetChildren()) do
  101.  
  102.           if b.OrderDisplay.DisplayMain.BakerGUI.Frame.TitleLabel.Text == "Pepperoni Pizza" then
  103.             local Remote = game.ReplicatedStorage.Modules.DataManager.remote9['remotechild4']
  104.  
  105.             local Arguments = {
  106.               [1] = {
  107.                 ["Order"] = {
  108.                   [1] = true,
  109.                   [2] = true,
  110.                   [3] = true,
  111.                   [4] = "Pepperoni"
  112.                 },
  113.                 ["Workstation"] = b
  114.               }
  115.             }
  116.  
  117.             Remote:FireServer(unpack(Arguments))
  118.           end
  119.  
  120.           if b.OrderDisplay.DisplayMain.BakerGUI.Frame.TitleLabel.Text == "Ham Pizza" then
  121.          
  122.           local Remote = game.ReplicatedStorage.Modules.DataManager.remote9['remotechild4']
  123.           local Arguments = {
  124.             [1] = {
  125.               ["Order"] = {
  126.                 [1] = true,
  127.                 [2] = true,
  128.                 [3] = true,
  129.                 [4] = "Ham"
  130.               },
  131.               ["Workstation"] = b
  132.             }
  133.           }
  134.  
  135.           Remote:FireServer(unpack(Arguments))
  136.  
  137.         end
  138.  
  139.         if b.OrderDisplay.DisplayMain.BakerGUI.Frame.TitleLabel.Text == "Vegetable Pizza" then
  140.  
  141.         local Remote = game.ReplicatedStorage.Modules.DataManager.remote9['remotechild4']
  142.         local Arguments = {
  143.           [1] = {
  144.             ["Order"] = {
  145.               [1] = true,
  146.               [2] = true,
  147.               [3] = true,
  148.               [4] = "Vegetable"
  149.             },
  150.             ["Workstation"] = b
  151.           }
  152.         }
  153.  
  154.         Remote:FireServer(unpack(Arguments))
  155.         end
  156.     end
  157.   end
  158. end
  159. end
  160. end
  161. if CGG3.Main3.On.Text == "OFF" then
  162. CGG3.Main3.On.Text = "ON"
  163. a = false
  164. end
  165. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement