Advertisement
lafur

Untitled

Oct 19th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.73 KB | None | 0 0
  1. --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
  2. --What's Added To M2S with Dittoide's Edit?
  3. --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
  4. --/ Removed Gui In Bottom-Left for when you are making guis.
  5. --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
  6. --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
  7. --Errors: Camera,Terrain
  8. local runDummyScript = function(f,scri)
  9. if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
  10. local Dummy_CoRoutine = coroutine.create(function()
  11. getfenv().script = scri
  12. ypcall(function() f() end)
  13. end)
  14. table.insert(cors,Dummy_CoRoutine);
  15. coroutine.resume(Dummy_CoRoutine);
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. mas.Name = "M2S_Model"
  20. o3 = Instance.new("Model")
  21. o4 = Instance.new("Part")
  22. o5 = Instance.new("SpecialMesh")
  23. o6 = Instance.new("Part")
  24. o7 = Instance.new("SpecialMesh")
  25. o8 = Instance.new("Model")
  26. o9 = Instance.new("Part")
  27. o10 = Instance.new("Part")
  28. o11 = Instance.new("Part")
  29. o12 = Instance.new("Part")
  30. o13 = Instance.new("Part")
  31. o14 = Instance.new("VehicleSeat")
  32. o15 = Instance.new("Script")
  33. o16 = Instance.new("Part")
  34. o17 = Instance.new("SpecialMesh")
  35. o18 = Instance.new("Part")
  36. o19 = Instance.new("SpecialMesh")
  37. o20 = Instance.new("Part")
  38. o21 = Instance.new("SpecialMesh")
  39. o22 = Instance.new("BodyVelocity")
  40. o23 = Instance.new("BodyGyro")
  41. o24 = Instance.new("Motor6D")
  42. o25 = Instance.new("Motor6D")
  43. o26 = Instance.new("Motor6D")
  44. o27 = Instance.new("Motor6D")
  45. o28 = Instance.new("Part")
  46. o29 = Instance.new("SpecialMesh")
  47. o30 = Instance.new("Humanoid")
  48. o31 = Instance.new("Part")
  49. o32 = Instance.new("Script")
  50. o3.Name = "Tele to renniej mecha"
  51. o3.Parent = mas
  52. o4.Name = "LArm"
  53. o4.Parent = o3
  54. o4.BrickColor = BrickColor.new("Bright green")
  55. o4.Position = Vector3.new(-133, 62.0000229, -20)
  56. o4.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  57. o4.Velocity = Vector3.new(-9.7303804e-22, 0.00290976651, 1.43739009e-21)
  58. o4.FormFactor = Enum.FormFactor.Symmetric
  59. o4.Size = Vector3.new(20, 40, 20)
  60. o4.CFrame = CFrame.new(-133, 62.0000229, -20, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  61. o4.BottomSurface = Enum.SurfaceType.Smooth
  62. o4.TopSurface = Enum.SurfaceType.Smooth
  63. o4.Color = Color3.new(0.294118, 0.592157, 0.294118)
  64. o4.Position = Vector3.new(-133, 62.0000229, -20)
  65. o4.velocity = Vector3.new(-9.7303804e-22, 0.00290976651, 1.43739009e-21)
  66. o5.Parent = o4
  67. o5.MeshId = "http://www.roblox.com/asset/?id=33308496"
  68. o5.Scale = Vector3.new(20, 20, 20)
  69. o5.TextureId = "http://www.roblox.com/asset/?id=33309581"
  70. o5.MeshType = Enum.MeshType.FileMesh
  71. o6.Name = "LLeg"
  72. o6.Parent = o3
  73. o6.BrickColor = BrickColor.new("Bright green")
  74. o6.Position = Vector3.new(-113, 22.0000229, -20)
  75. o6.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  76. o6.Velocity = Vector3.new(-3.54106609e-22, 0.00290976651, 5.08976792e-22)
  77. o6.FormFactor = Enum.FormFactor.Symmetric
  78. o6.Size = Vector3.new(20, 40, 20)
  79. o6.CFrame = CFrame.new(-113, 22.0000229, -20, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  80. o6.BottomSurface = Enum.SurfaceType.Smooth
  81. o6.TopSurface = Enum.SurfaceType.Smooth
  82. o6.Color = Color3.new(0.294118, 0.592157, 0.294118)
  83. o6.Position = Vector3.new(-113, 22.0000229, -20)
  84. o6.velocity = Vector3.new(-3.54106609e-22, 0.00290976651, 5.08976792e-22)
  85. o7.Parent = o6
  86. o7.MeshId = "http://www.roblox.com/asset/?id=29521405"
  87. o7.Scale = Vector3.new(20, 20, 20)
  88. o7.TextureId = "http://www.roblox.com/asset/?id=33309581"
  89. o7.MeshType = Enum.MeshType.FileMesh
  90. o8.Name = "Cage"
  91. o8.Parent = o3
  92. o9.Name = "Wall"
  93. o9.Parent = o8
  94. o9.BrickColor = BrickColor.new("Dark stone grey")
  95. o9.Transparency = 1
  96. o9.Position = Vector3.new(-103, 93.5000229, -20)
  97. o9.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  98. o9.Velocity = Vector3.new(-1.46044654e-21, 0.00290976651, 1.46057579e-21)
  99. o9.FormFactor = Enum.FormFactor.Symmetric
  100. o9.Size = Vector3.new(8, 1, 8)
  101. o9.CFrame = CFrame.new(-103, 93.5000229, -20, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  102. o9.BackSurface = Enum.SurfaceType.Weld
  103. o9.BottomSurface = Enum.SurfaceType.Weld
  104. o9.FrontSurface = Enum.SurfaceType.Weld
  105. o9.LeftSurface = Enum.SurfaceType.Weld
  106. o9.RightSurface = Enum.SurfaceType.Weld
  107. o9.TopSurface = Enum.SurfaceType.Weld
  108. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  109. o9.Position = Vector3.new(-103, 93.5000229, -20)
  110. o9.velocity = Vector3.new(-1.46044654e-21, 0.00290976651, 1.46057579e-21)
  111. o10.Name = "Wall"
  112. o10.Parent = o8
  113. o10.BrickColor = BrickColor.new("Dark stone grey")
  114. o10.Transparency = 1
  115. o10.Position = Vector3.new(-103, 87.5000229, -23.5)
  116. o10.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  117. o10.Velocity = Vector3.new(-1.42176616e-21, 0.00290976651, 1.36773607e-21)
  118. o10.FormFactor = Enum.FormFactor.Symmetric
  119. o10.Size = Vector3.new(8, 11, 1)
  120. o10.CFrame = CFrame.new(-103, 87.5000229, -23.5, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  121. o10.BackSurface = Enum.SurfaceType.Weld
  122. o10.BottomSurface = Enum.SurfaceType.Weld
  123. o10.FrontSurface = Enum.SurfaceType.Weld
  124. o10.LeftSurface = Enum.SurfaceType.Weld
  125. o10.RightSurface = Enum.SurfaceType.Weld
  126. o10.TopSurface = Enum.SurfaceType.Weld
  127. o10.Color = Color3.new(0.388235, 0.372549, 0.384314)
  128. o10.Position = Vector3.new(-103, 87.5000229, -23.5)
  129. o10.velocity = Vector3.new(-1.42176616e-21, 0.00290976651, 1.36773607e-21)
  130. o11.Name = "Wall"
  131. o11.Parent = o8
  132. o11.BrickColor = BrickColor.new("Dark stone grey")
  133. o11.Transparency = 1
  134. o11.Position = Vector3.new(-99.5, 87.5000229, -20)
  135. o11.Rotation = Vector3.new(0, 90, 0)
  136. o11.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  137. o11.Velocity = Vector3.new(-1.36760683e-21, 0.00290976651, 1.31357675e-21)
  138. o11.FormFactor = Enum.FormFactor.Symmetric
  139. o11.Size = Vector3.new(6, 11, 1)
  140. o11.CFrame = CFrame.new(-99.5, 87.5000229, -20, -2.47202991e-23, -2.47189312e-23, 1, 2.47200924e-23, 1, 2.47189312e-23, -1, 2.47200924e-23, -2.47202991e-23)
  141. o11.BackSurface = Enum.SurfaceType.Weld
  142. o11.BottomSurface = Enum.SurfaceType.Weld
  143. o11.FrontSurface = Enum.SurfaceType.Weld
  144. o11.LeftSurface = Enum.SurfaceType.Weld
  145. o11.RightSurface = Enum.SurfaceType.Weld
  146. o11.TopSurface = Enum.SurfaceType.Weld
  147. o11.Color = Color3.new(0.388235, 0.372549, 0.384314)
  148. o11.Position = Vector3.new(-99.5, 87.5000229, -20)
  149. o11.velocity = Vector3.new(-1.36760683e-21, 0.00290976651, 1.31357675e-21)
  150. o12.Name = "Wall"
  151. o12.Parent = o8
  152. o12.BrickColor = BrickColor.new("Dark stone grey")
  153. o12.Transparency = 1
  154. o12.Position = Vector3.new(-106.5, 87.5000229, -20)
  155. o12.Rotation = Vector3.new(0, 90, 0)
  156. o12.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  157. o12.Velocity = Vector3.new(-1.36760683e-21, 0.00290976651, 1.4218954e-21)
  158. o12.FormFactor = Enum.FormFactor.Symmetric
  159. o12.Size = Vector3.new(6, 11, 1)
  160. o12.CFrame = CFrame.new(-106.5, 87.5000229, -20, -2.47202991e-23, -2.47189312e-23, 1, 2.47200924e-23, 1, 2.47189312e-23, -1, 2.47200924e-23, -2.47202991e-23)
  161. o12.BackSurface = Enum.SurfaceType.Weld
  162. o12.BottomSurface = Enum.SurfaceType.Weld
  163. o12.FrontSurface = Enum.SurfaceType.Weld
  164. o12.LeftSurface = Enum.SurfaceType.Weld
  165. o12.RightSurface = Enum.SurfaceType.Weld
  166. o12.TopSurface = Enum.SurfaceType.Weld
  167. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  168. o12.Position = Vector3.new(-106.5, 87.5000229, -20)
  169. o12.velocity = Vector3.new(-1.36760683e-21, 0.00290976651, 1.4218954e-21)
  170. o13.Name = "Wall"
  171. o13.Parent = o8
  172. o13.BrickColor = BrickColor.new("Dark stone grey")
  173. o13.Transparency = 1
  174. o13.Position = Vector3.new(-103, 87.5000229, -16.5)
  175. o13.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  176. o13.Velocity = Vector3.new(-1.3134475e-21, 0.00290976651, 1.36773607e-21)
  177. o13.FormFactor = Enum.FormFactor.Symmetric
  178. o13.Size = Vector3.new(8, 11, 1)
  179. o13.CFrame = CFrame.new(-103, 87.5000229, -16.5, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  180. o13.BottomSurface = Enum.SurfaceType.Weld
  181. o13.TopSurface = Enum.SurfaceType.Smooth
  182. o13.Color = Color3.new(0.388235, 0.372549, 0.384314)
  183. o13.Position = Vector3.new(-103, 87.5000229, -16.5)
  184. o13.velocity = Vector3.new(-1.3134475e-21, 0.00290976651, 1.36773607e-21)
  185. o14.Parent = o3
  186. o14.BrickColor = BrickColor.new("Really black")
  187. o14.Position = Vector3.new(-103, 82.5000229, -20)
  188. o14.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  189. o14.Velocity = Vector3.new(-1.2902404e-21, 0.00290976651, 1.29036965e-21)
  190. o14.Size = Vector3.new(6, 1, 6)
  191. o14.CFrame = CFrame.new(-103, 82.5000229, -20, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  192. o14.BottomSurface = Enum.SurfaceType.Smooth
  193. o14.TopSurface = Enum.SurfaceType.Smooth
  194. o14.HeadsUpDisplay = false
  195. o14.MaxSpeed = 0
  196. o14.Torque = 0
  197. o14.TurnSpeed = 0
  198. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  199. o14.Position = Vector3.new(-103, 82.5000229, -20)
  200. o14.velocity = Vector3.new(-1.2902404e-21, 0.00290976651, 1.29036965e-21)
  201. o15.Parent = o14
  202.  
  203. runDummyScript(function()
  204. local seat = script.Parent
  205. local bot = seat.Parent
  206. local tor = bot.Tor
  207. local bg = tor.BodyGyro
  208. local bv = tor.BodyVelocity
  209. local ra = bot.RArm
  210. local la = bot.LArm
  211. local rl = bot.RLeg
  212. local ll = bot.LLeg
  213. local motor = "Motor6D"
  214. local scale = 20
  215. local rs = Instance.new(motor)
  216. rs.Name = "Right Shoulder"
  217. rs.MaxVelocity = 0.1
  218. rs.Part0 = tor
  219. rs.Part1 = ra
  220. rs.C0 = CFrame.new(1*scale, 0.5*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  221. rs.C1 = CFrame.new(-0.5*scale, 0.5*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  222. rs.Parent = tor
  223. local ls = Instance.new(motor)
  224. ls.Name = "Left Shoulder"
  225. ls.MaxVelocity = 0.1
  226. ls.Part0 = tor
  227. ls.Part1 = la
  228. ls.C0 = CFrame.new(-1*scale, 0.5*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  229. ls.C1 = CFrame.new(0.5*scale, 0.5*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  230. ls.Parent = tor
  231. local rh = Instance.new(motor)
  232. rh.Name = "Right Hip"
  233. rh.MaxVelocity = 0.1
  234. rh.Part0 = tor
  235. rh.Part1 = rl
  236. rh.C0 = CFrame.new(1*scale, -1*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  237. rh.C1 = CFrame.new(0.5*scale, 1*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  238. rh.Parent = tor
  239. local lh = Instance.new(motor)
  240. lh.Name = "Left Hip"
  241. lh.MaxVelocity = 0.1
  242. lh.Part0 = tor
  243. lh.Part1 = ll
  244. lh.C0 = CFrame.new(-1*scale, -1*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  245. lh.C1 = CFrame.new(-0.5*scale, 1*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  246. lh.Parent = tor
  247.  
  248. local moving
  249. local last = 0
  250. local add = 1
  251.  
  252. while true do
  253. bv.velocity = tor.CFrame.lookVector*16*scale*seat.Throttle
  254. bg.cframe = tor.CFrame*CFrame.Angles(0,math.rad(seat.Steer*-10),0)
  255. if seat.Throttle ~= 0 then
  256. if last == 0 then
  257. ls.DesiredAngle = math.rad(-45)
  258. rs.DesiredAngle = math.rad(-45)
  259. lh.DesiredAngle = math.rad(45)
  260. rh.DesiredAngle = math.rad(45)
  261. add = 1
  262. elseif last == 20 then
  263. ls.DesiredAngle = math.rad(45)
  264. rs.DesiredAngle = math.rad(45)
  265. lh.DesiredAngle = math.rad(-45)
  266. rh.DesiredAngle = math.rad(-45)
  267. add = -1
  268. end
  269. last = last + add
  270. else
  271. last = 0
  272. add = 1
  273. ls.DesiredAngle = math.rad(0)
  274. rs.DesiredAngle = math.rad(0)
  275. lh.DesiredAngle = 0
  276. rh.DesiredAngle = 0
  277. end
  278. wait()
  279. end
  280.  
  281. end,o15)
  282.  
  283. o16.Name = "RArm"
  284. o16.Parent = o3
  285. o16.BrickColor = BrickColor.new("Bright green")
  286. o16.Position = Vector3.new(-73, 62.0000229, -20)
  287. o16.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  288. o16.Velocity = Vector3.new(-9.7303804e-22, 0.00290976651, 5.0894448e-22)
  289. o16.FormFactor = Enum.FormFactor.Symmetric
  290. o16.Size = Vector3.new(20, 40, 20)
  291. o16.CFrame = CFrame.new(-73, 62.0000229, -20, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  292. o16.BottomSurface = Enum.SurfaceType.Smooth
  293. o16.TopSurface = Enum.SurfaceType.Smooth
  294. o16.Color = Color3.new(0.294118, 0.592157, 0.294118)
  295. o16.Position = Vector3.new(-73, 62.0000229, -20)
  296. o16.velocity = Vector3.new(-9.7303804e-22, 0.00290976651, 5.0894448e-22)
  297. o17.Parent = o16
  298. o17.MeshId = "http://www.roblox.com/asset/?id=33308774"
  299. o17.Scale = Vector3.new(20, 20, 20)
  300. o17.TextureId = "http://www.roblox.com/asset/?id=33309581"
  301. o17.MeshType = Enum.MeshType.FileMesh
  302. o18.Name = "RLeg"
  303. o18.Parent = o3
  304. o18.BrickColor = BrickColor.new("Bright green")
  305. o18.Position = Vector3.new(-93, 22.0000229, -20)
  306. o18.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  307. o18.Velocity = Vector3.new(-3.54106609e-22, 0.00290976651, 1.99494921e-22)
  308. o18.FormFactor = Enum.FormFactor.Symmetric
  309. o18.Size = Vector3.new(20, 40, 20)
  310. o18.CFrame = CFrame.new(-93, 22.0000229, -20, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  311. o18.BottomSurface = Enum.SurfaceType.Smooth
  312. o18.TopSurface = Enum.SurfaceType.Smooth
  313. o18.Color = Color3.new(0.294118, 0.592157, 0.294118)
  314. o18.Position = Vector3.new(-93, 22.0000229, -20)
  315. o18.velocity = Vector3.new(-3.54106609e-22, 0.00290976651, 1.99494921e-22)
  316. o19.Parent = o18
  317. o19.MeshId = "http://www.roblox.com/asset/?id=33308827"
  318. o19.Scale = Vector3.new(20, 20, 20)
  319. o19.TextureId = "http://www.roblox.com/asset/?id=33309581"
  320. o19.MeshType = Enum.MeshType.FileMesh
  321. o20.Name = "Tor"
  322. o20.Parent = o3
  323. o20.BrickColor = BrickColor.new("Bright green")
  324. o20.Position = Vector3.new(-103, 62.0000229, -20)
  325. o20.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  326. o20.Velocity = Vector3.new(-9.7303804e-22, 0.00290976651, 9.73167287e-22)
  327. o20.FormFactor = Enum.FormFactor.Symmetric
  328. o20.Size = Vector3.new(40, 40, 20)
  329. o20.CFrame = CFrame.new(-103, 62.0000229, -20, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  330. o20.BottomSurface = Enum.SurfaceType.Smooth
  331. o20.TopSurface = Enum.SurfaceType.Smooth
  332. o20.Color = Color3.new(0.294118, 0.592157, 0.294118)
  333. o20.Position = Vector3.new(-103, 62.0000229, -20)
  334. o20.velocity = Vector3.new(-9.7303804e-22, 0.00290976651, 9.73167287e-22)
  335. o21.Parent = o20
  336. o21.MeshId = "http://www.roblox.com/asset/?id=33308631"
  337. o21.Scale = Vector3.new(20, 20, 20)
  338. o21.TextureId = "http://www.roblox.com/asset/?id=33309581"
  339. o21.MeshType = Enum.MeshType.FileMesh
  340. o22.Parent = o20
  341. o22.Velocity = Vector3.new(0, 0, 0)
  342. o22.velocity = Vector3.new(0, 0, 0)
  343. o23.Parent = o20
  344. o23.CFrame = CFrame.new(-14, 60.3901443, 37, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  345. o23.maxTorque = Vector3.new(INF, INF, INF)
  346. o23.MaxTorque = Vector3.new(INF, INF, INF)
  347. o24.Name = "Right Shoulder"
  348. o24.Parent = o20
  349. o24.C0 = CFrame.new(20, 10, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  350. o24.C1 = CFrame.new(-10, 10, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  351. o24.Part0 = o20
  352. o24.Part1 = o16
  353. o24.MaxVelocity = 0.10000000149012
  354. o25.Name = "Left Shoulder"
  355. o25.Parent = o20
  356. o25.C0 = CFrame.new(-20, 10, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  357. o25.C1 = CFrame.new(10, 10, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  358. o25.Part0 = o20
  359. o25.Part1 = o4
  360. o25.MaxVelocity = 0.10000000149012
  361. o26.Name = "Right Hip"
  362. o26.Parent = o20
  363. o26.C0 = CFrame.new(20, -20, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  364. o26.C1 = CFrame.new(10, 20, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  365. o26.Part0 = o20
  366. o26.Part1 = o18
  367. o26.MaxVelocity = 0.10000000149012
  368. o27.Name = "Left Hip"
  369. o27.Parent = o20
  370. o27.C0 = CFrame.new(-20, -20, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  371. o27.C1 = CFrame.new(-10, 20, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  372. o27.Part0 = o20
  373. o27.Part1 = o6
  374. o27.MaxVelocity = 0.10000000149012
  375. o28.Name = "Helmet"
  376. o28.Parent = o3
  377. o28.BrickColor = BrickColor.new("Dark stone grey")
  378. o28.Transparency = 0.5
  379. o28.Position = Vector3.new(-103, 92.0000229, -20)
  380. o28.RotVelocity = Vector3.new(1.54732858e-23, 1.54740936e-23, 1.54732858e-23)
  381. o28.Velocity = Vector3.new(-1.43723661e-21, 0.00290976651, 1.43736586e-21)
  382. o28.FormFactor = Enum.FormFactor.Symmetric
  383. o28.Size = Vector3.new(6, 1, 6)
  384. o28.CFrame = CFrame.new(-103, 92.0000229, -20, 1, -2.47189312e-23, 2.47202991e-23, 2.47189312e-23, 1, -2.47200924e-23, -2.47202991e-23, 2.47200924e-23, 1)
  385. o28.BottomSurface = Enum.SurfaceType.Smooth
  386. o28.TopSurface = Enum.SurfaceType.Weld
  387. o28.Color = Color3.new(0.388235, 0.372549, 0.384314)
  388. o28.Position = Vector3.new(-103, 92.0000229, -20)
  389. o28.velocity = Vector3.new(-1.43723661e-21, 0.00290976651, 1.43736586e-21)
  390. o29.Parent = o28
  391. o29.Scale = Vector3.new(4.16666651, 25, 4.16666651)
  392. o30.Parent = o3
  393. o30.Health = 0
  394. o30.MaxHealth = 0
  395. o31.Name = "Head"
  396. o31.Parent = o3
  397. o31.Material = Enum.Material.DiamondPlate
  398. o31.BrickColor = BrickColor.new("Dark stone grey")
  399. o31.Position = Vector3.new(-76.5, 2.20987511, -20.5)
  400. o31.Anchored = true
  401. o31.FormFactor = Enum.FormFactor.Plate
  402. o31.Size = Vector3.new(5, 0.400000006, 5)
  403. o31.CFrame = CFrame.new(-76.5, 2.20987511, -20.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  404. o31.BottomSurface = Enum.SurfaceType.Smooth
  405. o31.TopSurface = Enum.SurfaceType.Smooth
  406. o31.Color = Color3.new(0.388235, 0.372549, 0.384314)
  407. o31.Position = Vector3.new(-76.5, 2.20987511, -20.5)
  408. o32.Parent = o31
  409.  
  410. runDummyScript(function()
  411. script.Parent.Touched:connect(function(h)
  412. local tor = h.Parent:FindFirstChild("Torso")
  413. if tor then
  414. tor.CFrame = script.Parent.Parent.VehicleSeat.CFrame*CFrame.new(0,3.5,0)
  415. script.Parent:remove()
  416. end
  417. end)
  418. end,o32)
  419.  
  420. mas.Parent = workspace
  421. mas:MakeJoints()
  422. local mas1 = mas:GetChildren()
  423. for i=1,#mas1 do
  424. mas1[i].Parent = script
  425. ypcall(function() mas1[i]:MakeJoints() end)
  426. end
  427. mas:Destroy()
  428. for i=1,#cors do
  429. coroutine.resume(cors[i])
  430. end
  431. mess_handle.Text = "Resetting"
  432. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  433. v:LoadCharacter()
  434. end
  435. wait(1)
  436. mess_handle:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement