Advertisement
Guest User

Cookie Simulator GUI | OP | INF everything |

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