Advertisement
ttyyuu12345

Regenning car

Apr 29th, 2016
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.72 KB | None | 0 0
  1. --Created with ttyyuu12345's compiler
  2. --Errors:
  3. Create = function(itemClass,tabl)
  4. local item = Instance.new(itemClass)
  5. for i,v in pairs(tabl) do
  6. local a,b = ypcall(function() return item[i] end)
  7. if a then
  8. item[i] = tabl[i]
  9. end
  10. end
  11. return item
  12. end
  13. function runDummyScript(f,scri)
  14. local oldenv = getfenv(f)
  15. local newenv = setmetatable({}, {
  16. __index = function(_, k)
  17. if k:lower() == 'script' then
  18. return scri
  19. else
  20. return oldenv[k]
  21. end
  22. end
  23. })
  24. setfenv(f, newenv)
  25. ypcall(function() f() end)
  26. end
  27. cors = {}
  28. mas = Instance.new("Model",game:GetService("Lighting"))
  29. mas.Name = "CompiledModel"
  30. o1 = Create("Model",{
  31. ["Parent"] = mas,
  32. })
  33. o2 = Create("Part",{
  34. ["Name"] = "RegenPad",
  35. ["Parent"] = o1,
  36. ["BrickColor"] = BrickColor.new("Bright green"),
  37. ["Reflectance"] = 0.5,
  38. ["Position"] = Vector3.new(-35.5, 0.600005984, 43),
  39. ["Rotation"] = Vector3.new(180, -0, -180),
  40. ["Anchored"] = true,
  41. ["CFrame"] = CFrame.new(-35.5, 0.600005984, 43, -1, 0, -0, -0, 1, -0, -0, 0, -1),
  42. ["Size"] = Vector3.new(33, 1.20000005, 24),
  43. ["TopSurface"] = Enum.SurfaceType.Inlet,
  44. ["Color"] = Color3.new(0.294118, 0.592157, 0.294118),
  45. })
  46. o3 = Create("Script",{
  47. ["Parent"] = o2,
  48. })
  49. table.insert(cors,coroutine.create(function()
  50. wait()
  51. runDummyScript(function()
  52. local car = script.Parent.Parent.Car:Clone()
  53.  
  54. while true do
  55.  
  56. wait(5)
  57.  
  58.  
  59. local n = script.Parent.Parent:FindFirstChild("Car") == nil
  60. if (n or (script.Parent.Position - script.Parent.Parent.Car.VehicleSeat.Position).magnitude > 40) then
  61. if (n ~= true) then
  62. script.Parent.Parent.Car.Parent = game.Workspace
  63. end
  64. local c = car:Clone()
  65. c.Parent = script.Parent.Parent
  66. c:makeJoints()
  67. end
  68.  
  69. end
  70. end,o3)
  71. end))
  72. o4 = Create("Model",{
  73. ["Name"] = "Car",
  74. ["Parent"] = o1,
  75. })
  76. o5 = Create("Part",{
  77. ["Parent"] = o4,
  78. ["Material"] = Enum.Material.Wood,
  79. ["BrickColor"] = BrickColor.new("Pastel Blue"),
  80. ["Position"] = Vector3.new(-42.5006714, 3.68801594, 35.4995117),
  81. ["Rotation"] = Vector3.new(106.612099, -89.8972092, 105.907234),
  82. ["RotVelocity"] = Vector3.new(-0.0070930277, -0.0133149419, -0.0100184856),
  83. ["Velocity"] = Vector3.new(-0.0624587238, 0.0107956119, 0.0618307292),
  84. ["CFrame"] = CFrame.new(-42.5006714, 3.68801594, 35.4995117, -0.000481367111, -0.0016890429, -0.999998391, -0.0122981044, 0.999922931, -0.00168299535, 0.999924242, 0.0122972745, -0.000502109528),
  85. ["FormFactor"] = Enum.FormFactor.Symmetric,
  86. ["Friction"] = 0.60000002384186,
  87. ["Shape"] = Enum.PartType.Cylinder,
  88. ["Size"] = Vector3.new(5, 5, 5),
  89. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  90. ["RightSurface"] = Enum.SurfaceType.Hinge,
  91. ["TopSurface"] = Enum.SurfaceType.Smooth,
  92. ["Color"] = Color3.new(0.501961, 0.733333, 0.858824),
  93. })
  94. o6 = Create("Part",{
  95. ["Parent"] = o4,
  96. ["Material"] = Enum.Material.Wood,
  97. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  98. ["Position"] = Vector3.new(-42.5064201, 7.3527174, 36.9995842),
  99. ["Rotation"] = Vector3.new(89.8297119, -89.8467712, 89.8094559),
  100. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  101. ["Velocity"] = Vector3.new(-0.104067355, -0.047615353, -0.081424512),
  102. ["CFrame"] = CFrame.new(-42.5064201, 7.3527174, 36.9995842, 4.21775985e-006, -0.00126823026, -0.999996424, -8.53394376e-005, 0.999998271, -0.0012682284, 0.999998152, 8.53426973e-005, 3.76924459e-006),
  103. ["Size"] = Vector3.new(6, 1.20000005, 7),
  104. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  105. })
  106. o7 = Create("Part",{
  107. ["Parent"] = o4,
  108. ["Material"] = Enum.Material.Wood,
  109. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  110. ["Position"] = Vector3.new(-46.0049515, 6.14827061, 36.999485),
  111. ["Rotation"] = Vector3.new(89.8242645, -89.8972092, 89.8149033),
  112. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  113. ["Velocity"] = Vector3.new(-0.098429583, -0.0639904141, -0.0918308944),
  114. ["CFrame"] = CFrame.new(-46.0049515, 6.14827061, 36.999485, 4.09702079e-006, -0.00126823143, -0.999998391, -8.53389429e-005, 0.999998927, -0.00126823108, 0.999999464, 8.53434904e-005, 3.88999661e-006),
  115. ["Size"] = Vector3.new(6, 1.20000005, 2),
  116. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  117. })
  118. o8 = Create("Part",{
  119. ["Parent"] = o4,
  120. ["Material"] = Enum.Material.Wood,
  121. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  122. ["Position"] = Vector3.new(-46.5026093, 4.34768057, 36.4992714),
  123. ["Rotation"] = Vector3.new(89.8257446, -89.8813095, 89.8134232),
  124. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  125. ["Velocity"] = Vector3.new(-0.0912856832, -0.0582665317, -0.119542211),
  126. ["CFrame"] = CFrame.new(-46.5026093, 4.34768057, 36.4992714, 4.12994996e-006, -0.00126823119, -0.999997854, -8.53390738e-005, 0.999998748, -0.00126823038, 0.999999106, 8.53432866e-005, 3.85706426e-006),
  127. ["Size"] = Vector3.new(5, 2.4000001, 1),
  128. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  129. })
  130. o9 = Create("Part",{
  131. ["Parent"] = o4,
  132. ["Material"] = Enum.Material.Wood,
  133. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  134. ["Position"] = Vector3.new(-42.5018272, 3.7522459, 42.4992065),
  135. ["Rotation"] = Vector3.new(0.00488956133, 0.000234113104, 0.0726643726),
  136. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  137. ["Velocity"] = Vector3.new(-0.0730890036, -0.13613759, -0.139403775),
  138. ["CFrame"] = CFrame.new(-42.5018272, 3.7522459, 42.4992065, 0.999998569, -0.00126823143, 4.08604456e-006, 0.00126823131, 0.999998987, -8.53389065e-005, -3.90097375e-006, 8.53435631e-005, 0.999999583),
  139. ["Size"] = Vector3.new(1, 1.20000005, 9),
  140. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  141. })
  142. o10 = Create("Part",{
  143. ["Parent"] = o4,
  144. ["Material"] = Enum.Material.Wood,
  145. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  146. ["Position"] = Vector3.new(-43.0033493, 4.95160913, 42.4993095),
  147. ["Rotation"] = Vector3.new(-90.1767349, 89.9093475, 90.1841049),
  148. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  149. ["Velocity"] = Vector3.new(-0.0787029713, -0.138486877, -0.118806027),
  150. ["CFrame"] = CFrame.new(-43.0033493, 4.95160913, 42.4993095, -4.07506832e-006, -0.00126823154, 0.999998748, 8.53388628e-005, 0.999999046, 0.00126823154, -0.999999702, 8.53436359e-005, -3.91195135e-006),
  151. ["Size"] = Vector3.new(7, 1.20000005, 10),
  152. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  153. })
  154. o11 = Create("Part",{
  155. ["Parent"] = o4,
  156. ["Material"] = Enum.Material.Wood,
  157. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  158. ["Position"] = Vector3.new(-42.5047989, 6.15198803, 45.4994087),
  159. ["Rotation"] = Vector3.new(-90.1757431, 89.8972092, 90.1850967),
  160. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  161. ["Velocity"] = Vector3.new(-0.0766168982, -0.18445465, -0.100760378),
  162. ["CFrame"] = CFrame.new(-42.5047989, 6.15198803, 45.4994087, -4.09702079e-006, -0.00126823143, 0.999998391, 8.53389502e-005, 0.999998927, 0.00126823108, -0.999999464, 8.53434976e-005, -3.88999661e-006),
  163. ["Size"] = Vector3.new(1, 1.20000005, 5),
  164. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  165. })
  166. o12 = Create("Part",{
  167. ["Parent"] = o4,
  168. ["Material"] = Enum.Material.Wood,
  169. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  170. ["Position"] = Vector3.new(-42.5064354, 7.35177183, 47.9995079),
  171. ["Rotation"] = Vector3.new(-90.1712799, 89.8546295, 90.1895523),
  172. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  173. ["Velocity"] = Vector3.new(-0.0758121684, -0.224713832, -0.0814396963),
  174. ["CFrame"] = CFrame.new(-42.5064354, 7.35177183, 47.9995079, -4.19580783e-006, -0.00126823073, 0.999996781, 8.53393285e-005, 0.999998391, 0.0012682291, -0.999998391, 8.53428501e-005, -3.79120002e-006),
  175. ["Size"] = Vector3.new(6, 1.20000005, 7),
  176. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  177. })
  178. o13 = Create("Part",{
  179. ["Parent"] = o4,
  180. ["Material"] = Enum.Material.Wood,
  181. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  182. ["Position"] = Vector3.new(-46.0048447, 6.14733601, 47.9994202),
  183. ["Rotation"] = Vector3.new(-90.1757431, 89.8972092, 90.1850967),
  184. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  185. ["Velocity"] = Vector3.new(-0.0701744258, -0.24108851, -0.0918462202),
  186. ["CFrame"] = CFrame.new(-46.0048447, 6.14733601, 47.9994202, -4.09702079e-006, -0.00126823143, 0.999998391, 8.53389502e-005, 0.999998927, 0.00126823108, -0.999999464, 8.53434976e-005, -3.88999661e-006),
  187. ["Size"] = Vector3.new(6, 1.20000005, 2),
  188. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  189. })
  190. o14 = Create("Part",{
  191. ["Parent"] = o4,
  192. ["Material"] = Enum.Material.Wood,
  193. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  194. ["Position"] = Vector3.new(-38.5026245, 4.35783339, 36.4991875),
  195. ["Rotation"] = Vector3.new(89.8311996, -89.8356781, 89.8079681),
  196. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  197. ["Velocity"] = Vector3.new(-0.0913334265, -0.0208171718, -0.139924854),
  198. ["CFrame"] = CFrame.new(-38.5026245, 4.35783339, 36.4991875, 4.25068902e-006, -0.00126823038, -0.999995887, -8.53395613e-005, 0.999998093, -0.00126822793, 0.999997795, 8.53424717e-005, 3.73631246e-006),
  199. ["Size"] = Vector3.new(5, 2.4000001, 1),
  200. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  201. })
  202. o15 = Create("Part",{
  203. ["Parent"] = o4,
  204. ["Material"] = Enum.Material.Wood,
  205. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  206. ["Position"] = Vector3.new(-39.0048447, 6.15715599, 36.9994049),
  207. ["Rotation"] = Vector3.new(89.8267441, -89.8717957, 89.8124237),
  208. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  209. ["Velocity"] = Vector3.new(-0.0984713808, -0.0312215537, -0.10966599),
  210. ["CFrame"] = CFrame.new(-39.0048447, 6.15715599, 36.9994049, 4.15190243e-006, -0.00126823084, -0.999997497, -8.53391684e-005, 0.999998629, -0.0012682298, 0.999998868, 8.53431266e-005, 3.83510906e-006),
  211. ["Size"] = Vector3.new(6, 1.20000005, 2),
  212. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  213. })
  214. o16 = Create("Part",{
  215. ["Parent"] = o4,
  216. ["Material"] = Enum.Material.Wood,
  217. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  218. ["Position"] = Vector3.new(-42.5048256, 6.15250397, 39.4994774),
  219. ["Rotation"] = Vector3.new(-90.170784, 89.850647, 90.1900558),
  220. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  221. ["Velocity"] = Vector3.new(-0.0920287445, -0.0878560841, -0.100752003),
  222. ["CFrame"] = CFrame.new(-42.5048256, 6.15250397, 39.4994774, -4.20678361e-006, -0.00126823038, 0.999996603, 8.5339394e-005, 0.999998331, 0.00126822863, -0.999998271, 8.534277e-005, -3.78022196e-006),
  223. ["Size"] = Vector3.new(1, 1.20000005, 5),
  224. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  225. })
  226. o17 = Create("Part",{
  227. ["Parent"] = o4,
  228. ["Material"] = Enum.Material.Wood,
  229. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  230. ["Position"] = Vector3.new(-46.5026207, 4.3466568, 48.4992676),
  231. ["Rotation"] = Vector3.new(-90.1737595, 89.8764572, 90.1870728),
  232. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  233. ["Velocity"] = Vector3.new(-0.0604616851, -0.251466125, -0.119558677),
  234. ["CFrame"] = CFrame.new(-46.5026207, 4.3466568, 48.4992676, -4.14092619e-006, -0.00126823108, 0.999997675, 8.53391102e-005, 0.999998689, 0.00126823015, -0.999998987, 8.53432066e-005, -3.84608711e-006),
  235. ["Size"] = Vector3.new(5, 2.4000001, 1),
  236. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  237. })
  238. o18 = Create("Part",{
  239. ["Parent"] = o4,
  240. ["Material"] = Enum.Material.Wood,
  241. ["BrickColor"] = BrickColor.new("Pastel Blue"),
  242. ["Position"] = Vector3.new(-42.5023193, 3.68805313, 49.4992065),
  243. ["Rotation"] = Vector3.new(-74.3501358, 89.960434, 73.6394653),
  244. ["RotVelocity"] = Vector3.new(-0.0555029027, 0.00276080775, 0.0377315469),
  245. ["Velocity"] = Vector3.new(0.0204298776, -0.0295417234, 0.101735353),
  246. ["CFrame"] = CFrame.new(-42.5023193, 3.68805313, 49.4992065, 0.000159144402, -0.00054210471, 0.999999762, -0.0124259368, 0.999922633, 0.000544039533, -0.999922752, -0.0124260224, 0.000152409077),
  247. ["FormFactor"] = Enum.FormFactor.Symmetric,
  248. ["Friction"] = 0.60000002384186,
  249. ["Shape"] = Enum.PartType.Cylinder,
  250. ["Size"] = Vector3.new(5, 5, 5),
  251. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  252. ["RightSurface"] = Enum.SurfaceType.Hinge,
  253. ["TopSurface"] = Enum.SurfaceType.Smooth,
  254. ["Color"] = Color3.new(0.501961, 0.733333, 0.858824),
  255. })
  256. o19 = Create("Part",{
  257. ["Parent"] = o4,
  258. ["BrickColor"] = BrickColor.new("Dark stone grey"),
  259. ["Position"] = Vector3.new(-35.5053291, 6.56111717, 42.4994164),
  260. ["Rotation"] = Vector3.new(-90.1772232, 89.9160767, 90.183609),
  261. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  262. ["Velocity"] = Vector3.new(-0.0862368271, -0.103390276, -0.112149931),
  263. ["CFrame"] = CFrame.new(-35.5053291, 6.56111717, 42.4994164, -4.06409208e-006, -0.00126823166, 0.999998927, 8.53388192e-005, 0.999999106, 0.00126823178, -0.999999821, 8.53437086e-005, -3.92292895e-006),
  264. ["Size"] = Vector3.new(3, 2.4000001, 1),
  265. ["Color"] = Color3.new(0.388235, 0.372549, 0.384314),
  266. })
  267. o20 = Create("Part",{
  268. ["Parent"] = o4,
  269. ["Material"] = Enum.Material.Wood,
  270. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  271. ["Position"] = Vector3.new(-39.0048561, 6.15621376, 47.9993324),
  272. ["Rotation"] = Vector3.new(-90.176239, 89.9030914, 90.1845932),
  273. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  274. ["Velocity"] = Vector3.new(-0.0702162012, -0.208320081, -0.109681137),
  275. ["CFrame"] = CFrame.new(-39.0048561, 6.15621376, 47.9993324, -4.08604456e-006, -0.00126823143, 0.999998569, 8.53389065e-005, 0.999998987, 0.00126823131, -0.999999583, 8.53435631e-005, -3.90097375e-006),
  276. ["Size"] = Vector3.new(6, 1.20000005, 2),
  277. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  278. })
  279. o21 = Create("Part",{
  280. ["Parent"] = o4,
  281. ["Material"] = Enum.Material.Wood,
  282. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  283. ["Position"] = Vector3.new(-38.5025711, 4.35679865, 48.4992371),
  284. ["Rotation"] = Vector3.new(-90.1747437, 89.8863602, 90.1860886),
  285. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  286. ["Velocity"] = Vector3.new(-0.0605092309, -0.214017332, -0.139941663),
  287. ["CFrame"] = CFrame.new(-38.5025711, 4.35679865, 48.4992371, -4.11897418e-006, -0.00126823119, 0.999998033, 8.53390375e-005, 0.999998808, 0.00126823073, -0.999999225, 8.53433521e-005, -3.8680414e-006),
  288. ["Size"] = Vector3.new(5, 2.4000001, 1),
  289. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  290. })
  291. o22 = Create("Part",{
  292. ["Parent"] = o4,
  293. ["Material"] = Enum.Material.Wood,
  294. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  295. ["Position"] = Vector3.new(-34.5017776, 3.76238823, 42.4991722),
  296. ["Rotation"] = Vector3.new(-90.1772232, 89.9160767, 90.183609),
  297. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  298. ["Velocity"] = Vector3.new(-0.0731365681, -0.0986887142, -0.159786761),
  299. ["CFrame"] = CFrame.new(-34.5017776, 3.76238823, 42.4991722, -4.06409208e-006, -0.00126823166, 0.999998927, 8.53388192e-005, 0.999999106, 0.00126823178, -0.999999821, 8.53437086e-005, -3.92292895e-006),
  300. ["Size"] = Vector3.new(7, 1.20000005, 15),
  301. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  302. })
  303. o23 = Create("Part",{
  304. ["Parent"] = o4,
  305. ["Material"] = Enum.Material.Wood,
  306. ["BrickColor"] = BrickColor.new("Pastel Blue"),
  307. ["Position"] = Vector3.new(-26.5006104, 3.68924093, 35.4993896),
  308. ["Rotation"] = Vector3.new(100.740738, -89.8863602, 100.416695),
  309. ["RotVelocity"] = Vector3.new(0.0117619578, 0.0497644395, -0.0025857091),
  310. ["Velocity"] = Vector3.new(0.00658363383, 0.00946405344, -0.0382083356),
  311. ["CFrame"] = CFrame.new(-26.5006104, 3.68924093, 35.4993896, -0.000356674194, -0.00194018136, -0.999998033, -0.0056563695, 0.999982119, -0.00193813303, 0.999983966, 0.00565566728, -0.000367641449),
  312. ["FormFactor"] = Enum.FormFactor.Symmetric,
  313. ["Friction"] = 0.60000002384186,
  314. ["Shape"] = Enum.PartType.Cylinder,
  315. ["Size"] = Vector3.new(5, 5, 5),
  316. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  317. ["RightSurface"] = Enum.SurfaceType.Hinge,
  318. ["TopSurface"] = Enum.SurfaceType.Smooth,
  319. ["Color"] = Color3.new(0.501961, 0.733333, 0.858824),
  320. })
  321. o24 = Create("Part",{
  322. ["Parent"] = o4,
  323. ["Material"] = Enum.Material.Wood,
  324. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  325. ["Position"] = Vector3.new(-26.5017262, 3.77253819, 42.4990807),
  326. ["Rotation"] = Vector3.new(0.00488956738, 0.000235370942, 0.072664395),
  327. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  328. ["Velocity"] = Vector3.new(-0.0731843188, -0.0612389147, -0.180169627),
  329. ["CFrame"] = CFrame.new(-26.5017262, 3.77253819, 42.4990807, 0.999998212, -0.00126823131, 4.10799794e-006, 0.00126823096, 0.999998868, -8.53389938e-005, -3.879019e-006, 8.53434249e-005, 0.999999344),
  330. ["Size"] = Vector3.new(1, 1.20000005, 9),
  331. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  332. })
  333. o25 = Create("Part",{
  334. ["Parent"] = o4,
  335. ["Material"] = Enum.Material.Wood,
  336. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  337. ["Position"] = Vector3.new(-25.5033112, 4.97380352, 42.4992409),
  338. ["Rotation"] = Vector3.new(-90.1767349, 89.9093475, 90.1841049),
  339. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  340. ["Velocity"] = Vector3.new(-0.078807041, -0.0565679036, -0.163393497),
  341. ["CFrame"] = CFrame.new(-25.5033112, 4.97380352, 42.4992409, -4.07506832e-006, -0.00126823154, 0.999998748, 8.53388628e-005, 0.999999046, 0.00126823154, -0.999999702, 8.53436359e-005, -3.91195135e-006),
  342. ["Size"] = Vector3.new(7, 1.20000005, 7),
  343. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  344. })
  345. o26 = Create("Part",{
  346. ["Parent"] = o4,
  347. ["Material"] = Enum.Material.Wood,
  348. ["BrickColor"] = BrickColor.new("Pastel Blue"),
  349. ["Position"] = Vector3.new(-26.5018311, 3.68917704, 49.4985352),
  350. ["Rotation"] = Vector3.new(-131.591034, 89.960434, 131.255844),
  351. ["RotVelocity"] = Vector3.new(-0.0644588619, 0.0616075806, -0.00442951452),
  352. ["Velocity"] = Vector3.new(-0.0416598767, -0.0130825583, -0.0719472319),
  353. ["CFrame"] = CFrame.new(-26.5018311, 3.68917704, 49.4985352, -0.000377058983, -0.000429864973, 0.999999762, -0.00586295919, 0.999982715, 0.00042764633, -0.999982715, -0.00586279668, -0.000379562378),
  354. ["FormFactor"] = Enum.FormFactor.Symmetric,
  355. ["Friction"] = 0.60000002384186,
  356. ["Shape"] = Enum.PartType.Cylinder,
  357. ["Size"] = Vector3.new(5, 5, 5),
  358. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  359. ["RightSurface"] = Enum.SurfaceType.Hinge,
  360. ["TopSurface"] = Enum.SurfaceType.Smooth,
  361. ["Color"] = Color3.new(0.501961, 0.733333, 0.858824),
  362. })
  363. o27 = Create("Part",{
  364. ["Parent"] = o4,
  365. ["Material"] = Enum.Material.Wood,
  366. ["BrickColor"] = BrickColor.new("Br. yellowish orange"),
  367. ["Position"] = Vector3.new(-22.5017948, 3.7776072, 42.4991264),
  368. ["Rotation"] = Vector3.new(0.00488956738, 0.000235370942, 0.072664395),
  369. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  370. ["Velocity"] = Vector3.new(-0.0732079297, -0.0425159335, -0.190360919),
  371. ["CFrame"] = CFrame.new(-22.5017948, 3.7776072, 42.4991264, 0.999998212, -0.00126823131, 4.10799794e-006, 0.00126823096, 0.999998868, -8.53389938e-005, -3.879019e-006, 8.53434249e-005, 0.999999344),
  372. ["Size"] = Vector3.new(1, 1.20000005, 17),
  373. ["Color"] = Color3.new(0.886275, 0.607843, 0.25098),
  374. })
  375. o28 = Create("VehicleSeat",{
  376. ["Parent"] = o4,
  377. ["BrickColor"] = BrickColor.new("Dark stone grey"),
  378. ["Position"] = Vector3.new(-34.5031738, 4.86238718, 42.4992676),
  379. ["Rotation"] = Vector3.new(89.8222733, -89.9233856, 89.8168945),
  380. ["RotVelocity"] = Vector3.new(0.0160999671, 0.00256826822, 0.00468101073),
  381. ["Velocity"] = Vector3.new(-0.0782854334, -0.0986967832, -0.142073229),
  382. ["CFrame"] = CFrame.new(-34.5031738, 4.86238718, 42.4992676, 4.05311584e-006, -0.00126823178, -0.999999106, -8.53387755e-005, 0.999999166, -0.00126823201, 0.99999994, 8.53437814e-005, 3.93390656e-006),
  383. ["Size"] = Vector3.new(3, 1, 3),
  384. ["TopSurface"] = Enum.SurfaceType.Universal,
  385. ["MaxSpeed"] = 100,
  386. ["Torque"] = 30,
  387. ["Color"] = Color3.new(0.388235, 0.372549, 0.384314),
  388. })
  389. mas.Parent = workspace
  390. mas:MakeJoints()
  391. local mas1 = mas:GetChildren()
  392. for i=1,#mas1 do
  393. mas1[i].Parent = script
  394. ypcall(function() mas1[i]:MakeJoints() end)
  395. end
  396. mas:Destroy()
  397. for i=1,#cors do
  398. coroutine.resume(cors[i])
  399. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement