R3LUA

midnight chasers highway racing script

Jul 3rd, 2024
3,419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. --Join my discord server! https://discord.gg/RzARqGBQ58
  2. --for the afford <
  3. --Follow Me On Roblox R3LUA
  4. loadstring(game:HttpGet("https://raw.githubusercontent.com/deeeity/mercury-lib/master/src.lua"))()
  5.  
  6. local Mercury = loadstring(game:HttpGet("https://raw.githubusercontent.com/deeeity/mercury-lib/master/src.lua"))()
  7.  
  8. local GUI = Mercury:Create{
  9. Name = "R3LUA MR",
  10. Size = UDim2.fromOffset(550, 350),
  11. Theme = Mercury.Themes.Dark,
  12. Link = "https://www.roblox.com/groups/32497999/Club-Du-Lua#!/about"
  13. }
  14.  
  15. local Tab = GUI:Tab{
  16. Name = "Script",
  17. Icon = "rbxassetid://8569322835"
  18. }
  19.  
  20. Tab:Button{
  21. Name = "Rejoin",
  22. Description = nil,
  23. Callback = function()
  24. local ts = game:GetService("TeleportService")
  25. local p = game:GetService("Players").LocalPlayer
  26. ts:Teleport(game.PlaceId, p)
  27. end
  28.  
  29. }
  30.  
  31.  
  32.  
  33.  
  34. Tab:Toggle{
  35. Name = "Auto From",
  36. StartingState = false,
  37. Description = nil,
  38. Callback = function(state)
  39.  
  40. if state == true then
  41. GUI:Notification{
  42. Title = "YUB-X:",
  43. Text = "Start Auto From",
  44. Duration = 3,
  45. Callback = function() end
  46. }
  47. end
  48. getgenv().lol = state
  49.  
  50.  
  51. local UserInputService = game:GetService("UserInputService")
  52. local GuiService = game:GetService("GuiService")
  53. local LocalPlayer = game:GetService("Players").LocalPlayer
  54. local Players = game:GetService("Players")
  55. local RunService = game:GetService("RunService")
  56. local UserInputService = game:GetService("UserInputService")
  57. local TweenService = game:GetService("TweenService")
  58.  
  59. local LocalPlayer = Players.LocalPlayer
  60. local Character = LocalPlayer.Character
  61. local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
  62.  
  63. local SeatPart = Humanoid.SeatPart
  64. local Vehicle = SeatPart.Parent
  65. local Wheels = Vehicle:FindFirstChild("Wheels")
  66. local Body = Vehicle:FindFirstChild("Body")
  67. spawn(function()
  68. wait(4.5)
  69. while getgenv().lol == true do
  70. wait()
  71. workspace.CurrentCamera.CameraSubject:ApplyImpulse(
  72. workspace.CurrentCamera.CameraSubject.CFrame.LookVector * Vector3.new(_G.speedd,_G.speedd,_G.speedd)
  73. )
  74. end
  75. end)
  76. spawn(function()
  77. wait(9.5)
  78. while wait(0) and getgenv().lol == true do
  79. _getgenv().lol = true
  80. wait(3)
  81. getgenv().lol = false
  82. end
  83. end)
  84. if SeatPart:FindFirstAncestor("Body") then
  85. Vehicle = SeatPart:FindFirstAncestor("Body").Parent
  86. Wheels = (Wheels ~= nil and Wheels) or Vehicle:FindFirstChild("Wheels")
  87. end
  88.  
  89. if game.PlaceId == 3351674303 then
  90. Wheels = Vehicle:FindFirstChild("Core")
  91. end
  92.  
  93. Vehicle.PrimaryPart = SeatPart
  94.  
  95. local function GetWheelVelocity()
  96. if game.PlaceId == 3351674303 then
  97. return Wheels:GetChildren()[1]["Wheel"].Velocity, Wheels:GetChildren()[1]["Wheel"].RotVelocity
  98. end
  99. for index, value in pairs(Wheels:GetDescendants()) do
  100. if value:IsA("BasePart") then
  101. return value.Velocity, value.RotVelocity
  102. end
  103. end
  104. end
  105.  
  106. local function SetWheelVelocity(Velocity, RotVelocity)
  107. for index, value in pairs(Wheels:GetDescendants()) do
  108. pcall(function()
  109. value.Velocity = Velocity
  110. if RotVelocity ~= nil then
  111. value.RotVelocity = RotVelocity
  112. end
  113. end)
  114. end
  115. end
  116.  
  117. Character.Parent = Vehicle
  118. Vehicle:MoveTo(Vector3.new(2616, 5, -2))
  119. Character.Parent = workspace
  120.  
  121. if not Vehicle or not Vehicle.Parent or not Humanoid.SeatPart then
  122. end
  123. while wait(1) and getgenv().lol == true do
  124. local Speed = ((2/12) * (60/88)) * SeatPart.Velocity.Magnitude
  125. if SeatPart.Position.X > -14294.7607 then
  126. Character.Parent = Vehicle
  127. Vehicle:MoveTo(Vector3.new(2616, 5, -2))
  128. Character.Parent = workspace
  129. end
  130. end
  131.  
  132. end
  133. }
  134.  
  135.  
  136. Tab:Slider{
  137. Name = "Auto_Farm Speed",
  138. Default = 0,
  139. Min = 0,
  140. Max = 300,
  141. Callback = function(Value)
  142. _G.speedd = Value -- 450 = 469KM/H
  143. end
  144.  
  145. }
  146.  
  147. Tab:Toggle{
  148. Name = "Boost speed Car",
  149. StartingState = false,
  150. Description =Thankyou For Using my scripts!,
  151. Callback = function(state)
  152.  
  153. local UserInputService = game:GetService("UserInputService")
  154. local GuiService = game:GetService("GuiService")
  155. local LocalPlayer = game:GetService("Players").LocalPlayer
  156.  
  157. game:GetService("RunService").Stepped:Connect(function()
  158. if GuiService.MenuIsOpen and state == true then
  159. return
  160. end
  161. if workspace.CurrentCamera.CameraSubject:IsDescendantOf(LocalPlayer.Character) and state == true then
  162. return
  163. end
  164. if UserInputService:IsKeyDown(Enum.KeyCode.W
  165. ) and state == true then
  166. workspace.CurrentCamera.CameraSubject:ApplyImpulse(
  167. workspace.CurrentCamera.CameraSubject.CFrame.LookVector * Vector3.new(_G.SValue,_G.SValue,_G.SValue)
  168. )
  169. end
  170. end)
  171.  
  172. --LeftShift Speed
  173. game:GetService("RunService").Stepped:Connect(function()
  174. if GuiService.MenuIsOpen and state == true then
  175. return
  176. end
  177. if workspace.CurrentCamera.CameraSubject:IsDescendantOf(LocalPlayer.Character) and state == true then
  178. return
  179. end
  180. if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) and state == true then
  181.  
  182.  
  183. workspace.CurrentCamera.CameraSubject:ApplyImpulse(
  184. workspace.CurrentCamera.CameraSubject.CFrame.LookVector * Vector3.new(_G.SValue,_G.SValue,_G.SValue)
  185. )
  186.  
  187. end
  188. end)
  189.  
  190. game:GetService("RunService").Stepped:Connect(function()
  191. if GuiService.MenuIsOpen and state == true then
  192. return
  193. end
  194. if workspace.CurrentCamera.CameraSubject:IsDescendantOf(LocalPlayer.Character) and state == true then
  195. return
  196. end
  197. if UserInputService:IsKeyDown(Enum.KeyCode.S) and state == true then
  198.  
  199.  
  200. workspace.CurrentCamera.CameraSubject:ApplyImpulse(
  201. workspace.CurrentCamera.CameraSubject.CFrame.LookVector * Vector3.new(-_G.SValue,-_G.SValue,-_G.SValue)
  202. )
  203. end
  204. end)
  205. end
  206. }
  207.  
  208. GUI:Notification{
  209. Title = "R3LUA:",
  210. Text = "Ready",
  211. Duration = 5,
  212. Callback = function() end
  213. }
  214.  
  215. Tab:Slider{
  216. Name = "Car Speed",
  217. Default = 50,
  218. Min = 0,
  219. Max = 500,
  220. Callback = function(Value)
  221. _G.SValue = Value -- 450 = 469KM/H
  222. end
  223.  
  224. }
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232. GUI:Credit{
  233. Name = "Creditor's YuB - X#6832",
  234. Description = "Made By YUB-X",
  235. V3rm = "link/name",
  236. Discord = "YuB - X#6832"
  237. }
Advertisement
Add Comment
Please, Sign In to add comment