Advertisement
Guest User

Untitled

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