Advertisement
DianShadow

Clicker Simulator 2.0 AUTO FARM FAST / SLOW

May 23rd, 2020
6,326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1. --// Main Stuff
  2. local player = game.Players.LocalPlayer
  3. local library = loadstring(game:HttpGet("https://pastebin.com/raw/e4bUgChq",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 it from breaking
  10.  
  11. --// Tab Windows
  12. local Farming = library:CreateWindow("Farming")
  13. local Other = library:CreateWindow("Other")
  14. local Settings = library:CreateWindow("Settings")
  15.  
  16. --// Window Parts
  17. Farming:Section("Auto Click + Rebirth")
  18. local SlowFarm = Farming:Toggle("Slow Farm", {flag = "SFarm"})
  19. local NormalFarm = Farming:Toggle("Normal Farm", {flag = "NFarm"})
  20. local FastFarm = Farming:Toggle("Fast Farm", {flag = "FFarm"})
  21.  
  22. Farming:Section("Rebirth Selector")
  23. local RebirthList = Farming:Dropdown("Select Rebirth", {
  24. location = _G;
  25. flag = "rebirth";
  26. list = {
  27. "1 Rebirth";
  28. "5 Rebirths";
  29. "15 Rebirths";
  30. "50 Rebirths";
  31. "100 Rebirths";
  32. "250 Rebirths";
  33. }
  34. }, function(rebi)
  35. if _G.rebirth == "1 Rebirth" then
  36. _G.remote = workspace.Events.Give2
  37. elseif _G.rebirth == "5 Rebirths" then
  38. _G.remote = workspace.Events.Give3
  39. elseif _G.rebirth == "15 Rebirths" then
  40. _G.remote = workspace.Events.Give4
  41. elseif _G.rebirth == "50 Rebirths" then
  42. _G.remote = workspace.Events.Give5
  43. elseif _G.rebirth == "100 Rebirths" then
  44. _G.remote = workspace.Events.Give7
  45. elseif _G.rebirth == "250 Rebirths" then
  46. _G.remote = workspace.Events.Give8
  47. end
  48. end)
  49.  
  50. Other:Section("Auto Clicker")
  51. local SlowClick = Other:Toggle("Slow Click", {flag = "SClick"})
  52. local NormalClick = Other:Toggle("Normal Click", {flag = "NClick"})
  53. local FastClick = Other:Toggle("Fast Click", {flag = "FClick"})
  54.  
  55. Other:Section("Auto Rebirth")
  56. local SlowRebirth = Other:Toggle("Slow Rebirth", {flag = "SRebirth"})
  57. local NormalRebirth = Other:Toggle("Normal Rebirth", {flag = "NRebirth"})
  58. local FastRebirth = Other:Toggle("Fast Rebirth", {flag = "FRebirth"})
  59.  
  60. local Destroy = Settings:Button("Destroy GUI", function()
  61. game.CoreGui.ScreenGui:Destroy()
  62. end)
  63.  
  64. --// Functions
  65. --// Auto Click
  66. spawn(function()
  67. while wait(.05) do
  68. if Other.flags.SClick then
  69. workspace.Events.Give:FireServer()
  70. end
  71. end
  72. end)
  73. spawn(function()
  74. while wait() do
  75. if Other.flags.NClick then
  76. workspace.Events.Give:FireServer()
  77. end
  78. end
  79. end)
  80. spawn(function()
  81. while rs:wait() do
  82. if Other.flags.FClick then
  83. for i = 1, 20 do
  84. workspace.Events.Give:FireServer()
  85. end
  86. end
  87. end
  88. end)
  89. --// Auto Rebirth
  90. spawn(function()
  91. while wait(.05) do
  92. if Other.flags.SRebirth then
  93. _G.remote:FireServer()
  94. end
  95. end
  96. end)
  97. spawn(function()
  98. while wait() do
  99. if Other.flags.NRebirth then
  100. _G.remote:FireServer()
  101. end
  102. end
  103. end)
  104. spawn(function()
  105. while rs:wait() do
  106. if Other.flags.FRebirth then
  107. for i = 1, 10 do
  108. _G.remote:FireServer()
  109. end
  110. end
  111. end
  112. end)
  113. --// Auto Click + Rebirth (Auto Farm)
  114. spawn(function()
  115. while wait(.05) do
  116. if Farming.flags.SFarm then
  117. workspace.Events.Give:FireServer()
  118. _G.remote:FireServer()
  119. end
  120. end
  121. end)
  122. spawn(function()
  123. while wait() do
  124. if Farming.flags.NFarm then
  125. workspace.Events.Give:FireServer()
  126. _G.remote:FireServer()
  127. end
  128. end
  129. end)
  130. spawn(function()
  131. while rs:wait() do
  132. if Farming.flags.FFarm then
  133. for i = 1, 10 do
  134. workspace.Events.Give:FireServer()
  135. _G.remote:FireServer()
  136. end
  137. end
  138. end
  139. end)
  140.  
  141. local abcd = true
  142. Settings:Bind("Toggle Gui", {
  143. flag = "TGui";
  144. kbonly = true;
  145. default = Enum.KeyCode.LeftControl;
  146. }, function()
  147. if not abcd then
  148. abcd = true
  149. game.CoreGui.ScreenGui.Container.Visible = true
  150. else
  151. abcd = false
  152. game.CoreGui.ScreenGui.Container.Visible = false
  153. end
  154. end)
  155.  
  156. --// Anti Afk
  157. game:GetService("Players").LocalPlayer.Idled:connect(function()
  158. vu:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  159. wait(1)
  160. vu:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  161. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement