Professional Documents
Culture Documents
Driving Empire AUTO FARM
Driving Empire AUTO FARM
if SeatPart:FindFirstAncestor("Body") then
Vehicle = SeatPart:FindFirstAncestor("Body").Parent
Wheels = (Wheels ~= nil and Wheels) or Vehicle:FindFirstChild("Wheels")
end
Vehicle.PrimaryPart = SeatPart
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Driving Empire Autofarm",
Text = "Thank you for using, if you have any ideas &/or suggestions please message
me @ shawnjbragdon#0001 on discord.",
Duration = 30,
Button1 = "Okay",
})
Connection = game:GetService("RunService").Stepped:Connect(function()
if not Vehicle or not Vehicle.Parent or not Humanoid.SeatPart then
Connection:Disconnect()
return
end
local Speed = ((10/12) * (60/88)) * SeatPart.Velocity.Magnitude
if SeatPart.Position.X > -14294.7607 then
Character.Parent = Vehicle
Vehicle:MoveTo(Vector3.new(-17157.2793, 43.1872673, 2611.22705))
Character.Parent = workspace
end
if Speed < 250 then
local WV = GetWheelVelocity()
SetWheelVelocity(Vector3.new(300, WV["Y"], 300 / -29.1940043308))
end
end)