Advertisement
Wowtheskyispurple

Untitled

Jan 22nd, 2020
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. if game.Players.LocalPlayer.Character.Humanoid.Sit==true then
  2. local YourCar
  3. for _, car in pairs (workspace.Vehicles:GetChildren()) do
  4. if car.Seat.PlayerName.Value == game.Players.LocalPlayer.Name then
  5. YourCar = car
  6. car.Model.Body.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  7. if car.Name == "Heli" then
  8. car.Model.TopDisc.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  9. print("HELI VER")
  10. end
  11. if car.Name == "Roadster" then
  12. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  13. print("Tesla VER")
  14. end
  15. if car.Name == "Cybertruck" then
  16. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  17. print("CyberTruck VER")
  18. end
  19. if car.Name == "Bugatti" then
  20. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  21. print("Bug VER")
  22. end
  23. if car.Name == "Porsche" then
  24. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  25. print("Por VER")
  26. end
  27. if car.Name == "Model3" then
  28. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  29. print("Por VER")
  30. end
  31. if car.Name == "Model3" then
  32. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  33. print("Por VER")
  34. end
  35. if car.Name == "Pickup" then
  36. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  37. print("dER")
  38. end
  39. if car.Name == "Classic" then
  40. game.StarterGui:SetCore("SendNotification", {
  41. Title = "ERROR";
  42. Text = "Car not supported for teleporting.";
  43. Icon = "";
  44. Duration = 5;
  45. })
  46. print("Not supported")
  47. end
  48. if car.Name == "Jeep" then
  49. car.Weight.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  50. print("Tesla VER")
  51. end
  52. if car.Name == "Ambulance" then
  53. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  54. print("Bug VER")
  55. end
  56. if car.Name == "Firetruck" then
  57. game.StarterGui:SetCore("SendNotification", {
  58. Title = "ERROR";
  59. Text = "Car not supported for teleporting.";
  60. Icon = "";
  61. Duration = 5;
  62. })
  63. print("Not supported")
  64. end
  65. if car.Name == "Dirtbike" then
  66. game.StarterGui:SetCore("SendNotification", {
  67. Title = "ERROR";
  68. Text = "Car not supported for teleporting.";
  69. Icon = "";
  70. Duration = 5;
  71. })
  72. print("Not supported")
  73. end
  74. if car.Name == "Ferrari" then
  75. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  76. print("CyberTruck VER")
  77. end
  78. if car.Name == "McLaren" then
  79. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  80. print("CyberTruck VER")
  81. end
  82. if car.Name == "Monster" then
  83. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  84. print("CyberTruck VER")
  85. end
  86. if car.Name == "Mustang" then
  87. car.BoundingBox.CFrame = CFrame.new(123.368, 19.6438, 1360.06)
  88. print("CyberTruck VER")
  89. end
  90. if car.Name == "SUV" then
  91. game.StarterGui:SetCore("SendNotification", {
  92. Title = "ERROR";
  93. Text = "Car not supported for teleporting.";
  94. Icon = "";
  95. Duration = 5;
  96. })
  97. print("Not supported")
  98. end
  99. if car.Name == "Volt" then
  100. game.StarterGui:SetCore("SendNotification", {
  101. Title = "ERROR";
  102. Text = "Car not supported for teleporting.";
  103. Icon = "";
  104. Duration = 5;
  105. })
  106. print("Not supported")
  107. end
  108. end
  109. end
  110. print(YourCar.Name)
  111. else
  112. game.StarterGui:SetCore("SendNotification", {
  113. Title = "GET IN A CAR";
  114. Text = "Please get in a car before teleporting.";
  115. Icon = "";
  116. Duration = 5;
  117. })
  118. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement