Advertisement
KienZino

Work At Pizza Place

Aug 17th, 2018
843
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.16 KB | None | 0 0
  1. ovenst = false
  2. plr = game.Players.LocalPlayer
  3. rain = false
  4. mana = false
  5. bell = false
  6. ra = false
  7. jobs = false
  8.  
  9. a = {21,1020,1009,1015,1019,1016,1006,1014,1008,106,119,1003}
  10. j = {Cashier, Cook, Pizza Boxer, Delivery, Supplier, On Break}
  11.  
  12. -- Objects
  13.  
  14. local gui = Instance.new(ScreenGui)
  15. local main = Instance.new(Frame)
  16. local color = Instance.new(Frame)
  17. local title = Instance.new(TextLabel)
  18. local credits = Instance.new(TextLabel)
  19. local spamovens = Instance.new(TextButton)
  20. local automanager = Instance.new(TextButton)
  21. local spambells = Instance.new(TextButton)
  22. local spamovens_2 = Instance.new(TextButton)
  23. local spamjobs = Instance.new(TextButton)
  24. local invite = Instance.new(TextLabel)
  25.  
  26. -- Properties
  27.  
  28. gui.Name = gui
  29. gui.Parent = game.CoreGui
  30.  
  31. main.Name = main
  32. main.Parent = gui
  33. main.Active = true
  34. main.BackgroundColor3 = Color3.new(1, 0.666667, 1)
  35. main.BorderSizePixel = 0
  36. main.Position = UDim2.new(0.0207351558, 0, 0.249529183, 0)
  37. main.Size = UDim2.new(0, 340, 0, 266)
  38.  
  39. color.Name = color
  40. color.Parent = main
  41. color.BackgroundColor3 = Color3.new(1, 1, 1)
  42. color.BorderSizePixel = 0
  43. color.Size = UDim2.new(0, 340, 0, 72)
  44.  
  45. title.Name = title
  46. title.Parent = color
  47. title.BackgroundColor3 = Color3.new(1, 1, 1)
  48. title.BackgroundTransparency = 1
  49. title.BorderSizePixel = 0
  50. title.Position = UDim2.new(-0.0970588326, 0, 0, 0)
  51. title.Size = UDim2.new(0, 406, 0, 50)
  52. title.Font = Enum.Font.Highway
  53. title.Text = Work at a pizza place GUI
  54. title.TextSize = 35
  55. title.TextWrapped = true
  56.  
  57. credits.Name = credits
  58. credits.Parent = color
  59. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  60. credits.BackgroundTransparency = 1
  61. credits.BorderSizePixel = 0
  62. credits.Position = UDim2.new(0.547058761, 0, 0.49999997, 0)
  63. credits.Size = UDim2.new(0, 200, 0, 50)
  64. credits.Font = Enum.Font.Highway
  65. credits.Text = Jimbo#9089
  66. credits.TextColor3 = Color3.new(1, 0.666667, 1)
  67. credits.TextSize = 20
  68.  
  69. spamovens.Name = spamovens
  70. spamovens.Parent = main
  71. spamovens.BackgroundColor3 = Color3.new(1, 1, 1)
  72. spamovens.BorderSizePixel = 0
  73. spamovens.Position = UDim2.new(1.86264515e-09, 0, 0.323308259, 0)
  74. spamovens.Size = UDim2.new(0, 103, 0, 67)
  75. spamovens.Font = Enum.Font.Highway
  76. spamovens.Text = Spam Ovens
  77. spamovens.TextSize = 20
  78.  
  79. automanager.Name = automanager
  80. automanager.Parent = main
  81. automanager.BackgroundColor3 = Color3.new(1, 1, 1)
  82. automanager.BorderSizePixel = 0
  83. automanager.Position = UDim2.new(0.348529398, 0, 0.323308259, 0)
  84. automanager.Size = UDim2.new(0, 103, 0, 67)
  85. automanager.Font = Enum.Font.Highway
  86. automanager.Text = Auto Manager
  87. automanager.TextSize = 20
  88.  
  89. spambells.Name = spambells
  90. spambells.Parent = main
  91. spambells.BackgroundColor3 = Color3.new(1, 1, 1)
  92. spambells.BorderSizePixel = 0
  93. spambells.Position = UDim2.new(0.695588231, 0, 0.323308259, 0)
  94. spambells.Size = UDim2.new(0, 103, 0, 67)
  95. spambells.Font = Enum.Font.Highway
  96. spambells.Text = Spam bells
  97. spambells.TextSize = 20
  98.  
  99. spamovens_2.Name = spamovens
  100. spamovens_2.Parent = main
  101. spamovens_2.BackgroundColor3 = Color3.new(1, 1, 1)
  102. spamovens_2.BorderSizePixel = 0
  103. spamovens_2.Position = UDim2.new(1.86264515e-09, 0, 0.624060154, 0)
  104. spamovens_2.Size = UDim2.new(0, 103, 0, 67)
  105. spamovens_2.Font = Enum.Font.Highway
  106. spamovens_2.Text = Spam Ovens
  107. spamovens_2.TextSize = 20
  108.  
  109. spamjobs.Name = spam jobs
  110. spamjobs.Parent = main
  111. spamjobs.BackgroundColor3 = Color3.new(1, 1, 1)
  112. spamjobs.BorderSizePixel = 0
  113. spamjobs.Position = UDim2.new(0.348529398, 0, 0.624060154, 0)
  114. spamjobs.Size = UDim2.new(0, 103, 0, 67)
  115. spamjobs.Font = Enum.Font.Highway
  116. spamjobs.Text = Spam Jobs
  117. spamjobs.TextSize = 20
  118.  
  119. invite.Name = invite
  120. invite.Parent = gui
  121. invite.BackgroundColor3 = Color3.new(1, 1, 1)
  122. invite.BackgroundTransparency = 1
  123. invite.BorderSizePixel = 0
  124. invite.Position = UDim2.new(0.0207351558, 0, 0.672316432, 0)
  125. invite.Size = UDim2.new(0, 336, 0, 50)
  126. invite.Font = Enum.Font.Highway
  127. invite.Text = httpsdiscordapp.cominviteCbNtdRJ
  128. invite.TextColor3 = Color3.new(1, 1, 1)
  129. invite.TextSize = 20
  130. invite.TextWrapped = true
  131.  
  132.  
  133. spamjobs.MouseButton1Downconnect(function()
  134. if jobs == false then
  135. jobs = true
  136. jobs.BackgroundColor3 = Color3.fromRGB(0,255,0)
  137.  
  138. else
  139. jobs = false
  140. jobs.BackgroundColor3 = Color3.fromRGB(255,0,0)
  141. end
  142. end)
  143.  
  144. spambells.MouseButton1Downconnect(function()
  145. if bell == false then
  146. bell = true
  147. bell.BackgroundColor3 = Color3.fromRGB(0,255,0)
  148.  
  149. else
  150. bell = false
  151. bell.BackgroundColor3 = Color3.fromRGB(255,0,0)
  152. end
  153. end)
  154.  
  155. automanager.MouseButton1Downconnect(function()
  156. if mana == false then
  157. mana = true
  158. mana.BackgroundColor3 = Color3.fromRGB(0,255,0)
  159. else
  160. mana = false
  161. mana.BackgroundColor3 = Color3.fromRGB(255,0,0)
  162. end
  163. end)
  164.  
  165.  
  166. spamovens.MouseButton1Downconnect(function()
  167. if ovenst == false then
  168. ovenst = true
  169. ovenst.BackgroundColor3 = Color3.fromRGB(0,255,0)
  170. else
  171. ovenst = false
  172. ovenst.BackgroundColor3 = Color3.fromRGB(255,0,0)
  173. end
  174. end)
  175.  
  176.  
  177. --thanks papa
  178.  
  179. while wait() do
  180. if jobs == true then
  181. local b = math.random(#j)
  182.  
  183. game.ReplicatedStorage.Channels.PlayerChannelFireServer(ChangeJob, j[b])
  184. wait()
  185. end
  186. if ra == true then
  187. for _,v in pairs(workspace.HousesGetChildren()) do
  188. if v.Owner.Value == game.Players.LocalPlayer then
  189. for _,i in pairs(v.UpgradesGetChildren()) do
  190. bc = math.random(#a)
  191. game.ReplicatedStorage.Channels.HouseChannelFireServer(PaintHouse, i.Wall, None, a[bc])
  192. wait()
  193. end
  194. end
  195. end
  196. end
  197. if bell == true then
  198. for _,v in pairs(workspace.HousesGetChildren()) do
  199. for _,i in pairs(v.UpgradesGetChildren()) do
  200. i.Doors.FrontDoor.ClickDetector.DetectorFireServer()
  201. wait(.1)
  202. end
  203. end
  204. end
  205. if mana == true then
  206. local a = game.Teams.ManagerGetPlayers()
  207. if #a 1 then
  208. plr.CharacterMoveTo(workspace.ManagerChair.Part.Position - Vector3.new(0,3,0))
  209. wait(1)
  210. end
  211. end
  212. if rain == true then
  213. for _,v in pairs(workspace.CarsGetChildren()) do
  214. lo = math.random(#a)
  215. game.ReplicatedStorage.Channels.VehicleChannelFireServer(Paint, v.Paint, None, a[lo])
  216. wait()
  217. end
  218. end
  219. if ovenst == true then
  220. for _,v in pairs(workspace.OvensGetChildren()) do
  221. if vIsA(Model) then
  222. v.Door.ClickDetector.DetectorFireServer()
  223. end
  224. end
  225. end
  226. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement