TheUnknownDiscord

car template

Aug 27th, 2021 (edited)
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. owner = game:GetService("Players").Lucas_YT111 -- Change name
  2. Seat = Instance.new("VehicleSeat")
  3. Seat.Parent = game.Workspace.Lucas_YT111 -- Change name
  4. myplayer = owner
  5. Seat.Size = Vector3.new(4,1,10)
  6. Seat.Position = Vector3.new(10.278,6.5,-8.057)
  7. Seat.Anchored = true
  8. Seat.TurnSpeed = 2
  9. Seat.TopSurface = Enum.SurfaceType.Smooth
  10. Seat.BottomSurface = Enum.SurfaceType.Smooth
  11. wait(0.0001)
  12. local Rats = Instance.new("Sound", Seat)
  13. Rats.SoundId = "rbxassetid://2627574953"
  14. Rats.Volume = 1
  15. Rats.Looped = true
  16. Seat:Sit(owner.Character.Humanoid)
  17. wait(0.25)
  18. wheel = Instance.new("Part")
  19. wheel2 = Instance.new("Part")
  20. wheel3 = Instance.new("Part")
  21. wheel4 = Instance.new("Part")
  22. wheel.LeftSurface = Enum.SurfaceType.Hinge
  23. wheel.Parent = Seat
  24. wheel2.LeftSurface = Enum.SurfaceType.Hinge
  25. wheel2.Parent = Seat
  26. wheel3.LeftSurface = Enum.SurfaceType.Hinge
  27. wheel3.Parent = Seat
  28. wheel4.LeftSurface = Enum.SurfaceType.Hinge
  29. wheel4.Parent = Seat
  30. wheel.CFrame = CFrame.Angles(0, math.rad(180), 0)
  31. wheel2.CFrame = CFrame.Angles(0, math.rad(180), 0)
  32. wheel.Anchored = true
  33. wheel2.Anchored = true
  34. wheel3.Anchored = true
  35. wheel4.Anchored = true
  36. wheel.Position = Vector3.new(7.278,6.5,-12.057)
  37. wheel2.Position = Vector3.new(7.278,6.5,-4.057)
  38. wheel3.Position = Vector3.new(13.278,6.5,-12.057)
  39. wheel4.Position = Vector3.new(13.278,6.5,-4.057)
  40. wheel.Shape = Enum.PartType.Cylinder
  41. wheel2.Shape = Enum.PartType.Cylinder
  42. wheel3.Shape = Enum.PartType.Cylinder
  43. wheel4.Shape = Enum.PartType.Cylinder
  44. wheel.Size = Vector3.new(2, 2, 2)
  45. wheel2.Size = Vector3.new(2, 2, 5)
  46. wheel3.Size = Vector3.new(2, 2, 2)
  47. wheel4.Size = Vector3.new(2, 2, 2)
  48. Mesh = Instance.new("SpecialMesh")
  49. Mesh.Parent = wheel
  50. Mesh.MeshId = "http://www.roblox.com/asset/?id=1629642306"
  51. Mesh.TextureId = "http://www.roblox.com/asset/?id=1629644149"
  52. Mesh.Scale = Vector3.new(5, 2.25, 2.25)
  53. Mesh2 = Instance.new("SpecialMesh")
  54. Mesh2.Parent = wheel2
  55. Mesh2.MeshId = "http://www.roblox.com/asset/?id=1629642306"
  56. Mesh2.TextureId = "http://www.roblox.com/asset/?id=1629644149"
  57. Mesh2.Scale = Vector3.new(5, 2.25, 2.25)
  58. Mesh3 = Instance.new("SpecialMesh")
  59. Mesh3.Parent = wheel3
  60. Mesh3.MeshId = "http://www.roblox.com/asset/?id=1629642306"
  61. Mesh3.TextureId = "http://www.roblox.com/asset/?id=1629644149"
  62. Mesh3.Scale = Vector3.new(5, 2.25, 2.25)
  63. Mesh4 = Instance.new("SpecialMesh")
  64. Mesh4.Parent = wheel4
  65. Mesh4.MeshId = "http://www.roblox.com/asset/?id=1629642306"
  66. Mesh4.TextureId = "http://www.roblox.com/asset/?id=1629644149"
  67. Mesh4.Scale = Vector3.new(5, 2.25, 2.25)
  68. wheel:MakeJoints({wheel, Seat})
  69. wheel2:MakeJoints({wheel2, Seat})
  70. wheel3:MakeJoints({wheel3, Seat})
  71. wheel4:MakeJoints({wheel4, Seat})
  72. wait(0.25)
  73. Seat.Anchored = false
  74. wheel.Anchored = false
  75. wheel2.Anchored = false
  76. wheel3.Anchored = false
  77. wheel4.Anchored = false
  78. Rats:Play()
Add Comment
Please, Sign In to add comment