Advertisement
AlexRobKitYT

Buble Gum Simulator Gui

Dec 30th, 2018
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.03 KB | None | 0 0
  1. --Buble Gum Simulator Script
  2. --??
  3.  
  4. local BubbleGumSimulator = Instance.new("ScreenGui")
  5. local Main = Instance.new("Frame")
  6. local Heading = Instance.new("TextLabel")
  7. local Coins = Instance.new("TextButton")
  8. local CashStack = Instance.new("TextButton")
  9. local MoneyBag = Instance.new("TextButton")
  10. local Gem = Instance.new("TextButton")
  11. local SmallGemChest = Instance.new("TextButton")
  12. local GemBox = Instance.new("TextButton")
  13. local GemSafe = Instance.new("TextButton")
  14. local WoodChest = Instance.new("TextButton")
  15. local DoubleAutoSell = Instance.new("TextButton")
  16. local SilverChest = Instance.new("TextButton")
  17. local Close = Instance.new("TextButton")
  18. local AutoSell = Instance.new("TextButton")
  19. local UnlockAllPortals = Instance.new("TextButton")
  20. local Frame = Instance.new("Frame")
  21. local Open = Instance.new("TextButton")
  22.  
  23. BubbleGumSimulator.Name = "Bubble Gum Simulator"
  24. BubbleGumSimulator.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  25. BubbleGumSimulator.ResetOnSpawn = false
  26.  
  27. Main.Name = "Main"
  28. Main.Parent = BubbleGumSimulator
  29. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  30. Main.Position = UDim2.new(0,-600,0,266)
  31. Main.Size = UDim2.new(0, 450, 0, 250)
  32. Main.Visible = false
  33. Main.Active = true
  34. Main.Visible = true
  35. Main.Draggable = true
  36.  
  37. Heading.Name = "Heading"
  38. Heading.Parent = Main
  39. Heading.BackgroundColor3 = Color3.new(0, 0, 0)
  40. Heading.Size = UDim2.new(0, 400, 0, 50)
  41. Heading.Font = Enum.Font.ArialBold
  42. Heading.Text = "Bubble Gum Simulator"
  43. Heading.TextColor3 = Color3.new(1, 1, 1)
  44. Heading.TextScaled = true
  45. Heading.TextSize = 14
  46. Heading.TextWrapped = true
  47.  
  48. local coins = false
  49.  
  50. Coins.Name = "Coins"
  51. Coins.Parent = Main
  52. Coins.BackgroundColor3 = Color3.new(0, 0, 0)
  53. Coins.Position = UDim2.new(0, 0, 0.197999999, 0)
  54. Coins.Size = UDim2.new(0, 150, 0, 50)
  55. Coins.Font = Enum.Font.SourceSans
  56. Coins.Text = " Coins : OFF"
  57. Coins.TextColor3 = Color3.new(1, 1, 1)
  58. Coins.TextSize = 14
  59. Coins.MouseButton1Down:connect(function()
  60. if not coins then
  61. Coins.Text = 'Coins : ON'
  62. coins = true
  63. repeat
  64. for i,v in pairs (game.workspace.Pickups.Coin:GetChildren()) do
  65. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  66. end
  67. wait()
  68. until coins  == false
  69. else
  70. Coins.Text = 'Coins : OFF'
  71. coins = false
  72. end
  73. end)
  74.  
  75. local cash = false
  76.  
  77. CashStack.Name = "Cash Stack"
  78. CashStack.Parent = Main
  79. CashStack.BackgroundColor3 = Color3.new(0, 0, 0)
  80. CashStack.Position = UDim2.new(0.666666687, 0, 0.588999987, 0)
  81. CashStack.Size = UDim2.new(0, 150, 0, 50)
  82. CashStack.Font = Enum.Font.SourceSans
  83. CashStack.Text = "Cash Stack : OFF"
  84. CashStack.TextColor3 = Color3.new(1, 1, 1)
  85. CashStack.TextSize = 14
  86. CashStack.MouseButton1Down:connect(function()
  87. if not cash then
  88. CashStack.Text = 'Cash Stack : ON'
  89. cash = true
  90. repeat
  91. for i,v in pairs (game.workspace.Pickups["Cash Stack"]:GetChildren()) do
  92. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  93. end
  94. wait()
  95. until cash  == false
  96. else
  97. CashStack.Text = 'Cash Stack : OFF'
  98. cash = false
  99. end
  100. end)
  101.  
  102. local money = false
  103.  
  104. MoneyBag.Name = "Money Bag"
  105. MoneyBag.Parent = Main
  106. MoneyBag.BackgroundColor3 = Color3.new(0, 0, 0)
  107. MoneyBag.Position = UDim2.new(0.666666687, 0, 0.197999999, 0)
  108. MoneyBag.Size = UDim2.new(0, 150, 0, 50)
  109. MoneyBag.Font = Enum.Font.SourceSans
  110. MoneyBag.Text = " Money Bag : OFF"
  111. MoneyBag.TextColor3 = Color3.new(1, 1, 1)
  112. MoneyBag.TextSize = 14
  113. MoneyBag.MouseButton1Down:connect(function()
  114. if not money then
  115. MoneyBag.Text = 'Money Bag : ON'
  116. money = true
  117. repeat
  118. for i,v in pairs (game.workspace.Pickups["Money Bag"]:GetChildren()) do
  119. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  120. end
  121. wait()
  122. until money  == false
  123. else
  124. MoneyBag.Text = 'Money Bag : OFF'
  125. money = false
  126. end
  127. end)
  128.  
  129. local gem = false
  130.  
  131. Gem.Name = "Gem"
  132. Gem.Parent = Main
  133. Gem.BackgroundColor3 = Color3.new(0, 0, 0)
  134. Gem.Position = UDim2.new(0.666666687, 0, 0.400000006, 0)
  135. Gem.Size = UDim2.new(0, 150, 0, 50)
  136. Gem.Font = Enum.Font.SourceSans
  137. Gem.Text = "Gem : OFF"
  138. Gem.TextColor3 = Color3.new(1, 1, 1)
  139. Gem.TextSize = 14
  140. Gem.MouseButton1Down:connect(function()
  141. if not  gem then
  142. Gem.Text = 'Gem : ON'
  143. gem = true
  144. repeat
  145. for i,v in pairs (game.workspace.Pickups.Gem:GetChildren()) do
  146. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  147. end
  148. wait()
  149. until gem  == false
  150. else
  151. Gem.Text = 'Gem : OFF'
  152. gem = false
  153. end
  154. end)
  155.  
  156. local sgem = false
  157.  
  158. SmallGemChest.Name = "Small Gem Chest"
  159. SmallGemChest.Parent = Main
  160. SmallGemChest.BackgroundColor3 = Color3.new(0, 0, 0)
  161. SmallGemChest.Position = UDim2.new(0.333333343, 0, 0.590000033, 0)
  162. SmallGemChest.Size = UDim2.new(0, 150, 0, 50)
  163. SmallGemChest.Font = Enum.Font.SourceSans
  164. SmallGemChest.Text = "Small Gem Chest : OFF"
  165. SmallGemChest.TextColor3 = Color3.new(1, 1, 1)
  166. SmallGemChest.TextSize = 14
  167. SmallGemChest.MouseButton1Down:connect(function()
  168. if not sgem  then
  169. SmallGemChest.Text = 'Small Gem Chest : ON'
  170. sgem = true
  171. repeat
  172. for i,v in pairs (game.workspace.Pickups["Small Gem Chest"]:GetChildren()) do
  173. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  174. end
  175. wait()
  176. until sgem  == false
  177. else
  178. SmallGemChest.Text = 'Small Gem Chest : OFF'
  179. sgem = false
  180. end
  181. end)
  182.  
  183. local gemb = false
  184.  
  185. GemBox.Name = "Gem Box"
  186. GemBox.Parent = Main
  187. GemBox.BackgroundColor3 = Color3.new(0, 0, 0)
  188. GemBox.Position = UDim2.new(0.333333343, 0, 0.395999998, 0)
  189. GemBox.Size = UDim2.new(0, 150, 0, 50)
  190. GemBox.Font = Enum.Font.SourceSans
  191. GemBox.Text = "Gem Box : OFF"
  192. GemBox.TextColor3 = Color3.new(1, 1, 1)
  193. GemBox.TextSize = 14
  194. GemBox.MouseButton1Down:connect(function()
  195. if not gemb  then
  196. GemBox.Text = 'Gem Box : ON'
  197. gemb = true
  198. repeat
  199. for i,v in pairs (game.workspace.Pickups["Gem Box"]:GetChildren()) do
  200. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  201. end
  202. wait()
  203. until gemb  == false
  204. else
  205. GemBox.Text = 'Gem Box : OFF'
  206. gemb = false
  207. end
  208. end)
  209.  
  210. local sgem = false
  211.  
  212. GemSafe.Name = "Gem Safe"
  213. GemSafe.Parent = Main
  214. GemSafe.BackgroundColor3 = Color3.new(0, 0, 0)
  215. GemSafe.Position = UDim2.new(0.333333373, 0, 0.198000029, 0)
  216. GemSafe.Size = UDim2.new(0, 150, 0, 50)
  217. GemSafe.Font = Enum.Font.SourceSans
  218. GemSafe.Text = "Gem Safe : OFF"
  219. GemSafe.TextColor3 = Color3.new(1, 1, 1)
  220. GemSafe.TextSize = 14
  221. GemSafe.MouseButton1Down:connect(function()
  222. if not sgem then
  223. GemSafe.Text = 'Gem Safe : ON'
  224. sgem = true
  225. repeat
  226. for i,v in pairs (game.workspace.Pickups["Gem Safe"]:GetChildren()) do
  227. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  228. end
  229. wait()
  230. until sgem  == false
  231. else
  232. GemSafe.Text = 'Gem Safe : OFF'
  233. sgem = false
  234. end
  235. end)
  236.  
  237. local wc = false
  238.  
  239. WoodChest.Name = "Wood Chest"
  240. WoodChest.Parent = Main
  241. WoodChest.BackgroundColor3 = Color3.new(0, 0, 0)
  242. WoodChest.Position = UDim2.new(0, 0, 0.400000006, 0)
  243. WoodChest.Size = UDim2.new(0, 150, 0, 50)
  244. WoodChest.Font = Enum.Font.SourceSans
  245. WoodChest.Text = "Wood Chest : OFF"
  246. WoodChest.TextColor3 = Color3.new(1, 1, 1)
  247. WoodChest.TextSize = 14
  248. WoodChest.MouseButton1Down:connect(function()
  249. if not wc then
  250. WoodChest.Text = 'Wood Chest : ON'
  251. wc = true
  252. repeat
  253. for i,v in pairs (game.workspace.Pickups["Wood Chest"]:GetChildren()) do
  254. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  255. end
  256. wait()
  257. until wc  == false
  258. else
  259. WoodChest.Text = 'Wood Chest : OFF'
  260. wc = false
  261. end
  262. end)
  263.  
  264. local sc = false
  265.  
  266. local twosell = false
  267.  
  268. DoubleAutoSell.Name = "Double AutoSell"
  269. DoubleAutoSell.Parent = Main
  270. DoubleAutoSell.BackgroundColor3 = Color3.new(0, 0, 0)
  271. DoubleAutoSell.Position = UDim2.new(0, 0, 0.797999978, 0)
  272. DoubleAutoSell.Size = UDim2.new(0, 150, 0, 50)
  273. DoubleAutoSell.Font = Enum.Font.SourceSans
  274. DoubleAutoSell.Text = "Double Auto Sell : OFF"
  275. DoubleAutoSell.TextColor3 = Color3.new(1, 1, 1)
  276. DoubleAutoSell.TextSize = 14
  277. DoubleAutoSell.MouseButton1Down:connect(function()
  278. if not twosell then
  279. DoubleAutoSell.Text = 'Double Auto Sell : ON'
  280. twosell = true
  281. repeat
  282. game.workspace.Activations.TwilightSell.Root.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  283. wait()
  284. until twosell  == false
  285. else
  286. DoubleAutoSell.Text = 'Double Auto Sell : OFF'
  287. twosell = false
  288. end
  289. end)
  290.  
  291. SilverChest.Name = "Silver Chest"
  292. SilverChest.Parent = Main
  293. SilverChest.BackgroundColor3 = Color3.new(0, 0, 0)
  294. SilverChest.Position = UDim2.new(0, 0, 0.593999982, 0)
  295. SilverChest.Size = UDim2.new(0, 150, 0, 50)
  296. SilverChest.Font = Enum.Font.SourceSans
  297. SilverChest.Text = "Silver Chest : OFF"
  298. SilverChest.TextColor3 = Color3.new(1, 1, 1)
  299. SilverChest.TextSize = 14
  300. SilverChest.MouseButton1Down:connect(function()
  301. if not sc then
  302. SilverChest.Text = 'Silver Chest : ON'
  303. sc = true
  304. repeat
  305. for i,v in pairs (game.workspace.Pickups["Silver Chest"]:GetChildren()) do
  306. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  307. end
  308. wait()
  309. until sc  == false
  310. else
  311. SilverChest.Text = 'Silver Chest : OFF'
  312. sc = false
  313. end
  314. end)
  315.  
  316. Close.Name = "Close"
  317. Close.Parent = Main
  318. Close.BackgroundColor3 = Color3.new(0, 0, 0)
  319. Close.Position = UDim2.new(0.888888896, 0, 0, 0)
  320. Close.Size = UDim2.new(0, 50, 0, 49)
  321. Close.Font = Enum.Font.SourceSans
  322. Close.Text = "X"
  323. Close.TextColor3 = Color3.new(1, 1, 1)
  324. Close.TextSize = 14
  325. Close.MouseButton1Down:connect(function()
  326. Frame.Visible = true
  327. Main:TweenPosition(UDim2.new(0,-600,0,266), "Out", "Quad", 1)
  328. end)
  329.  
  330. local sell = false
  331.  
  332. AutoSell.Name = "AutoSell"
  333. AutoSell.Parent = Main
  334. AutoSell.BackgroundColor3 = Color3.new(0, 0, 0)
  335. AutoSell.Position = UDim2.new(0.333333343, 0, 0.797999978, 0)
  336. AutoSell.Size = UDim2.new(0, 150, 0, 50)
  337. AutoSell.Font = Enum.Font.SourceSans
  338. AutoSell.Text = "Auto Sell : OFF"
  339. AutoSell.TextColor3 = Color3.new(1, 1, 1)
  340. AutoSell.TextSize = 14
  341. AutoSell.MouseButton1Down:connect(function()
  342. if not sell then
  343. AutoSell.Text = 'Auto Sell : ON'
  344. sell = true
  345. repeat
  346. game.workspace.Activations.Sell.Root.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  347. wait()
  348. until sell  == false
  349. else
  350. AutoSell.Text = 'Auto Sell : OFF'
  351. sell = false
  352. end
  353. end)
  354.  
  355. UnlockAllPortals.Name = "Unlock All Portals"
  356. UnlockAllPortals.Parent = Main
  357. UnlockAllPortals.BackgroundColor3 = Color3.new(0, 0, 0)
  358. UnlockAllPortals.Position = UDim2.new(0.666666687, 0, 0.797999978, 0)
  359. UnlockAllPortals.Size = UDim2.new(0, 150, 0, 50)
  360. UnlockAllPortals.Font = Enum.Font.SourceSans
  361. UnlockAllPortals.Text = "Unlock All Portals"
  362. UnlockAllPortals.TextColor3 = Color3.new(1, 1, 1)
  363. UnlockAllPortals.TextSize = 14
  364. UnlockAllPortals.MouseButton1Down:connect(function()
  365. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.FloatingIslands["The Floating Island"].RootPart.CFrame
  366. wait(1)
  367. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.FloatingIslands["The Floating Island"].RootPart.CFrame
  368. wait(1)
  369. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.FloatingIslands.Space.Decore.SpaceAdventure.Model.Part.CFrame
  370. wait(1)
  371. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.FloatingIslands.Space.Decore.SpaceAdventure.Model.Part.CFrame
  372. wait(1)
  373. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.FloatingIslands["The Twilight"].Pickups["The Twilight"].CFrame
  374. wait(1)
  375. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.FloatingIslands["The Twilight"].Pickups["The Twilight"].CFrame
  376. wait(1)
  377. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.FloatingIslands["The Skylands"].Pickups["The Skylands"].CFrame
  378. wait(1)
  379. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.workspace.FloatingIslands["The Skylands"].Pickups["The Skylands"].CFrame
  380. end)
  381.  
  382. Frame.Parent = BubbleGumSimulator
  383. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  384. Frame.Position = UDim2.new(0.926620662, 0, 0.47410357, 0)
  385. Frame.Size = UDim2.new(0, 100, 0, 25)
  386.  
  387. Open.Name = "Open"
  388. Open.Parent = Frame
  389. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  390. Open.Size = UDim2.new(0, 100, 0, 25)
  391. Open.Font = Enum.Font.SourceSans
  392. Open.Text = "Open"
  393. Open.TextColor3 = Color3.new(1, 1, 1)
  394. Open.TextSize = 14
  395. Open.MouseButton1Down:connect(function()
  396. Main:TweenPosition(UDim2.new(0.336689293, 0, 0.300390422, 0), "In", "Quad", 1)
  397. Frame.Visible = false
  398. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement