Advertisement
RobloxScripter_123_

Clicking Simulator Script

Jan 1st, 2023
5,749
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.14 KB | Gaming | 0 0
  1. print("running")
  2.  
  3. getgenv().autoTap = false
  4. getgenv().autoRebirth = false
  5.  
  6. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  7. local Window = Library.CreateLib("Clicky Clicky", "DarkTheme")
  8.  
  9. local autoFarms = Window:NewTab("Auto Farms")
  10. local tp = Window:NewTab("Teleports")
  11. local farms = autoFarms:NewSection("Clicks and Rebirths")
  12. local teleports = tp:NewSection("Main World Teleports")
  13. local teleports2 = tp:NewSection("Space World Teleports")
  14. local teleports3 = tp:NewSection("Time World Teleports")
  15. local teleports4 = tp:NewSection("Ocean World Teleports")
  16. local teleports5 = tp:NewSection("Fantasy World Teleports")
  17.  
  18. local clicksAmount
  19. farms:NewTextBox("Amount per click", "Amount per click", function(txt)
  20.     clicksAmount = txt
  21. end)
  22.  
  23. farms:NewToggle("Auto Click", "I recommend using the Regular Auto Clicker", function(state)
  24.     if state then
  25.         getgenv().autoTap = true
  26.         autoClick(clicksAmount)
  27.     else
  28.         getgenv().autoTap = false
  29.         autoClick("20")
  30.     end
  31. end)
  32.  
  33. local selectedRebirth
  34. farms:NewDropdown("Rebirth Amount", "Choose the amount of rebirths", {"1", "5", "10", "50", "250", "1000", "5000", "25000", "125000", "500000", "3000000", "15000000", "50000000", "250000000", "1000000000"}, function(Option)
  35.     selectedRebirth = tonumber(Option)
  36. end)
  37.  
  38. farms:NewToggle("Auto Rebirth", "Automatically Rebirths to the amount selected", function(state)
  39.     if state and selectedRebirth then
  40.         getgenv().autoRebirth = true
  41.         autoRebirths(selectedRebirth)
  42.     else
  43.         getgenv().autoRebirth = false
  44.         autoRebirths(1)
  45.     end
  46. end)
  47.  
  48. local selectedWorld
  49. teleports:NewDropdown("Main World Teleports", "Select Island to Teleport to", {"Sky", "Ice", "Lava", "Pirate", "Space", "Forest", "Candyland", "Atlantis", "Tropical", "Bee", "Galaxy"}, function(Option)
  50.     selectedWorld = Option
  51. end)
  52.  
  53. teleports:NewButton("Teleport Selected", "Teleports to selected island", function()
  54.     if selectedWorld then
  55.         teleportWorld(selectedWorld)
  56.     end
  57. end)
  58.  
  59. local selectedWorld2
  60. teleports2:NewDropdown("Space World Teleports", "Select Island to Teleport to", { "Robot", "Chemical", "Steampunk", "Holographic", "Music", "Hacker", "Mars"}, function(Option)
  61.     selectedWorld2 = Option
  62. end)
  63.  
  64. teleports2:NewButton("Teleport Selected", "Teleports to selected island", function()
  65.     if selectedWorld2 then
  66.         teleportWorld(selectedWorld2)
  67.     end
  68. end)
  69.  
  70. local selectedWorld3
  71. teleports3:NewDropdown("Time World Teleports", "Select Island to Teleport to", { "Dinosaur", "Egypt", "Ice Age", "Samurai", "Rome", "Jungle", "Viking", "Wild West", "Future", "Heaven", "Hell"}, function(Option)
  72.     selectedWorld3 = Option
  73. end)
  74.  
  75. teleports3:NewButton("Teleport Selected", "Teleports to selected island", function()
  76.     if selectedWorld3 then
  77.         teleportWorld(selectedWorld3)
  78.     end
  79. end)
  80.  
  81. local selectedWorld4
  82. teleports4:NewDropdown("Ocean World Teleports", "Select Island to Teleport to", { "Swamp", "Beach", "Sunken City", "Coral Reef", "Privateer", "Glacier", "Deep Sea", "Underwater Cyborg", "Mythological"}, function(Option)
  83.     selectedWorld4 = Option
  84. end)
  85.  
  86. teleports4:NewButton("Teleport Selected", "Teleports to selected island", function()
  87.     if selectedWorld4 then
  88.         teleportWorld(selectedWorld4)
  89.     end
  90. end)
  91.  
  92. local selectedWorld5
  93. teleports5:NewDropdown("Fantasy World Teleports", "Select Island to Teleport to", { "Fairy", "Magic", "Dragon", "nil", "nil", "nil", "nil", "nil"}, function(Option)
  94.     selectedWorld5 = Option
  95. end)
  96.  
  97. teleports5:NewButton("Teleport Selected", "Teleports to selected island", function()
  98.     if selectedWorld5 then
  99.         teleportWorld(selectedWorld5)
  100.     end
  101. end)
  102.  
  103. function autoClick(clicksPerClick)
  104.     spawn(function()
  105.         while getgenv().autoTap == true do
  106.        
  107.             local args = {
  108.                 [1] = "HUDHandler",
  109.                 [2] = "Clickerr",
  110.                 [3] = {
  111.                     ["manual"] = {
  112.                         [clicksPerClick] = 1
  113.                     }
  114.                 }
  115.             }
  116.        
  117.             game:GetService("ReplicatedStorage").Events.ClientToServer.ClientToServerFunction:InvokeServer(unpack(args))
  118.             wait(1)
  119.         end
  120.     end)
  121. end
  122.  
  123. function autoRebirths(rebirthAmount)
  124.     spawn(function()
  125.         while getgenv().autoRebirth == true do
  126.        
  127.             local args = {
  128.                 [1] = "LocalScript",
  129.                 [2] = "RequestRebirth",
  130.                 [3] = rebirthAmount,
  131.                 [4] = false,
  132.                 [5] = false
  133.             }
  134.        
  135.             game:GetService("ReplicatedStorage").Events.ClientToServer.ClientToServerEvent:FireServer(unpack(args))
  136.             wait(1)
  137.         end
  138.     end)
  139. end
  140.  
  141. function teleportTO(placeCFrame)
  142.     local plyr = game.Players.LocalPlayer
  143.     if plyr.Character then
  144.         plyr.Character.HumanoidRootPart.CFrame = placeCFrame
  145.     end
  146. end
  147.  
  148. function teleportWorld(world)
  149.     if game:GetService("Workspace").Zones:FindFirstChild(world) then
  150.         teleportTO(game:GetService("Workspace").Zones[world].teleport.CFrame)
  151.     end
  152. end
Tags: Script Hack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement