Advertisement
Guest User

Clicking simulator

a guest
May 24th, 2020
4,882
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.51 KB | None | 0 0
  1. --// Main Stuff
  2. local player = game.Players.LocalPlayer
  3. local library = loadstring(game:HttpGet("https://pastebin.com/raw/LmbJDLzg",true))()
  4.  
  5. --// Other Stuff
  6. local char = player.Character
  7. local rs = game:GetService("RunService").RenderStepped
  8. local vu = game:GetService("VirtualUser")
  9. _G.remote = workspace.Events.Give2 --Prevents auto rebirth from breaking
  10. _G.SEgg = "Common" --Prevents auto open eggs from breaking
  11.  
  12. --// Tab Windows
  13. local Farming = library:CreateWindow("Farming")
  14. local Other = library:CreateWindow("Other")
  15. local EggOpen = library:CreateWindow("Auto Egg Open")
  16. local Settings = library:CreateWindow("Settings")
  17.  
  18. --// Window Parts
  19. Farming:Section("Auto Click + Rebirth")
  20. local SlowFarm = Farming:Toggle("Slow Farm", {flag = "SFarm"})
  21. local NormalFarm = Farming:Toggle("Normal Farm", {flag = "NFarm"})
  22. local FastFarm = Farming:Toggle("Fast Farm", {flag = "FFarm"})
  23.  
  24. Farming:Section("Rebirth Selector")
  25. local RebirthList = Farming:Dropdown("Select Rebirth", {
  26. location = _G;
  27. flag = "rebirth";
  28. list = {
  29. "1 Rebirth";
  30. "5 Rebirths";
  31. "15 Rebirths";
  32. "50 Rebirths";
  33. "100 Rebirths";
  34. "250 Rebirths";
  35. "750 Rebirths";
  36. "2.5k Rebirths";
  37. }
  38. }, function(rebi)
  39. if _G.rebirth == "1 Rebirth" then
  40. _G.remote = workspace.Events.Give2
  41. elseif _G.rebirth == "5 Rebirths" then
  42. _G.remote = workspace.Events.Give3
  43. elseif _G.rebirth == "15 Rebirths" then
  44. _G.remote = workspace.Events.Give4
  45. elseif _G.rebirth == "50 Rebirths" then
  46. _G.remote = workspace.Events.Give5
  47. elseif _G.rebirth == "100 Rebirths" then
  48. _G.remote = workspace.Events.Give7
  49. elseif _G.rebirth == "250 Rebirths" then
  50. _G.remote = workspace.Events.Give8
  51. elseif _G.rebirth == "750 Rebirths" then
  52. _G.remote = workspace.Events.Give9
  53. elseif _G.rebirth == "2.5k Rebirths" then
  54. _G.remote = workspace.Events.Give10
  55. end
  56. end)
  57.  
  58. Other:Section("Auto Clicker")
  59. local SlowClick = Other:Toggle("Slow Click", {flag = "SClick"})
  60. local NormalClick = Other:Toggle("Normal Click", {flag = "NClick"})
  61. local FastClick = Other:Toggle("Fast Click", {flag = "FClick"})
  62.  
  63. Other:Section("Auto Rebirth")
  64. local SlowRebirth = Other:Toggle("Slow Rebirth", {flag = "SRebirth"})
  65. local NormalRebirth = Other:Toggle("Normal Rebirth", {flag = "NRebirth"})
  66. local FastRebirth = Other:Toggle("Fast Rebirth", {flag = "FRebirth"})
  67.  
  68. EggOpen:Section("Egg Selector")
  69. local EggList = EggOpen:Dropdown("Select Egg", {
  70. location = _G;
  71. flag = "egg";
  72. list = {
  73. "Common";
  74. "Fruit";
  75. "Magma";
  76. "Water";
  77. "Scuba";
  78. "Meteor";
  79. "Event";
  80. }
  81. }, function(rebi)
  82. if _G.egg == "Common" then
  83. _G.SEgg = "Common"
  84. elseif _G.egg == "Fruit" then
  85. _G.SEgg = "Fruit"
  86. elseif _G.egg == "Magma" then
  87. _G.SEgg = "Magma"
  88. elseif _G.egg == "Water" then
  89. _G.SEgg = "Water"
  90. elseif _G.egg == "Scuba" then
  91. _G.SEgg = "Scuba"
  92. elseif _G.egg == "Meteor" then
  93. _G.SEgg = "Meteor"
  94. elseif _G.egg == "Event" then
  95. _G.SEgg = "Event"
  96. end
  97. end)
  98.  
  99. EggOpen:Section("Egg Toggles")
  100. local OpenOne = EggOpen:Toggle("Open 1 Egg", {flag = "O1E"})
  101. local OpenThree = EggOpen:Toggle("Open 3 Eggs", {flag = "O3E"})
  102.  
  103. local Destroy = Settings:Button("Destroy GUI", function()
  104. game.CoreGui.ScreenGui:Destroy()
  105. end)
  106.  
  107. --// Functions
  108. --// Auto Click
  109. spawn(function()
  110. while wait(.05) do
  111. if Other.flags.SClick then
  112. workspace.Events.Give:FireServer()
  113. end
  114. end
  115. end)
  116. spawn(function()
  117. while wait() do
  118. if Other.flags.NClick then
  119. workspace.Events.Give:FireServer()
  120. end
  121. end
  122. end)
  123. spawn(function()
  124. while rs:wait() do
  125. if Other.flags.FClick then
  126. for i = 1, 20 do
  127. workspace.Events.Give:FireServer()
  128. end
  129. end
  130. end
  131. end)
  132. --// Auto Rebirth
  133. spawn(function()
  134. while wait(.05) do
  135. if Other.flags.SRebirth then
  136. _G.remote:FireServer()
  137. end
  138. end
  139. end)
  140. spawn(function()
  141. while wait() do
  142. if Other.flags.NRebirth then
  143. _G.remote:FireServer()
  144. end
  145. end
  146. end)
  147. spawn(function()
  148. while rs:wait() do
  149. if Other.flags.FRebirth then
  150. for i = 1, 10 do
  151. _G.remote:FireServer()
  152. end
  153. end
  154. end
  155. end)
  156. --// Auto Click + Rebirth (Auto Farm)
  157. spawn(function()
  158. while wait(.05) do
  159. if Farming.flags.SFarm then
  160. workspace.Events.Give:FireServer()
  161. _G.remote:FireServer()
  162. end
  163. end
  164. end)
  165. spawn(function()
  166. while wait() do
  167. if Farming.flags.NFarm then
  168. workspace.Events.Give:FireServer()
  169. _G.remote:FireServer()
  170. end
  171. end
  172. end)
  173. spawn(function()
  174. while rs:wait() do
  175. if Farming.flags.FFarm then
  176. for i = 1, 10 do
  177. workspace.Events.Give:FireServer()
  178. _G.remote:FireServer()
  179. end
  180. end
  181. end
  182. end)
  183. --// Auto Open 1 Egg
  184. spawn(function()
  185. while wait() do
  186. if EggOpen.flags.O1E then
  187. local args = {
  188. [1] = game:GetService("Players").LocalPlayer,
  189. [2] = _G.SEgg,
  190. [3] = false,
  191. }
  192. game:GetService("ReplicatedStorage").KeyBind:InvokeServer(unpack(args))
  193. end
  194. end
  195. end)
  196. --// Auto Open 3 Eggs
  197. spawn(function()
  198. while wait() do
  199. if EggOpen.flags.O3E then
  200. local args = {
  201. [1] = game:GetService("Players").LocalPlayer,
  202. [2] = _G.SEgg,
  203. [3] = true,
  204. }
  205. game:GetService("ReplicatedStorage").KeyBind:InvokeServer(unpack(args))
  206. end
  207. end
  208. end)
  209.  
  210. local abcd = true
  211. Settings:Bind("Toggle Gui", {
  212. flag = "TGui";
  213. kbonly = true;
  214. default = Enum.KeyCode.LeftControl;
  215. }, function()
  216. if not abcd then
  217. abcd = true
  218. game.CoreGui.ScreenGui.Container.Visible = true
  219. else
  220. abcd = false
  221. game.CoreGui.ScreenGui.Container.Visible = false
  222. end
  223. end)
  224. --// Credits
  225. warn("[Clicking Simulator 2.0 Script]")
  226. warn("[Almost everything - Christmas ⭐#8335]")
  227. warn("[Auto Egg Open - food is good#0001]")
  228. --// Anti Afk
  229. game:GetService("Players").LocalPlayer.Idled:connect(function()
  230. vu:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  231. wait(1)
  232. vu:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  233. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement