Advertisement
Meliodas0_0

Jailbreak CarTP (Summons a car and moves you to location)

Mar 26th, 2020
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. -- replace car with "Camaro" or the name of the car you want
  2.  
  3. -- replace (place) with the CFrame / vector3 you want
  4.  
  5.  
  6. Code:
  7. local VehicleName = car
  8. if workspace.Vehicles[VehicleName].Seat.Player ~= true then
  9. workspace.Vehicles[VehicleName].PrimaryPart = workspace.Vehicles[VehicleName].Seat
  10. workspace.Vehicles[VehicleName]:SetPrimaryPartCFrame(workspace[game:GetService("Players").LocalPlayer.Name].HumanoidRootPart.CFrame + Vector3.new(0,5,0))
  11.  
  12. wait(2)
  13. -- if you want a car to Teleport then keep the script below
  14. workspace.Vehicles[VehicleName].PrimaryPart = workspace.Vehicles[VehicleName].Seat
  15. workspace.Vehicles[VehicleName]:SetPrimaryPartCFrame(place)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement