YANIS_EXPLOITS

Cookie Simulator GUI Made By Yanis#5565

May 12th, 2019 (edited)
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.07 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification", {
  2. Title = "Cookie Hack",
  3. Text = "Made By Yanis#5565",
  4. Icon = "rbxassetid://2948777909",
  5. Duration = 999999999,
  6. Button1 = "Okay",
  7. })
  8. -- Instances:
  9. local CSH = Instance.new("ScreenGui")
  10. local Main = Instance.new("Frame")
  11. local Design = Instance.new("Frame")
  12. local Frame = Instance.new("Frame")
  13. local Frame_2 = Instance.new("Frame")
  14. local Frame_3 = Instance.new("Frame")
  15. local Frame_4 = Instance.new("Frame")
  16. local Frame_5 = Instance.new("ImageLabel")
  17. local Frame_6 = Instance.new("ImageLabel")
  18. local Frame_7 = Instance.new("ImageLabel")
  19. local Frame_8 = Instance.new("ImageLabel")
  20. local Access = Instance.new("Frame")
  21. local EggName = Instance.new("TextBox")
  22. local EggBtn = Instance.new("TextButton")
  23. local FarmBtn = Instance.new("TextButton")
  24. local CashBtn = Instance.new("TextButton")
  25. local RebirthBtn = Instance.new("TextButton")
  26. local SellBtn = Instance.new("TextButton")
  27. local GemBtn = Instance.new("TextButton")
  28. local AchievementBtn = Instance.new("TextButton")
  29. local ExitBtn = Instance.new("TextButton")
  30. local Title = Instance.new("TextLabel")
  31. --Properties:
  32. CSH.Name = "C-S-H"
  33. CSH.Parent = game:GetService("CoreGui")
  34.  
  35. Main.Name = "Main"
  36. Main.Parent = CSH
  37. Main.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  38. Main.BorderSizePixel = 0
  39. Main.Position = UDim2.new(1, -455, 1, -255)
  40. Main.Size = UDim2.new(0, 450, 0, 250)
  41. Main.Active = true
  42. Main.Draggable = true
  43.  
  44. Design.Name = "Design"
  45. Design.Parent = Main
  46. Design.BackgroundColor3 = Color3.new(1, 1, 1)
  47. Design.BackgroundTransparency = 1
  48. Design.BorderSizePixel = 0
  49. Design.Size = UDim2.new(1, 0, 1, 0)
  50.  
  51. Frame.Parent = Design
  52. Frame.BackgroundColor3 = Color3.new(0.72549, 0, 0)
  53. Frame.BorderSizePixel = 0
  54. Frame.Position = UDim2.new(0, 0, 1, -55)
  55. Frame.Size = UDim2.new(0, 55, 0, 55)
  56.  
  57. Frame_2.Parent = Design
  58. Frame_2.BackgroundColor3 = Color3.new(0.72549, 0, 0)
  59. Frame_2.BorderSizePixel = 0
  60. Frame_2.Position = UDim2.new(0, 0, 1, -110)
  61. Frame_2.Size = UDim2.new(0, 55, 0, 55)
  62.  
  63. Frame_3.Parent = Design
  64. Frame_3.BackgroundColor3 = Color3.new(0.72549, 0, 0)
  65. Frame_3.BorderSizePixel = 0
  66. Frame_3.Position = UDim2.new(0, 55, 1, -55)
  67. Frame_3.Size = UDim2.new(0, 55, 0, 55)
  68.  
  69. Frame_4.Parent = Design
  70. Frame_4.BackgroundColor3 = Color3.new(0.72549, 0, 0)
  71. Frame_4.BorderSizePixel = 0
  72. Frame_4.Position = UDim2.new(0, 110, 1, -55)
  73. Frame_4.Size = UDim2.new(0, 55, 0, 55)
  74.  
  75. Frame_5.Name = "Frame"
  76. Frame_5.Parent = Design
  77. Frame_5.BackgroundColor3 = Color3.new(1, 1, 1)
  78. Frame_5.BackgroundTransparency = 1
  79. Frame_5.BorderSizePixel = 0
  80. Frame_5.Position = UDim2.new(0, 0, 1, -165)
  81. Frame_5.Size = UDim2.new(0, 55, 0, 55)
  82. Frame_5.Image = "rbxassetid://268259229"
  83. Frame_5.ImageColor3 = Color3.new(0.72549, 0, 0)
  84. Frame_5.ScaleType = Enum.ScaleType.Slice
  85. Frame_5.SliceCenter = Rect.new(12, 12, 12, 12)
  86.  
  87. Frame_6.Name = "Frame"
  88. Frame_6.Parent = Design
  89. Frame_6.BackgroundColor3 = Color3.new(1, 1, 1)
  90. Frame_6.BackgroundTransparency = 1
  91. Frame_6.BorderSizePixel = 0
  92. Frame_6.Position = UDim2.new(0, 165, 1, -55)
  93. Frame_6.Size = UDim2.new(0, 55, 0, 55)
  94. Frame_6.Image = "rbxassetid://268259229"
  95. Frame_6.ImageColor3 = Color3.new(0.72549, 0, 0)
  96. Frame_6.ScaleType = Enum.ScaleType.Slice
  97. Frame_6.SliceCenter = Rect.new(12, 12, 12, 12)
  98.  
  99. Frame_7.Name = "Frame"
  100. Frame_7.Parent = Design
  101. Frame_7.BackgroundColor3 = Color3.new(1, 1, 1)
  102. Frame_7.BackgroundTransparency = 1
  103. Frame_7.BorderSizePixel = 0
  104. Frame_7.Position = UDim2.new(0, 55, 1, -110)
  105. Frame_7.Rotation = 90
  106. Frame_7.Size = UDim2.new(0, 55, 0, 55)
  107. Frame_7.Image = "rbxassetid://268259229"
  108. Frame_7.ImageColor3 = Color3.new(0.72549, 0, 0)
  109. Frame_7.ScaleType = Enum.ScaleType.Slice
  110. Frame_7.SliceCenter = Rect.new(12, 12, 12, 12)
  111.  
  112. Frame_8.Name = "Frame"
  113. Frame_8.Parent = Design
  114. Frame_8.BackgroundColor3 = Color3.new(1, 1, 1)
  115. Frame_8.BackgroundTransparency = 1
  116. Frame_8.BorderSizePixel = 0
  117. Frame_8.Position = UDim2.new(0, 110, 1, -110)
  118. Frame_8.Rotation = 270
  119. Frame_8.Size = UDim2.new(0, 55, 0, 55)
  120. Frame_8.Image = "rbxassetid://268259229"
  121. Frame_8.ImageColor3 = Color3.new(0.72549, 0, 0)
  122. Frame_8.ScaleType = Enum.ScaleType.Slice
  123. Frame_8.SliceCenter = Rect.new(12, 12, 12, 12)
  124.  
  125. Access.Name = "Access"
  126. Access.Parent = Main
  127. Access.BackgroundColor3 = Color3.new(1, 1, 1)
  128. Access.BackgroundTransparency = 1
  129. Access.BorderSizePixel = 0
  130. Access.Size = UDim2.new(1, 0, 1, 0)
  131.  
  132. EggName.Name = "EggName"
  133. EggName.Parent = Access
  134. EggName.BackgroundColor3 = Color3.new(1, 0, 1)
  135. EggName.BorderSizePixel = 0
  136. EggName.Position = UDim2.new(0.955555558, -185, -0.00800000038, 50)
  137. EggName.Size = UDim2.new(0, 175, 0, 40)
  138. EggName.Font = Enum.Font.Cartoon
  139. EggName.PlaceholderColor3 = Color3.new(1, 1, 1)
  140. EggName.PlaceholderText = "Egg Name Here"
  141. EggName.Text = ""
  142. EggName.TextColor3 = Color3.new(1, 1, 1)
  143. EggName.TextScaled = true
  144. EggName.TextSize = 14
  145. EggName.TextStrokeTransparency = 0
  146. EggName.TextWrapped = true
  147.  
  148. EggBtn.Name = "EggBtn"
  149. EggBtn.Parent = Access
  150. EggBtn.BackgroundColor3 = Color3.new(1, 0, 1)
  151. EggBtn.BorderSizePixel = 0
  152. EggBtn.Position = UDim2.new(0.955555558, -185, -0.00800000038, 95)
  153. EggBtn.Size = UDim2.new(0, 175, 0, 40)
  154. EggBtn.Font = Enum.Font.Cartoon
  155. EggBtn.Text = "Open Egg"
  156. EggBtn.TextColor3 = Color3.new(1, 1, 1)
  157. EggBtn.TextScaled = true
  158. EggBtn.TextSize = 14
  159. EggBtn.TextStrokeTransparency = 0
  160. EggBtn.TextWrapped = true
  161.  
  162. FarmBtn.Name = "FarmBtn"
  163. FarmBtn.Parent = Access
  164. FarmBtn.BackgroundColor3 = Color3.new(1, 0, 1)
  165. FarmBtn.BorderSizePixel = 0
  166. FarmBtn.Position = UDim2.new(0.955555558, -185, -0.00800000038, 185)
  167. FarmBtn.Size = UDim2.new(0, 175, 0, 40)
  168. FarmBtn.Font = Enum.Font.Cartoon
  169. FarmBtn.Text = "Auto Farm [Off]"
  170. FarmBtn.TextColor3 = Color3.new(1, 1, 1)
  171. FarmBtn.TextScaled = true
  172. FarmBtn.TextSize = 14
  173. FarmBtn.TextStrokeTransparency = 0
  174. FarmBtn.TextWrapped = true
  175.  
  176. CashBtn.Name = "CashBtn"
  177. CashBtn.Parent = Access
  178. CashBtn.BackgroundColor3 = Color3.new(1, 0, 1)
  179. CashBtn.BorderSizePixel = 0
  180. CashBtn.Position = UDim2.new(0.955555558, -375, -0.00800000038, 50)
  181. CashBtn.Size = UDim2.new(0, 175, 0, 40)
  182. CashBtn.Font = Enum.Font.Cartoon
  183. CashBtn.Text = "Auto Cash [Off]"
  184. CashBtn.TextColor3 = Color3.new(1, 1, 1)
  185. CashBtn.TextScaled = true
  186. CashBtn.TextSize = 14
  187. CashBtn.TextStrokeTransparency = 0
  188. CashBtn.TextWrapped = true
  189.  
  190. RebirthBtn.Name = "RebirthBtn"
  191. RebirthBtn.Parent = Access
  192. RebirthBtn.BackgroundColor3 = Color3.new(1, 0, 1)
  193. RebirthBtn.BorderSizePixel = 0
  194. RebirthBtn.Position = UDim2.new(0.955555558, -375, -0.00800000038, 140)
  195. RebirthBtn.Size = UDim2.new(0, 175, 0, 40)
  196. RebirthBtn.Font = Enum.Font.Cartoon
  197. RebirthBtn.Text = "Auto Rebirth [Off]"
  198. RebirthBtn.TextColor3 = Color3.new(1, 1, 1)
  199. RebirthBtn.TextScaled = true
  200. RebirthBtn.TextSize = 14
  201. RebirthBtn.TextStrokeTransparency = 0
  202. RebirthBtn.TextWrapped = true
  203.  
  204. SellBtn.Name = "SellBtn"
  205. SellBtn.Parent = Access
  206. SellBtn.BackgroundColor3 = Color3.new(1, 0, 1)
  207. SellBtn.BorderSizePixel = 0
  208. SellBtn.Position = UDim2.new(0.955555558, -375, -0.00800000038, 185)
  209. SellBtn.Size = UDim2.new(0, 175, 0, 40)
  210. SellBtn.Font = Enum.Font.Cartoon
  211. SellBtn.Text = "Auto Sell [Off]"
  212. SellBtn.TextColor3 = Color3.new(1, 1, 1)
  213. SellBtn.TextScaled = true
  214. SellBtn.TextSize = 14
  215. SellBtn.TextStrokeTransparency = 0
  216. SellBtn.TextWrapped = true
  217.  
  218. GemBtn.Name = "GemBtn"
  219. GemBtn.Parent = Access
  220. GemBtn.BackgroundColor3 = Color3.new(1, 0, 1)
  221. GemBtn.BorderSizePixel = 0
  222. GemBtn.Position = UDim2.new(0.955555558, -375, -0.00800000038, 94)
  223. GemBtn.Size = UDim2.new(0, 175, 0, 40)
  224. GemBtn.Font = Enum.Font.Cartoon
  225. GemBtn.Text = "Auto Gems [Off]"
  226. GemBtn.TextColor3 = Color3.new(1, 1, 1)
  227. GemBtn.TextScaled = true
  228. GemBtn.TextSize = 14
  229. GemBtn.TextStrokeTransparency = 0
  230. GemBtn.TextWrapped = true
  231.  
  232. AchievementBtn.Name = "AchievementBtn"
  233. AchievementBtn.Parent = Access
  234. AchievementBtn.BackgroundColor3 = Color3.new(1, 0, 1)
  235. AchievementBtn.BorderSizePixel = 0
  236. AchievementBtn.Position = UDim2.new(0.955555558, -185, -0.00800000038, 140)
  237. AchievementBtn.Size = UDim2.new(0, 175, 0, 40)
  238. AchievementBtn.Font = Enum.Font.Cartoon
  239. AchievementBtn.Text = "Auto Collect Achievements [Off]"
  240. AchievementBtn.TextColor3 = Color3.new(1, 1, 1)
  241. AchievementBtn.TextScaled = true
  242. AchievementBtn.TextSize = 14
  243. AchievementBtn.TextStrokeTransparency = 0
  244. AchievementBtn.TextWrapped = true
  245.  
  246. ExitBtn.Name = "ExitBtn"
  247. ExitBtn.Parent = Access
  248. ExitBtn.BackgroundColor3 = Color3.new(1, 0, 0)
  249. ExitBtn.BorderSizePixel = 0
  250. ExitBtn.Position = UDim2.new(1, -40, 0, 0)
  251. ExitBtn.Size = UDim2.new(0, 40, 0, 40)
  252. ExitBtn.Font = Enum.Font.Cartoon
  253. ExitBtn.Text = "X"
  254. ExitBtn.TextColor3 = Color3.new(1, 1, 1)
  255. ExitBtn.TextScaled = true
  256. ExitBtn.TextSize = 14
  257. ExitBtn.TextStrokeTransparency = 0
  258. ExitBtn.TextWrapped = true
  259.  
  260. Title.Name = "Title"
  261. Title.Parent = Main
  262. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  263. Title.BackgroundTransparency = 1
  264. Title.BorderSizePixel = 0
  265. Title.Size = UDim2.new(1, -40, 0, 40)
  266. Title.Font = Enum.Font.Cartoon
  267. Title.Text = "Cookie Sim Hack | Yanis#5565"
  268. Title.TextColor3 = Color3.new(1, 1, 1)
  269. Title.TextScaled = true
  270. Title.TextSize = 14
  271. Title.TextStrokeTransparency = 0
  272. Title.TextWrapped = true
  273. -- Scripts:
  274. AchievementBtn.MouseButton1Click:Connect(function()
  275. if AchievementBtn.Text == "Auto Collect Achievements [Off]" then
  276. AchievementBtn.Text = "Auto Collect Achievements [On]"
  277. else
  278. AchievementBtn.Text = "Auto Collect Achievements [Off]"
  279. end
  280. repeat wait()
  281. local A_1 = "Crumbs Eater"
  282. local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  283. Event:FireServer(A_1)
  284.  
  285. local A_1 = "Coin Collector"
  286. local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  287. Event:FireServer(A_1)
  288.  
  289. local A_1 = "Gem Collector"
  290. local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  291. Event:FireServer(A_1)
  292.  
  293. local A_1 = "Egg Hatcher"
  294. local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  295. Event:FireServer(A_1)
  296. until AchievementBtn.Text == "Auto Collect Achievements [Off]"
  297. end)
  298.  
  299. EggBtn.MouseButton1Click:Connect(function()
  300. local A_1 = EggName.Text
  301. local A_2 = 1
  302. local Event = game:GetService("ReplicatedStorage").Events.PurchaseEgg
  303. Event:InvokeServer(A_1, A_2)
  304. end)
  305.  
  306. FarmBtn.MouseButton1Click:Connect(function()
  307. if FarmBtn.Text == "Auto Farm [Off]" then
  308. FarmBtn.Text = "Auto Farm [On]"
  309. else
  310. FarmBtn.Text = "Auto Farm [Off]"
  311. end
  312. repeat wait()
  313. local A_1 = "c44ff05805c1a282cb852411fb39f08e"
  314. local Event = game:GetService("ReplicatedStorage").Events.ActivatedTool
  315. Event:FireServer(A_1)
  316. until FarmBtn.Text == "Auto Farm [Off]"
  317. end)
  318.  
  319. local sell = nil
  320. local max = 0
  321. for _,v in pairs(game.Workspace.SellParts:GetChildren()) do
  322. if v.Multiplier.Value > max then
  323. max = v.Multiplier.Value
  324. sell = v
  325. end
  326. end
  327. SellBtn.MouseButton1Click:Connect(function()
  328. if SellBtn.Text == "Auto Sell [Off]" then
  329. SellBtn.Text = "Auto Sell [On]"
  330. else
  331. SellBtn.Text = "Auto Sell [Off]"
  332. end
  333. repeat wait()
  334. sell.CanCollide = false
  335. sell.CFrame = game.Workspace:WaitForChild(game.Players.LocalPlayer.Name).HumanoidRootPart.CFrame
  336. until FarmBtn.Text == "Auto Sell [Off]"
  337. end)
  338.  
  339. RebirthBtn.MouseButton1Click:Connect(function()
  340. if RebirthBtn.Text == "Auto Rebirth [Off]" then
  341. RebirthBtn.Text = "Auto Rebirth [On]"
  342. else
  343. RebirthBtn.Text = "Auto Rebirth [Off]"
  344. end
  345. repeat wait()
  346. local Event = game:GetService("ReplicatedStorage").Events.PurchaseRebirth
  347. Event:FireServer()
  348. until RebirthBtn.Text == "Auto Rebirth [Off]"
  349. end)
  350.  
  351. CashBtn.MouseButton1Click:Connect(function()
  352. if CashBtn.Text == "Auto Cash [Off]" then
  353. CashBtn.Text = "Auto Cash [On]"
  354. else
  355. CashBtn.Text = "Auto Cash [Off]"
  356. end
  357. repeat wait()
  358. local A_1 = "Icy Egg"
  359. local A_2 = -3000000
  360. local Event = game:GetService("ReplicatedStorage").Events.PurchaseEgg
  361. Event:InvokeServer(A_1, A_2)
  362. until CashBtn.Text == "Auto Cash [Off]"
  363. end)
  364.  
  365. GemBtn.MouseButton1Click:Connect(function()
  366. if GemBtn.Text == "Auto Gems [Off]" then
  367. GemBtn.Text = "Auto Gems [On]"
  368. else
  369. GemBtn.Text = "Auto Gems [Off]"
  370. end
  371. repeat wait()
  372. local A_1 = "Ancient Egg"
  373. local A_2 = -3000000
  374. local Event = game:GetService("ReplicatedStorage").Events.PurchaseEgg
  375. Event:InvokeServer(A_1, A_2)
  376. until CashBtn.Text == "Auto Gems [Off]"
  377. end)
Add Comment
Please, Sign In to add comment