Advertisement
ViggoCS

vehicle sim script

Aug 7th, 2017
3,061
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. local car = game:GetService("Players").LocalPlayer.leaderstats.CurrentVehicle.Value
  2. local part1 = Instance.new("Part")
  3. part1.Anchored = true
  4. part1.Position = Vector3.new(-4000, 250, -4000)
  5. part1.Size = Vector3.new(5000, 1, 5000)
  6. local part2 = Instance.new("Part")
  7. part2.Anchored = true
  8. part2.Position = Vector3.new(4000, 250, 4000)
  9. part2.Size = Vector3.new(5000, 1, 5000)
  10. part1.Parent = workspace
  11. part2.Parent = workspace
  12. wait(1)
  13. while wait(1.1) do
  14. car:SetPrimaryPartCFrame(CFrame.new(part1.Position + Vector3.new(0, 1, 0)))
  15. wait(1.1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement