Advertisement
Guest User

Cookie Simulator GUI | OP | INF everything |

a guest
Mar 22nd, 2019
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.66 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "ItzHxS#1280", Text = "Thanks for using!"})
  2.  
  3.  
  4. -- Instances:
  5. local Ent3g = Instance.new("ScreenGui")
  6. local Frame = Instance.new("Frame")
  7. local judul = Instance.new("TextLabel")
  8. local p1 = Instance.new("TextButton")
  9. local p2 = Instance.new("TextButton")
  10. local p3 = Instance.new("TextButton")
  11. local p4 = Instance.new("TextButton")
  12. local p5 = Instance.new("TextButton")
  13. local p6 = Instance.new("TextButton")
  14. local eframe = Instance.new("Frame")
  15. local judule = Instance.new("TextLabel")
  16. local cT = Instance.new("TextBox")
  17. local gT = Instance.new("TextBox")
  18. local G = Instance.new("TextButton")
  19. local C = Instance.new("TextButton")
  20. local m = Instance.new("TextButton")
  21. local pframe = Instance.new("Frame")
  22. local judula = Instance.new("TextLabel")
  23. local pT = Instance.new("TextBox")
  24. local xz = Instance.new("TextButton")
  25. local m_2 = Instance.new("TextButton")
  26. local pN = Instance.new("TextBox")
  27. local aframe = Instance.new("Frame")
  28. local judulx = Instance.new("TextLabel")
  29. local ca = Instance.new("TextButton")
  30. local m_3 = Instance.new("TextButton")
  31. local co = Instance.new("TextButton")
  32. local ge = Instance.new("TextButton")
  33.  
  34. -- fungsi:
  35. eak = false
  36. eeq = false
  37. GGE = false
  38. ere = false
  39. ewe = false
  40. dak = false
  41. huh = false
  42. efe = false
  43.  
  44. -- settings:
  45. aframe.Active = true
  46. eframe.Active = true
  47. pframe.Active = true
  48.  
  49. -- Variabel:
  50. local rs = game:GetService("RunService").RenderStepped
  51.  
  52.  
  53. --Properties:
  54. Ent3g.Name = "Ent3g"
  55. Ent3g.Parent = game:GetService("CoreGui")
  56.  
  57. Frame.Parent = Ent3g
  58. Frame.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  59. Frame.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  60. Frame.BorderSizePixel = 3
  61. Frame.Active = true
  62. Frame.Draggable = true
  63. Frame.Position = UDim2.new(0.290578902, 0, 0.21001929, 0)
  64. Frame.Size = UDim2.new(0, 368, 0, 267)
  65.  
  66. judul.Name = "judul"
  67. judul.Parent = Frame
  68. judul.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  69. judul.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  70. judul.BorderSizePixel = 4
  71. judul.Position = UDim2.new(0, 0, -0.00285767973, 0)
  72. judul.Size = UDim2.new(0, 368, 0, 42)
  73. judul.Font = Enum.Font.Cartoon
  74. judul.Text = "Cookie Simulator"
  75. judul.TextColor3 = Color3.new(1, 1, 1)
  76. judul.TextSize = 31
  77.  
  78. p1.Name = "p1"
  79. p1.Parent = Frame
  80. p1.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  81. p1.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  82. p1.BorderSizePixel = 4
  83. p1.Position = UDim2.new(0.0271739122, 0, 0.254681647, 0)
  84. p1.Size = UDim2.new(0, 128, 0, 45)
  85. p1.Font = Enum.Font.Cartoon
  86. p1.Text = "StatChange"
  87. p1.TextColor3 = Color3.new(1, 1, 1)
  88. p1.TextSize = 21
  89. p1.MouseButton1Down:connect(function()
  90. eframe.Visible = true
  91. Frame.Visible = false
  92. pframe.Visible = false
  93. aframe.Visible = false
  94. end)
  95.  
  96. p2.Name = "p2"
  97. p2.Parent = Frame
  98. p2.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  99. p2.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  100. p2.BorderSizePixel = 4
  101. p2.Position = UDim2.new(0.0271739122, 0, 0.479400754, 0)
  102. p2.Size = UDim2.new(0, 128, 0, 45)
  103. p2.Font = Enum.Font.Cartoon
  104. p2.Text = "AutoSell"
  105. p2.TextColor3 = Color3.new(1, 1, 1)
  106. p2.TextSize = 21
  107. p2.MouseButton1Down:connect(function()
  108.  
  109. if eak == true then
  110. eak = false
  111. p2.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  112. else
  113. eak = true
  114. p2.BackgroundColor3 = Color3.new(40, 127, 71)
  115. rs:wait()
  116. local sellpoint = game.workspace.SellParts:GetChildren()[7]
  117. sellpoint.CanCollide = false
  118. sellpoint.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  119. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  120. end
  121. end)
  122.  
  123. p3.Name = "p3"
  124. p3.Parent = Frame
  125. p3.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  126. p3.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  127. p3.BorderSizePixel = 4
  128. p3.Position = UDim2.new(0.627717435, 0, 0.254681647, 0)
  129. p3.Size = UDim2.new(0, 128, 0, 45)
  130. p3.Font = Enum.Font.Cartoon
  131. p3.Text = "AutoRebirth"
  132. p3.TextColor3 = Color3.new(1, 1, 1)
  133. p3.TextSize = 21
  134. p3.MouseButton1Down:connect(function()
  135.  
  136. if eeq == true then
  137. eeq = false
  138. p3.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  139. else
  140. eeq = true
  141. p3.BackgroundColor3 = Color3.new(40, 127, 71)
  142. while eeq do
  143. wait(0.5)
  144. game:GetService("ReplicatedStorage").Events.PurchaseRebirth:FireServer()
  145. end
  146. end
  147. end)
  148.  
  149. p4.Name = "p4"
  150. p4.Parent = Frame
  151. p4.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  152. p4.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  153. p4.BorderSizePixel = 4
  154. p4.Position = UDim2.new(0.627717435, 0, 0.475655437, 0)
  155. p4.Size = UDim2.new(0, 128, 0, 45)
  156. p4.Font = Enum.Font.Cartoon
  157. p4.Text = "AutoCollect"
  158. p4.TextColor3 = Color3.new(1, 1, 1)
  159. p4.TextSize = 21
  160. p4.MouseButton1Down:connect(function()
  161. Frame.Visible = false
  162. aframe.Visible = true
  163. eframe.Visible = false
  164. pframe.Visible = false
  165. end)
  166.  
  167. p5.Name = "p5"
  168. p5.Parent = Frame
  169. p5.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  170. p5.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  171. p5.BorderSizePixel = 4
  172. p5.Position = UDim2.new(0.0271739364, 0, 0.711610496, 0)
  173. p5.Size = UDim2.new(0, 128, 0, 45)
  174. p5.Font = Enum.Font.Cartoon
  175. p5.Text = "AutoPurchase"
  176. p5.TextColor3 = Color3.new(1, 1, 1)
  177. p5.TextSize = 21
  178. p5.MouseButton1Down:connect(function()
  179. Frame.Visible = false
  180. aframe.Visible = false
  181. eframe.Visible = false
  182. pframe.Visible = true
  183. end)
  184.  
  185. p6.Name = "p6"
  186. p6.Parent = Frame
  187. p6.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  188. p6.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  189. p6.BorderSizePixel = 4
  190. p6.Position = UDim2.new(0.627717435, 0, 0.711610496, 0)
  191. p6.Size = UDim2.new(0, 128, 0, 45)
  192. p6.Font = Enum.Font.Cartoon
  193. p6.Text = "Rainbow: Off"
  194. p6.TextColor3 = Color3.new(1, 1, 1)
  195. p6.TextSize = 21
  196.  
  197. eframe.Name = "eframe"
  198. eframe.Parent = Ent3g
  199. eframe.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  200. eframe.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  201. eframe.BorderSizePixel = 3
  202. eframe.Draggable = true
  203. eframe.Position = UDim2.new(0.290578872, 0, 0.14643544, 0)
  204. eframe.Size = UDim2.new(0, 369, 0, 281)
  205. eframe.Visible = false
  206.  
  207. judule.Name = "judule"
  208. judule.Parent = eframe
  209. judule.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  210. judule.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  211. judule.BorderSizePixel = 4
  212. judule.Position = UDim2.new(0, 0, -0.00285767973, 0)
  213. judule.Size = UDim2.new(0, 368, 0, 42)
  214. judule.Font = Enum.Font.Cartoon
  215. judule.Text = "StatChangePage"
  216. judule.TextColor3 = Color3.new(1, 1, 1)
  217. judule.TextSize = 31
  218.  
  219. cT.Name = "cT"
  220. cT.Parent = eframe
  221. cT.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  222. cT.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  223. cT.BorderSizePixel = 4
  224. cT.Position = UDim2.new(0.628726304, 0, 0.288256228, 0)
  225. cT.Size = UDim2.new(0, 122, 0, 50)
  226. cT.Font = Enum.Font.Cartoon
  227. cT.Text = "INF"
  228. cT.TextColor3 = Color3.new(1, 1, 1)
  229. cT.TextSize = 31
  230.  
  231. gT.Name = "gT"
  232. gT.Parent = eframe
  233. gT.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  234. gT.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  235. gT.BorderSizePixel = 4
  236. gT.Position = UDim2.new(0.0379404016, 0, 0.288256228, 0)
  237. gT.Size = UDim2.new(0, 122, 0, 50)
  238. gT.Font = Enum.Font.Cartoon
  239. gT.Text = "INF"
  240. gT.TextColor3 = Color3.new(1, 1, 1)
  241. gT.TextSize = 31
  242.  
  243. G.Name = "G"
  244. G.Parent = eframe
  245. G.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  246. G.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  247. G.BorderSizePixel = 4
  248. G.Position = UDim2.new(0.073170729, 0, 0.530249059, 0)
  249. G.Size = UDim2.new(0, 96, 0, 50)
  250. G.Font = Enum.Font.Cartoon
  251. G.Text = "Gems"
  252. G.TextColor3 = Color3.new(1, 1, 1)
  253. G.TextSize = 31
  254. G.MouseButton1Down:connect(function()
  255.  
  256. if GGE == true then
  257. GGE = false
  258. G.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  259. else
  260. GGE = true
  261. G.BackgroundColor3 = Color3.new(40, 127, 71)
  262. rs:wait()
  263. local x = gT.Text
  264. while GGE do
  265. wait(0.5)
  266. game:GetService("ReplicatedStorage").Events.PurchaseEgg:InvokeServer("Ancient Egg", -x)
  267. end
  268. end
  269. end)
  270.  
  271. C.Name = "C"
  272. C.Parent = eframe
  273. C.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  274. C.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  275. C.BorderSizePixel = 4
  276. C.Position = UDim2.new(0.663956642, 0, 0.530249059, 0)
  277. C.Size = UDim2.new(0, 96, 0, 50)
  278. C.Font = Enum.Font.Cartoon
  279. C.Text = "Coins"
  280. C.TextColor3 = Color3.new(1, 1, 1)
  281. C.TextSize = 31
  282. C.MouseButton1Down:connect(function()
  283.  
  284. if ere == true then
  285. ere = false
  286. C.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  287. else
  288. ere = true
  289. C.BackgroundColor3 = Color3.new(40, 127, 71)
  290. rs:wait()
  291. local s = cT.Text
  292. while ere do
  293. wait(0.5)
  294. game:GetService("ReplicatedStorage").Events.PurchaseEgg:InvokeServer("Common Egg", -s)
  295. end
  296. end
  297. end)
  298.  
  299. m.Name = "m"
  300. m.Parent = eframe
  301. m.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  302. m.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  303. m.BorderSizePixel = 4
  304. m.Position = UDim2.new(0.284552872, 0, 0.790035605, 0)
  305. m.Size = UDim2.new(0, 159, 0, 50)
  306. m.Font = Enum.Font.Cartoon
  307. m.Text = "MainGUI"
  308. m.TextColor3 = Color3.new(1, 1, 1)
  309. m.TextSize = 31
  310. m.MouseButton1Down:connect(function()
  311. Frame.Visible = true
  312. eframe.Visible = false
  313. pframe.Visible = false
  314. aframe.Visible = false
  315. end)
  316.  
  317. pframe.Name = "pframe"
  318. pframe.Parent = Ent3g
  319. pframe.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  320. pframe.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  321. pframe.BorderSizePixel = 3
  322. pframe.Draggable = true
  323. pframe.Position = UDim2.new(0.290578872, 0, 0.14643544, 0)
  324. pframe.Size = UDim2.new(0, 369, 0, 281)
  325. pframe.Visible = false
  326.  
  327. judula.Name = "judula"
  328. judula.Parent = pframe
  329. judula.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  330. judula.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  331. judula.BorderSizePixel = 4
  332. judula.Position = UDim2.new(0, 0, -0.00285767973, 0)
  333. judula.Size = UDim2.new(0, 368, 0, 42)
  334. judula.Font = Enum.Font.Cartoon
  335. judula.Text = "AutoPurchasePage"
  336. judula.TextColor3 = Color3.new(1, 1, 1)
  337. judula.TextSize = 31
  338.  
  339. pT.Name = "pT"
  340. pT.Parent = pframe
  341. pT.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  342. pT.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  343. pT.BorderSizePixel = 4
  344. pT.Position = UDim2.new(0.0379404128, 0, 0.281138778, 0)
  345. pT.Size = UDim2.new(0, 122, 0, 50)
  346. pT.Font = Enum.Font.Cartoon
  347. pT.Text = "Amount"
  348. pT.TextColor3 = Color3.new(1, 1, 1)
  349. pT.TextSize = 31
  350.  
  351. xz.Name = "xz"
  352. xz.Parent = pframe
  353. xz.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  354. xz.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  355. xz.BorderSizePixel = 4
  356. xz.Position = UDim2.new(0.368563682, 0, 0.537366509, 0)
  357. xz.Size = UDim2.new(0, 96, 0, 50)
  358. xz.Font = Enum.Font.Cartoon
  359. xz.Text = "AutoEgg"
  360. xz.TextColor3 = Color3.new(1, 1, 1)
  361. xz.TextSize = 31
  362. xz.MouseButton1Down:connect(function()
  363.  
  364. if ewe == true then
  365. ewe = false
  366. xz.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  367. else
  368. ewe = true
  369. xz.BackgroundColor3 = Color3.new(40, 127, 71)
  370. local c = pT.Text
  371. local d = pN.Text
  372. while ewe do
  373. wait(0.5)
  374. game:GetService("ReplicatedStorage").Events.PurchaseEgg:InvokeServer("d", c)
  375. end
  376. end
  377. end)
  378.  
  379. m_2.Name = "m"
  380. m_2.Parent = pframe
  381. m_2.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  382. m_2.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  383. m_2.BorderSizePixel = 4
  384. m_2.Position = UDim2.new(0.284552872, 0, 0.790035605, 0)
  385. m_2.Size = UDim2.new(0, 159, 0, 50)
  386. m_2.Font = Enum.Font.Cartoon
  387. m_2.Text = "MainGUI"
  388. m_2.TextColor3 = Color3.new(1, 1, 1)
  389. m_2.TextSize = 31
  390. m_2.MouseButton1Down:connect(function()
  391. Frame.Visible = true
  392. eframe.Visible = false
  393. pframe.Visible = false
  394. aframe.Visible = false
  395. end)
  396.  
  397. pN.Name = "pN"
  398. pN.Parent = pframe
  399. pN.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  400. pN.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  401. pN.BorderSizePixel = 4
  402. pN.Position = UDim2.new(0.628726363, 0, 0.281138778, 0)
  403. pN.Size = UDim2.new(0, 122, 0, 50)
  404. pN.Font = Enum.Font.Cartoon
  405. pN.Text = "PetName"
  406. pN.TextColor3 = Color3.new(1, 1, 1)
  407. pN.TextSize = 31
  408.  
  409. aframe.Name = "aframe"
  410. aframe.Parent = Ent3g
  411. aframe.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  412. aframe.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  413. aframe.BorderSizePixel = 3
  414. aframe.Draggable = true
  415. aframe.Position = UDim2.new(0.290578872, 0, 0.14643544, 0)
  416. aframe.Size = UDim2.new(0, 369, 0, 281)
  417. aframe.Visible = false
  418.  
  419. judulx.Name = "judulx"
  420. judulx.Parent = aframe
  421. judulx.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  422. judulx.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  423. judulx.BorderSizePixel = 4
  424. judulx.Position = UDim2.new(0, 0, -0.00285767973, 0)
  425. judulx.Size = UDim2.new(0, 368, 0, 42)
  426. judulx.Font = Enum.Font.Cartoon
  427. judulx.Text = "AutoCollectPage"
  428. judulx.TextColor3 = Color3.new(1, 1, 1)
  429. judulx.TextSize = 31
  430.  
  431. ca.Name = "ca"
  432. ca.Parent = aframe
  433. ca.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  434. ca.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  435. ca.BorderSizePixel = 4
  436. ca.Position = UDim2.new(0.0243902318, 0, 0.227757961, 0)
  437. ca.Size = UDim2.new(0, 96, 0, 50)
  438. ca.Font = Enum.Font.Cartoon
  439. ca.Text = "Achievment"
  440. ca.TextColor3 = Color3.new(1, 1, 1)
  441. ca.TextScaled = true
  442. ca.TextSize = 31
  443. ca.TextWrapped = true
  444. ca.MouseButton1Down:connect(function()
  445.  
  446. if dak == true then
  447. dak = false
  448. ca.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  449. else
  450. dak = true
  451. ca.BackgroundColor3 = Color3.new(40, 127, 71)
  452. while dak do
  453. wait()
  454. local A_1 = "Crumbs Eater"
  455. local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  456. Event:FireServer(A_1)
  457.  
  458. local A_1 = "Coin Collector"
  459. local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  460. Event:FireServer(A_1)
  461.  
  462. local A_1 = "Gem Collector"
  463. local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  464. Event:FireServer(A_1)
  465.  
  466. local A_1 = "Egg Hatcher"
  467. local remotes = game:GetService("ReplicatedStorage").Events.CollectAchievement
  468. remotes:FireServer(A_1)
  469. end
  470. end
  471. end)
  472.  
  473. m_3.Name = "m"
  474. m_3.Parent = aframe
  475. m_3.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  476. m_3.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  477. m_3.BorderSizePixel = 4
  478. m_3.Position = UDim2.new(0.284552872, 0, 0.790035605, 0)
  479. m_3.Size = UDim2.new(0, 159, 0, 50)
  480. m_3.Font = Enum.Font.Cartoon
  481. m_3.Text = "MainGUI"
  482. m_3.TextColor3 = Color3.new(1, 1, 1)
  483. m_3.TextSize = 31
  484. m_3.MouseButton1Down:connect(function()
  485. Frame.Visible = true
  486. aframe.Visible = false
  487. eframe.Visible = false
  488. pframe.Visible = false
  489. end)
  490.  
  491. co.Name = "co"
  492. co.Parent = aframe
  493. co.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  494. co.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  495. co.BorderSizePixel = 4
  496. co.Position = UDim2.new(0.368563652, 0, 0.227757961, 0)
  497. co.Size = UDim2.new(0, 96, 0, 50)
  498. co.Font = Enum.Font.Cartoon
  499. co.Text = "Coins"
  500. co.TextColor3 = Color3.new(1, 1, 1)
  501. co.TextScaled = true
  502. co.TextSize = 31
  503. co.TextWrapped = true
  504. co.MouseButton1Down:connect(function()
  505.  
  506. if huh == true then
  507. huh = false
  508. co.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  509. else
  510. huh = true
  511. co.BackgroundColor3 = Color3.new(40, 127, 71)
  512. rs:wait()
  513. while huh do
  514. wait()
  515. local A_1 = "Icy Egg"
  516. local A_2 = -50000000
  517. local Event = game:GetService("ReplicatedStorage")["Events"].PurchaseEgg
  518. Event:InvokeServer(A_1, A_2)
  519. end
  520. end
  521. end)
  522.  
  523. ge.Name = "ge"
  524. ge.Parent = aframe
  525. ge.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  526. ge.BorderColor3 = Color3.new(0.584314, 0.647059, 0.65098)
  527. ge.BorderSizePixel = 4
  528. ge.Position = UDim2.new(0.715447128, 0, 0.227757961, 0)
  529. ge.Size = UDim2.new(0, 96, 0, 50)
  530. ge.Font = Enum.Font.Cartoon
  531. ge.Text = "Gems"
  532. ge.TextColor3 = Color3.new(1, 1, 1)
  533. ge.TextScaled = true
  534. ge.TextSize = 31
  535. ge.TextWrapped = true
  536. ge.MouseButton1Down:connect(function()
  537.  
  538. if efe == true then
  539. efe = false
  540. ge.BackgroundColor3 = Color3.new(0.203922, 0.286275, 0.368627)
  541. else
  542. efe = true
  543. ge.BackgroundColor3 = Color3.new(40, 127, 71)
  544. rs:wait()
  545. while efe do
  546. wait()
  547. local A_1 = "Ancient Egg"
  548. local A_2 = -50000000
  549. local Event = game:GetService("ReplicatedStorage").Events.PurchaseEgg
  550. Event:InvokeServer(A_1, A_2)
  551. end
  552. end
  553. end)
  554.  
  555. -- Rainbow:
  556. local RainbowEnabled = false
  557. local rs = game:GetService("RunService")
  558. local RRAAIINNBBOOWWSS = {}
  559. local function rainbowify(obj, prop)
  560. if type(obj) == "table" then
  561. for i, v in pairs(obj) do
  562. rainbowify(v, prop)
  563. end
  564. elseif type(prop) == "table" then
  565. for i, v in pairs(prop) do
  566. rainbowify(obj, v)
  567. end
  568. else
  569. local ok, o = pcall(function()
  570. return obj[prop]
  571. end)
  572. if ok then
  573. table.insert(RRAAIINNBBOOWWSS, function(c)
  574. if c then
  575. obj[prop] = c
  576. else
  577. obj[prop] = o
  578. end
  579. end)
  580. end
  581. end
  582. end
  583. do
  584. local reset = true
  585. rs.RenderStepped:connect(function()
  586. if RainbowEnabled then
  587. local c = Color3.fromHSV((tick() / 16) % 1, 1, 1)
  588. for i = 1, #RRAAIINNBBOOWWSS do
  589. pcall(RRAAIINNBBOOWWSS[i], c)
  590. end
  591. reset = true
  592. elseif reset then
  593. for i = 1, #RRAAIINNBBOOWWSS do
  594. pcall(RRAAIINNBBOOWWSS[i], false)
  595. end
  596. reset = false
  597. end
  598. end)
  599. end
  600. rainbowify({Ent3g, Frame, judul, aframe, p1, p2, p3, p4, p5, p6, ca, co, ge, m_3, judulx, eframe, C, G, cT, gT, m_2, judule, pframe, m, pT, pN, xz, judula}
  601. , {"BackgroundColor3",})
  602.  
  603. p6.MouseButton1Down:connect(function()
  604. RainbowEnabled = not RainbowEnabled
  605. if RainbowEnabled then
  606. p6.Text = "Rainbow: On"
  607. else
  608. p6.Text = "Rainbow: Off"
  609. end
  610. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement