Advertisement
TheRealAK47

Borders + Farm

Dec 16th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. local part1=Instance.new("Part", workspace);
  2. part1.Position = Vector3.new(-1800, 40, -470)
  3. part1.Anchored = true
  4. part1.Size = Vector3.new(5,55,2048)
  5.  
  6. local part2=Instance.new("Part", workspace);
  7. part2.Position = Vector3.new(-1720, 40, -470)
  8. part2.Anchored = true
  9. part2.Size = Vector3.new(5,55,2048)
  10.  
  11. local part3=Instance.new("Part", workspace);
  12. part3.Position = Vector3.new(-1760, 40, 555)
  13. part3.Anchored = true
  14. part3.Size = Vector3.new(85,55,5)
  15.  
  16. local part4=Instance.new("Part", workspace);
  17. part4.Position = Vector3.new(-1760, 40, -2925)
  18. part4.Anchored = true
  19. part4.Size = Vector3.new(85,55,5)
  20.  
  21. local part5=Instance.new("Part", workspace);
  22. part5.Position = Vector3.new(-1800, 40, -2518)
  23. part5.Anchored = true
  24. part5.Size = Vector3.new(5,55,2048)
  25.  
  26. local part2=Instance.new("Part", workspace);
  27. part2.Position = Vector3.new(-1720, 40, -2518)
  28. part2.Anchored = true
  29. part2.Size = Vector3.new(5,55,2048)
  30.  
  31. local waitTime = 3.5
  32. local found = false
  33. local go = true
  34.  
  35. function findVehicle()
  36. while not found do
  37. local vehicles = Workspace.Vehicles:getChildren()
  38. for i=1,#vehicles do
  39. if vehicles[i]:findFirstChild'owner' then
  40. if vehicles[i].owner.Value == game:GetService'Players'.LocalPlayer.Name then
  41. found = true
  42. vehicle = vehicles[i]
  43. vehStats = vehicle.Handling
  44. vehStats.MaxSpeed.Value = 1200
  45. vehStats.Torque.Value = 50000
  46. vehStats.SteeringRadiusConstant.Value = 120000000
  47. end
  48. end
  49. end
  50. wait(1)
  51. end
  52. wait(2)
  53. vehicle.PrimaryPart = vehicle.Chassis.VehicleSeat
  54. end
  55.  
  56. function farm()
  57. while wait(waitTime) do
  58. vehicle:SetPrimaryPartCFrame(CFrame.new(-1758.7, 40, 543))
  59. game:GetService'VirtualUser':SetKeyUp("w")
  60. game:GetService'VirtualUser':SetKeyDown("w")
  61. end
  62. end
  63. findVehicle()
  64. while go do
  65. if not pcall(farm()) then
  66. found = false
  67. findVehicle()
  68. end
  69. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement