Advertisement
RobloxHackerpastebin

hack pastebin roblox "Hack Driving Simulator"

Oct 1st, 2021 (edited)
6,298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. --HACK Driving Simulator
  2. --let's start
  3. local Players = game:GetService("Players")
  4. local CoreGui = game:GetService("CoreGui")
  5. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  6. local Debris = game:GetService("Debris")
  7. local HttpService = game:GetService("HttpService")
  8. local RunService = game:GetService("RunService")
  9.  
  10. local LocalPlayer = Players.LocalPlayer
  11.  
  12. local src = ReplicatedStorage.src
  13. local pcar = src.pcar
  14.  
  15. local CarInput = require(pcar.CarInput)
  16. local CarPlacer = require(pcar.CarPlacer)
  17. local CarTracker = require(pcar.CarTracker)
  18. local ClientCarState = require(pcar.ClientCarState)
  19.  
  20. if not ClientCarState.isDriving then
  21. local Hint = Instance.new("Hint")
  22. Hint.Name = HttpService:GenerateGUID(true)
  23. Hint.Text = "Please, Spawn/Enter Your Car (Before Executing)!"
  24. Hint.Parent = CoreGui
  25. Debris:AddItem(Hint, 5)
  26. return
  27. end
  28.  
  29. local ResetVelocity = function(Model)
  30. for _, Value in pairs(Model:GetDescendants()) do
  31. if Value:IsA("BasePart") then
  32. Value.Velocity = Vector3.new()
  33. Value.RotVelocity = Vector3.new()
  34. end
  35. end
  36. return
  37. end
  38.  
  39. hookfunction(CarInput.GetNitro, function()
  40. return true
  41. end)
  42.  
  43. local _, Size = CarTracker.getCarFromDriver(LocalPlayer):GetBoundingBox()
  44.  
  45. local Part = Instance.new("Part")
  46. Part.Name = HttpService:GenerateGUID(true)
  47. Part.CFrame = CFrame.new(0, -50, 0)
  48. Part.Anchored = true
  49. Part.Size = Vector3.new(Size.X, 1, 2048)
  50. Part.Parent = workspace
  51.  
  52. ResetVelocity(CarTracker.getCarFromDriver(LocalPlayer))
  53. CarPlacer.place(nil, CarTracker.getCarFromDriver(LocalPlayer), Part.CFrame + Vector3.new(0, Part.Size.Y / 2 + Size.Y / 2, Part.Size.Z / 2 - Size.Z / 2))
  54. RunService.RenderStepped:Connect(function()
  55. local CFramenew, _ = CarTracker.getCarFromDriver(LocalPlayer):GetBoundingBox()
  56. if Part.CFrame:ToObjectSpace(CFramenew).Z < -Part.Size.Z / 2 + Size.Z / 2 then
  57. CarPlacer.place(nil, CarTracker.getCarFromDriver(LocalPlayer), Part.CFrame + Vector3.new(0, Part.Size.Y / 2 + Size.Y / 2, Part.Size.Z / 2 - Size.Z / 2))
  58. end
  59. end)
  60. print("Script Executed!")
  61. --My channel https://www.youtube.com/watch?v=aee_PbJfDvs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement