Advertisement
WeDoScripts

BloxBurg Gui LuckyMMB

Feb 3rd, 2019
1,502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.26 KB | None | 0 0
  1. -- BloxBurg Gui Created by LuckyMMB @ V3rmillion.net --
  2. -- Discord https://discord.gg/GKzJnUC --
  3.  
  4. pizzaactive = false
  5. icecreamactive = false
  6. AntiAFKMode = "Nothing"
  7.  
  8. local Players = game.Players
  9. local Player = Players['LocalPlayer']
  10. local Character = Player.Character or Player.CharacterAdded:wait()
  11. local HRP = Character['HumanoidRootPart']
  12. local Stat = workspace.Stats[Player.Name]
  13.  
  14. -- Objects
  15.  
  16. local BloxGUI = Instance.new("ScreenGui")
  17. local MainFrame = Instance.new("Frame")
  18. local Close = Instance.new("TextButton")
  19. local AntiAFK = Instance.new("TextButton")
  20. local Kick = Instance.new("TextButton")
  21. local Pizza = Instance.new("TextButton")
  22. local PizzaFrame = Instance.new("Frame")
  23. local PizzaHeader = Instance.new("TextLabel")
  24. local StartPizza = Instance.new("TextButton")
  25. local IceCream = Instance.new("TextButton")
  26. local IceCreamFrame = Instance.new("Frame")
  27. local IceCreamHeader = Instance.new("TextLabel")
  28. local StartIceCream = Instance.new("TextButton")
  29. local LightsOn = Instance.new("TextButton")
  30. local InfoScreen = Instance.new("TextButton")
  31. local InfoFrame = Instance.new("Frame")
  32. local InfoText1 = Instance.new("TextLabel")
  33.  
  34. -- Properties
  35.  
  36. BloxGUI.Name = "BloxGUI"
  37. BloxGUI.Parent = game.CoreGui
  38. local BloxCORE = game.CoreGui["BloxGUI"]
  39. local MainFrame = Instance.new("Frame")
  40. local AntiAFK = Instance.new("TextButton")
  41. local Icecream = Instance.new("TextButton")
  42.  
  43. MainFrame.Name = "MainFrame"
  44. MainFrame.Parent = BloxGUI
  45. MainFrame.Active = true
  46. MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  47. MainFrame.BackgroundTransparency = 1
  48. MainFrame.Position = UDim2.new(0.5, -372, 0, -27)
  49. MainFrame.Size = UDim2.new(0, 720, 0, 20)
  50. MainFrame.Selectable = true
  51.  
  52. Close.Name = "Close"
  53. Close.Parent = MainFrame
  54. Close.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  55. Close.BorderColor3 = Color3.new(0, 1, 0)
  56. Close.Position = UDim2.new(0, 0, 0, 0)
  57. Close.Size = UDim2.new(0, 20, 0, 20)
  58. Close.Font = Enum.Font.Fantasy
  59. Close.FontSize = Enum.FontSize.Size18
  60. Close.Text = "X"
  61. Close.TextColor3 = Color3.new(1, 0, 0)
  62. Close.TextSize = 17
  63. Close.TextScaled = true
  64. Close.TextWrapped = true
  65.  
  66. IceCream.Name = "IceCream"
  67. IceCream.Parent = MainFrame
  68. IceCream.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  69. IceCream.TextColor3 = Color3.new(1, 1, 1)
  70. IceCream.BorderColor3 = Color3.new(0, 1, 0)
  71. IceCream.Position = UDim2.new(0, 25, 0, 0)
  72. IceCream.Size = UDim2.new(0, 125, 0, 20)
  73. IceCream.Font = Enum.Font.Fantasy
  74. IceCream.FontSize = Enum.FontSize.Size18
  75. IceCream.Text = "IceCream Money"
  76. IceCream.TextSize = 17
  77.  
  78. IceCreamFrame.Name = "IceCreamFrame"
  79. IceCreamFrame.Parent = MainFrame
  80. IceCreamFrame.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  81. IceCreamFrame.BackgroundTransparency = 0.5
  82. IceCreamFrame.BorderColor3 = Color3.new(0, 0, 0)
  83. IceCreamFrame.Position = UDim2.new(0, -35, 0, 30)
  84. IceCreamFrame.Size = UDim2.new(0, 290, 0, 175)
  85. IceCreamFrame.Visible = false
  86.  
  87. IceCreamHeader.Name = "IceCreamHeader"
  88. IceCreamHeader.Parent = IceCreamFrame
  89. IceCreamHeader.BackgroundColor3 = Color3.new(1, 1, 1)
  90. IceCreamHeader.BackgroundTransparency = 0.15
  91. IceCreamHeader.BorderColor3 = Color3.new(1, 1, 1)
  92. IceCreamHeader.Position = UDim2.new(0, 5, 0, 5)
  93. IceCreamHeader.Size = UDim2.new(0, 280, 0, 130)
  94. IceCreamHeader.Font = Enum.Font.SourceSans
  95. IceCreamHeader.FontSize = Enum.FontSize.Size18
  96. IceCreamHeader.Text = "1. Go to work as Ben's IceCream Seller\n2. Click Start Money Farming\n3. Stand near the cups and wait for the current customer to leave and the next one to place an order\n4. The cups should then equip automatically\n5. Keep from timing out after 20 minutes idle\n6. Enjoy the Money"
  97. IceCreamHeader.TextColor3 = Color3.new(0, 0, 0)
  98. IceCreamHeader.TextSize = 16
  99. IceCreamHeader.TextWrapped = true
  100. IceCreamHeader.TextYAlignment = Enum.TextYAlignment.Top
  101.  
  102. StartIceCream.Name = "StartIceCream"
  103. StartIceCream.Parent = IceCreamFrame
  104. StartIceCream.BackgroundColor3 = Color3.new(0.18, 0.18, 0.18)
  105. StartIceCream.BorderColor3 = Color3.new(0.5, 0.5, 0.5)
  106. StartIceCream.Position = UDim2.new(0, 50, 0, 140)
  107. StartIceCream.Size = UDim2.new(0, 180, 0, 30)
  108. StartIceCream.Font = Enum.Font.Fantasy
  109. StartIceCream.FontSize = Enum.FontSize.Size18
  110. StartIceCream.Text = "Start Money Farming"
  111. StartIceCream.TextColor3 = Color3.new(1, 1, 1)
  112. StartIceCream.TextWrapped = true
  113. StartIceCream.TextSize = 17
  114.  
  115. Pizza.Name = "Pizza"
  116. Pizza.Parent = MainFrame
  117. Pizza.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  118. Pizza.TextColor3 = Color3.new(1, 1, 1)
  119. Pizza.BorderColor3 = Color3.new(0, 1, 0)
  120. Pizza.Position = UDim2.new(0, 155, 0, 0)
  121. Pizza.Size = UDim2.new(0, 95, 0, 20)
  122. Pizza.Font = Enum.Font.Fantasy
  123. Pizza.FontSize = Enum.FontSize.Size18
  124. Pizza.Text = "Pizza Money"
  125. Pizza.TextSize = 17
  126.  
  127. PizzaFrame.Name = "PizzaFrame"
  128. PizzaFrame.Parent = MainFrame
  129. PizzaFrame.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  130. PizzaFrame.BackgroundTransparency = 0.5
  131. PizzaFrame.BorderColor3 = Color3.new(0, 0, 0)
  132. PizzaFrame.Position = UDim2.new(0, 70, 0, 30)
  133. PizzaFrame.Size = UDim2.new(0, 290, 0, 95)
  134. PizzaFrame.Visible = false
  135.  
  136. PizzaHeader.Name = "PizzaHeader"
  137. PizzaHeader.Parent = PizzaFrame
  138. PizzaHeader.BackgroundColor3 = Color3.new(1, 1, 1)
  139. PizzaHeader.BackgroundTransparency = 0.15
  140. PizzaHeader.BorderColor3 = Color3.new(1, 1, 1)
  141. PizzaHeader.Position = UDim2.new(0, 5, 0, 5)
  142. PizzaHeader.Size = UDim2.new(0, 280, 0, 50)
  143. PizzaHeader.Font = Enum.Font.SourceSans
  144. PizzaHeader.FontSize = Enum.FontSize.Size18
  145. PizzaHeader.Text = "1. Go to work as Pizza Planet Baker\n2. Click Start Money Farming\n3. Enjoy the Money"
  146. PizzaHeader.TextColor3 = Color3.new(0, 0, 0)
  147. PizzaHeader.TextSize = 16
  148. PizzaHeader.TextWrapped = true
  149. PizzaHeader.TextYAlignment = Enum.TextYAlignment.Top
  150.  
  151. StartPizza.Name = "StartPizza"
  152. StartPizza.Parent = PizzaFrame
  153. StartPizza.BackgroundColor3 = Color3.new(0.18, 0.18, 0.18)
  154. StartPizza.BorderColor3 = Color3.new(0.5, 0.5, 0.5)
  155. StartPizza.Position = UDim2.new(0, 50, 0, 60)
  156. StartPizza.Size = UDim2.new(0, 180, 0, 30)
  157. StartPizza.Font = Enum.Font.Fantasy
  158. StartPizza.FontSize = Enum.FontSize.Size18
  159. StartPizza.Text = "Start Money Farming"
  160. StartPizza.TextColor3 = Color3.new(1, 1, 1)
  161. StartPizza.TextWrapped = true
  162. StartPizza.TextSize = 17
  163.  
  164. Kick.Name = "Kick"
  165. Kick.Parent = MainFrame
  166. Kick.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  167. Kick.TextColor3 = Color3.new(1, 1, 1)
  168. Kick.BorderColor3 = Color3.new(0, 1, 0)
  169. Kick.Position = UDim2.new(0, 255, 0, 0)
  170. Kick.Size = UDim2.new(0, 40, 0, 20)
  171. Kick.Font = Enum.Font.Fantasy
  172. Kick.FontSize = Enum.FontSize.Size18
  173. Kick.Text = "Kick"
  174. Kick.TextSize = 17
  175.  
  176. LightsOn.Name = "LightsOn"
  177. LightsOn.Parent = MainFrame
  178. LightsOn.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  179. LightsOn.TextColor3 = Color3.new(1, 1, 1)
  180. LightsOn.BorderColor3 = Color3.new(0, 1, 0)
  181. LightsOn.Position = UDim2.new(0, 450, 0, 0)
  182. LightsOn.Size = UDim2.new(0, 75, 0, 20)
  183. LightsOn.Font = Enum.Font.Fantasy
  184. LightsOn.FontSize = Enum.FontSize.Size18
  185. LightsOn.Text = "Lights On"
  186. LightsOn.TextSize = 17
  187.  
  188. AntiAFK.Name = "AntiAFK"
  189. AntiAFK.Parent = MainFrame
  190. AntiAFK.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  191. AntiAFK.BorderColor3 = Color3.new(0, 1, 0)
  192. AntiAFK.Position = UDim2.new(0, 530, 0, 0)
  193. AntiAFK.Size = UDim2.new(0, 140, 0, 20)
  194. AntiAFK.BackgroundTransparency = 0
  195. AntiAFK.Font = Enum.Font.Fantasy
  196. AntiAFK.FontSize = Enum.FontSize.Size18
  197. AntiAFK.Text = "Start AFK Message"
  198. AntiAFK.TextColor3 = Color3.new(1, 1, 1)
  199. AntiAFK.TextSize = 17
  200.  
  201. InfoScreen.Name = "InfoScreen"
  202. InfoScreen.Parent = MainFrame
  203. InfoScreen.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  204. InfoScreen.BorderColor3 = Color3.new(0, 1, 0)
  205. InfoScreen.Position = UDim2.new(0, 675, 0, 0)
  206. InfoScreen.Size = UDim2.new(0, 40, 0, 20)
  207. InfoScreen.BackgroundTransparency = 0
  208. InfoScreen.Font = Enum.Font.Fantasy
  209. InfoScreen.FontSize = Enum.FontSize.Size18
  210. InfoScreen.TextColor3 = Color3.new(1, 1, 1)
  211. InfoScreen.Text = "Info"
  212. InfoScreen.TextSize = 17
  213. InfoScreen.TextWrapped = true
  214.  
  215. InfoFrame.Name = "InfoFrame"
  216. InfoFrame.Parent = MainFrame
  217. InfoFrame.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  218. InfoFrame.BorderColor3 = Color3.new(0, 0, 0)
  219. InfoFrame.BackgroundTransparency = 0.5
  220. InfoFrame.Position = UDim2.new(0, 578, 0, 30)
  221. InfoFrame.Size = UDim2.new(0, 200, 0, 130)
  222. InfoFrame.Visible = false
  223.  
  224. InfoText1.Name = "InfoText1"
  225. InfoText1.Parent = InfoFrame
  226. InfoText1.BackgroundColor3 = Color3.new(0, 0, 0)
  227. InfoText1.BorderColor3 = Color3.new(0, 0, 0)
  228. InfoText1.BackgroundTransparency = 1
  229. InfoText1.Position = UDim2.new(0, 5, 0, 5)
  230. InfoText1.Size = UDim2.new(0, 190, 0, 120)
  231. InfoText1.TextColor3 = Color3.new(1, 1, 1)
  232. InfoText1.Font = Enum.Font.Fantasy
  233. InfoText1.FontSize = Enum.FontSize.Size18
  234. InfoText1.Text = "This Gui was created by LuckyMMB@V3rmillion.net\nDiscord https://discord.gg/GKzJnUC. I did not make the scripts for Bens Icecream, kick from house and turn lights on and take no credit for them."
  235. InfoText1.TextSize = 14
  236. InfoText1.TextWrapped = true
  237. InfoText1.TextYAlignment = Enum.TextYAlignment.Top
  238.  
  239. --- Menus ---
  240.  
  241. local Menus = {
  242. [IceCream] = IceCreamFrame;
  243. [Pizza] = PizzaFrame;
  244. [InfoScreen] = InfoFrame;
  245. }
  246. for button,frame in pairs(Menus) do
  247. button.MouseButton1Click:connect(function()
  248. if frame.Visible then
  249. frame.Visible = false
  250. return
  251. end
  252. for k,v in pairs(Menus) do
  253. v.Visible = v == frame
  254. end
  255. end)
  256. end
  257.  
  258. --- Close ---
  259.  
  260. Close.MouseButton1Down:connect(function()
  261. BloxGUI:Destroy()
  262. end)
  263.  
  264. --- Notify Function ---
  265.  
  266. function notify(msg)
  267. game.StarterGui:SetCore('SendNotification', {
  268. Title = 'BloxBurg LuckyGUI';
  269. Text = msg;
  270. Duration = 5;
  271. })
  272. end
  273.  
  274. --- Pizza Worker ---
  275.  
  276. StartPizza.MouseButton1Click:Connect(function()
  277.  
  278. --[[
  279. Beginning, runs a FE God script to maintain speed throughout usage. (by Dogi_x)
  280. --]]
  281.  
  282. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  283. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  284. l.Parent = game.Players.LocalPlayer.Character
  285. l.Name = "Humanoid"
  286. wait(0.1)
  287. game.Players.LocalPlayer.Character["1"]:Destroy()
  288. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  289. game.Players.LocalPlayer.Character.Animate.Disabled = true
  290. wait(0.1)
  291. game.Players.LocalPlayer.Character.Animate.Disabled = false
  292. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  293.  
  294. --[[
  295. Runs the normal script created by Morse
  296. --]]
  297.  
  298. local DE = game.ReplicatedStorage.DataEvent
  299. local UE = Player.PlayerGui.MainGUI.Scripts.Inventory.UpdateEvent
  300.  
  301. local PP = workspace.PizzaPlanet
  302. local Stations = PP['BakerWorkstations']
  303. local Crates = PP['IngredientCrates']
  304. local Working, Stocking = true
  305.  
  306. Stat.Job:GetPropertyChangedSignal('Value'):Connect(function()
  307. if Stat.Job.Value == 'PizzaPlanetBaker' then Working = false
  308. else Working = true end
  309. end)
  310. if Stat.Job.Value == 'PizzaPlanetBaker' then Working = false end
  311.  
  312. local Orders = {
  313. Cheese = {true,true,true,false};
  314. Vegetable = {true,true,true,'Vegetable'};
  315. Ham = {true,true,true,'Ham'};
  316. Pepperoni = {true,true,true,'Pepperoni'}
  317. }
  318.  
  319. local CrateTP = Vector3.new(1163.78955, 13.5, 258.54892)
  320. local Positions = {
  321. Vector3.new(1173.34778, 13.5, 226.585571),
  322. Vector3.new(1172.8501, 13.5, 238.183029),
  323. Vector3.new(1173.20837, 13.5, 250.465881),
  324. Vector3.new(1173.47266, 13.5, 259.170837)
  325. }
  326.  
  327. local Part1 = coroutine.wrap(function()
  328. while wait() do
  329. for __, station in next, (Stations:GetChildren()) do
  330. if Working then break end
  331. local CT = station:FindFirstChild('CounterTop')
  332. if CT then CT.Parent = nil end
  333. station.InUse.Value = Player
  334.  
  335. local Pos = Positions[__]
  336. Character.Humanoid.WalkToPoint = Pos
  337. repeat wait() until (HRP.Position - Pos).magnitude < 2 or Working
  338. if Working then break end
  339.  
  340. local NI = station['OrderDisplay']['DisplayMain']:FindFirstChild('NoIngredients',true)
  341. if NI and NI.Visible and not Working then
  342. Stocking = true
  343. local Pos = CrateTP
  344. Character.Humanoid.WalkToPoint = Pos
  345. repeat wait() until (HRP.Position - Pos).magnitude < 2.75 or Working
  346. if Working then break end
  347.  
  348. local Crate = Crates.Crate;
  349. for __, cr in next, (Crates:GetChildren()) do
  350. if (cr.Position - HRP.Position).magnitude < (Crate.Position - HRP.Position).magnitude then
  351. Crate = cr
  352. end
  353. end
  354. Crate.Parent = game.Lighting.TempFolder
  355. wait()
  356. DE:FireServer({
  357. Object = game.Lighting.TempFolder.Crate,
  358. Type = 'TakeIngredientCrate'
  359. })
  360. Crate.Parent = Crates
  361. UE:Fire(Stat.EquippedItem)
  362. wait()
  363. end
  364.  
  365. local Pos = Positions[__]
  366. Character.Humanoid.WalkToPoint = Pos
  367. repeat wait() until (HRP.Position - Pos).magnitude < 2 or Working
  368. if Working then break end
  369. if Stocking then
  370. DE:FireServer({
  371. Workstation = station,
  372. Type = 'RestockIngredients'
  373. })
  374. end
  375. Stocking = false
  376. end
  377. for i = #Positions, 1, -1 do
  378. local station = Stations:GetChildren()[i]
  379. if Working then break end
  380. local CT = station:FindFirstChild('CounterTop')
  381. if CT then CT.Parent = nil end
  382. station.InUse.Value = Player
  383.  
  384. local Pos = Positions[i]
  385. Character.Humanoid.WalkToPoint = Pos
  386. repeat wait() until (HRP.Position - Pos).magnitude < 2 or Working
  387. if Working then break end
  388.  
  389. local NI = station['OrderDisplay']['DisplayMain']:FindFirstChild('NoIngredients',true)
  390. if NI and NI.Visible and not Working then
  391. Stocking = true
  392. local Pos = CrateTP
  393. Character.Humanoid.WalkToPoint = Pos
  394. repeat wait() until (HRP.Position - Pos).magnitude < 2.75 or Working
  395. if Working then break end
  396.  
  397. local Crate = Crates.Crate;
  398. for __, cr in next, (Crates:GetChildren()) do
  399. if (cr.Position - HRP.Position).magnitude < (Crate.Position - HRP.Position).magnitude then
  400. Crate = cr
  401. end
  402. end
  403. Crate.Parent = game.Lighting.TempFolder
  404. wait()
  405. DE:FireServer({
  406. Object = game.Lighting.TempFolder.Crate,
  407. Type = 'TakeIngredientCrate'
  408. })
  409. Crate.Parent = Crates
  410. UE:Fire(Stat.EquippedItem)
  411. wait()
  412. end
  413.  
  414. local Pos = Positions[i]
  415. Character.Humanoid.WalkToPoint = Pos
  416. repeat wait() until (HRP.Position - Pos).magnitude < 2 or Working
  417. if Working then break end
  418. if Stocking then
  419. DE:FireServer({
  420. Workstation = station,
  421. Type = 'RestockIngredients'
  422. })
  423. end
  424. Stocking = false
  425. end
  426. end
  427. end)
  428.  
  429. local Part2 = coroutine.wrap(function()
  430. while wait(1) do
  431. for __, station in next, (Stations:GetChildren()) do
  432. if Working or Stocking then break end
  433. local send = Orders[station.Order.Value]
  434. local count = station.Order.IngredientsLeft.Value
  435. DE:FireServer({
  436. Workstation = station,
  437. Type = 'UseWorkstation'
  438. })
  439.  
  440. if Working or Stocking then break end
  441. if count > 2 then count = count - 1 end
  442. for i = 1, count do
  443. DE:FireServer({
  444. Workstation = station,
  445. Type = 'UseWorkstation'
  446. })
  447. end
  448.  
  449. if Working or Stocking then break end
  450.  
  451. DE:FireServer({
  452. Order = send,
  453. Workstation = station,
  454. Type = 'FinishOrder'
  455. })
  456. UE:Fire(Stat.Job.ShiftEarnings)
  457. end
  458. end
  459. end)
  460. if pizzaactive == true then
  461. pizzaactive = false
  462. Pizza.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  463. StartPizza.BackgroundColor3 = Color3.new(0.18, 0.18, 0.18)
  464. StartPizza.Text = "Start Money Farming"
  465. notify'Pizza Money Farming Stopped'
  466. else
  467. pizzaactive = true
  468. Pizza.BackgroundColor3 = Color3.new(0, 0.5, 0)
  469. StartPizza.BackgroundColor3 = Color3.new(0, 0.5, 0)
  470. StartPizza.Text = "Pizza Money Active"
  471. notify'Pizza Money Farming Started'
  472. Part1()
  473. Part2()
  474. end
  475. end)
  476.  
  477. --- Ben's Icecream Money ---
  478.  
  479. StartIceCream.MouseButton1Click:Connect(function()
  480. function handle()
  481. game.ReplicatedStorage.DataEvent:FireServer({Type = 'TakeIceCreamCup'})
  482. wait(.1)
  483. local plr = game:GetService'Players'.LocalPlayer.Name
  484. local flavours = {'Vanilla', 'Chocolate', 'Strawberry'}
  485. local extra = {'Sprinkles', 'Nuts', 'Caramel'}
  486. local stuff
  487. local event = game.ReplicatedStorage.DataEvent
  488.  
  489. local send_valid = function()
  490. for k,v in next, workspace.BensIceCream.CustomerTargets:GetChildren()do
  491. if v.Occupied.Value ~= nil then
  492. return v
  493. end
  494. end
  495. end
  496.  
  497. for s,j in next, workspace.SpawnedCharacters:GetChildren() do
  498. if j.Name:find('BensIceCream') then
  499. local char = j
  500. local p = send_valid()
  501. if p.Occupied.Value:FindFirstChild('Order') then
  502. stuff = {}
  503. for _,x in next, p.Occupied.Value.Order:GetChildren()do
  504. table.insert(stuff, x.Value)
  505. end
  506. end
  507. end
  508. end
  509.  
  510. local ball = function()
  511. if workspace[plr]:FindFirstChild('Ice Cream Cup'):WaitForChild'Ball1'.Transparency == 1 then
  512. return workspace[plr]:FindFirstChild('Ice Cream Cup').Ball1
  513. elseif workspace[plr]:FindFirstChild('Ice Cream Cup'):WaitForChild'Ball2'.Transparency == 1 then
  514. return workspace[plr]:FindFirstChild('Ice Cream Cup').Ball2
  515. end
  516. end
  517.  
  518. table.foreach(flavours, function(s,l)
  519. for k,v in next, stuff do
  520. if l:lower() == v:lower() then
  521. local new = ball()
  522. event:FireServer({
  523. Type = "AddIceCreamScoop",
  524. Taste = v,
  525. Ball = new,
  526. })
  527. new.Transparency = 0
  528. end
  529. end
  530. end)
  531.  
  532. table.foreach(extra, function(s,l)
  533. for k,v in next, stuff do
  534. if l:lower() == v:lower() then
  535. event:FireServer({
  536. Type = "AddIceCreamTopping",
  537. Taste = l
  538. })
  539. end
  540. end
  541. end)
  542. wait()
  543. for k,v in next, workspace.BensIceCream.CustomerTargets:GetChildren()do
  544. if v.Occupied.Value ~= nil then
  545. game.ReplicatedStorage.DataEvent:FireServer({Type = 'FinishOrder', Workstation = v})
  546. end
  547. end
  548. end
  549.  
  550. if icecreamactive == true then
  551. icecreamactive = false
  552. IceCream.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  553. IceCreamPizza.BackgroundColor3 = Color3.new(0.18, 0.18, 0.18)
  554. IceCreamPizza.Text = "Start Money Farming"
  555. notify'IceCream Money Farming Stopped'
  556. else
  557. icecreamactive = true
  558. IceCream.BackgroundColor3 = Color3.new(0, 0.5, 0)
  559. IceCreamPizza.BackgroundColor3 = Color3.new(0, 0.5, 0)
  560. IceCreamPizza.Text = "IceCream Money Active"
  561. notify'IceCream Money Farming Started'
  562. for k,v in next, workspace.BensIceCream.CustomerTargets:GetChildren()do
  563. v.Occupied:GetPropertyChangedSignal('Value'):Connect(function()
  564. handle()
  565. end)
  566. end
  567. end
  568. end)
  569.  
  570. --- Kick From House ---
  571.  
  572. Kick.MouseButton1Click:Connect(function()
  573. local oldLoc = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  574. game.ReplicatedStorage.DataFunction:InvokeServer({Type="EnterBuild"})
  575. wait(0.01)
  576. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = oldLoc
  577. notify'All players kicked from house'
  578. end)
  579.  
  580. --- LightsOn ---
  581.  
  582. LightsOn.MouseButton1Click:Connect(function()
  583. local plot = game.Workspace.Plots:FindFirstChild("Plot_"..game.Players.LocalPlayer.Name)
  584. for i,v in pairs(plot.House.Objects:children()) do
  585. if v.Type.Value == "Lighting" then
  586. if not v.ObjectData.IsOn.Value then
  587. game.ReplicatedStorage.DataEvent:FireServer({Type="Interact", Path=1, Target=v})
  588. end
  589. end
  590. end
  591. for ii,wall in pairs(plot.House.Walls:children()) do
  592. if wall:FindFirstChild("ItemHolder") then
  593. for i,v in pairs(wall.ItemHolder:children()) do
  594. if v.Type.Value == "Lighting" then
  595. if v:FindFirstChild("ObjectData") then
  596. if not v.ObjectData.IsOn.Value then
  597. game.ReplicatedStorage.DataEvent:FireServer({Type="Interact", Path=1, Target=v})
  598. end
  599. end
  600. end
  601. end
  602. end
  603. end
  604. end)
  605.  
  606. --- Anti AFK ---
  607.  
  608. AntiAFK.MouseButton1Click:Connect(function()
  609. if AntiAFKMode == "On" then
  610. AntiAFKMode = "Nothing"
  611. AntiAFK.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
  612. AntiAFK.Text = "Start AFK Message"
  613. notify'Afk message turned off'
  614. else
  615. AntiAFKMode = "On"
  616. AntiAFK.BackgroundColor3 = Color3.new(0, 0.5, 0)
  617. AntiAFK.Text = "Stop AFK Message"
  618. notify'Afk message turned on'
  619. while AntiAFKMode == "On" do
  620. wait(300)
  621. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("I'm afk", "All")
  622. game.Players:Chat("/e point")
  623. end
  624. end
  625. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement