Anonymouse10101

Vehicle Simulator Hacks Super Op

May 5th, 2019
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 10.96 KB | None | 0 0
  1. -- Instances:
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local MainFrame = Instance.new("Frame")
  5. local ButtonFrame = Instance.new("Frame")
  6. local autofarmgood = Instance.new("TextButton")
  7. local autofarmbad = Instance.new("TextButton")
  8. local perks = Instance.new("TextButton")
  9. local credit = Instance.new("TextLabel")
  10. local supercar = Instance.new("TextButton")
  11. local tpcrate = Instance.new("TextButton")
  12. local tpcar = Instance.new("TextButton")
  13. local crateesp = Instance.new("TextButton")
  14. local instruction = Instance.new("TextLabel")
  15. local closeinstruction = Instance.new("TextButton")
  16. local Name = Instance.new("TextLabel")
  17. local closemain = Instance.new("TextButton")
  18. local open = Instance.new("TextButton")
  19.  
  20. --Properties:
  21. ScreenGui.Parent = game.CoreGui
  22.  
  23. MainFrame.Name = "Main Frame"
  24. MainFrame.Parent = ScreenGui
  25. MainFrame.Active = true
  26. MainFrame.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  27. MainFrame.Position = UDim2.new(0.40368104, 0, 0.18427521, 0)
  28. MainFrame.Selectable = true
  29. MainFrame.Size = UDim2.new(0, 201, 0, 33)
  30. MainFrame.Draggable = true
  31.  
  32. ButtonFrame.Name = "Button Frame"
  33. ButtonFrame.Parent = MainFrame
  34. ButtonFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  35. ButtonFrame.BackgroundTransparency = 0.69999998807907
  36. ButtonFrame.Position = UDim2.new(0, 0, 0.999999523, 0)
  37. ButtonFrame.Size = UDim2.new(0, 201, 0, 236)
  38.  
  39. autofarmgood.Name = "autofarm good"
  40. autofarmgood.Parent = ButtonFrame
  41. autofarmgood.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  42. autofarmgood.Position = UDim2.new(0, 0, 0.048648648, 0)
  43. autofarmgood.Size = UDim2.new(0, 201, 0, 27)
  44. autofarmgood.Font = Enum.Font.SourceSans
  45. autofarmgood.Text = "Auto Farm"
  46. autofarmgood.TextColor3 = Color3.new(0, 0, 0)
  47. autofarmgood.TextSize = 14
  48.  
  49. autofarmbad.Name = "autofarm bad"
  50. autofarmbad.Parent = ButtonFrame
  51. autofarmbad.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  52. autofarmbad.Position = UDim2.new(0, 0, 0.162743986, 0)
  53. autofarmbad.Size = UDim2.new(0, 201, 0, 27)
  54. autofarmbad.Font = Enum.Font.SourceSans
  55. autofarmbad.Text = "Slow Car"
  56. autofarmbad.TextColor3 = Color3.new(0, 0, 0)
  57. autofarmbad.TextSize = 14
  58.  
  59. perks.Name = "perks"
  60. perks.Parent = ButtonFrame
  61. perks.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  62. perks.Position = UDim2.new(0, 0, 0.276839316, 0)
  63. perks.Size = UDim2.new(0, 201, 0, 27)
  64. perks.Font = Enum.Font.SourceSans
  65. perks.Text = "All Perks"
  66. perks.TextColor3 = Color3.new(0, 0, 0)
  67. perks.TextSize = 14
  68.  
  69. credit.Name = "credit"
  70. credit.Parent = ButtonFrame
  71. credit.BackgroundColor3 = Color3.new(0, 0, 0)
  72. credit.BackgroundTransparency = 1
  73. credit.Position = UDim2.new(0, 0, 0.902702689, 0)
  74. credit.Size = UDim2.new(0, 201, 0, 18)
  75. credit.Font = Enum.Font.SourceSans
  76. credit.Text = "GUI Made By ToxicModder"
  77. credit.TextColor3 = Color3.new(255, 255, 255)
  78. credit.TextSize = 14
  79.  
  80. supercar.Name = "super car"
  81. supercar.Parent = ButtonFrame
  82. supercar.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  83. supercar.Position = UDim2.new(0, 0, 0.387244731, 0)
  84. supercar.Size = UDim2.new(0, 201, 0, 27)
  85. supercar.Font = Enum.Font.SourceSans
  86. supercar.Text = "Super Car"
  87. supercar.TextColor3 = Color3.new(0, 0, 0)
  88. supercar.TextSize = 14
  89.  
  90. tpcrate.Name = "tp crate"
  91. tpcrate.Parent = ButtonFrame
  92. tpcrate.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  93. tpcrate.Position = UDim2.new(0, 0, 0.501340091, 0)
  94. tpcrate.Size = UDim2.new(0, 201, 0, 27)
  95. tpcrate.Font = Enum.Font.SourceSans
  96. tpcrate.Text = "TP To Crates"
  97. tpcrate.TextColor3 = Color3.new(0, 0, 0)
  98. tpcrate.TextSize = 14
  99.  
  100. tpcar.Name = "tp car"
  101. tpcar.Parent = ButtonFrame
  102. tpcar.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  103. tpcar.Position = UDim2.new(0, 0, 0.613577604, 0)
  104. tpcar.Size = UDim2.new(0, 201, 0, 27)
  105. tpcar.Font = Enum.Font.SourceSans
  106. tpcar.Text = "TP To Car"
  107. tpcar.TextColor3 = Color3.new(0, 0, 0)
  108. tpcar.TextSize = 14
  109.  
  110. crateesp.Name = "crate esp"
  111. crateesp.Parent = ButtonFrame
  112. crateesp.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  113. crateesp.Position = UDim2.new(0, 0, 0.727984369, 0)
  114. crateesp.Size = UDim2.new(0, 201, 0, 27)
  115. crateesp.Font = Enum.Font.SourceSans
  116. crateesp.Text = "Crate ESP"
  117. crateesp.TextColor3 = Color3.new(0, 0, 0)
  118. crateesp.TextSize = 14
  119.  
  120. instruction.Name = "instruction"
  121. instruction.Parent = ButtonFrame
  122. instruction.BackgroundColor3 = Color3.new(0, 0, 0)
  123. instruction.BackgroundTransparency = 0.69999998807907
  124. instruction.Position = UDim2.new(1.07462692, 0, 0.0486486405, 0)
  125. instruction.Size = UDim2.new(0, 188, 0, 187)
  126. instruction.Font = Enum.Font.SourceSans
  127. instruction.Text = "Press B\nHold Space\nGain as much Drift as you'd like.\nReset\nSpawn Car\nGet inside the car\nDrive a bit and you will get your cash"
  128. instruction.TextColor3 = Color3.new(255, 255, 255)
  129. instruction.TextSize = 14
  130. instruction.TextXAlignment = Enum.TextXAlignment.Left
  131. instruction.TextYAlignment = Enum.TextYAlignment.Top
  132. instruction.Visible = false
  133.  
  134. closeinstruction.Name = "closemain instruction"
  135. closeinstruction.Parent = instruction
  136. closeinstruction.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  137. closeinstruction.Position = UDim2.new(1, 0, 0, 0)
  138. closeinstruction.Size = UDim2.new(0, 27, 0, 27)
  139. closeinstruction.Font = Enum.Font.SourceSans
  140. closeinstruction.Text = "X"
  141. closeinstruction.TextColor3 = Color3.new(0, 0, 0)
  142. closeinstruction.TextSize = 14
  143.  
  144. Name.Name = "Name"
  145. Name.Parent = MainFrame
  146. Name.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  147. Name.BorderSizePixel = 0
  148. Name.Position = UDim2.new(0.353233844, 0, 0.151515156, 0)
  149. Name.Size = UDim2.new(0, 58, 0, 22)
  150. Name.Font = Enum.Font.SourceSans
  151. Name.Text = "Skrt 2.0"
  152. Name.TextColor3 = Color3.new(0, 0, 0)
  153. Name.TextSize = 14
  154.  
  155. closemain.Name = "closemain"
  156. closemain.Parent = ScreenGui
  157. closemain.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  158. closemain.Position = UDim2.new(-0.00057490496, 0, 0.568526864, 0)
  159. closemain.Size = UDim2.new(0, 95, 0, 29)
  160. closemain.Font = Enum.Font.SourceSans
  161. closemain.Text = "Close"
  162. closemain.TextColor3 = Color3.new(0, 0, 0)
  163. closemain.TextSize = 14
  164.  
  165. open.Name = "open"
  166. open.Parent = ScreenGui
  167. open.BackgroundColor3 = Color3.new(1, 0.584314, 0)
  168. open.Position = UDim2.new(-0.00057490496, 0, 0.568526864, 0)
  169. open.Size = UDim2.new(0, 95, 0, 29)
  170. open.Visible = false
  171. open.Font = Enum.Font.SourceSans
  172. open.Text = "Open"
  173. open.TextColor3 = Color3.new(0, 0, 0)
  174. open.TextSize = 14
  175.  
  176. -- Scripts:
  177.  
  178. function findCar()
  179. local vehicle = workspace.Vehicles:getChildren()
  180. for i=1,#vehicle do
  181. if vehicle[i]:findFirstChild("owner") then
  182. if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
  183. myCar = vehicle[i]
  184. end
  185. end
  186. end
  187. end
  188.  
  189. closemain.MouseButton1Down:connect(function()
  190.     MainFrame.Visible = false
  191.     closemain.Visible = false
  192.     open.Visible = true
  193. end)
  194.  
  195. open.MouseButton1Down:connect(function()
  196.     MainFrame.Visible = true
  197.     open.Visible = false
  198.     closemain.Visible = true
  199. end)
  200.  
  201. closeinstruction.MouseButton1Down:connect(function()
  202.     instruction.Visible = false
  203. end)
  204.  
  205. autofarmgood.MouseButton1Down:connect(function()
  206.     local waitTime = 3
  207. local hint = Instance.new('Hint', Workspace) hint.Text = "Vehicle Simulator Autofarm loading..."
  208. local found = false
  209. local go = true
  210.  
  211. function findVehicle()
  212.    while not found do
  213.        local vehicles = Workspace.Vehicles:getChildren()
  214.        for i=1,#vehicles do
  215.            if vehicles[i]:findFirstChild'owner' then
  216.                if vehicles[i].owner.Value == game:GetService'Players'.LocalPlayer.Name then
  217.                    found = true
  218.                    vehicle = vehicles[i]
  219.                    vehStats = vehicle.Handling
  220.                    vehStats.MaxSpeed.Value = 800
  221.                    vehStats.Torque.Value = 100000
  222.                    vehStats.SteeringRadiusConstant.Value = 120000000
  223.                elseif vehicles[i + 1] == nil and not found then
  224.                    hint.Text = "Please spawn and enter your vehicle!"
  225.                end
  226.            end
  227.        end
  228.        wait(1)
  229.    end
  230.    wait(2)
  231.    vehicle.PrimaryPart = vehicle.Chassis.VehicleSeat
  232. end
  233.  
  234. function farm()
  235.    hint.Text = "Finished loading! Autofarm initialized."
  236.    while wait(waitTime) do
  237.        vehicle:SetPrimaryPartCFrame(CFrame.new(-2548,60,777))
  238.        game:GetService'VirtualUser':SetKeyUp("w")
  239.        game:GetService'VirtualUser':SetKeyDown("w")
  240.    end
  241. end
  242. findVehicle()
  243. while go do
  244.    if not pcall(farm()) then
  245.        found = false
  246.        findVehicle()
  247.    end
  248. end
  249. end)
  250.  
  251. autofarmbad.MouseButton1Down:connect(function()
  252.     findCar()
  253. myCar.Handling.MaxSpeed.Value = 10
  254. myCar.Handling.Torque.Value = 10
  255. myCar.Handling.SteeringRadiusConstant.Value = 10
  256. myCar.Handling.FrictionRoad.Value = 10
  257. myCar.Handling.Nitro.NitroSpeed.Value = 10
  258. myCar.Handling.Nitro.NitroForce.Value = 10
  259. myCar.Handling.TurboJump.TurboJumpHeight.Value = 10
  260. end)
  261.  
  262. tpcrate.MouseButton1Down:connect(function()
  263.     local crates = workspace:getChildren()
  264. for i=1,#crates do
  265. if crates[i].ClassName == "Model" then
  266. local crates2 = crates[i]:getChildren()
  267. for i=1,#crates2 do
  268. if crates2[i].ClassName == "Model" then
  269. local crates3 = crates2[i]:getChildren()
  270. for i=1,#crates3 do
  271. if crates3[i].ClassName == "MeshPart" then
  272. if crates3[i]:findFirstChild("Smoke") then
  273. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(crates3[i].Position.X+30,crates3[i].Position.Y+5,crates3[i].Position.Z))
  274. wait()
  275. game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y,crates3[i].Position.Z))
  276. wait(4)
  277. end
  278. end
  279. end
  280. end
  281. end
  282. end
  283. end
  284. end)
  285.  
  286. tpcar.MouseButton1Down:connect(function()
  287.     findCar()
  288. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
  289. end)
  290.  
  291. crateesp.MouseButton1Down:connect(function()
  292.     local crates = workspace:getChildren()
  293. for i=1,#crates do
  294. if crates[i].ClassName == "Model" then
  295. local crates2 = crates[i]:getChildren()
  296. for i=1,#crates2 do
  297. if crates2[i].ClassName == "Model" then
  298. local crates3 = crates2[i]:getChildren()
  299. for i=1,#crates3 do
  300. if crates3[i].ClassName == "MeshPart" then
  301. if crates3[i]:findFirstChild("Smoke") then
  302. if crates3[i]:findFirstChild("BoxHandleAdornment") then
  303.     crates3[i]:findFirstChild("BoxHandleAdornment"):Remove()
  304. else
  305. local a = Instance.new("BoxHandleAdornment",crates3[i])
  306. a.Size = Vector3.new(10,500,6)
  307. a.SizeRelativeOffset = Vector3.new(0,135,0)
  308. a.Color3 = Color3.fromRGB(0,255,0)
  309. a.Transparency = 0.5
  310. a.AlwaysOnTop = true
  311. a.Adornee = crates3[i]
  312. a.ZIndex = 1
  313. local b = Instance.new("BoxHandleAdornment",crates3[i])
  314. b.Size = Vector3.new(10,4,6)
  315. b.Color3 = Color3.fromRGB(0,0,255)
  316. b.Transparency = 0.3
  317. b.AlwaysOnTop = true
  318. b.Adornee = crates3[i]
  319. b.ZIndex = 1
  320. end
  321. end
  322. end
  323. end
  324. end
  325. end
  326. end
  327. end
  328. end)
  329.  
  330. supercar.MouseButton1Down:connect(function()
  331.     findCar()
  332. myCar.Handling.MaxSpeed.Value = 10000
  333. myCar.Handling.Torque.Value = 40000
  334. myCar.Handling.SteeringRadiusConstant.Value = 15000
  335. myCar.Handling.FrictionRoad.Value = 250
  336. myCar.Handling.Nitro.NitroSpeed.Value = 500
  337. myCar.Handling.Nitro.NitroForce.Value = 5000
  338. myCar.Handling.TurboJump.TurboJumpHeight.Value = 250
  339. end)
  340.  
  341. perks.MouseButton1Down:connect(function()
  342.     game:GetService("Players").LocalPlayer.UserId = 1099580
  343. end)
Add Comment
Please, Sign In to add comment