Advertisement
_Thanh_Thy_Cute_

Driving Simulator IMPULSE EXPLOIT SCRIPT

Aug 2nd, 2021
2,467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. --This just applies an impulse to the vehicle’s LookVector, you have to use the nitrous to activate it.
  2. local UserInputService = game:GetService("UserInputService")
  3. local GuiService = game:GetService("GuiService")
  4. local LocalPlayer = game:GetService("Players").LocalPlayer
  5.  
  6. game:GetService("RunService").Stepped:Connect(function()
  7. if GuiService.MenuIsOpen then
  8. return
  9. end
  10. if workspace.CurrentCamera.CameraSubject:IsDescendantOf(LocalPlayer.Character) then
  11. return
  12. end
  13. if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
  14. workspace.CurrentCamera.CameraSubject:ApplyImpulse(
  15. workspace.CurrentCamera.CameraSubject.CFrame.LookVector * Vector3.new(1e3, 1e3, 1e3)
  16. )
  17. end
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement