Advertisement
Laau

Vehicle Simulator Auto Farm

Oct 25th, 2018
7,967
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.07 KB | None | 0 0
  1. -- Version: 9.32
  2. -- Instances:
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local ImageLabel = Instance.new("ImageLabel")
  5. local close = Instance.new("TextButton")
  6. local runaway = Instance.new("TextButton")
  7. local timerguess = Instance.new("TextBox")
  8. local sir = Instance.new("TextLabel")
  9. local useless = Instance.new("TextLabel")
  10. --Props:
  11. ScreenGui.Parent = game.CoreGui
  12.  
  13. ImageLabel.Parent = ScreenGui
  14. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  15. ImageLabel.BackgroundTransparency = 1
  16. ImageLabel.Active = true
  17. ImageLabel.Draggable = true
  18. ImageLabel.Position = UDim2.new(0.025141418, 0, 0.743243217, 0)
  19. ImageLabel.Size = UDim2.new(0, 159, 0, 134)
  20. ImageLabel.Image = "rbxassetid://742285041"
  21.  
  22. close.Name = "close"
  23. close.Parent = ImageLabel
  24. close.BackgroundColor3 = Color3.new(1, 1, 1)
  25. close.BackgroundTransparency = 1
  26. close.BorderSizePixel = 0
  27. close.Position = UDim2.new(0.856472671, 0, 0.869246602, 0)
  28. close.Size = UDim2.new(0, 23, 0, 17)
  29. close.Font = Enum.Font.SourceSansSemibold
  30. close.Text = "X"
  31. close.TextColor3 = Color3.new(0, 0, 0)
  32. close.TextSize = 14
  33.  
  34. runaway.Name = "runaway"
  35. runaway.Parent = ImageLabel
  36. runaway.BackgroundColor3 = Color3.new(1, 1, 1)
  37. runaway.BackgroundTransparency = 1
  38. runaway.BorderSizePixel = 0
  39. runaway.Position = UDim2.new(0.333333343, 0, 0.843496799, 0)
  40. runaway.Size = UDim2.new(0, 53, 0, 24)
  41. runaway.Font = Enum.Font.SourceSansSemibold
  42. runaway.Text = "run script"
  43. runaway.TextColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  44. runaway.TextSize = 14
  45.  
  46. timerguess.Name = "timerguess"
  47. timerguess.Parent = ImageLabel
  48. timerguess.BackgroundColor3 = Color3.new(1, 1, 1)
  49. timerguess.BorderSizePixel = 0
  50. timerguess.Position = UDim2.new(0.17681396, 0, 0.49032706, 0)
  51. timerguess.Size = UDim2.new(0, 108, 0, 38)
  52. timerguess.Font = Enum.Font.SourceSansSemibold
  53. timerguess.Text = "hi"
  54. timerguess.TextColor3 = Color3.new(0, 0, 0)
  55. timerguess.TextSize = 12
  56. timerguess.TextWrapped = true
  57. timerguess.TextYAlignment = Enum.TextYAlignment.Bottom
  58.  
  59. sir.Name = "sir"
  60. sir.Parent = timerguess
  61. sir.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  62. sir.BorderColor3 = Color3.new(1, 1, 1)
  63. sir.BorderSizePixel = 2
  64. sir.LayoutOrder = 1
  65. sir.Position = UDim2.new(0, 0, 1, 0)
  66. sir.Size = UDim2.new(0, 108, 0, 2)
  67. sir.Font = Enum.Font.SourceSans
  68. sir.Text = ""
  69. sir.TextColor3 = Color3.new(0, 0, 0)
  70. sir.TextSize = 14
  71.  
  72. useless.Name = "useless"
  73. useless.Parent = ImageLabel
  74. useless.BackgroundColor3 = Color3.new(1, 1, 1)
  75. useless.BorderSizePixel = 0
  76. useless.Position = UDim2.new(0.15794605, 0, 0.166709006, 0)
  77. useless.Size = UDim2.new(0, 108, 0, 47)
  78. useless.Font = Enum.Font.SourceSansSemibold
  79. useless.Text = "Reset time"
  80. useless.TextColor3 = Color3.new(0, 0, 0)
  81. useless.TextSize = 14
  82. -- Scripts:
  83. timerguess.Focused:connect(function()
  84.     sir.BackgroundColor3 = Color3.fromRGB(158,158,158)
  85. end)
  86. timerguess.FocusLost:connect(function()
  87.     sir.BackgroundColor3 = Color3.fromRGB(33,33,33)
  88. end)
  89. runaway.MouseButton1Click:connect(function()
  90.     for i,v in pairs(game:GetService'Workspace'.Vehicles:GetChildren()) do
  91.         if v:IsA'Model' then
  92.             if v.owner.Value == game.Players.LocalPlayer.Name then
  93.                 handling = v.Handling
  94.                 handling.MaxSpeed.Value = 800
  95.                 handling.Torque.Value = 100000
  96.                 handling.SteeringRadiusConstant.Value = 120000000
  97.             end
  98.         end
  99.     end
  100.     function abc()
  101.         local vehicle = workspace.Vehicles:getChildren()
  102.             for i=1,#vehicle do
  103.                 if vehicle[i]:findFirstChild("owner") then
  104.                     if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
  105.                         abc = vehicle[i]
  106.                             end
  107.                     end
  108.                 end
  109.             end
  110.             wait(2)
  111.             abc()
  112.             abc.PrimaryPart = abc.Chassis.VehicleSeat
  113.             wait(1)
  114.             while wait(timerguess.Text) do
  115.                 abc:SetPrimaryPartCFrame(CFrame.new(-2470,60,777))
  116.             end
  117. end)
  118. close.MouseButton1Click:connect(function()
  119.     game.CoreGui.ScreenGui:Destroy()
  120. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement