Advertisement
Versqual

Untitled

Jul 9th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.77 KB | None | 0 0
  1. Health = 2500
  2. MaxHealth = 2500
  3. ToughnessMinorDamage = 200
  4. ToughnessMajorDamage = 300
  5.  
  6. DriftAcceleration = 0.001
  7. DriftSteerDifficulty = 0.05
  8. DriftSteerPower = 30
  9.  
  10. Acceleration = 0.004
  11. TopSpeed = 250
  12. Deceleration = 0.008
  13. BrakePower = 0.015
  14.  
  15. SteerDifficulty = 0.05
  16. SteerPower = 25
  17.  
  18. TireFriction = 0.3
  19. TireElasticity = 0.9
  20.  
  21. MasterColor = BrickColor.random()
  22. Wrecked = false
  23.  
  24. Vehicle = Instance.new("Model")
  25. Vehicle.Name = "Car"
  26. Vehicle.Parent = Workspace
  27.  
  28. Base = Instance.new("Part")
  29. Base.Name = "VehicleBase"
  30. Base.BrickColor = MasterColor
  31. Base.TopSurface = "Smooth"
  32. Base.BottomSurface = "Smooth"
  33. Base.FormFactor = "Custom"
  34. Base.Size = Vector3.new(8, 1, 17)
  35. Base.Friction = 1
  36. Base.Elasticity = 0
  37. Base.Parent = Vehicle
  38. Thrust = Instance.new("BodyVelocity")
  39. Thrust.P = 100
  40. Thrust.maxForce = Vector3.new(math.huge, 0, math.huge)
  41. Thrust.velocity = Vector3.new()
  42. Thrust.Parent = Base
  43. Steer = Instance.new("BodyGyro")
  44. Steer.maxTorque = Vector3.new(0, math.huge, 0)
  45. Steer.cframe = CFrame.new()
  46. Steer.P = 7500
  47. Steer.Parent = Base
  48. Instance.new("BodyForce", Base).force = Vector3.new(0, -1000, 0)
  49.  
  50. Seat = Instance.new("VehicleSeat")
  51. Seat.CanCollide = false
  52. Seat.MaxSpeed = 0
  53. Seat.Torque = 0
  54. Seat.HeadsUpDisplay = false
  55. Seat.BrickColor = BrickColor.new("Black")
  56. Seat.TopSurface = "Smooth"
  57. Seat.BottomSurface = "Smooth"
  58. Seat.Size = Vector3.new(2, 1, 2)
  59. Seat.Parent = Vehicle
  60. Weld = Instance.new("Weld")
  61. Weld.Name = "Weld"
  62. Weld.Parent = Seat
  63. Weld.Part0 = Base
  64. Weld.Part1 = Seat
  65. Weld.C0 = CFrame.new(-2.5, 0.375, 0.25)
  66.  
  67. Part = Instance.new("Part")
  68. Part.Name = "Front Left Seat Back"
  69. Part.BrickColor = BrickColor.new("Black")
  70. Part.TopSurface = "Smooth"
  71. Part.BottomSurface = "Smooth"
  72. Part.FormFactor = "Custom"
  73. Part.Size = Vector3.new(2, 3, 1)
  74. Part.Parent = Vehicle
  75. Mesh = Instance.new("SpecialMesh")
  76. Mesh.MeshType = "Brick"
  77. Mesh.Scale = Vector3.new(1, 1, 1)
  78. Mesh.Parent = Part
  79. Weld = Instance.new("Weld")
  80. Weld.Parent = Part
  81. Weld.Part0 = Base
  82. Weld.Part1 = Part
  83. Weld.C0 = CFrame.new(-2.5, 1.5, 1.25)
  84.  
  85. Part = Instance.new("Part")
  86. Part.Name = "Front Left Seat Headrest 1"
  87. Part.BrickColor = BrickColor.new("Black")
  88. Part.TopSurface = "Smooth"
  89. Part.BottomSurface = "Smooth"
  90. Part.FormFactor = "Custom"
  91. Part.Size = Vector3.new(2, 1, 1)
  92. Part.Parent = Vehicle
  93. Mesh = Instance.new("SpecialMesh")
  94. Mesh.MeshType = "Brick"
  95. Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  96. Mesh.Parent = Part
  97. Weld = Instance.new("Weld")
  98. Weld.Parent = Part
  99. Weld.Part0 = Base
  100. Weld.Part1 = Part
  101. Weld.C0 = CFrame.new(-2.5, 3, 1.25)
  102.  
  103. Part = Instance.new("Part")
  104. Part.Name = "Front Left Seat Headrest 2"
  105. Part.BrickColor = BrickColor.new("Black")
  106. Part.TopSurface = "Smooth"
  107. Part.BottomSurface = "Smooth"
  108. Part.FormFactor = "Custom"
  109. Part.Size = Vector3.new(2, 1, 1)
  110. Part.Parent = Vehicle
  111. Mesh = Instance.new("SpecialMesh")
  112. Mesh.MeshType = "Brick"
  113. Mesh.Scale = Vector3.new(0.9, 1.1, 1)
  114. Mesh.Parent = Part
  115. Weld = Instance.new("Weld")
  116. Weld.Parent = Part
  117. Weld.Part0 = Base
  118. Weld.Part1 = Part
  119. Weld.C0 = CFrame.new(-2.5, 3.8, 1.25)
  120.  
  121. Seat2 = Instance.new("VehicleSeat")
  122. Seat2.Name = "VehicleSeat2"
  123. Seat2.CanCollide = false
  124. Seat2.MaxSpeed = 0
  125. Seat2.Torque = 0
  126. Seat2.HeadsUpDisplay = false
  127. Seat2.BrickColor = BrickColor.new("Black")
  128. Seat2.TopSurface = "Smooth"
  129. Seat2.BottomSurface = "Smooth"
  130. Seat2.Size = Vector3.new(2, 1, 2)
  131. Seat2.Parent = Vehicle
  132. Weld = Instance.new("Weld")
  133. Weld.Parent = Seat2
  134. Weld.Part0 = Base
  135. Weld.Part1 = Seat2
  136. Weld.C0 = CFrame.new(2.5, 0.375, 0.5)
  137.  
  138. Part = Instance.new("Part")
  139. Part.Name = "Front Right Seat Back"
  140. Part.BrickColor = BrickColor.new("Black")
  141. Part.TopSurface = "Smooth"
  142. Part.BottomSurface = "Smooth"
  143. Part.FormFactor = "Custom"
  144. Part.Size = Vector3.new(2, 3, 1)
  145. Part.Parent = Vehicle
  146. Mesh = Instance.new("SpecialMesh")
  147. Mesh.MeshType = "Brick"
  148. Mesh.Scale = Vector3.new(1, 1, 1)
  149. Mesh.Parent = Part
  150. Weld = Instance.new("Weld")
  151. Weld.Parent = Part
  152. Weld.Part0 = Base
  153. Weld.Part1 = Part
  154. Weld.C0 = CFrame.new(2.5, 1.5, 1.25)
  155.  
  156. Part = Instance.new("Part")
  157. Part.Name = "Front Right Seat Headrest 1"
  158. Part.BrickColor = BrickColor.new("Black")
  159. Part.TopSurface = "Smooth"
  160. Part.BottomSurface = "Smooth"
  161. Part.FormFactor = "Custom"
  162. Part.Size = Vector3.new(2, 1, 1)
  163. Part.Parent = Vehicle
  164. Mesh = Instance.new("SpecialMesh")
  165. Mesh.MeshType = "Brick"
  166. Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  167. Mesh.Parent = Part
  168. Weld = Instance.new("Weld")
  169. Weld.Parent = Part
  170. Weld.Part0 = Base
  171. Weld.Part1 = Part
  172. Weld.C0 = CFrame.new(2.5, 3, 1.25)
  173.  
  174. Part = Instance.new("Part")
  175. Part.Name = "Front Right Seat Headrest 2"
  176. Part.BrickColor = BrickColor.new("Black")
  177. Part.TopSurface = "Smooth"
  178. Part.BottomSurface = "Smooth"
  179. Part.FormFactor = "Custom"
  180. Part.Size = Vector3.new(2, 1, 1)
  181. Part.Parent = Vehicle
  182. Mesh = Instance.new("SpecialMesh")
  183. Mesh.MeshType = "Brick"
  184. Mesh.Scale = Vector3.new(0.9, 1.1, 1)
  185. Mesh.Parent = Part
  186. Weld = Instance.new("Weld")
  187. Weld.Parent = Part
  188. Weld.Part0 = Base
  189. Weld.Part1 = Part
  190. Weld.C0 = CFrame.new(2.5, 3.8, 1.25)
  191.  
  192. Seat3 = Instance.new("VehicleSeat")
  193. Seat3.Name = "VehicleSeat3"
  194. Seat3.CanCollide = false
  195. Seat3.MaxSpeed = 0
  196. Seat3.Torque = 0
  197. Seat3.HeadsUpDisplay = false
  198. Seat3.BrickColor = BrickColor.new("Black")
  199. Seat3.TopSurface = "Smooth"
  200. Seat3.BottomSurface = "Smooth"
  201. Seat3.Size = Vector3.new(2, 1, 2)
  202. Seat3.Parent = Vehicle
  203. Weld = Instance.new("Weld")
  204. Weld.Parent = Seat3
  205. Weld.Part0 = Base
  206. Weld.Part1 = Seat3
  207. Weld.C0 = CFrame.new(-2.5, 0.375, 4.5)
  208.  
  209. Part = Instance.new("Part")
  210. Part.Name = "Rear Left Seat Back"
  211. Part.BrickColor = BrickColor.new("Black")
  212. Part.TopSurface = "Smooth"
  213. Part.BottomSurface = "Smooth"
  214. Part.FormFactor = "Custom"
  215. Part.Size = Vector3.new(2, 3, 1)
  216. Part.Parent = Vehicle
  217. Mesh = Instance.new("SpecialMesh")
  218. Mesh.MeshType = "Brick"
  219. Mesh.Scale = Vector3.new(1, 1, 1)
  220. Mesh.Parent = Part
  221. Weld = Instance.new("Weld")
  222. Weld.Parent = Part
  223. Weld.Part0 = Base
  224. Weld.Part1 = Part
  225. Weld.C0 = CFrame.new(-2.5, 1.5, 5.25)
  226.  
  227. Seat4 = Instance.new("VehicleSeat")
  228. Seat4.Name = "VehicleSeat4"
  229. Seat4.CanCollide = false
  230. Seat4.MaxSpeed = 0
  231. Seat4.Torque = 0
  232. Seat4.HeadsUpDisplay = false
  233. Seat4.BrickColor = BrickColor.new("Black")
  234. Seat4.TopSurface = "Smooth"
  235. Seat4.BottomSurface = "Smooth"
  236. Seat4.Size = Vector3.new(2, 1, 2)
  237. Seat4.Parent = Vehicle
  238. Weld = Instance.new("Weld")
  239. Weld.Parent = Seat4
  240. Weld.Part0 = Base
  241. Weld.Part1 = Seat4
  242. Weld.C0 = CFrame.new(2.5, 0.375, 4.5)
  243.  
  244. Part = Instance.new("Part")
  245. Part.Name = "Rear Right Seat Back"
  246. Part.BrickColor = BrickColor.new("Black")
  247. Part.TopSurface = "Smooth"
  248. Part.BottomSurface = "Smooth"
  249. Part.FormFactor = "Custom"
  250. Part.Size = Vector3.new(2, 3, 1)
  251. Part.Parent = Vehicle
  252. Mesh = Instance.new("SpecialMesh")
  253. Mesh.MeshType = "Brick"
  254. Mesh.Scale = Vector3.new(1, 1, 1)
  255. Mesh.Parent = Part
  256. Weld = Instance.new("Weld")
  257. Weld.Parent = Part
  258. Weld.Part0 = Base
  259. Weld.Part1 = Part
  260. Weld.C0 = CFrame.new(2.5, 1.5, 5.25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement