Anonymouse10101

Cookie Simulator Hacks (GUI)

Apr 24th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 9.73 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local CookieSim = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local TextButton = Instance.new("TextButton")
  8. local TextButton_2 = Instance.new("TextButton")
  9. local TextButton_3 = Instance.new("TextButton")
  10. local TextButton_4 = Instance.new("TextButton")
  11. local TextButton_5 = Instance.new("TextButton")
  12. local a = Instance.new("TextBox")
  13. local n = Instance.new("TextBox")
  14. local TextButton_6 = Instance.new("TextButton")
  15. local TextButton_7 = Instance.new("TextButton")
  16. --Properties:
  17. CookieSim.Name = "CookieSim"
  18. CookieSim.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  19. CookieSim.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. Frame.Parent = CookieSim
  22. Frame.BackgroundColor3 = Color3.new(0.0862745, 0.682353, 0.929412)
  23. Frame.BorderSizePixel = 0
  24. Frame.Position = UDim2.new(0.510976553, 0, 0.431750745, 0)
  25. Frame.Size = UDim2.new(0.302800894, 0, 0.296735913, 0)
  26.  
  27. TextLabel.Parent = Frame
  28. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  29. TextLabel.BackgroundTransparency = 1
  30. TextLabel.Size = UDim2.new(1, 0, 0.25, 0)
  31. TextLabel.Font = Enum.Font.Cartoon
  32. TextLabel.Text = "Cookie Simulator"
  33. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  34. TextLabel.TextScaled = true
  35. TextLabel.TextSize = 14
  36. TextLabel.TextWrapped = true
  37.  
  38. TextButton.Parent = Frame
  39. TextButton.BackgroundColor3 = Color3.new(0.0588235, 0.513726, 0.690196)
  40. TextButton.BorderSizePixel = 0
  41. TextButton.Position = UDim2.new(0, 0, 0.25, 0)
  42. TextButton.Size = UDim2.new(0.25999999, 0, 0.194999993, 0)
  43. TextButton.Font = Enum.Font.Cartoon
  44. TextButton.Text = "Auto-Farm Cookies"
  45. TextButton.TextColor3 = Color3.new(1, 1, 1)
  46. TextButton.TextScaled = true
  47. TextButton.TextSize = 14
  48. TextButton.TextWrapped = true
  49.  
  50. TextButton_2.Parent = Frame
  51. TextButton_2.BackgroundColor3 = Color3.new(0.0588235, 0.513726, 0.690196)
  52. TextButton_2.BorderSizePixel = 0
  53. TextButton_2.Position = UDim2.new(0, 0, 0.75, 0)
  54. TextButton_2.Size = UDim2.new(0.25999999, 0, 0.194999993, 0)
  55. TextButton_2.Font = Enum.Font.Cartoon
  56. TextButton_2.Text = "Auto-Farm Gems"
  57. TextButton_2.TextColor3 = Color3.new(1, 1, 1)
  58. TextButton_2.TextScaled = true
  59. TextButton_2.TextSize = 14
  60. TextButton_2.TextWrapped = true
  61.  
  62. TextButton_3.Parent = Frame
  63. TextButton_3.BackgroundColor3 = Color3.new(0.0588235, 0.513726, 0.690196)
  64. TextButton_3.BorderSizePixel = 0
  65. TextButton_3.Position = UDim2.new(0, 0, 0.5, 0)
  66. TextButton_3.Size = UDim2.new(0.25999999, 0, 0.194999993, 0)
  67. TextButton_3.Font = Enum.Font.Cartoon
  68. TextButton_3.Text = "Auto-Rebirth"
  69. TextButton_3.TextColor3 = Color3.new(1, 1, 1)
  70. TextButton_3.TextScaled = true
  71. TextButton_3.TextSize = 14
  72. TextButton_3.TextWrapped = true
  73.  
  74. TextButton_4.Parent = Frame
  75. TextButton_4.BackgroundColor3 = Color3.new(0.0588235, 0.513726, 0.690196)
  76. TextButton_4.BorderSizePixel = 0
  77. TextButton_4.Position = UDim2.new(0.300000012, 0, 0.5, 0)
  78. TextButton_4.Size = UDim2.new(0.25999999, 0, 0.194999993, 0)
  79. TextButton_4.Font = Enum.Font.Cartoon
  80. TextButton_4.Text = "Spawn Coins"
  81. TextButton_4.TextColor3 = Color3.new(1, 1, 1)
  82. TextButton_4.TextScaled = true
  83. TextButton_4.TextSize = 14
  84. TextButton_4.TextWrapped = true
  85.  
  86. TextButton_5.Parent = Frame
  87. TextButton_5.BackgroundColor3 = Color3.new(0.0588235, 0.513726, 0.690196)
  88. TextButton_5.BorderSizePixel = 0
  89. TextButton_5.Position = UDim2.new(0.300000012, 0, 0.25, 0)
  90. TextButton_5.Size = UDim2.new(0.25999999, 0, 0.194999993, 0)
  91. TextButton_5.Font = Enum.Font.Cartoon
  92. TextButton_5.Text = "Spawn  Gems"
  93. TextButton_5.TextColor3 = Color3.new(1, 1, 1)
  94. TextButton_5.TextScaled = true
  95. TextButton_5.TextSize = 14
  96. TextButton_5.TextWrapped = true
  97.  
  98. a.Name = "a"
  99. a.Parent = Frame
  100. a.BackgroundColor3 = Color3.new(0.0588235, 0.513726, 0.690196)
  101. a.BorderSizePixel = 0
  102. a.Position = UDim2.new(0.600000024, 0, 0.25, 0)
  103. a.Size = UDim2.new(0.25999999, 0, 0.194999993, 0)
  104. a.Font = Enum.Font.SourceSans
  105. a.PlaceholderText = "Amount Of Eggs to open"
  106. a.Text = ""
  107. a.TextColor3 = Color3.new(0, 0, 0)
  108. a.TextScaled = true
  109. a.TextSize = 14
  110. a.TextWrapped = true
  111.  
  112. n.Name = "n"
  113. n.Parent = Frame
  114. n.BackgroundColor3 = Color3.new(0.0588235, 0.513726, 0.690196)
  115. n.BorderSizePixel = 0
  116. n.Position = UDim2.new(0.600000024, 0, 0.5, 0)
  117. n.Size = UDim2.new(0.25999999, 0, 0.194999993, 0)
  118. n.Font = Enum.Font.SourceSans
  119. n.PlaceholderText = "Egg Name"
  120. n.Text = ""
  121. n.TextColor3 = Color3.new(0, 0, 0)
  122. n.TextScaled = true
  123. n.TextSize = 14
  124. n.TextWrapped = true
  125.  
  126. TextButton_6.Parent = Frame
  127. TextButton_6.BackgroundColor3 = Color3.new(0.0588235, 0.513726, 0.690196)
  128. TextButton_6.BorderSizePixel = 0
  129. TextButton_6.Position = UDim2.new(0.600000024, 0, 0.75, 0)
  130. TextButton_6.Size = UDim2.new(0.25999999, 0, 0.194999993, 0)
  131. TextButton_6.Font = Enum.Font.Cartoon
  132. TextButton_6.Text = "Auto-Egg"
  133. TextButton_6.TextColor3 = Color3.new(1, 1, 1)
  134. TextButton_6.TextScaled = true
  135. TextButton_6.TextSize = 14
  136. TextButton_6.TextWrapped = true
  137.  
  138. TextButton_7.Parent = Frame
  139. TextButton_7.BackgroundColor3 = Color3.new(0.0588235, 0.513726, 0.690196)
  140. TextButton_7.BorderSizePixel = 0
  141. TextButton_7.Position = UDim2.new(0.300000012, 0, 0.75, 0)
  142. TextButton_7.Size = UDim2.new(0.25999999, 0, 0.194999993, 0)
  143. TextButton_7.Font = Enum.Font.Cartoon
  144. TextButton_7.Text = "Auto Collect Achievements"
  145. TextButton_7.TextColor3 = Color3.new(1, 1, 1)
  146. TextButton_7.TextScaled = true
  147. TextButton_7.TextSize = 14
  148. TextButton_7.TextWrapped = true
  149. -- Scripts:
  150. local max = 0
  151. local sell = nil
  152. for _,v in pairs(game.Workspace.SellParts:GetChildren()) do
  153.     if v.Multiplier.Value > max then
  154.         max = v.Multiplier.Value
  155.         sell = v
  156.     end
  157. end
  158.  
  159. function SCRIPT_NZGG67_FAKESCRIPT() -- TextButton.LocalScript
  160.     local script = Instance.new('LocalScript')
  161.     script.Parent = TextButton
  162.     local on = false
  163.     script.Parent.MouseButton1Click:Connect(function()
  164.         on = not on
  165.         repeat
  166.             wait()
  167.  
  168.             sell.CanCollide = false
  169.             sell.CFrame = game.Workspace:WaitForChild(game.Players.LocalPlayer.Name).UpperTorso.CFrame
  170.             game.Workspace:WaitForChild(game.Players.LocalPlayer.Name).Humanoid.Jump = true
  171.             local A_1 = "c44ff05805c1a282cb852411fb39f08e"
  172.             local Event = game:GetService("ReplicatedStorage").Events.ActivatedTool
  173.             Event:FireServer(A_1)
  174.         until on == false
  175.     end)
  176.  
  177. end
  178. coroutine.resume(coroutine.create(SCRIPT_NZGG67_FAKESCRIPT))
  179. function SCRIPT_XVYO90_FAKESCRIPT() -- TextButton_2.LocalScript
  180.     local script = Instance.new('LocalScript')
  181.     script.Parent = TextButton_2
  182.     local on = false
  183.     script.Parent.MouseButton1Click:Connect(function()
  184.         on = not on
  185.         repeat
  186.             wait(1)
  187.    
  188.             for _,v in pairs(game.Workspace.Orbs:GetDescendants()) do
  189.                 if v.Name == 'MeshPart' then
  190.                     v.CFrame = game.Players.LocalPlayer.Character.UpperTorso.CFrame
  191.                     wait()
  192.                 end
  193.             end
  194.         until on == false
  195.     end)
  196.  
  197. end
  198. coroutine.resume(coroutine.create(SCRIPT_XVYO90_FAKESCRIPT))
  199. function SCRIPT_UTND68_FAKESCRIPT() -- TextButton_3.LocalScript
  200.     local script = Instance.new('LocalScript')
  201.     script.Parent = TextButton_3
  202.     script.Parent.MouseButton1Click:Connect(function()
  203.         on = not on
  204.         repeat
  205.             wait()
  206.    
  207.             local Event = game:GetService("ReplicatedStorage").Events.PurchaseRebirth
  208.             Event:FireServer()
  209.    
  210.         until on == false
  211.     end)
  212.  
  213. end
  214. coroutine.resume(coroutine.create(SCRIPT_UTND68_FAKESCRIPT))
  215. function SCRIPT_KTZW87_FAKESCRIPT() -- TextButton_4.LocalScript
  216.     local script = Instance.new('LocalScript')
  217.     script.Parent = TextButton_4
  218.  
  219.     script.Parent.MouseButton1Click:Connect(function()
  220.         local A_1 = "Icy Egg"
  221.         local A_2 = -3000000
  222.         local Event = game:GetService("ReplicatedStorage").Events.PurchaseEgg
  223.         Event:InvokeServer(A_1, A_2)
  224.     end)
  225.  
  226. end
  227. coroutine.resume(coroutine.create(SCRIPT_KTZW87_FAKESCRIPT))
  228. function SCRIPT_BFZV80_FAKESCRIPT() -- TextButton_5.LocalScript
  229.     local script = Instance.new('LocalScript')
  230.     script.Parent = TextButton_5
  231.     script.Parent.MouseButton1Click:Connect(function()
  232.         local A_1 = "Ancient Egg"
  233.         local A_2 = -3000000
  234.         local Event = game:GetService("ReplicatedStorage").Events.PurchaseEgg
  235.         Event:InvokeServer(A_1, A_2)
  236.    
  237.     end)
  238.     local on = false
  239.  
  240.  
  241. end
  242. coroutine.resume(coroutine.create(SCRIPT_BFZV80_FAKESCRIPT))
  243. function SCRIPT_AATS85_FAKESCRIPT() -- TextButton_6.LocalScript
  244.     local script = Instance.new('LocalScript')
  245.     script.Parent = TextButton_6
  246.     local on = false
  247.     script.Parent.MouseButton1Click:Connect(function()
  248.         on = not on
  249.         repeat
  250.             wait()
  251.             local A_1 = script.Parent.Parent.n.Text
  252.             local A_2 = tonumber(script.Parent.Parent.a.Text)
  253.             local Event = game:GetService("ReplicatedStorage").Events.PurchaseEgg
  254.             Event:InvokeServer(A_1, A_2)
  255.    
  256.         until on == false
  257.     end)
  258.  
  259. end
  260. coroutine.resume(coroutine.create(SCRIPT_AATS85_FAKESCRIPT))
  261. function SCRIPT_KGEQ72_FAKESCRIPT() -- TextButton_7.LocalScript
  262.     local script = Instance.new('LocalScript')
  263.     script.Parent = TextButton_7
  264.     local on = false
  265.     script.Parent.MouseButton1Click:Connect(function()
  266.         on = not on
  267.         repeat
  268.             wait()
  269.    
  270.             local A_1 = "Crumbs Eater"
  271.             local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  272.             Event:FireServer(A_1)
  273.    
  274.             local A_1 = "Coin Collector"
  275.             local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  276.             Event:FireServer(A_1)
  277.    
  278.             local A_1 = "Gem Collector"
  279.             local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  280.             Event:FireServer(A_1)
  281.    
  282.             local A_1 = "Egg Hatcher"
  283.             local Event = game:GetService("ReplicatedStorage").Events.CollectAchievement
  284.             Event:FireServer(A_1)
  285.    
  286.         until on == false
  287.     end)
  288.  
  289. end
  290. coroutine.resume(coroutine.create(SCRIPT_KGEQ72_FAKESCRIPT))
  291. function SCRIPT_DWDQ87_FAKESCRIPT() -- Frame.LocalScript
  292.     local script = Instance.new('LocalScript')
  293.     script.Parent = Frame
  294.     script.Parent.Active =true
  295.     script.Parent.Draggable = true
  296.  
  297. end
  298. coroutine.resume(coroutine.create(SCRIPT_DWDQ87_FAKESCRIPT))
Add Comment
Please, Sign In to add comment