Advertisement
LuaXe

🏆 Race Clicker

Mar 18th, 2023
477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.54 KB | Source Code | 0 0
  1. getgenv().C = false;
  2. getgenv().A = false;
  3. getgenv().B = false;
  4. getgenv().H = false;
  5. getgenv().R = false;
  6.  
  7. function Click()
  8.     spawn(function ()
  9.         while getgenv().C do
  10. game:GetService("ReplicatedStorage").Packages.Knit.Services.ClickService.RF.Click:InvokeServer() wait()
  11.         end
  12.     end)
  13. end
  14. function Autofarm()
  15.     spawn(function ()
  16.         while getgenv().A do
  17.             for i, v in pairs(game:GetService("Workspace").LoadedWorld.Track:GetChildren()) do
  18. TPCFrame(CFrame.new(-442300, 26, 13)) wait() TPCFrame(CFrame.new(-442100, 26, 13)) wait()
  19.                 if not getgenv().A then break end
  20.             end wait()
  21.         end
  22.     end)
  23. end
  24. function Best()
  25.     spawn(function ()
  26.         while getgenv().B do
  27. game:GetService("ReplicatedStorage").Packages.Knit.Services.PetsService.RF.EquipBest:InvokeServer() wait(1)
  28.         end
  29.     end)
  30. end
  31. function Hatch(E)
  32.     spawn(function ()
  33.         while getgenv().H do
  34. local args = {[1] = E,[2] = "1",[3] = {}} game:GetService("ReplicatedStorage").Packages.Knit.Services.EggService.RF.Open:InvokeServer(unpack(args))  wait()
  35.         end
  36.     end)
  37. end
  38. function Re()
  39.     spawn(function ()
  40.         while getgenv().R do
  41. game:GetService("ReplicatedStorage").Packages.Knit.Services.RebirthService.RF.Rebirth:InvokeServer() wait()
  42.         end
  43.     end)
  44. end
  45. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wall%20v3')))()
  46.  
  47. local w = library:CreateWindow("Race Clicker")
  48.  
  49. local b = w:CreateFolder("Main")
  50.  
  51. b:Toggle("Autofarm",function(val)
  52. getgenv().A = val
  53. Autofarm()
  54. end)
  55.  
  56. b:Toggle("Auto Click",function(val)
  57. getgenv().C = val
  58. Click()
  59. end)
  60.  
  61. b:Toggle("Rebirth",function(val)
  62. getgenv().R = val
  63. Re()
  64. end)
  65.  
  66. b:Toggle("Equip Best",function(val)
  67. getgenv().B = val
  68. Best()
  69. end)
  70.  
  71. b:Toggle("Hatch",function(val)
  72. getgenv().H = val
  73. Hatch(E)
  74. end)
  75.  
  76. b:Dropdown("Select",{"Starter01","Starter02","Starter03","Starter04","Pro01","Pro02","Pro03"},true,function(val)
  77. E = val
  78. end)
  79.  
  80. b:Label("Made by X_LuaF#0705",{TextSize = 21; TextColor = Color3.fromRGB(255,255,255); BgColor = Color3.fromRGB(69,69,69);})
  81.  
  82. local w = library:CreateWindow("LocalPlayer")
  83.  
  84. local b = w:CreateFolder("LP")
  85.  
  86. b:DestroyGui()
  87.  
  88. b:Button("Copy Discord Invite",function() setclipboard("discord.gg/8tRb8MQcW5") end)
  89. b:Button("Full Version",function() loadstring(game:HttpGet("https://pastebin.com/raw/GphZf9Xe", true))() end)
  90. b:Button("Rejoin",function() loadstring(game:HttpGet("https://pastebin.com/raw/mM7JBG5h", true))() end)
  91. b:Button("Reset",function() loadstring(game:HttpGet("https://pastebin.com/raw/EEY6SATj", true))() end)
  92.  
  93. local S
  94. local J
  95. local H
  96. local G
  97.  
  98. b:Box("Speed","number",function(val) S = val end)
  99. b:Box("Jump","number",function(val) J = val end)
  100. b:Box("Hip Height","number",function(val) H = val end)
  101. b:Box("Gravity","number",function(val) G = val end)
  102.  
  103. b:Toggle("Speed",function(bool) getgenv().Speed = bool Speed(S) end)
  104. b:Toggle("Jump",function(bool) getgenv().Jump = bool Jump(J) end)
  105. b:Toggle("Hip Height",function(bool) getgenv().Hip = bool Hip(H) end)
  106. b:Toggle("Gravity",function(bool) getgenv().Grav = bool Grav(G) end)
  107.  
  108. b:Slider("FOV (Default is 70)",{min = 0;max = 120;precise = true;},function(val) game.workspace.CurrentCamera.FieldOfView = val end)
  109.  
  110. getgenv().Speed = false;
  111. getgenv().Jump = false;
  112. getgenv().Hip = false;
  113. getgenv().Chat = false;
  114. getgenv().Grav = false;
  115.  
  116. function TPCFrame(Player_CFrame) game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player_CFrame end
  117. function TPVector3(Player_Position) game.Players.LocalPlayer.Character.HumanoidRootPart.Position = Player_Position end
  118. function PHP(Player_HP) game.Players.LocalPlayer.Character.Humanoid.Health = Player_HP end
  119.  
  120. function Chat(Mes, Freq)
  121.     spawn(function ()
  122.         while getgenv().Chat == true do
  123. local args = {[1] = Mes,[2] = "All"} game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
  124. wait(Freq)
  125.         end
  126.     end)
  127. end
  128.  
  129. function Speed(Nume)
  130.     spawn(function ()
  131.         if getgenv().Speed == true then
  132.             while getgenv().Speed == true do
  133.                 game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = Nume
  134.                 wait()
  135.             end
  136.         elseif getgenv().Speed == false then
  137.             game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = 16
  138.         end
  139.     end)
  140. end
  141. function Jump(Nume)
  142.     spawn(function ()
  143.         if getgenv().Jump == true then
  144.             while getgenv().Jump == true do
  145.                 game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = Nume
  146.                 wait()
  147.         end
  148.     elseif getgenv().Jump == false then
  149.             game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = 50
  150.         end
  151.     end)
  152. end
  153. function Hip(Nume)
  154.     spawn(function ()
  155.         if getgenv().Hip == true then
  156.             while getgenv().Hip == true do
  157.             game:GetService("Players").LocalPlayer.Character.Humanoid.HipHeight = Nume
  158.             wait()
  159.         end
  160.     elseif getgenv().Hip == false then
  161.             game:GetService("Players").LocalPlayer.Character.Humanoid.HipHeight = 0.1
  162.         end
  163.     end)
  164. end
  165. function Grav(Nume)
  166.     spawn(function ()
  167.         if getgenv().Grav == true then
  168.             while getgenv().Grav == true do
  169.                 game:GetService("Workspace").Gravity = Nume
  170.             wait()
  171.         end
  172.     elseif getgenv().Grav == false then
  173.         game:GetService("Workspace").Gravity = 196.2
  174.         end
  175.     end)
  176. end
Tags: Roblox lua
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement