5555HACKER

Driving Empire autofarm script (ROBLOX)

Dec 22nd, 2020 (edited)
8,580
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- If you have any questions/need help, dm me on discord: Lancere#1521You have to change the number at the bottom of the script to                               
  2. -- whatever you require. Here are some examples:
  3. -- 150 Mph: 300
  4. -- 316 Mph: 635 (What is in the code already since it is tweaked to my car)
  5. -- 297 Mph: 600 (Kinda weird eh)
  6. -- 200 Mph: 400
  7. -- 249 Mph: 500 etc.
  8. -- before you execute, look at the bottom of the script to change it to your liking, and face your car towards the new ice race and get in it. Then execute.
  9. -- shawnjbragdon#0001
  10. -- send me some scripting requests, i'll try to get to them.
  11. -- don't request me some "Happy" rbworld "Crap"
  12.  
  13. local Players = game:GetService("Players")
  14. local RunService = game:GetService("RunService")
  15. local UserInputService = game:GetService("UserInputService")
  16. local TweenService = game:GetService("TweenService")
  17.  
  18. local LocalPlayer = Players.LocalPlayer
  19. local Character = LocalPlayer.Character
  20. local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
  21.  
  22. local SeatPart = Humanoid.SeatPart
  23. local Vehicle = SeatPart.Parent
  24. local Wheels = Vehicle:FindFirstChild("Wheels")
  25. local Body = Vehicle:FindFirstChild("Body")
  26.  
  27. if SeatPart:FindFirstAncestor("Body") then
  28. Vehicle = SeatPart:FindFirstAncestor("Body").Parent
  29. Wheels = (Wheels ~= nil and Wheels) or Vehicle:FindFirstChild("Wheels")
  30. end
  31.  
  32. if game.PlaceId == 3351674303 then
  33. Wheels = Vehicle:FindFirstChild("Core")
  34. end
  35.  
  36. Vehicle.PrimaryPart = SeatPart
  37.  
  38. local function GetWheelVelocity()
  39. if game.PlaceId == 3351674303 then
  40. return Wheels:GetChildren()[1]["Wheel"].Velocity, Wheels:GetChildren()[1]["Wheel"].RotVelocity
  41. end
  42. for index, value in pairs(Wheels:GetDescendants()) do
  43. if value:IsA("BasePart") then
  44. return value.Velocity, value.RotVelocity
  45. end
  46. end
  47. end
  48.  
  49. local function SetWheelVelocity(Velocity, RotVelocity)
  50. for index, value in pairs(Wheels:GetDescendants()) do
  51. pcall(function()
  52. value.Velocity = Velocity
  53. if RotVelocity ~= nil then
  54. value.RotVelocity = RotVelocity
  55. end
  56. end)
  57. end
  58. end
  59.  
  60. game:GetService("StarterGui"):SetCore("SendNotification", {
  61. Title = "Driving Empire Autofarm",
  62. Text = "This script has an build-in afk script. To make it work you have to minimize the roblox window.",
  63. Duration = 30,
  64. Button1 = "Fuck you!",
  65. })
  66.  
  67. Connection = game:GetService("RunService").Stepped:Connect(function()
  68. if not Vehicle or not Vehicle.Parent or not Humanoid.SeatPart then
  69. Connection:Disconnect()
  70. return
  71. end
  72. local Speed = ((10/12) * (60/88)) * SeatPart.Velocity.Magnitude
  73. if SeatPart.Position.X > -14294.7607 then
  74. Character.Parent = Vehicle
  75. Vehicle:MoveTo(Vector3.new(-17157.2793, 43.1872673, 2611.22705))
  76. Character.Parent = workspace
  77. end
  78. if Speed < 550 then --If your car goes faster than 550, change it to something bigger. Otherwise, leave it alone.
  79. local WV = GetWheelVelocity()
  80. SetWheelVelocity(Vector3.new(720, WV["Y"], 720 / -29.1940043308)) --Change the "720"s to whatever number you need.
  81. end
  82. end)
  83.  
  84. -- AHHHHHHHHHHHHHHHHHHHAHSHHAHhaHhh ples don't edit below its the afk thingy, you will break it
  85. wait(0.5)local ba=Instance.new("ScreenGui")
  86. local ca=Instance.new("TextLabel")local da=Instance.new("Frame")
  87. local _b=Instance.new("TextLabel")local ab=Instance.new("TextLabel")ba.Parent=game.CoreGui
  88. ba.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ca.Parent=ba;ca.Active=true
  89. ca.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ca.Draggable=true
  90. ca.Position=UDim2.new(0.698610067,0,0.098096624,0)ca.Size=UDim2.new(0,304,0,52)
  91. ca.Font=Enum.Font.SourceSansSemibold;ca.Text="Anti Afk Kick Script"ca.TextColor3=Color3.new(0,1,1)
  92. ca.TextSize=22;da.Parent=ca
  93. da.BackgroundColor3=Color3.new(0.196078,0.196078,0.196078)da.Position=UDim2.new(0,0,1.0192306,0)
  94. da.Size=UDim2.new(0,304,0,107)_b.Parent=da
  95. _b.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)_b.Position=UDim2.new(0,0,0.800455689,0)
  96. _b.Size=UDim2.new(0,304,0,21)_b.Font=Enum.Font.Arial;_b.Text="Made by your mUm"
  97. _b.TextColor3=Color3.new(1,1,1)_b.TextSize=20;ab.Parent=da
  98. ab.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ab.Position=UDim2.new(0,0,0.158377379,0)
  99. ab.Size=UDim2.new(0,304,0,44)ab.Font=Enum.Font.ArialBold;ab.Text="Status: Script Started"
  100. ab.TextColor3=Color3.new(1,1,1)ab.TextSize=20;local bb=game:service'VirtualUser'
  101. game:service'Players'.LocalPlayer.Idled:connect(function()
  102. bb:CaptureController()bb:ClickButton2(Vector2.new())
  103. ab.Text="You went idle and ROBLOX tried to kick you but we reflected it!"wait(2)ab.Text="Script Re-Enabled"end)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×