Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- replace car with "Camaro" or the name of the car you want
- -- replace (place) with the CFrame / vector3 you want
- Code:
- local VehicleName = car
- if workspace.Vehicles[VehicleName].Seat.Player ~= true then
- workspace.Vehicles[VehicleName].PrimaryPart = workspace.Vehicles[VehicleName].Seat
- workspace.Vehicles[VehicleName]:SetPrimaryPartCFrame(workspace[game:GetService("Players").LocalPlayer.Name].HumanoidRootPart.CFrame + Vector3.new(0,5,0))
- wait(2)
- -- if you want a car to Teleport then keep the script below
- workspace.Vehicles[VehicleName].PrimaryPart = workspace.Vehicles[VehicleName].Seat
- workspace.Vehicles[VehicleName]:SetPrimaryPartCFrame(place)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement