Advertisement
lafur

Untitled

Oct 19th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 129.61 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,TouchTransmitter,Attachment,Status,Animator,Accessory
  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("Model")
  22. o5 = Instance.new("Model")
  23. o6 = Instance.new("Model")
  24. o7 = Instance.new("Part")
  25. o8 = Instance.new("BlockMesh")
  26. o9 = Instance.new("Decal")
  27. o10 = Instance.new("Decal")
  28. o11 = Instance.new("Decal")
  29. o12 = Instance.new("Decal")
  30. o13 = Instance.new("Part")
  31. o14 = Instance.new("BodyGyro")
  32. o15 = Instance.new("Part")
  33. o16 = Instance.new("BlockMesh")
  34. o17 = Instance.new("Decal")
  35. o18 = Instance.new("Decal")
  36. o19 = Instance.new("Part")
  37. o20 = Instance.new("BlockMesh")
  38. o21 = Instance.new("Decal")
  39. o22 = Instance.new("Decal")
  40. o23 = Instance.new("Decal")
  41. o24 = Instance.new("Decal")
  42. o25 = Instance.new("Part")
  43. o26 = Instance.new("BlockMesh")
  44. o27 = Instance.new("Decal")
  45. o28 = Instance.new("Decal")
  46. o29 = Instance.new("Decal")
  47. o30 = Instance.new("Part")
  48. o31 = Instance.new("BlockMesh")
  49. o32 = Instance.new("Decal")
  50. o33 = Instance.new("Decal")
  51. o34 = Instance.new("Decal")
  52. o35 = Instance.new("Part")
  53. o36 = Instance.new("BlockMesh")
  54. o37 = Instance.new("BodyGyro")
  55. o38 = Instance.new("Decal")
  56. o39 = Instance.new("Decal")
  57. o40 = Instance.new("Decal")
  58. o41 = Instance.new("Decal")
  59. o42 = Instance.new("Decal")
  60. o43 = Instance.new("Decal")
  61. o44 = Instance.new("Part")
  62. o45 = Instance.new("BlockMesh")
  63. o46 = Instance.new("Decal")
  64. o47 = Instance.new("Decal")
  65. o48 = Instance.new("Decal")
  66. o49 = Instance.new("Part")
  67. o50 = Instance.new("Part")
  68. o51 = Instance.new("Part")
  69. o52 = Instance.new("BlockMesh")
  70. o53 = Instance.new("Decal")
  71. o54 = Instance.new("Decal")
  72. o55 = Instance.new("Decal")
  73. o56 = Instance.new("Decal")
  74. o57 = Instance.new("Part")
  75. o58 = Instance.new("BlockMesh")
  76. o59 = Instance.new("BodyGyro")
  77. o60 = Instance.new("Decal")
  78. o61 = Instance.new("Decal")
  79. o62 = Instance.new("Decal")
  80. o63 = Instance.new("Decal")
  81. o64 = Instance.new("Model")
  82. o65 = Instance.new("Part")
  83. o66 = Instance.new("BlockMesh")
  84. o67 = Instance.new("Decal")
  85. o68 = Instance.new("Decal")
  86. o69 = Instance.new("Model")
  87. o70 = Instance.new("Part")
  88. o71 = Instance.new("BlockMesh")
  89. o72 = Instance.new("Decal")
  90. o73 = Instance.new("Decal")
  91. o74 = Instance.new("Decal")
  92. o75 = Instance.new("Part")
  93. o76 = Instance.new("BlockMesh")
  94. o77 = Instance.new("BodyGyro")
  95. o78 = Instance.new("Decal")
  96. o79 = Instance.new("Decal")
  97. o80 = Instance.new("Decal")
  98. o81 = Instance.new("Decal")
  99. o82 = Instance.new("Part")
  100. o83 = Instance.new("BlockMesh")
  101. o84 = Instance.new("Decal")
  102. o85 = Instance.new("Decal")
  103. o86 = Instance.new("Decal")
  104. o87 = Instance.new("Model")
  105. o88 = Instance.new("Part")
  106. o89 = Instance.new("BlockMesh")
  107. o90 = Instance.new("Decal")
  108. o91 = Instance.new("Decal")
  109. o92 = Instance.new("Decal")
  110. o93 = Instance.new("Decal")
  111. o94 = Instance.new("Part")
  112. o95 = Instance.new("BlockMesh")
  113. o96 = Instance.new("Decal")
  114. o97 = Instance.new("Decal")
  115. o98 = Instance.new("Decal")
  116. o99 = Instance.new("Decal")
  117. o100 = Instance.new("Part")
  118. o101 = Instance.new("BlockMesh")
  119. o102 = Instance.new("BodyGyro")
  120. o103 = Instance.new("Decal")
  121. o104 = Instance.new("Decal")
  122. o105 = Instance.new("Decal")
  123. o106 = Instance.new("Decal")
  124. o107 = Instance.new("Decal")
  125. o108 = Instance.new("Part")
  126. o109 = Instance.new("BlockMesh")
  127. o110 = Instance.new("Decal")
  128. o111 = Instance.new("Decal")
  129. o112 = Instance.new("Decal")
  130. o113 = Instance.new("Decal")
  131. o114 = Instance.new("Decal")
  132. o115 = Instance.new("Model")
  133. o116 = Instance.new("Part")
  134. o117 = Instance.new("BlockMesh")
  135. o118 = Instance.new("Part")
  136. o119 = Instance.new("BlockMesh")
  137. o120 = Instance.new("Part")
  138. o121 = Instance.new("BlockMesh")
  139. o122 = Instance.new("Part")
  140. o123 = Instance.new("BlockMesh")
  141. o124 = Instance.new("Part")
  142. o125 = Instance.new("BlockMesh")
  143. o126 = Instance.new("Part")
  144. o127 = Instance.new("BlockMesh")
  145. o128 = Instance.new("Part")
  146. o129 = Instance.new("SpecialMesh")
  147. o130 = Instance.new("Part")
  148. o131 = Instance.new("SpecialMesh")
  149. o132 = Instance.new("Part")
  150. o133 = Instance.new("CylinderMesh")
  151. o134 = Instance.new("Part")
  152. o135 = Instance.new("CylinderMesh")
  153. o136 = Instance.new("Part")
  154. o137 = Instance.new("BlockMesh")
  155. o138 = Instance.new("Part")
  156. o139 = Instance.new("BlockMesh")
  157. o140 = Instance.new("Part")
  158. o141 = Instance.new("BlockMesh")
  159. o142 = Instance.new("Part")
  160. o143 = Instance.new("BlockMesh")
  161. o144 = Instance.new("Decal")
  162. o145 = Instance.new("Decal")
  163. o146 = Instance.new("Decal")
  164. o147 = Instance.new("Part")
  165. o148 = Instance.new("BlockMesh")
  166. o149 = Instance.new("Decal")
  167. o150 = Instance.new("Decal")
  168. o151 = Instance.new("Decal")
  169. o152 = Instance.new("Part")
  170. o153 = Instance.new("BlockMesh")
  171. o154 = Instance.new("WedgePart")
  172. o155 = Instance.new("WedgePart")
  173. o156 = Instance.new("Model")
  174. o157 = Instance.new("Part")
  175. o158 = Instance.new("BlockMesh")
  176. o159 = Instance.new("BodyVelocity")
  177. o160 = Instance.new("BodyGyro")
  178. o161 = Instance.new("BodyAngularVelocity")
  179. o162 = Instance.new("Decal")
  180. o163 = Instance.new("Decal")
  181. o164 = Instance.new("Decal")
  182. o165 = Instance.new("Decal")
  183. o166 = Instance.new("Decal")
  184. o167 = Instance.new("VehicleSeat")
  185. o168 = Instance.new("BlockMesh")
  186. o169 = Instance.new("Weld")
  187. o170 = Instance.new("Model")
  188. o171 = Instance.new("Part")
  189. o172 = Instance.new("BodyGyro")
  190. o173 = Instance.new("Part")
  191. o174 = Instance.new("BlockMesh")
  192. o175 = Instance.new("Decal")
  193. o176 = Instance.new("Decal")
  194. o177 = Instance.new("Decal")
  195. o178 = Instance.new("Part")
  196. o179 = Instance.new("BlockMesh")
  197. o180 = Instance.new("BodyGyro")
  198. o181 = Instance.new("Decal")
  199. o182 = Instance.new("Decal")
  200. o183 = Instance.new("Decal")
  201. o184 = Instance.new("Decal")
  202. o185 = Instance.new("Part")
  203. o186 = Instance.new("Part")
  204. o187 = Instance.new("Part")
  205. o188 = Instance.new("BlockMesh")
  206. o189 = Instance.new("Decal")
  207. o190 = Instance.new("Decal")
  208. o191 = Instance.new("Decal")
  209. o192 = Instance.new("Decal")
  210. o193 = Instance.new("Part")
  211. o194 = Instance.new("BlockMesh")
  212. o195 = Instance.new("Decal")
  213. o196 = Instance.new("Decal")
  214. o197 = Instance.new("Decal")
  215. o198 = Instance.new("Decal")
  216. o199 = Instance.new("Part")
  217. o200 = Instance.new("BlockMesh")
  218. o201 = Instance.new("Decal")
  219. o202 = Instance.new("Decal")
  220. o203 = Instance.new("Decal")
  221. o204 = Instance.new("Decal")
  222. o205 = Instance.new("Part")
  223. o206 = Instance.new("BlockMesh")
  224. o207 = Instance.new("Decal")
  225. o208 = Instance.new("Decal")
  226. o209 = Instance.new("Decal")
  227. o210 = Instance.new("Part")
  228. o211 = Instance.new("BlockMesh")
  229. o212 = Instance.new("Decal")
  230. o213 = Instance.new("Decal")
  231. o214 = Instance.new("Part")
  232. o215 = Instance.new("BlockMesh")
  233. o216 = Instance.new("Decal")
  234. o217 = Instance.new("Decal")
  235. o218 = Instance.new("Decal")
  236. o219 = Instance.new("Part")
  237. o220 = Instance.new("BlockMesh")
  238. o221 = Instance.new("BodyGyro")
  239. o222 = Instance.new("Decal")
  240. o223 = Instance.new("Decal")
  241. o224 = Instance.new("Decal")
  242. o225 = Instance.new("Decal")
  243. o226 = Instance.new("BoolValue")
  244. o227 = Instance.new("NumberValue")
  245. o228 = Instance.new("Model")
  246. o229 = Instance.new("TrussPart")
  247. o230 = Instance.new("Decal")
  248. o231 = Instance.new("TrussPart")
  249. o232 = Instance.new("TrussPart")
  250. o233 = Instance.new("TrussPart")
  251. o234 = Instance.new("Script")
  252. o235 = Instance.new("Part")
  253. o236 = Instance.new("BlockMesh")
  254. o237 = Instance.new("Part")
  255. o238 = Instance.new("Script")
  256. o240 = Instance.new("Part")
  257. o241 = Instance.new("SpecialMesh")
  258. o242 = Instance.new("Model")
  259. o243 = Instance.new("Part")
  260. o244 = Instance.new("SpecialMesh")
  261. o249 = Instance.new("Sound")
  262. o250 = Instance.new("RemoteEvent")
  263. o251 = Instance.new("Sound")
  264. o252 = Instance.new("RemoteEvent")
  265. o253 = Instance.new("Sound")
  266. o254 = Instance.new("RemoteEvent")
  267. o255 = Instance.new("Sound")
  268. o256 = Instance.new("RemoteEvent")
  269. o257 = Instance.new("Sound")
  270. o258 = Instance.new("RemoteEvent")
  271. o259 = Instance.new("Sound")
  272. o260 = Instance.new("RemoteEvent")
  273. o261 = Instance.new("Sound")
  274. o262 = Instance.new("RemoteEvent")
  275. o263 = Instance.new("Sound")
  276. o264 = Instance.new("RemoteEvent")
  277. o265 = Instance.new("Sound")
  278. o266 = Instance.new("RemoteEvent")
  279. o267 = Instance.new("Decal")
  280. o268 = Instance.new("Part")
  281. o269 = Instance.new("Decal")
  282. o278 = Instance.new("Motor6D")
  283. o279 = Instance.new("Motor6D")
  284. o280 = Instance.new("Motor6D")
  285. o281 = Instance.new("Motor6D")
  286. o282 = Instance.new("Motor6D")
  287. o283 = Instance.new("Part")
  288. o286 = Instance.new("Part")
  289. o289 = Instance.new("Part")
  290. o291 = Instance.new("Part")
  291. o293 = Instance.new("Humanoid")
  292. o296 = Instance.new("Part")
  293. o298 = Instance.new("Motor6D")
  294. o299 = Instance.new("Script")
  295. o300 = Instance.new("LocalScript")
  296. o301 = Instance.new("Script")
  297. o302 = Instance.new("LocalScript")
  298. o303 = Instance.new("StringValue")
  299. o304 = Instance.new("Animation")
  300. o305 = Instance.new("NumberValue")
  301. o306 = Instance.new("Animation")
  302. o307 = Instance.new("NumberValue")
  303. o308 = Instance.new("StringValue")
  304. o309 = Instance.new("Animation")
  305. o310 = Instance.new("StringValue")
  306. o311 = Instance.new("Animation")
  307. o312 = Instance.new("StringValue")
  308. o313 = Instance.new("Animation")
  309. o314 = Instance.new("StringValue")
  310. o315 = Instance.new("Animation")
  311. o316 = Instance.new("StringValue")
  312. o317 = Instance.new("Animation")
  313. o318 = Instance.new("StringValue")
  314. o319 = Instance.new("Animation")
  315. o320 = Instance.new("StringValue")
  316. o321 = Instance.new("Animation")
  317. o322 = Instance.new("NumberValue")
  318. o323 = Instance.new("BodyColors")
  319. o324 = Instance.new("Pants")
  320. o325 = Instance.new("Shirt")
  321. o327 = Instance.new("Part")
  322. o328 = Instance.new("SpecialMesh")
  323. o330 = Instance.new("Vector3Value")
  324. o331 = Instance.new("Weld")
  325. o3.Parent = mas
  326. o4.Parent = o3
  327. o5.Parent = o4
  328. o6.Name = "Right Arm"
  329. o6.Parent = o5
  330. o7.Parent = o6
  331. o7.BrickColor = BrickColor.new("Light orange")
  332. o7.Position = Vector3.new(-158.111984, 14.9096203, 163.358765)
  333. o7.Rotation = Vector3.new(48.0699997, 18.2999992, -19.2700005)
  334. o7.RotVelocity = Vector3.new(0.00386179937, -0.000266313058, -0.00178245502)
  335. o7.Velocity = Vector3.new(-0.000985802384, -0.0833619982, -0.00116943056)
  336. o7.CanCollide = false
  337. o7.FormFactor = Enum.FormFactor.Plate
  338. o7.Size = Vector3.new(1, 1.60000002, 1)
  339. o7.CFrame = CFrame.new(-158.111984, 14.9096203, 163.358765, 0.896238327, 0.313317776, 0.313988566, 1.15410403e-05, 0.707846045, -0.706366777, -0.443572819, 0.633076608, 0.634395123)
  340. o7.BottomSurface = Enum.SurfaceType.Smooth
  341. o7.FrontSurface = Enum.SurfaceType.Weld
  342. o7.LeftSurface = Enum.SurfaceType.Hinge
  343. o7.TopSurface = Enum.SurfaceType.Smooth
  344. o7.Color = Color3.new(0.917647, 0.721569, 0.572549)
  345. o7.Position = Vector3.new(-158.111984, 14.9096203, 163.358765)
  346. o7.velocity = Vector3.new(-0.000985802384, -0.0833619982, -0.00116943056)
  347. o8.Parent = o7
  348. o9.Parent = o7
  349. o9.Texture = "http://www.roblox.com/asset/?id=34059325"
  350. o9.Face = Enum.NormalId.Top
  351. o10.Parent = o7
  352. o10.Texture = "http://www.roblox.com/asset/?id=34059325"
  353. o10.Face = Enum.NormalId.Right
  354. o11.Parent = o7
  355. o11.Texture = "http://www.roblox.com/asset/?id=34059325"
  356. o11.Face = Enum.NormalId.Bottom
  357. o12.Parent = o7
  358. o12.Texture = "http://www.roblox.com/asset/?id=34059325"
  359. o12.Face = Enum.NormalId.Back
  360. o13.Name = "Hand"
  361. o13.Parent = o6
  362. o13.BrickColor = BrickColor.new("Light orange")
  363. o13.Position = Vector3.new(-159.950211, 17.02882, 161.899261)
  364. o13.Rotation = Vector3.new(-131.919998, -18.2999992, -160.729996)
  365. o13.CanCollide = false
  366. o13.FormFactor = Enum.FormFactor.Plate
  367. o13.Size = Vector3.new(3, 1.60000002, 1)
  368. o13.CFrame = CFrame.new(-159.950211, 17.02882, 161.899261, -0.896249354, 0.313340753, -0.313934207, 1.58476832e-05, 0.707798064, 0.706414819, 0.443550557, 0.633118808, -0.634368539)
  369. o13.BottomSurface = Enum.SurfaceType.Smooth
  370. o13.FrontSurface = Enum.SurfaceType.Weld
  371. o13.TopSurface = Enum.SurfaceType.Smooth
  372. o13.Color = Color3.new(0.917647, 0.721569, 0.572549)
  373. o13.Position = Vector3.new(-159.950211, 17.02882, 161.899261)
  374. o14.Parent = o13
  375. o14.CFrame = CFrame.new(-153.855713, 15.9081287, 161.808838, -0.896267891, 0.313588858, -0.313633442, -1.36345625e-05, 0.707137585, 0.707075953, 0.443513155, 0.633733749, -0.633780479)
  376. o14.maxTorque = Vector3.new(400000, 400000, 400000)
  377. o14.MaxTorque = Vector3.new(400000, 400000, 400000)
  378. o15.Parent = o6
  379. o15.BrickColor = BrickColor.new("Light orange")
  380. o15.Position = Vector3.new(-159.008377, 19.9096966, 163.801895)
  381. o15.Rotation = Vector3.new(90, 0, 153.669998)
  382. o15.RotVelocity = Vector3.new(-0.000181641313, -0.000317393569, -0.00152810977)
  383. o15.Velocity = Vector3.new(-0.00089741766, -0.0848318338, -0.000286359922)
  384. o15.FormFactor = Enum.FormFactor.Plate
  385. o15.Size = Vector3.new(3, 0.400000006, 1)
  386. o15.CFrame = CFrame.new(-159.008377, 19.9096966, 163.801895, -0.896236897, -0.44357571, 2.64350183e-05, 1.2540022e-05, -8.49321732e-05, -1, 0.44357571, -0.896236897, 8.16817992e-05)
  387. o15.BottomSurface = Enum.SurfaceType.Smooth
  388. o15.LeftSurface = Enum.SurfaceType.Hinge
  389. o15.TopSurface = Enum.SurfaceType.Smooth
  390. o15.Color = Color3.new(0.917647, 0.721569, 0.572549)
  391. o15.Position = Vector3.new(-159.008377, 19.9096966, 163.801895)
  392. o15.velocity = Vector3.new(-0.00089741766, -0.0848318338, -0.000286359922)
  393. o16.Parent = o15
  394. o17.Parent = o15
  395. o17.Texture = "http://www.roblox.com/asset/?id=34059325"
  396. o17.Face = Enum.NormalId.Back
  397. o18.Parent = o15
  398. o18.Texture = "http://www.roblox.com/asset/?id=34059325"
  399. o18.Face = Enum.NormalId.Right
  400. o19.Parent = o6
  401. o19.BrickColor = BrickColor.new("Light orange")
  402. o19.Position = Vector3.new(-159.008347, 18.909626, 163.802032)
  403. o19.Rotation = Vector3.new(-90, 0, 26.3299999)
  404. o19.RotVelocity = Vector3.new(0.00029072864, -0.000395062496, -0.000179395138)
  405. o19.Velocity = Vector3.new(0.000199233531, -0.0791918784, -0.000680571015)
  406. o19.CanCollide = false
  407. o19.FormFactor = Enum.FormFactor.Plate
  408. o19.Size = Vector3.new(3, 1.60000002, 1)
  409. o19.CFrame = CFrame.new(-159.008347, 18.909626, 163.802032, 0.896235287, -0.443579167, -4.15250906e-05, 8.53712663e-06, -7.63647477e-05, 1.00000012, -0.443579257, -0.896235168, -6.46538901e-05)
  410. o19.BottomSurface = Enum.SurfaceType.Smooth
  411. o19.FrontSurface = Enum.SurfaceType.Weld
  412. o19.TopSurface = Enum.SurfaceType.Smooth
  413. o19.Color = Color3.new(0.917647, 0.721569, 0.572549)
  414. o19.Position = Vector3.new(-159.008347, 18.909626, 163.802032)
  415. o19.velocity = Vector3.new(0.000199233531, -0.0791918784, -0.000680571015)
  416. o20.Parent = o19
  417. o21.Parent = o19
  418. o21.Texture = "http://www.roblox.com/asset/?id=34059325"
  419. o21.Face = Enum.NormalId.Top
  420. o22.Parent = o19
  421. o22.Texture = "http://www.roblox.com/asset/?id=34059325"
  422. o22.Face = Enum.NormalId.Right
  423. o23.Parent = o19
  424. o23.Texture = "http://www.roblox.com/asset/?id=34059325"
  425. o23.Face = Enum.NormalId.Bottom
  426. o24.Parent = o19
  427. o24.Texture = "http://www.roblox.com/asset/?id=34059325"
  428. o24.Face = Enum.NormalId.Left
  429. o25.Parent = o6
  430. o25.BrickColor = BrickColor.new("Light orange")
  431. o25.Position = Vector3.new(-158.786575, 19.9096661, 164.250061)
  432. o25.Rotation = Vector3.new(-180, 63.6699982, 90)
  433. o25.RotVelocity = Vector3.new(0.000300618005, -0.000289602816, -0.000175488516)
  434. o25.Velocity = Vector3.new(-0.000601271226, -0.0801979378, -0.000410868088)
  435. o25.CanCollide = false
  436. o25.FormFactor = Enum.FormFactor.Plate
  437. o25.Size = Vector3.new(1, 0.600000024, 3)
  438. o25.CFrame = CFrame.new(-158.786575, 19.9096661, 164.250061, 3.74746523e-05, -0.443582982, 0.896233559, -1.00000024, -7.24524507e-05, 5.9537756e-06, 6.22933221e-05, -0.89623332, -0.443583101)
  439. o25.BottomSurface = Enum.SurfaceType.Smooth
  440. o25.RightSurface = Enum.SurfaceType.Weld
  441. o25.TopSurface = Enum.SurfaceType.Hinge
  442. o25.Color = Color3.new(0.917647, 0.721569, 0.572549)
  443. o25.Position = Vector3.new(-158.786575, 19.9096661, 164.250061)
  444. o25.velocity = Vector3.new(-0.000601271226, -0.0801979378, -0.000410868088)
  445. o26.Parent = o25
  446. o27.Parent = o25
  447. o27.Texture = "http://www.roblox.com/asset/?id=34059325"
  448. o27.Face = Enum.NormalId.Left
  449. o28.Parent = o25
  450. o28.Texture = "http://www.roblox.com/asset/?id=34059325"
  451. o28.Face = Enum.NormalId.Back
  452. o29.Parent = o25
  453. o29.Texture = "http://www.roblox.com/asset/?id=34059325"
  454. o29.Face = Enum.NormalId.Bottom
  455. o30.Parent = o6
  456. o30.BrickColor = BrickColor.new("Light orange")
  457. o30.Position = Vector3.new(-159.008163, 14.9096222, 163.802277)
  458. o30.Rotation = Vector3.new(-90, 0, 26.3299999)
  459. o30.RotVelocity = Vector3.new(0.000311705546, -0.00012324359, -0.000182293748)
  460. o30.Velocity = Vector3.new(-0.0010329684, -0.0813561827, -0.00194046728)
  461. o30.CanCollide = false
  462. o30.FormFactor = Enum.FormFactor.Plate
  463. o30.Size = Vector3.new(1, 1.60000002, 1)
  464. o30.CFrame = CFrame.new(-159.008163, 14.9096222, 163.802277, 0.896232665, -0.443585128, -3.74301417e-05, 6.63841229e-06, -7.12069523e-05, 1.00000036, -0.443585217, -0.896232545, -6.06596004e-05)
  465. o30.BackSurface = Enum.SurfaceType.Weld
  466. o30.BottomSurface = Enum.SurfaceType.Smooth
  467. o30.TopSurface = Enum.SurfaceType.Smooth
  468. o30.Color = Color3.new(0.917647, 0.721569, 0.572549)
  469. o30.Position = Vector3.new(-159.008163, 14.9096222, 163.802277)
  470. o30.velocity = Vector3.new(-0.0010329684, -0.0813561827, -0.00194046728)
  471. o31.Parent = o30
  472. o32.Parent = o30
  473. o32.Texture = "http://www.roblox.com/asset/?id=34059325"
  474. o32.Face = Enum.NormalId.Top
  475. o33.Parent = o30
  476. o33.Texture = "http://www.roblox.com/asset/?id=34059325"
  477. o33.Face = Enum.NormalId.Bottom
  478. o34.Parent = o30
  479. o34.Texture = "http://www.roblox.com/asset/?id=34059325"
  480. o35.Name = "For"
  481. o35.Parent = o6
  482. o35.BrickColor = BrickColor.new("Light orange")
  483. o35.Position = Vector3.new(-159.79306, 16.6757431, 162.216492)
  484. o35.Rotation = Vector3.new(48.079998, 18.2999992, -19.2700005)
  485. o35.RotVelocity = Vector3.new(0.00337902387, -0.00018517088, -0.00159406743)
  486. o35.Velocity = Vector3.new(0.00197373657, -0.0750666261, 0.0038993652)
  487. o35.FormFactor = Enum.FormFactor.Plate
  488. o35.Size = Vector3.new(3, 0.400000006, 4)
  489. o35.CFrame = CFrame.new(-159.79306, 16.6757431, 162.216492, 0.896232247, 0.313366085, 0.313957721, 7.55617657e-06, 0.707762539, -0.706450403, -0.443585128, 0.633145988, 0.634317219)
  490. o35.BottomSurface = Enum.SurfaceType.Smooth
  491. o35.TopSurface = Enum.SurfaceType.Smooth
  492. o35.Color = Color3.new(0.917647, 0.721569, 0.572549)
  493. o35.Position = Vector3.new(-159.79306, 16.6757431, 162.216492)
  494. o35.velocity = Vector3.new(0.00197373657, -0.0750666261, 0.0038993652)
  495. o36.Parent = o35
  496. o36.Scale = Vector3.new(1, 4, 1)
  497. o37.Parent = o35
  498. o37.CFrame = CFrame.new(-153.855728, 15.9081268, 161.808838, -0.896267891, 0.313588858, -0.313633442, -1.36345625e-05, 0.707137585, 0.707075953, 0.443513155, 0.633733749, -0.633780479)
  499. o38.Parent = o35
  500. o38.Texture = "http://www.roblox.com/asset/?id=34059325"
  501. o38.Face = Enum.NormalId.Top
  502. o39.Parent = o35
  503. o39.Texture = "http://www.roblox.com/asset/?id=34059325"
  504. o39.Face = Enum.NormalId.Top
  505. o40.Parent = o35
  506. o40.Texture = "http://www.roblox.com/asset/?id=34059325"
  507. o40.Face = Enum.NormalId.Right
  508. o41.Parent = o35
  509. o41.Texture = "http://www.roblox.com/asset/?id=34059325"
  510. o41.Face = Enum.NormalId.Bottom
  511. o42.Parent = o35
  512. o42.Texture = "http://www.roblox.com/asset/?id=34059325"
  513. o42.Face = Enum.NormalId.Bottom
  514. o43.Parent = o35
  515. o43.Texture = "http://www.roblox.com/asset/?id=34059325"
  516. o43.Face = Enum.NormalId.Left
  517. o44.Parent = o6
  518. o44.BrickColor = BrickColor.new("Light orange")
  519. o44.Position = Vector3.new(-159.230148, 19.9095974, 163.353867)
  520. o44.Rotation = Vector3.new(-180, 63.6699982, 90)
  521. o44.RotVelocity = Vector3.new(0.000264816306, -0.000430454093, -0.000204159049)
  522. o44.Velocity = Vector3.new(0.000344574364, -0.0797080621, -0.000395075127)
  523. o44.CanCollide = false
  524. o44.FormFactor = Enum.FormFactor.Plate
  525. o44.Size = Vector3.new(1, 0.600000024, 3)
  526. o44.CFrame = CFrame.new(-159.230148, 19.9095974, 163.353867, 3.63225408e-05, -0.443584949, 0.896232307, -1, -6.80324956e-05, 6.85575515e-06, 5.79318148e-05, -0.896232307, -0.443584949)
  527. o44.BottomSurface = Enum.SurfaceType.Hinge
  528. o44.RightSurface = Enum.SurfaceType.Weld
  529. o44.TopSurface = Enum.SurfaceType.Smooth
  530. o44.Color = Color3.new(0.917647, 0.721569, 0.572549)
  531. o44.Position = Vector3.new(-159.230148, 19.9095974, 163.353867)
  532. o44.velocity = Vector3.new(0.000344574364, -0.0797080621, -0.000395075127)
  533. o45.Parent = o44
  534. o46.Parent = o44
  535. o46.Texture = "http://www.roblox.com/asset/?id=34059325"
  536. o46.Face = Enum.NormalId.Top
  537. o47.Parent = o44
  538. o47.Texture = "http://www.roblox.com/asset/?id=34059325"
  539. o47.Face = Enum.NormalId.Left
  540. o48.Parent = o44
  541. o48.Texture = "http://www.roblox.com/asset/?id=34059325"
  542. o48.Face = Enum.NormalId.Back
  543. o49.Parent = o6
  544. o49.BrickColor = BrickColor.new("Bright blue")
  545. o49.Position = Vector3.new(-160.389328, 17.4523239, 161.011765)
  546. o49.Rotation = Vector3.new(0, -63.6699982, -44.9500008)
  547. o49.RotVelocity = Vector3.new(0.00339921331, -0.000243194678, -0.00156721578)
  548. o49.Velocity = Vector3.new(0.00356645603, -0.0698554814, 0.00603668066)
  549. o49.CanCollide = false
  550. o49.FormFactor = Enum.FormFactor.Plate
  551. o49.Size = Vector3.new(1, 0.400000006, 3)
  552. o49.CFrame = CFrame.new(-160.389328, 17.4523239, 161.011765, 0.313917518, 0.313367486, -0.896245837, -0.706452847, 0.707760096, 2.352107e-05, 0.634334445, 0.633148074, 0.44355762)
  553. o49.BottomSurface = Enum.SurfaceType.Smooth
  554. o49.RightSurface = Enum.SurfaceType.Weld
  555. o49.TopSurface = Enum.SurfaceType.Hinge
  556. o49.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  557. o49.Position = Vector3.new(-160.389328, 17.4523239, 161.011765)
  558. o49.velocity = Vector3.new(0.00356645603, -0.0698554814, 0.00603668066)
  559. o50.Parent = o6
  560. o50.BrickColor = BrickColor.new("Bright blue")
  561. o50.Position = Vector3.new(-160.138641, 18.0185337, 161.518295)
  562. o50.Rotation = Vector3.new(0, -63.6699982, -44.9500008)
  563. o50.RotVelocity = Vector3.new(0.00339921331, -0.000243194678, -0.00156721578)
  564. o50.Velocity = Vector3.new(0.00433064345, -0.0719701648, 0.00802231394)
  565. o50.CanCollide = false
  566. o50.FormFactor = Enum.FormFactor.Plate
  567. o50.Size = Vector3.new(1, 0.400000006, 3)
  568. o50.CFrame = CFrame.new(-160.138641, 18.0185337, 161.518295, 0.313917518, 0.313367486, -0.896245837, -0.706452847, 0.707760096, 2.352107e-05, 0.634334445, 0.633148074, 0.44355762)
  569. o50.BottomSurface = Enum.SurfaceType.Hinge
  570. o50.RightSurface = Enum.SurfaceType.Weld
  571. o50.TopSurface = Enum.SurfaceType.Smooth
  572. o50.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  573. o50.Position = Vector3.new(-160.138641, 18.0185337, 161.518295)
  574. o50.velocity = Vector3.new(0.00433064345, -0.0719701648, 0.00802231394)
  575. o51.Parent = o6
  576. o51.BrickColor = BrickColor.new("Light orange")
  577. o51.Position = Vector3.new(-159.904388, 14.9096184, 164.245865)
  578. o51.Rotation = Vector3.new(48.079998, 18.2999992, -19.2700005)
  579. o51.RotVelocity = Vector3.new(0.00328875589, -0.000528530974, -0.00168380758)
  580. o51.Velocity = Vector3.new(-0.000124267302, -0.0817377642, -0.00236300915)
  581. o51.CanCollide = false
  582. o51.FormFactor = Enum.FormFactor.Plate
  583. o51.Size = Vector3.new(1, 1.60000002, 1)
  584. o51.CFrame = CFrame.new(-159.904388, 14.9096184, 164.245865, 0.896232247, 0.313367814, 0.313956052, 7.09266715e-06, 0.70775938, -0.706453562, -0.443585128, 0.63314867, 0.634314597)
  585. o51.BottomSurface = Enum.SurfaceType.Smooth
  586. o51.FrontSurface = Enum.SurfaceType.Weld
  587. o51.RightSurface = Enum.SurfaceType.Hinge
  588. o51.TopSurface = Enum.SurfaceType.Smooth
  589. o51.Color = Color3.new(0.917647, 0.721569, 0.572549)
  590. o51.Position = Vector3.new(-159.904388, 14.9096184, 164.245865)
  591. o51.velocity = Vector3.new(-0.000124267302, -0.0817377642, -0.00236300915)
  592. o52.Parent = o51
  593. o53.Parent = o51
  594. o53.Texture = "http://www.roblox.com/asset/?id=34059325"
  595. o53.Face = Enum.NormalId.Top
  596. o54.Parent = o51
  597. o54.Texture = "http://www.roblox.com/asset/?id=34059325"
  598. o54.Face = Enum.NormalId.Back
  599. o55.Parent = o51
  600. o55.Texture = "http://www.roblox.com/asset/?id=34059325"
  601. o55.Face = Enum.NormalId.Bottom
  602. o56.Parent = o51
  603. o56.Texture = "http://www.roblox.com/asset/?id=34059325"
  604. o56.Face = Enum.NormalId.Left
  605. o57.Name = "Back"
  606. o57.Parent = o6
  607. o57.BrickColor = BrickColor.new("Light orange")
  608. o57.Position = Vector3.new(-159.00824, 16.9096241, 163.80217)
  609. o57.Rotation = Vector3.new(0, 26.3299999, 0)
  610. o57.RotVelocity = Vector3.new(0.000246818992, -0.000562197121, -0.00019411034)
  611. o57.Velocity = Vector3.new(-0.000719947624, -0.0816725045, -0.00109460088)
  612. o57.CanCollide = false
  613. o57.FormFactor = Enum.FormFactor.Plate
  614. o57.Size = Vector3.new(3, 3, 1.60000002)
  615. o57.CFrame = CFrame.new(-159.00824, 16.9096241, 163.80217, 0.896232545, -3.66279601e-05, 0.443585277, 7.07279469e-06, 1.00000024, 6.85208797e-05, -0.443585396, -5.80595588e-05, 0.896232307)
  616. o57.BottomSurface = Enum.SurfaceType.Smooth
  617. o57.TopSurface = Enum.SurfaceType.Weld
  618. o57.Color = Color3.new(0.917647, 0.721569, 0.572549)
  619. o57.Position = Vector3.new(-159.00824, 16.9096241, 163.80217)
  620. o57.velocity = Vector3.new(-0.000719947624, -0.0816725045, -0.00109460088)
  621. o58.Parent = o57
  622. o59.Parent = o57
  623. o59.CFrame = CFrame.new(-153.855743, 15.9081306, 161.808838, -0.896250248, 0, -0.443548888, 0, 1, 0, 0.443548888, 0, -0.896250248)
  624. o60.Parent = o57
  625. o60.Texture = "http://www.roblox.com/asset/?id=34059325"
  626. o61.Parent = o57
  627. o61.Texture = "http://www.roblox.com/asset/?id=34059325"
  628. o61.Face = Enum.NormalId.Right
  629. o62.Parent = o57
  630. o62.Texture = "http://www.roblox.com/asset/?id=34059325"
  631. o62.Face = Enum.NormalId.Back
  632. o63.Parent = o57
  633. o63.Texture = "http://www.roblox.com/asset/?id=34059325"
  634. o63.Face = Enum.NormalId.Left
  635. o64.Name = "Legs"
  636. o64.Parent = o5
  637. o65.Parent = o64
  638. o65.BrickColor = BrickColor.new("Light orange")
  639. o65.Position = Vector3.new(-153.857117, 12.1099882, 161.810593)
  640. o65.Rotation = Vector3.new(180, -26.3299999, 180)
  641. o65.RotVelocity = Vector3.new(0.000105543069, 7.45646139e-06, -4.86698918e-05)
  642. o65.Velocity = Vector3.new(-0.000222170522, -0.000612236734, -0.000597380276)
  643. o65.CanCollide = false
  644. o65.FormFactor = Enum.FormFactor.Plate
  645. o65.Size = Vector3.new(1, 0.400000006, 4)
  646. o65.CFrame = CFrame.new(-153.857117, 12.1099882, 161.810593, -0.896231115, -1.34770717e-05, -0.443587393, -4.11658988e-07, 1, -2.95502759e-05, 0.443587393, -2.63012698e-05, -0.896231115)
  647. o65.BottomSurface = Enum.SurfaceType.Smooth
  648. o65.TopSurface = Enum.SurfaceType.Weld
  649. o65.Color = Color3.new(0.917647, 0.721569, 0.572549)
  650. o65.Position = Vector3.new(-153.857117, 12.1099882, 161.810593)
  651. o65.velocity = Vector3.new(-0.000222170522, -0.000612236734, -0.000597380276)
  652. o66.Parent = o65
  653. o67.Parent = o65
  654. o67.Texture = "http://www.roblox.com/asset/?id=34059325"
  655. o68.Parent = o65
  656. o68.Texture = "http://www.roblox.com/asset/?id=34059325"
  657. o68.Face = Enum.NormalId.Back
  658. o69.Name = "Right Leg"
  659. o69.Parent = o64
  660. o70.Parent = o69
  661. o70.BrickColor = BrickColor.new("Light orange")
  662. o70.Position = Vector3.new(-155.649567, 10.9499922, 162.697754)
  663. o70.Rotation = Vector3.new(180, -26.3299999, 180)
  664. o70.RotVelocity = Vector3.new(-2.35154312e-05, 7.43152559e-05, -3.70172529e-05)
  665. o70.Velocity = Vector3.new(0.000186247111, -0.000559039414, -4.63367614e-05)
  666. o70.CanCollide = false
  667. o70.FormFactor = Enum.FormFactor.Plate
  668. o70.Size = Vector3.new(4, 2, 4)
  669. o70.CFrame = CFrame.new(-155.649567, 10.9499922, 162.697754, -0.896231115, -4.61568834e-06, -0.443587929, -1.39507662e-07, 1.00000012, -1.03619086e-05, 0.443587989, -9.0111007e-06, -0.896230996)
  670. o70.BottomSurface = Enum.SurfaceType.Weld
  671. o70.TopSurface = Enum.SurfaceType.Smooth
  672. o70.Color = Color3.new(0.917647, 0.721569, 0.572549)
  673. o70.Position = Vector3.new(-155.649567, 10.9499922, 162.697754)
  674. o70.velocity = Vector3.new(0.000186247111, -0.000559039414, -4.63367614e-05)
  675. o71.Parent = o70
  676. o72.Parent = o70
  677. o72.Texture = "http://www.roblox.com/asset/?id=34059325"
  678. o73.Parent = o70
  679. o73.Texture = "http://www.roblox.com/asset/?id=34059325"
  680. o73.Face = Enum.NormalId.Back
  681. o74.Parent = o70
  682. o74.Texture = "http://www.roblox.com/asset/?id=34059325"
  683. o74.Face = Enum.NormalId.Right
  684. o75.Name = "Main"
  685. o75.Parent = o69
  686. o75.BrickColor = BrickColor.new("Light orange")
  687. o75.Position = Vector3.new(-155.649551, 5.94998884, 162.6978)
  688. o75.Rotation = Vector3.new(180, -26.3299999, 180)
  689. o75.RotVelocity = Vector3.new(9.68566565e-06, 7.20834068e-05, -1.18895914e-05)
  690. o75.Velocity = Vector3.new(-7.0080554e-05, -0.000845862087, -0.000150289998)
  691. o75.FormFactor = Enum.FormFactor.Plate
  692. o75.Size = Vector3.new(4, 8.00000095, 4)
  693. o75.CFrame = CFrame.new(-155.649551, 5.94998884, 162.6978, -0.896231055, -4.67483778e-06, -0.443588078, -3.47283873e-07, 1.00000024, -1.0075456e-05, 0.443588078, -8.6622058e-06, -0.896231055)
  694. o75.BottomSurface = Enum.SurfaceType.Smooth
  695. o75.TopSurface = Enum.SurfaceType.Smooth
  696. o75.Color = Color3.new(0.917647, 0.721569, 0.572549)
  697. o75.Position = Vector3.new(-155.649551, 5.94998884, 162.6978)
  698. o75.velocity = Vector3.new(-7.0080554e-05, -0.000845862087, -0.000150289998)
  699. o76.Parent = o75
  700. o77.Parent = o75
  701. o77.CFrame = CFrame.new(-153.855713, 15.9081268, 161.808823, -0.896250248, 0, -0.443548888, 0, 1, 0, 0.443548888, 0, -0.896250248)
  702. o78.Parent = o75
  703. o78.Texture = "http://www.roblox.com/asset/?id=34061420"
  704. o79.Parent = o75
  705. o79.Texture = "http://www.roblox.com/asset/?id=34061420"
  706. o79.Face = Enum.NormalId.Back
  707. o80.Parent = o75
  708. o80.Texture = "http://www.roblox.com/asset/?id=34061420"
  709. o80.Face = Enum.NormalId.Right
  710. o81.Parent = o75
  711. o81.Texture = "http://www.roblox.com/asset/?id=34061420"
  712. o81.Face = Enum.NormalId.Left
  713. o82.Parent = o69
  714. o82.BrickColor = BrickColor.new("Light orange")
  715. o82.Position = Vector3.new(-155.649582, 12.149992, 162.697754)
  716. o82.Rotation = Vector3.new(180, -26.3299999, 180)
  717. o82.RotVelocity = Vector3.new(-2.28122844e-05, -5.40113215e-05, 5.76414168e-05)
  718. o82.Velocity = Vector3.new(-0.000735714159, -0.000470191997, -0.000190983556)
  719. o82.CanCollide = false
  720. o82.FormFactor = Enum.FormFactor.Plate
  721. o82.Size = Vector3.new(3, 0.400000006, 4)
  722. o82.CFrame = CFrame.new(-155.649582, 12.149992, 162.697754, -0.896231115, -4.95085897e-06, -0.443587393, -1.57464783e-07, 1, -1.08428112e-05, 0.443587393, -9.6478152e-06, -0.896231115)
  723. o82.BottomSurface = Enum.SurfaceType.Weld
  724. o82.LeftSurface = Enum.SurfaceType.Hinge
  725. o82.TopSurface = Enum.SurfaceType.Smooth
  726. o82.Color = Color3.new(0.917647, 0.721569, 0.572549)
  727. o82.Position = Vector3.new(-155.649582, 12.149992, 162.697754)
  728. o82.velocity = Vector3.new(-0.000735714159, -0.000470191997, -0.000190983556)
  729. o83.Parent = o82
  730. o84.Parent = o82
  731. o84.Texture = "http://www.roblox.com/asset/?id=34059325"
  732. o85.Parent = o82
  733. o85.Texture = "http://www.roblox.com/asset/?id=34059325"
  734. o85.Face = Enum.NormalId.Back
  735. o86.Parent = o82
  736. o86.Texture = "http://www.roblox.com/asset/?id=34059325"
  737. o86.Face = Enum.NormalId.Right
  738. o87.Name = "Left Leg"
  739. o87.Parent = o64
  740. o88.Parent = o87
  741. o88.BrickColor = BrickColor.new("Light orange")
  742. o88.Position = Vector3.new(-152.064636, 10.9499931, 160.923416)
  743. o88.Rotation = Vector3.new(-180, -26.3299999, -180)
  744. o88.RotVelocity = Vector3.new(-4.66887059e-06, 1.88181693e-05, -8.78183346e-06)
  745. o88.Velocity = Vector3.new(-0.000146201826, -0.000566562521, -0.000318769919)
  746. o88.CanCollide = false
  747. o88.FormFactor = Enum.FormFactor.Plate
  748. o88.Size = Vector3.new(4, 2, 4)
  749. o88.CFrame = CFrame.new(-152.064636, 10.9499931, 160.923416, -0.896231174, 1.65110782e-06, -0.44358778, -4.2740345e-07, 1.00000012, 4.34728054e-06, 0.44358784, 4.29943702e-06, -0.896231055)
  750. o88.BottomSurface = Enum.SurfaceType.Weld
  751. o88.TopSurface = Enum.SurfaceType.Smooth
  752. o88.Color = Color3.new(0.917647, 0.721569, 0.572549)
  753. o88.Position = Vector3.new(-152.064636, 10.9499931, 160.923416)
  754. o88.velocity = Vector3.new(-0.000146201826, -0.000566562521, -0.000318769919)
  755. o89.Parent = o88
  756. o90.Parent = o88
  757. o90.Texture = "http://www.roblox.com/asset/?id=34059325"
  758. o91.Parent = o88
  759. o91.Texture = "http://www.roblox.com/asset/?id=34059325"
  760. o91.Face = Enum.NormalId.Back
  761. o92.Parent = o88
  762. o92.Texture = "http://www.roblox.com/asset/?id=34059325"
  763. o92.Face = Enum.NormalId.Left
  764. o93.Parent = o88
  765. o93.Texture = "http://www.roblox.com/asset/?id=34059325"
  766. o93.Face = Enum.NormalId.Top
  767. o94.Parent = o87
  768. o94.BrickColor = BrickColor.new("Light orange")
  769. o94.Position = Vector3.new(-152.064667, 12.149992, 160.923416)
  770. o94.Rotation = Vector3.new(-180, -26.3299999, -180)
  771. o94.RotVelocity = Vector3.new(-1.88680624e-05, -5.54839353e-05, -1.60070722e-05)
  772. o94.Velocity = Vector3.new(-0.000139065087, -0.000538278429, -0.000164975121)
  773. o94.CanCollide = false
  774. o94.FormFactor = Enum.FormFactor.Plate
  775. o94.Size = Vector3.new(3, 0.400000006, 4)
  776. o94.CFrame = CFrame.new(-152.064667, 12.149992, 160.923416, -0.896231234, 1.14488586e-07, -0.443587214, -1.7482198e-06, 1, 3.79023049e-06, 0.443587214, 4.17241063e-06, -0.896231234)
  777. o94.BottomSurface = Enum.SurfaceType.Weld
  778. o94.RightSurface = Enum.SurfaceType.Hinge
  779. o94.TopSurface = Enum.SurfaceType.Smooth
  780. o94.Color = Color3.new(0.917647, 0.721569, 0.572549)
  781. o94.Position = Vector3.new(-152.064667, 12.149992, 160.923416)
  782. o94.velocity = Vector3.new(-0.000139065087, -0.000538278429, -0.000164975121)
  783. o95.Parent = o94
  784. o96.Parent = o94
  785. o96.Texture = "http://www.roblox.com/asset/?id=34059325"
  786. o97.Parent = o94
  787. o97.Texture = "http://www.roblox.com/asset/?id=34059325"
  788. o97.Face = Enum.NormalId.Left
  789. o98.Parent = o94
  790. o98.Texture = "http://www.roblox.com/asset/?id=34059325"
  791. o98.Face = Enum.NormalId.Back
  792. o99.Parent = o94
  793. o99.Texture = "http://www.roblox.com/asset/?id=34059325"
  794. o99.Face = Enum.NormalId.Left
  795. o100.Name = "Main"
  796. o100.Parent = o87
  797. o100.BrickColor = BrickColor.new("Light orange")
  798. o100.Position = Vector3.new(-152.064682, 5.94999027, 160.923386)
  799. o100.Rotation = Vector3.new(-180, -26.3299999, -180)
  800. o100.RotVelocity = Vector3.new(-3.60989543e-05, 3.10172777e-06, -8.24392628e-05)
  801. o100.Velocity = Vector3.new(-7.62659183e-05, -0.000621795713, -0.000263847236)
  802. o100.FormFactor = Enum.FormFactor.Plate
  803. o100.Size = Vector3.new(4, 8.00000095, 4)
  804. o100.CFrame = CFrame.new(-152.064682, 5.94999027, 160.923386, -0.896231234, 5.73386899e-07, -0.44358778, -1.34767345e-06, 1.00000024, 3.77705283e-06, 0.44358778, 4.19660182e-06, -0.896231234)
  805. o100.BottomSurface = Enum.SurfaceType.Smooth
  806. o100.TopSurface = Enum.SurfaceType.Smooth
  807. o100.Color = Color3.new(0.917647, 0.721569, 0.572549)
  808. o100.Position = Vector3.new(-152.064682, 5.94999027, 160.923386)
  809. o100.velocity = Vector3.new(-7.62659183e-05, -0.000621795713, -0.000263847236)
  810. o101.Parent = o100
  811. o102.Parent = o100
  812. o102.CFrame = CFrame.new(-153.855713, 15.9081268, 161.808807, -0.896250248, 0, -0.443548888, 0, 1, 0, 0.443548888, 0, -0.896250248)
  813. o103.Parent = o100
  814. o103.Texture = "http://www.roblox.com/asset/?id=34061420"
  815. o104.Parent = o100
  816. o104.Texture = "http://www.roblox.com/asset/?id=34061420"
  817. o104.Face = Enum.NormalId.Left
  818. o105.Parent = o100
  819. o105.Texture = "http://www.roblox.com/asset/?id=34061420"
  820. o105.Face = Enum.NormalId.Back
  821. o106.Parent = o100
  822. o106.Texture = "http://www.roblox.com/asset/?id=34061420"
  823. o106.Face = Enum.NormalId.Left
  824. o107.Parent = o100
  825. o107.Texture = "http://www.roblox.com/asset/?id=34061420"
  826. o107.Face = Enum.NormalId.Right
  827. o108.Name = "Main"
  828. o108.Parent = o64
  829. o108.BrickColor = BrickColor.new("Light orange")
  830. o108.Position = Vector3.new(-153.857117, 12.5099878, 161.810577)
  831. o108.Rotation = Vector3.new(180, -26.3299999, 180)
  832. o108.RotVelocity = Vector3.new(0.000111229783, 1.24927928e-05, -6.03478111e-05)
  833. o108.Velocity = Vector3.new(-0.000239456102, -0.000508015451, -0.000610501389)
  834. o108.FormFactor = Enum.FormFactor.Plate
  835. o108.Size = Vector3.new(7.5, 0.400000006, 3.5)
  836. o108.CFrame = CFrame.new(-153.857117, 12.5099878, 161.810577, -0.896230876, -1.3335939e-05, -0.443587869, -7.75441038e-07, 1, -2.8497092e-05, 0.443587869, -2.51959973e-05, -0.896230876)
  837. o108.BottomSurface = Enum.SurfaceType.Smooth
  838. o108.TopSurface = Enum.SurfaceType.Smooth
  839. o108.Color = Color3.new(0.917647, 0.721569, 0.572549)
  840. o108.Position = Vector3.new(-153.857117, 12.5099878, 161.810577)
  841. o108.velocity = Vector3.new(-0.000239456102, -0.000508015451, -0.000610501389)
  842. o109.Parent = o108
  843. o110.Parent = o108
  844. o110.Texture = "http://www.roblox.com/asset/?id=34059325"
  845. o111.Parent = o108
  846. o111.Texture = "http://www.roblox.com/asset/?id=34059325"
  847. o111.Face = Enum.NormalId.Left
  848. o112.Parent = o108
  849. o112.Texture = "http://www.roblox.com/asset/?id=34059325"
  850. o112.Face = Enum.NormalId.Left
  851. o113.Parent = o108
  852. o113.Texture = "http://www.roblox.com/asset/?id=34059325"
  853. o113.Face = Enum.NormalId.Back
  854. o114.Parent = o108
  855. o114.Texture = "http://www.roblox.com/asset/?id=34059325"
  856. o114.Face = Enum.NormalId.Right
  857. o115.Name = "Head"
  858. o115.Parent = o5
  859. o116.Parent = o115
  860. o116.BrickColor = BrickColor.new("Light orange")
  861. o116.Position = Vector3.new(-153.8573, 24.9099903, 161.810226)
  862. o116.Rotation = Vector3.new(180, -26.3299999, 180)
  863. o116.RotVelocity = Vector3.new(0.000104548599, -2.58244313e-07, -5.54245817e-05)
  864. o116.Velocity = Vector3.new(0.000417296251, -0.000456701586, 0.000788455014)
  865. o116.FormFactor = Enum.FormFactor.Plate
  866. o116.Size = Vector3.new(6, 0.400000006, 4)
  867. o116.CFrame = CFrame.new(-153.8573, 24.9099903, 161.810226, -0.896230757, -1.23711789e-05, -0.443588078, 2.09929922e-07, 1, -2.83130321e-05, 0.443588078, -2.54681345e-05, -0.896230757)
  868. o116.BottomSurface = Enum.SurfaceType.Weld
  869. o116.TopSurface = Enum.SurfaceType.Weld
  870. o116.Color = Color3.new(0.917647, 0.721569, 0.572549)
  871. o116.Position = Vector3.new(-153.8573, 24.9099903, 161.810226)
  872. o116.velocity = Vector3.new(0.000417296251, -0.000456701586, 0.000788455014)
  873. o117.Parent = o116
  874. o118.Parent = o115
  875. o118.BrickColor = BrickColor.new("Light orange")
  876. o118.Position = Vector3.new(-151.616699, 22.7099895, 160.701324)
  877. o118.Rotation = Vector3.new(180, -26.3299999, 180)
  878. o118.RotVelocity = Vector3.new(5.96127065e-05, 1.70278254e-05, -2.63988441e-05)
  879. o118.Velocity = Vector3.new(0.000184744509, -0.000432416506, 0.000265193405)
  880. o118.CanCollide = false
  881. o118.FormFactor = Enum.FormFactor.Plate
  882. o118.Size = Vector3.new(1, 4.00000191, 4)
  883. o118.CFrame = CFrame.new(-151.616699, 22.7099895, 160.701324, -0.896230757, -1.23835471e-05, -0.443588167, 2.34665961e-07, 1, -2.83908885e-05, 0.443588167, -2.55488812e-05, -0.896230757)
  884. o118.BottomSurface = Enum.SurfaceType.Weld
  885. o118.TopSurface = Enum.SurfaceType.Smooth
  886. o118.Color = Color3.new(0.917647, 0.721569, 0.572549)
  887. o118.Position = Vector3.new(-151.616699, 22.7099895, 160.701324)
  888. o118.velocity = Vector3.new(0.000184744509, -0.000432416506, 0.000265193405)
  889. o119.Parent = o118
  890. o120.Parent = o115
  891. o120.BrickColor = BrickColor.new("Light orange")
  892. o120.Position = Vector3.new(-156.09787, 22.7099915, 162.91925)
  893. o120.Rotation = Vector3.new(180, -26.3299999, 180)
  894. o120.RotVelocity = Vector3.new(5.96127065e-05, 1.70278254e-05, -2.63988441e-05)
  895. o120.Velocity = Vector3.new(0.000222511007, -0.000446335354, 0.000341498118)
  896. o120.CanCollide = false
  897. o120.FormFactor = Enum.FormFactor.Plate
  898. o120.Size = Vector3.new(1, 4.00000191, 4)
  899. o120.CFrame = CFrame.new(-156.09787, 22.7099915, 162.91925, -0.896230757, -1.23835471e-05, -0.443588167, 2.34665961e-07, 1, -2.83908885e-05, 0.443588167, -2.55488812e-05, -0.896230757)
  900. o120.BottomSurface = Enum.SurfaceType.Weld
  901. o120.TopSurface = Enum.SurfaceType.Smooth
  902. o120.Color = Color3.new(0.917647, 0.721569, 0.572549)
  903. o120.Position = Vector3.new(-156.09787, 22.7099915, 162.91925)
  904. o120.velocity = Vector3.new(0.000222511007, -0.000446335354, 0.000341498118)
  905. o121.Parent = o120
  906. o122.Parent = o115
  907. o122.BrickColor = BrickColor.new("Light orange")
  908. o122.Position = Vector3.new(-153.191925, 24.3100357, 163.154587)
  909. o122.Rotation = Vector3.new(180, -26.3299999, 180)
  910. o122.RotVelocity = Vector3.new(7.48493403e-05, 1.46331049e-05, -3.75176605e-05)
  911. o122.Velocity = Vector3.new(0.000335358811, -0.000689121778, 0.000525974145)
  912. o122.CanCollide = false
  913. o122.FormFactor = Enum.FormFactor.Plate
  914. o122.Size = Vector3.new(4, 0.800000012, 1)
  915. o122.CFrame = CFrame.new(-153.191925, 24.3100357, 163.154587, -0.896230817, -1.2410248e-05, -0.443588048, 2.41552101e-07, 1, -2.84650014e-05, 0.443588048, -2.56183612e-05, -0.896230817)
  916. o122.BottomSurface = Enum.SurfaceType.Weld
  917. o122.TopSurface = Enum.SurfaceType.Smooth
  918. o122.Color = Color3.new(0.917647, 0.721569, 0.572549)
  919. o122.Position = Vector3.new(-153.191925, 24.3100357, 163.154587)
  920. o122.velocity = Vector3.new(0.000335358811, -0.000689121778, 0.000525974145)
  921. o123.Parent = o122
  922. o124.Parent = o115
  923. o124.BrickColor = BrickColor.new("Light orange")
  924. o124.Position = Vector3.new(-154.536209, 22.3100319, 163.820038)
  925. o124.Rotation = Vector3.new(180, -26.3299999, 180)
  926. o124.RotVelocity = Vector3.new(9.14783377e-05, 1.20066461e-05, -4.44145735e-05)
  927. o124.Velocity = Vector3.new(0.00027951732, -0.000611017284, 0.000405400409)
  928. o124.CanCollide = false
  929. o124.FormFactor = Enum.FormFactor.Plate
  930. o124.Size = Vector3.new(1, 3.20000196, 1)
  931. o124.CFrame = CFrame.new(-154.536209, 22.3100319, 163.820038, -0.896230638, -1.27316034e-05, -0.443588376, -2.50553029e-07, 1, -2.81951707e-05, 0.443588376, -2.51582333e-05, -0.896230638)
  932. o124.BottomSurface = Enum.SurfaceType.Weld
  933. o124.TopSurface = Enum.SurfaceType.Smooth
  934. o124.Color = Color3.new(0.917647, 0.721569, 0.572549)
  935. o124.Position = Vector3.new(-154.536209, 22.3100319, 163.820038)
  936. o124.velocity = Vector3.new(0.00027951732, -0.000611017284, 0.000405400409)
  937. o125.Parent = o124
  938. o126.Parent = o115
  939. o126.BrickColor = BrickColor.new("Light orange")
  940. o126.Position = Vector3.new(-151.847534, 22.3100338, 162.489273)
  941. o126.Rotation = Vector3.new(180, -26.3299999, 180)
  942. o126.RotVelocity = Vector3.new(9.14783377e-05, 1.20066461e-05, -4.44145735e-05)
  943. o126.Velocity = Vector3.new(0.000263539376, -0.000608697534, 0.000373118615)
  944. o126.CanCollide = false
  945. o126.FormFactor = Enum.FormFactor.Plate
  946. o126.Size = Vector3.new(1, 3.20000196, 1)
  947. o126.CFrame = CFrame.new(-151.847534, 22.3100338, 162.489273, -0.896230638, -1.27316034e-05, -0.443588376, -2.50553029e-07, 1, -2.81951707e-05, 0.443588376, -2.51582333e-05, -0.896230638)
  948. o126.BottomSurface = Enum.SurfaceType.Weld
  949. o126.TopSurface = Enum.SurfaceType.Smooth
  950. o126.Color = Color3.new(0.917647, 0.721569, 0.572549)
  951. o126.Position = Vector3.new(-151.847534, 22.3100338, 162.489273)
  952. o126.velocity = Vector3.new(0.000263539376, -0.000608697534, 0.000373118615)
  953. o127.Parent = o126
  954. o128.Parent = o115
  955. o128.BrickColor = BrickColor.new("Institutional white")
  956. o128.Position = Vector3.new(-153.422348, 23.0904694, 161.561874)
  957. o128.Rotation = Vector3.new(134.87999, -19.25, 161.679993)
  958. o128.RotVelocity = Vector3.new(0.000103072329, 1.52342491e-05, -5.15198262e-05)
  959. o128.Velocity = Vector3.new(0.000317401806, -0.00046061154, 0.00051808235)
  960. o128.CanCollide = false
  961. o128.FormFactor = Enum.FormFactor.Plate
  962. o128.Size = Vector3.new(1, 0.400001913, 1)
  963. o128.CFrame = CFrame.new(-153.422348, 23.0904694, 161.561874, -0.896230757, -0.296756417, -0.329706073, -2.39711198e-07, 0.743270993, -0.668990433, 0.443588167, -0.599569738, -0.666142404)
  964. o128.BottomSurface = Enum.SurfaceType.Weld
  965. o128.TopSurface = Enum.SurfaceType.Smooth
  966. o128.Color = Color3.new(0.972549, 0.972549, 0.972549)
  967. o128.Position = Vector3.new(-153.422348, 23.0904694, 161.561874)
  968. o128.velocity = Vector3.new(0.000317401806, -0.00046061154, 0.00051808235)
  969. o129.Parent = o128
  970. o129.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  971. o129.MeshType = Enum.MeshType.Sphere
  972. o130.Parent = o115
  973. o130.BrickColor = BrickColor.new("Institutional white")
  974. o130.Position = Vector3.new(-154.198334, 23.0528088, 162.248444)
  975. o130.Rotation = Vector3.new(155.940002, -24.3199997, 169.580002)
  976. o130.RotVelocity = Vector3.new(0.000103072329, 1.52342491e-05, -5.15198262e-05)
  977. o130.Velocity = Vector3.new(0.000325920904, -0.000491399143, 0.000526022108)
  978. o130.CanCollide = false
  979. o130.FormFactor = Enum.FormFactor.Plate
  980. o130.Size = Vector3.new(1, 0.400001913, 1)
  981. o130.CFrame = CFrame.new(-154.198334, 23.0528088, 162.248444, -0.896230757, -0.164766714, -0.411852419, -2.39711198e-07, 0.928456903, -0.371440321, 0.443588167, -0.332896084, -0.832111597)
  982. o130.BottomSurface = Enum.SurfaceType.Weld
  983. o130.TopSurface = Enum.SurfaceType.Smooth
  984. o130.Color = Color3.new(0.972549, 0.972549, 0.972549)
  985. o130.Position = Vector3.new(-154.198334, 23.0528088, 162.248444)
  986. o130.velocity = Vector3.new(0.000325920904, -0.000491399143, 0.000526022108)
  987. o131.Parent = o130
  988. o131.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  989. o131.MeshType = Enum.MeshType.Sphere
  990. o132.Parent = o115
  991. o132.BrickColor = BrickColor.new("Institutional white")
  992. o132.Position = Vector3.new(-154.132416, 22.6814156, 162.381607)
  993. o132.Rotation = Vector3.new(155.940002, -24.3199997, 169.580002)
  994. o132.RotVelocity = Vector3.new(9.86636369e-05, 1.08826398e-05, -4.70052146e-05)
  995. o132.Velocity = Vector3.new(0.000291363831, -0.000493785716, 0.000461602351)
  996. o132.CanCollide = false
  997. o132.FormFactor = Enum.FormFactor.Plate
  998. o132.Size = Vector3.new(1, 0.400001913, 1)
  999. o132.CFrame = CFrame.new(-154.132416, 22.6814156, 162.381607, -0.896230638, -0.164767057, -0.411852509, -6.15157489e-07, 0.928456903, -0.371440202, 0.443588406, -0.332895786, -0.832111657)
  1000. o132.BottomSurface = Enum.SurfaceType.Weld
  1001. o132.TopSurface = Enum.SurfaceType.Weld
  1002. o132.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1003. o132.Position = Vector3.new(-154.132416, 22.6814156, 162.381607)
  1004. o132.velocity = Vector3.new(0.000291363831, -0.000493785716, 0.000461602351)
  1005. o133.Parent = o132
  1006. o133.Scale = Vector3.new(0.200000003, 1.5, 0.200000003)
  1007. o134.Parent = o115
  1008. o134.BrickColor = BrickColor.new("Institutional white")
  1009. o134.Position = Vector3.new(-153.303635, 22.7931671, 161.801712)
  1010. o134.Rotation = Vector3.new(134.87999, -19.25, 161.679993)
  1011. o134.RotVelocity = Vector3.new(9.59745885e-05, 1.08802924e-05, -4.60341798e-05)
  1012. o134.Velocity = Vector3.new(0.000290707598, -0.000634671946, 0.000480199873)
  1013. o134.CanCollide = false
  1014. o134.FormFactor = Enum.FormFactor.Plate
  1015. o134.Size = Vector3.new(1, 0.400001913, 1)
  1016. o134.CFrame = CFrame.new(-153.303635, 22.7931671, 161.801712, -0.896230578, -0.296756864, -0.329706132, -6.57898511e-07, 0.743271112, -0.668990314, 0.443588525, -0.59956938, -0.666142523)
  1017. o134.BottomSurface = Enum.SurfaceType.Weld
  1018. o134.TopSurface = Enum.SurfaceType.Weld
  1019. o134.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1020. o134.Position = Vector3.new(-153.303635, 22.7931671, 161.801712)
  1021. o134.velocity = Vector3.new(0.000290707598, -0.000634671946, 0.000480199873)
  1022. o135.Parent = o134
  1023. o135.Scale = Vector3.new(0.200000003, 1.5, 0.200000003)
  1024. o136.Parent = o115
  1025. o136.BrickColor = BrickColor.new("Light orange")
  1026. o136.Position = Vector3.new(-153.635468, 21.510004, 162.258453)
  1027. o136.Rotation = Vector3.new(180, -26.3299999, 180)
  1028. o136.RotVelocity = Vector3.new(9.59745885e-05, 1.08802924e-05, -4.60341798e-05)
  1029. o136.Velocity = Vector3.new(0.00023660771, -0.000663231825, 0.000360659265)
  1030. o136.CanCollide = false
  1031. o136.FormFactor = Enum.FormFactor.Plate
  1032. o136.Size = Vector3.new(4, 1.60000169, 1)
  1033. o136.CFrame = CFrame.new(-153.635468, 21.510004, 162.258453, -0.896230578, -1.29949522e-05, -0.443588525, -6.57898511e-07, 1, -2.79658343e-05, 0.443588525, -2.47719981e-05, -0.896230578)
  1034. o136.BottomSurface = Enum.SurfaceType.Weld
  1035. o136.TopSurface = Enum.SurfaceType.Smooth
  1036. o136.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1037. o136.Position = Vector3.new(-153.635468, 21.510004, 162.258453)
  1038. o136.velocity = Vector3.new(0.00023660771, -0.000663231825, 0.000360659265)
  1039. o137.Parent = o136
  1040. o137.Scale = Vector3.new(1, 1.35000002, 1)
  1041. o138.Parent = o115
  1042. o138.BrickColor = BrickColor.new("Light orange")
  1043. o138.Position = Vector3.new(-153.191879, 21.5100307, 163.154678)
  1044. o138.Rotation = Vector3.new(180, -26.3299999, 180)
  1045. o138.RotVelocity = Vector3.new(9.50100439e-05, 8.60468845e-06, -5.04099698e-05)
  1046. o138.Velocity = Vector3.new(0.000241065936, -0.000774130574, 0.000351302384)
  1047. o138.CanCollide = false
  1048. o138.FormFactor = Enum.FormFactor.Plate
  1049. o138.Size = Vector3.new(2, 1.60000169, 1)
  1050. o138.CFrame = CFrame.new(-153.191879, 21.5100307, 163.154678, -0.896230638, -1.28850834e-05, -0.443588346, -4.65906197e-07, 1, -2.81060657e-05, 0.443588346, -2.49828463e-05, -0.896230638)
  1051. o138.BottomSurface = Enum.SurfaceType.Weld
  1052. o138.TopSurface = Enum.SurfaceType.Smooth
  1053. o138.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1054. o138.Position = Vector3.new(-153.191879, 21.5100307, 163.154678)
  1055. o138.velocity = Vector3.new(0.000241065936, -0.000774130574, 0.000351302384)
  1056. o139.Parent = o138
  1057. o140.Parent = o115
  1058. o140.BrickColor = BrickColor.new("Bright blue")
  1059. o140.Transparency = 0.5
  1060. o140.Position = Vector3.new(-153.19191, 23.110033, 163.154633)
  1061. o140.Rotation = Vector3.new(180, -26.3299999, 180)
  1062. o140.RotVelocity = Vector3.new(0.000100144411, 9.08222955e-06, -4.85371347e-05)
  1063. o140.Velocity = Vector3.new(0.000326537294, -0.000603018154, 0.000505977776)
  1064. o140.CanCollide = false
  1065. o140.FormFactor = Enum.FormFactor.Plate
  1066. o140.Size = Vector3.new(2, 1.60000169, 1)
  1067. o140.CFrame = CFrame.new(-153.19191, 23.110033, 163.154633, -0.896230638, -1.2795871e-05, -0.443588376, -4.06237092e-07, 1, -2.80255044e-05, 0.443588376, -2.49371151e-05, -0.896230638)
  1068. o140.BottomSurface = Enum.SurfaceType.Weld
  1069. o140.FrontSurface = Enum.SurfaceType.Weld
  1070. o140.TopSurface = Enum.SurfaceType.Smooth
  1071. o140.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1072. o140.Position = Vector3.new(-153.19191, 23.110033, 163.154633)
  1073. o140.velocity = Vector3.new(0.000326537294, -0.000603018154, 0.000505977776)
  1074. o141.Parent = o140
  1075. o142.Parent = o115
  1076. o142.Position = Vector3.new(-151.616653, 19.9099922, 160.701401)
  1077. o142.Rotation = Vector3.new(180, -26.3299999, 180)
  1078. o142.RotVelocity = Vector3.new(0.000100144411, 9.08222955e-06, -4.85371347e-05)
  1079. o142.Velocity = Vector3.new(0.000148935695, -0.000433799141, 0.000171204738)
  1080. o142.FormFactor = Enum.FormFactor.Plate
  1081. o142.Size = Vector3.new(3, 1.60000169, 4)
  1082. o142.CFrame = CFrame.new(-151.616653, 19.9099922, 160.701401, -0.896230638, -1.2795871e-05, -0.443588376, -4.06237092e-07, 1, -2.80255044e-05, 0.443588376, -2.49371151e-05, -0.896230638)
  1083. o142.BottomSurface = Enum.SurfaceType.Weld
  1084. o142.TopSurface = Enum.SurfaceType.Smooth
  1085. o142.Position = Vector3.new(-151.616653, 19.9099922, 160.701401)
  1086. o142.velocity = Vector3.new(0.000148935695, -0.000433799141, 0.000171204738)
  1087. o143.Parent = o142
  1088. o144.Parent = o142
  1089. o144.Texture = "http://www.roblox.com/asset/?id=34059325"
  1090. o144.Face = Enum.NormalId.Left
  1091. o145.Parent = o142
  1092. o145.Texture = "http://www.roblox.com/asset/?id=34059325"
  1093. o145.Face = Enum.NormalId.Top
  1094. o146.Parent = o142
  1095. o146.Texture = "http://www.roblox.com/asset/?id=34059325"
  1096. o146.Face = Enum.NormalId.Back
  1097. o147.Parent = o115
  1098. o147.Position = Vector3.new(-156.097839, 19.9099922, 162.919342)
  1099. o147.Rotation = Vector3.new(180, -26.3299999, 180)
  1100. o147.RotVelocity = Vector3.new(0.000105456558, 1.76604397e-06, -5.22729824e-05)
  1101. o147.Velocity = Vector3.new(0.000128652275, -0.000661700557, 0.000220376271)
  1102. o147.FormFactor = Enum.FormFactor.Plate
  1103. o147.Size = Vector3.new(3, 1.60000169, 4)
  1104. o147.CFrame = CFrame.new(-156.097839, 19.9099922, 162.919342, -0.896230578, -1.24911394e-05, -0.443588465, -1.98979578e-07, 1, -2.77572781e-05, 0.443588465, -2.47886564e-05, -0.896230578)
  1105. o147.BottomSurface = Enum.SurfaceType.Weld
  1106. o147.TopSurface = Enum.SurfaceType.Smooth
  1107. o147.Position = Vector3.new(-156.097839, 19.9099922, 162.919342)
  1108. o147.velocity = Vector3.new(0.000128652275, -0.000661700557, 0.000220376271)
  1109. o148.Parent = o147
  1110. o149.Parent = o147
  1111. o149.Texture = "http://www.roblox.com/asset/?id=34059325"
  1112. o149.Face = Enum.NormalId.Top
  1113. o150.Parent = o147
  1114. o150.Texture = "http://www.roblox.com/asset/?id=34059325"
  1115. o150.Face = Enum.NormalId.Right
  1116. o151.Parent = o147
  1117. o151.Texture = "http://www.roblox.com/asset/?id=34059325"
  1118. o151.Face = Enum.NormalId.Back
  1119. o152.Parent = o115
  1120. o152.BrickColor = BrickColor.new("Institutional white")
  1121. o152.Position = Vector3.new(-153.413651, 19.910017, 162.706589)
  1122. o152.Rotation = Vector3.new(180, -26.3299999, 180)
  1123. o152.RotVelocity = Vector3.new(9.8866898e-05, 2.48145466e-06, -4.92587969e-05)
  1124. o152.Velocity = Vector3.new(0.000131321212, -0.00074764993, 0.000209461694)
  1125. o152.FormFactor = Enum.FormFactor.Plate
  1126. o152.Size = Vector3.new(2, 1.60000169, 2)
  1127. o152.CFrame = CFrame.new(-153.413651, 19.910017, 162.706589, -0.896230638, -1.25935985e-05, -0.443588406, -4.18029202e-07, 1, -2.75456878e-05, 0.443588406, -2.45018564e-05, -0.896230638)
  1128. o152.BackSurface = Enum.SurfaceType.Weld
  1129. o152.BottomSurface = Enum.SurfaceType.Weld
  1130. o152.TopSurface = Enum.SurfaceType.Smooth
  1131. o152.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1132. o152.Position = Vector3.new(-153.413651, 19.910017, 162.706589)
  1133. o152.velocity = Vector3.new(0.000131321212, -0.00074764993, 0.000209461694)
  1134. o153.Parent = o152
  1135. o154.Parent = o115
  1136. o154.Transparency = 1
  1137. o154.Position = Vector3.new(-153.187363, 22.7599888, 162.036621)
  1138. o154.Rotation = Vector3.new(0, 26.3299999, 0)
  1139. o154.RotVelocity = Vector3.new(9.8866898e-05, 2.48145466e-06, -4.92587969e-05)
  1140. o154.Velocity = Vector3.new(0.000270044868, -0.000692558941, 0.000490668055)
  1141. o154.FormFactor = Enum.FormFactor.Plate
  1142. o154.Size = Vector3.new(1, 0.900000036, 1)
  1143. o154.CFrame = CFrame.new(-153.187363, 22.7599888, 162.036621, 0.896230638, -1.25935985e-05, 0.443588406, 4.18029202e-07, 1, 2.75456878e-05, -0.443588406, -2.45018564e-05, 0.896230638)
  1144. o154.BottomSurface = Enum.SurfaceType.Weld
  1145. o154.Position = Vector3.new(-153.187363, 22.7599888, 162.036621)
  1146. o154.velocity = Vector3.new(0.000270044868, -0.000692558941, 0.000490668055)
  1147. o155.Parent = o115
  1148. o155.Transparency = 1
  1149. o155.Position = Vector3.new(-154.083603, 22.5100079, 162.480209)
  1150. o155.Rotation = Vector3.new(0, 26.3299999, 0)
  1151. o155.RotVelocity = Vector3.new(9.54012066e-05, 5.56801206e-06, -4.4286382e-05)
  1152. o155.Velocity = Vector3.new(0.000252776605, -0.000702861114, 0.000444427802)
  1153. o155.FormFactor = Enum.FormFactor.Plate
  1154. o155.Size = Vector3.new(1, 0.400000006, 1)
  1155. o155.CFrame = CFrame.new(-154.083603, 22.5100079, 162.480209, 0.896230698, -1.25601382e-05, 0.443588287, 3.13497566e-07, 1, 2.76814608e-05, -0.443588287, -2.4669911e-05, 0.896230698)
  1156. o155.BottomSurface = Enum.SurfaceType.Weld
  1157. o155.Position = Vector3.new(-154.083603, 22.5100079, 162.480209)
  1158. o155.velocity = Vector3.new(0.000252776605, -0.000702861114, 0.000444427802)
  1159. o156.Name = "Torso"
  1160. o156.Parent = o5
  1161. o157.Name = "Main"
  1162. o157.Parent = o156
  1163. o157.BrickColor = BrickColor.new("Black")
  1164. o157.Position = Vector3.new(-153.857193, 15.9099894, 161.810471)
  1165. o157.Rotation = Vector3.new(180, -26.3299999, 180)
  1166. o157.RotVelocity = Vector3.new(9.54012066e-05, 5.56801206e-06, -4.4286382e-05)
  1167. o157.Velocity = Vector3.new(-4.32434463e-05, -0.000648994115, -0.000186482561)
  1168. o157.FormFactor = Enum.FormFactor.Plate
  1169. o157.Size = Vector3.new(8, 6.4000001, 4)
  1170. o157.CFrame = CFrame.new(-153.857193, 15.9099894, 161.810471, -0.896230698, -1.25601382e-05, -0.443588287, -3.13497566e-07, 1, -2.76814608e-05, 0.443588287, -2.4669911e-05, -0.896230698)
  1171. o157.BottomSurface = Enum.SurfaceType.Weld
  1172. o157.TopSurface = Enum.SurfaceType.Smooth
  1173. o157.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1174. o157.Position = Vector3.new(-153.857193, 15.9099894, 161.810471)
  1175. o157.velocity = Vector3.new(-4.32434463e-05, -0.000648994115, -0.000186482561)
  1176. o158.Parent = o157
  1177. o159.Parent = o157
  1178. o159.Velocity = Vector3.new(0, -0, 0)
  1179. o159.velocity = Vector3.new(0, -0, 0)
  1180. o160.Parent = o157
  1181. o161.Parent = o157
  1182. o161.angularVelocity = Vector3.new(0, -0, 0)
  1183. o161.maxTorque = Vector3.new(0, 4e+10, 0)
  1184. o161.MaxTorque = Vector3.new(0, 4e+10, 0)
  1185. o162.Parent = o157
  1186. o162.Texture = "http://www.roblox.com/asset/?id=34059325"
  1187. o162.Face = Enum.NormalId.Back
  1188. o163.Parent = o157
  1189. o163.Texture = "http://www.roblox.com/asset/?id=34059325"
  1190. o163.Face = Enum.NormalId.Left
  1191. o164.Parent = o157
  1192. o164.Texture = "http://www.roblox.com/asset/?id=34059325"
  1193. o164.Face = Enum.NormalId.Right
  1194. o165.Parent = o157
  1195. o165.Texture = "http://www.roblox.com/asset/?id=34059325"
  1196. o165.Face = Enum.NormalId.Bottom
  1197. o166.Parent = o157
  1198. o166.Texture = "http://www.roblox.com/asset/?id=11584013"
  1199. o167.Name = "Control"
  1200. o167.Parent = o5
  1201. o167.BrickColor = BrickColor.new("Light orange")
  1202. o167.Position = Vector3.new(-154.300812, 20.5099602, 160.914154)
  1203. o167.Rotation = Vector3.new(180, -26.3299999, 180)
  1204. o167.RotVelocity = Vector3.new(9.47680164e-05, 7.15063061e-06, -4.92564359e-05)
  1205. o167.Velocity = Vector3.new(0.000175668189, -0.000533932587, 0.000249194389)
  1206. o167.Size = Vector3.new(2, 1.60000002, 2)
  1207. o167.CFrame = CFrame.new(-154.300812, 20.5099602, 160.914154, -0.896230698, -1.26938949e-05, -0.443588227, -5.81937627e-07, 1, -2.74406375e-05, 0.443588227, -2.43350023e-05, -0.896230698)
  1208. o167.BottomSurface = Enum.SurfaceType.Weld
  1209. o167.TopSurface = Enum.SurfaceType.Smooth
  1210. o167.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1211. o167.Position = Vector3.new(-154.300812, 20.5099602, 160.914154)
  1212. o167.velocity = Vector3.new(0.000175668189, -0.000533932587, 0.000249194389)
  1213. o168.Parent = o167
  1214. o169.Name = "SeatWeld"
  1215. o169.Parent = o167
  1216. o169.Archivable = false
  1217. o169.C0 = CFrame.new(0, 0.800000012, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  1218. o169.C1 = CFrame.new(0, -1.5, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  1219. o169.Part0 = o167
  1220. o169.Part1 = o296
  1221. o170.Name = "Left Arm"
  1222. o170.Parent = o5
  1223. o171.Name = "Hand"
  1224. o171.Parent = o170
  1225. o171.BrickColor = BrickColor.new("Light orange")
  1226. o171.Position = Vector3.new(-150.091339, 17.0291214, 157.020172)
  1227. o171.Rotation = Vector3.new(-131.919998, -18.289999, -160.729996)
  1228. o171.RotVelocity = Vector3.new(0.00322006876, -0.000269560202, -0.00141766109)
  1229. o171.Velocity = Vector3.new(0.00216015708, -0.0719741806, 0.00456902152)
  1230. o171.CanCollide = false
  1231. o171.FormFactor = Enum.FormFactor.Plate
  1232. o171.Size = Vector3.new(3, 1.60000002, 1)
  1233. o171.CFrame = CFrame.new(-150.091339, 17.0291214, 157.020172, -0.896239698, 0.313393652, -0.313908875, 2.51304009e-05, 0.707723141, 0.706489861, 0.443570018, 0.633176386, -0.63429749)
  1234. o171.BottomSurface = Enum.SurfaceType.Smooth
  1235. o171.FrontSurface = Enum.SurfaceType.Weld
  1236. o171.TopSurface = Enum.SurfaceType.Smooth
  1237. o171.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1238. o171.Position = Vector3.new(-150.091339, 17.0291214, 157.020172)
  1239. o171.velocity = Vector3.new(0.00216015708, -0.0719741806, 0.00456902152)
  1240. o172.Parent = o171
  1241. o172.CFrame = CFrame.new(-153.855713, 15.9081268, 161.808823, -0.896267891, 0.313588858, -0.313633442, -1.36345625e-05, 0.707137585, 0.707075953, 0.443513155, 0.633733749, -0.633780479)
  1242. o172.maxTorque = Vector3.new(400000, 400000, 400000)
  1243. o172.MaxTorque = Vector3.new(400000, 400000, 400000)
  1244. o173.Parent = o170
  1245. o173.BrickColor = BrickColor.new("Light orange")
  1246. o173.Position = Vector3.new(-149.149506, 14.9096584, 158.92305)
  1247. o173.Rotation = Vector3.new(-90.0099945, 0, 26.3299999)
  1248. o173.RotVelocity = Vector3.new(0.00047370934, -0.000268709409, -0.000190155202)
  1249. o173.Velocity = Vector3.new(-0.00152531837, -0.0787118971, -0.00191395392)
  1250. o173.CanCollide = false
  1251. o173.FormFactor = Enum.FormFactor.Plate
  1252. o173.Size = Vector3.new(1, 1.60000002, 1)
  1253. o173.CFrame = CFrame.new(-149.149506, 14.9096584, 158.92305, 0.896231771, -0.443586856, -4.22744524e-05, -7.1242107e-06, -0.000109933746, 1.00000036, -0.443586916, -0.896231651, -0.000101472622)
  1254. o173.BackSurface = Enum.SurfaceType.Weld
  1255. o173.BottomSurface = Enum.SurfaceType.Smooth
  1256. o173.TopSurface = Enum.SurfaceType.Smooth
  1257. o173.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1258. o173.Position = Vector3.new(-149.149506, 14.9096584, 158.92305)
  1259. o173.velocity = Vector3.new(-0.00152531837, -0.0787118971, -0.00191395392)
  1260. o174.Parent = o173
  1261. o175.Parent = o173
  1262. o175.Texture = "http://www.roblox.com/asset/?id=34059325"
  1263. o175.Face = Enum.NormalId.Bottom
  1264. o176.Parent = o173
  1265. o176.Texture = "http://www.roblox.com/asset/?id=34059325"
  1266. o177.Parent = o173
  1267. o177.Texture = "http://www.roblox.com/asset/?id=34059325"
  1268. o177.Face = Enum.NormalId.Top
  1269. o178.Name = "For"
  1270. o178.Parent = o170
  1271. o178.BrickColor = BrickColor.new("Light orange")
  1272. o178.Position = Vector3.new(-149.934341, 16.6758747, 157.337311)
  1273. o178.Rotation = Vector3.new(48.079998, 18.2999992, -19.2700005)
  1274. o178.RotVelocity = Vector3.new(0.00318454695, -0.000357494195, -0.00149661442)
  1275. o178.Velocity = Vector3.new(0.00213208748, -0.07296516, 0.00315815862)
  1276. o178.FormFactor = Enum.FormFactor.Plate
  1277. o178.Size = Vector3.new(3, 0.400000006, 4)
  1278. o178.CFrame = CFrame.new(-149.934341, 16.6758747, 157.337311, 0.896231711, 0.313393712, 0.313931733, -6.66987989e-06, 0.707722485, -0.706490517, -0.44358626, 0.633177102, 0.63428539)
  1279. o178.BottomSurface = Enum.SurfaceType.Smooth
  1280. o178.TopSurface = Enum.SurfaceType.Smooth
  1281. o178.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1282. o178.Position = Vector3.new(-149.934341, 16.6758747, 157.337311)
  1283. o178.velocity = Vector3.new(0.00213208748, -0.07296516, 0.00315815862)
  1284. o179.Parent = o178
  1285. o179.Scale = Vector3.new(1, 4, 1)
  1286. o180.Parent = o178
  1287. o180.CFrame = CFrame.new(-153.855698, 15.9081268, 161.808823, -0.896267891, 0.313588858, -0.313633442, -1.36345625e-05, 0.707137585, 0.707075953, 0.443513155, 0.633733749, -0.633780479)
  1288. o181.Parent = o178
  1289. o181.Texture = "http://www.roblox.com/asset/?id=34059325"
  1290. o181.Face = Enum.NormalId.Top
  1291. o182.Parent = o178
  1292. o182.Texture = "http://www.roblox.com/asset/?id=34059325"
  1293. o182.Face = Enum.NormalId.Bottom
  1294. o183.Parent = o178
  1295. o183.Texture = "http://www.roblox.com/asset/?id=34059325"
  1296. o183.Face = Enum.NormalId.Left
  1297. o184.Parent = o178
  1298. o184.Texture = "http://www.roblox.com/asset/?id=34059325"
  1299. o184.Face = Enum.NormalId.Right
  1300. o185.Parent = o170
  1301. o185.BrickColor = BrickColor.new("Light orange")
  1302. o185.Position = Vector3.new(-150.530594, 17.4527225, 156.13266)
  1303. o185.Rotation = Vector3.new(0, -63.6699982, -44.9500008)
  1304. o185.RotVelocity = Vector3.new(0.00214296207, -0.000198550057, -0.000865337497)
  1305. o185.Velocity = Vector3.new(0.00321544823, -0.0445549227, 0.00317868614)
  1306. o185.CanCollide = false
  1307. o185.FormFactor = Enum.FormFactor.Plate
  1308. o185.Size = Vector3.new(1, 0.400000006, 3)
  1309. o185.CFrame = CFrame.new(-150.530594, 17.4527225, 156.13266, 0.313905686, 0.313396573, -0.896239817, -0.706499219, 0.707713783, 2.33882492e-05, 0.634288609, 0.633185387, 0.443569809)
  1310. o185.BottomSurface = Enum.SurfaceType.Smooth
  1311. o185.RightSurface = Enum.SurfaceType.Weld
  1312. o185.TopSurface = Enum.SurfaceType.Hinge
  1313. o185.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1314. o185.Position = Vector3.new(-150.530594, 17.4527225, 156.13266)
  1315. o185.velocity = Vector3.new(0.00321544823, -0.0445549227, 0.00317868614)
  1316. o186.Parent = o170
  1317. o186.BrickColor = BrickColor.new("Light orange")
  1318. o186.Position = Vector3.new(-150.279892, 18.0188961, 156.639191)
  1319. o186.Rotation = Vector3.new(0, -63.6699982, -44.9500008)
  1320. o186.RotVelocity = Vector3.new(0.00214296207, -0.000198550057, -0.000865337497)
  1321. o186.Velocity = Vector3.new(0.00360480766, -0.0458573401, 0.00444175163)
  1322. o186.CanCollide = false
  1323. o186.FormFactor = Enum.FormFactor.Plate
  1324. o186.Size = Vector3.new(1, 0.400000006, 3)
  1325. o186.CFrame = CFrame.new(-150.279892, 18.0188961, 156.639191, 0.313905686, 0.313396573, -0.896239817, -0.706499219, 0.707713783, 2.33882492e-05, 0.634288609, 0.633185387, 0.443569809)
  1326. o186.BottomSurface = Enum.SurfaceType.Hinge
  1327. o186.RightSurface = Enum.SurfaceType.Weld
  1328. o186.TopSurface = Enum.SurfaceType.Smooth
  1329. o186.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1330. o186.Position = Vector3.new(-150.279892, 18.0188961, 156.639191)
  1331. o186.velocity = Vector3.new(0.00360480766, -0.0458573401, 0.00444175163)
  1332. o187.Parent = o170
  1333. o187.BrickColor = BrickColor.new("Light orange")
  1334. o187.Position = Vector3.new(-150.045746, 14.9098244, 159.366608)
  1335. o187.Rotation = Vector3.new(48.079998, 18.2999992, -19.2700005)
  1336. o187.RotVelocity = Vector3.new(0.00205144612, -0.000417816249, -0.00105619582)
  1337. o187.Velocity = Vector3.new(-0.000745164463, -0.0514443442, -0.00167304091)
  1338. o187.CanCollide = false
  1339. o187.FormFactor = Enum.FormFactor.Plate
  1340. o187.Size = Vector3.new(1, 1.60000002, 1)
  1341. o187.CFrame = CFrame.new(-150.045746, 14.9098244, 159.366608, 0.896232069, 0.313396573, 0.313927829, -5.89787805e-06, 0.707713783, -0.706499279, -0.443585485, 0.633185446, 0.634277642)
  1342. o187.BottomSurface = Enum.SurfaceType.Smooth
  1343. o187.FrontSurface = Enum.SurfaceType.Weld
  1344. o187.RightSurface = Enum.SurfaceType.Hinge
  1345. o187.TopSurface = Enum.SurfaceType.Smooth
  1346. o187.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1347. o187.Position = Vector3.new(-150.045746, 14.9098244, 159.366608)
  1348. o187.velocity = Vector3.new(-0.000745164463, -0.0514443442, -0.00167304091)
  1349. o188.Parent = o187
  1350. o189.Parent = o187
  1351. o189.Texture = "http://www.roblox.com/asset/?id=34059325"
  1352. o189.Face = Enum.NormalId.Top
  1353. o190.Parent = o187
  1354. o190.Texture = "http://www.roblox.com/asset/?id=34059325"
  1355. o190.Face = Enum.NormalId.Bottom
  1356. o191.Parent = o187
  1357. o191.Texture = "http://www.roblox.com/asset/?id=34059325"
  1358. o191.Face = Enum.NormalId.Back
  1359. o192.Parent = o187
  1360. o192.Texture = "http://www.roblox.com/asset/?id=34059325"
  1361. o192.Face = Enum.NormalId.Left
  1362. o193.Parent = o170
  1363. o193.BrickColor = BrickColor.new("Light orange")
  1364. o193.Position = Vector3.new(-148.253296, 14.9094763, 158.479446)
  1365. o193.Rotation = Vector3.new(48.079998, 18.2999992, -19.2700005)
  1366. o193.RotVelocity = Vector3.new(0.00310796336, -0.000362452556, -0.0014678553)
  1367. o193.Velocity = Vector3.new(-0.000383022241, -0.114262335, -0.000940391677)
  1368. o193.CanCollide = false
  1369. o193.FormFactor = Enum.FormFactor.Plate
  1370. o193.Size = Vector3.new(1, 1.60000002, 1)
  1371. o193.CFrame = CFrame.new(-148.253296, 14.9094763, 158.479446, 0.89623183, 0.313398451, 0.313926637, -5.79942116e-06, 0.707710207, -0.706502855, -0.443585992, 0.633188486, 0.634274244)
  1372. o193.BottomSurface = Enum.SurfaceType.Smooth
  1373. o193.FrontSurface = Enum.SurfaceType.Weld
  1374. o193.LeftSurface = Enum.SurfaceType.Hinge
  1375. o193.TopSurface = Enum.SurfaceType.Smooth
  1376. o193.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1377. o193.Position = Vector3.new(-148.253296, 14.9094763, 158.479446)
  1378. o193.velocity = Vector3.new(-0.000383022241, -0.114262335, -0.000940391677)
  1379. o194.Parent = o193
  1380. o195.Parent = o193
  1381. o195.Texture = "http://www.roblox.com/asset/?id=34059325"
  1382. o195.Face = Enum.NormalId.Top
  1383. o196.Parent = o193
  1384. o196.Texture = "http://www.roblox.com/asset/?id=34059325"
  1385. o196.Face = Enum.NormalId.Back
  1386. o197.Parent = o193
  1387. o197.Texture = "http://www.roblox.com/asset/?id=34059325"
  1388. o197.Face = Enum.NormalId.Bottom
  1389. o198.Parent = o193
  1390. o198.Texture = "http://www.roblox.com/asset/?id=34059325"
  1391. o198.Face = Enum.NormalId.Right
  1392. o199.Parent = o170
  1393. o199.BrickColor = BrickColor.new("Light orange")
  1394. o199.Position = Vector3.new(-149.149658, 18.909483, 158.922653)
  1395. o199.Rotation = Vector3.new(-90.0099945, 0, 26.3299999)
  1396. o199.RotVelocity = Vector3.new(0.000463838311, -0.000358361081, -0.000198288515)
  1397. o199.Velocity = Vector3.new(0.000270274817, -0.114987001, 0.000613995711)
  1398. o199.CanCollide = false
  1399. o199.FormFactor = Enum.FormFactor.Plate
  1400. o199.Size = Vector3.new(3, 1.60000002, 1)
  1401. o199.CFrame = CFrame.new(-149.149658, 18.909483, 158.922653, 0.896232069, -0.443585753, -4.04177408e-05, -6.56739212e-06, -0.000104384868, 1.00000012, -0.443585813, -0.896231949, -9.64662613e-05)
  1402. o199.BottomSurface = Enum.SurfaceType.Smooth
  1403. o199.FrontSurface = Enum.SurfaceType.Weld
  1404. o199.TopSurface = Enum.SurfaceType.Smooth
  1405. o199.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1406. o199.Position = Vector3.new(-149.149658, 18.909483, 158.922653)
  1407. o199.velocity = Vector3.new(0.000270274817, -0.114987001, 0.000613995711)
  1408. o200.Parent = o199
  1409. o201.Parent = o199
  1410. o201.Texture = "http://www.roblox.com/asset/?id=34059325"
  1411. o201.Face = Enum.NormalId.Top
  1412. o202.Parent = o199
  1413. o202.Texture = "http://www.roblox.com/asset/?id=34059325"
  1414. o202.Face = Enum.NormalId.Bottom
  1415. o203.Parent = o199
  1416. o203.Texture = "http://www.roblox.com/asset/?id=34059325"
  1417. o203.Face = Enum.NormalId.Left
  1418. o204.Parent = o199
  1419. o204.Texture = "http://www.roblox.com/asset/?id=34059325"
  1420. o204.Face = Enum.NormalId.Right
  1421. o205.Parent = o170
  1422. o205.BrickColor = BrickColor.new("Light orange")
  1423. o205.Position = Vector3.new(-149.371506, 19.9095287, 158.474396)
  1424. o205.Rotation = Vector3.new(180, 63.6699982, 89.9899979)
  1425. o205.RotVelocity = Vector3.new(0.000441437121, -0.000357210229, -0.000187504149)
  1426. o205.Velocity = Vector3.new(0.000500947412, -0.0930333883, 0.000673367816)
  1427. o205.CanCollide = false
  1428. o205.FormFactor = Enum.FormFactor.Plate
  1429. o205.Size = Vector3.new(1, 0.600000024, 3)
  1430. o205.CFrame = CFrame.new(-149.371506, 19.9095287, 158.474396, 4.04610364e-05, -0.443585783, 0.896232128, -1.00000024, -0.000105435429, -7.03906244e-06, 9.76170559e-05, -0.89623189, -0.443585932)
  1431. o205.BottomSurface = Enum.SurfaceType.Hinge
  1432. o205.RightSurface = Enum.SurfaceType.Weld
  1433. o205.TopSurface = Enum.SurfaceType.Smooth
  1434. o205.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1435. o205.Position = Vector3.new(-149.371506, 19.9095287, 158.474396)
  1436. o205.velocity = Vector3.new(0.000500947412, -0.0930333883, 0.000673367816)
  1437. o206.Parent = o205
  1438. o207.Parent = o205
  1439. o207.Texture = "http://www.roblox.com/asset/?id=34059325"
  1440. o207.Face = Enum.NormalId.Top
  1441. o208.Parent = o205
  1442. o208.Texture = "http://www.roblox.com/asset/?id=34059325"
  1443. o208.Face = Enum.NormalId.Left
  1444. o209.Parent = o205
  1445. o209.Texture = "http://www.roblox.com/asset/?id=34059325"
  1446. o210.Parent = o170
  1447. o210.BrickColor = BrickColor.new("Light orange")
  1448. o210.Position = Vector3.new(-149.149719, 19.9097271, 158.922546)
  1449. o210.Rotation = Vector3.new(89.9899979, 0, 153.669998)
  1450. o210.RotVelocity = Vector3.new(0.00100808963, -0.000279599772, 0.000881374348)
  1451. o210.Velocity = Vector3.new(0.000371297239, -0.0607722998, 0.000633029907)
  1452. o210.FormFactor = Enum.FormFactor.Plate
  1453. o210.Size = Vector3.new(3, 0.400000006, 1)
  1454. o210.CFrame = CFrame.new(-149.149719, 19.9097271, 158.922546, -0.896231592, -0.443586469, 5.15150095e-05, -4.87466605e-06, -0.000106284082, -1, 0.443586469, -0.896231592, 9.30928145e-05)
  1455. o210.BottomSurface = Enum.SurfaceType.Smooth
  1456. o210.RightSurface = Enum.SurfaceType.Hinge
  1457. o210.TopSurface = Enum.SurfaceType.Smooth
  1458. o210.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1459. o210.Position = Vector3.new(-149.149719, 19.9097271, 158.922546)
  1460. o210.velocity = Vector3.new(0.000371297239, -0.0607722998, 0.000633029907)
  1461. o211.Parent = o210
  1462. o212.Parent = o210
  1463. o212.Texture = "http://www.roblox.com/asset/?id=34059325"
  1464. o212.Face = Enum.NormalId.Back
  1465. o213.Parent = o210
  1466. o213.Texture = "http://www.roblox.com/asset/?id=34059325"
  1467. o213.Face = Enum.NormalId.Left
  1468. o214.Parent = o170
  1469. o214.BrickColor = BrickColor.new("Light orange")
  1470. o214.Position = Vector3.new(-148.927917, 19.9097919, 159.370667)
  1471. o214.Rotation = Vector3.new(180, 63.6699982, 89.9899979)
  1472. o214.RotVelocity = Vector3.new(0.000457723741, -0.00032194244, -0.000199707007)
  1473. o214.Velocity = Vector3.new(0.000292770041, -0.0581220463, 0.000850258104)
  1474. o214.CanCollide = false
  1475. o214.FormFactor = Enum.FormFactor.Plate
  1476. o214.Size = Vector3.new(1, 0.600000024, 3)
  1477. o214.CFrame = CFrame.new(-148.927917, 19.9097919, 159.370667, 4.06708568e-05, -0.443585813, 0.89623189, -1, -0.000105220555, -6.69858491e-06, 9.72734124e-05, -0.89623189, -0.443585813)
  1478. o214.BottomSurface = Enum.SurfaceType.Smooth
  1479. o214.RightSurface = Enum.SurfaceType.Weld
  1480. o214.TopSurface = Enum.SurfaceType.Hinge
  1481. o214.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1482. o214.Position = Vector3.new(-148.927917, 19.9097919, 159.370667)
  1483. o214.velocity = Vector3.new(0.000292770041, -0.0581220463, 0.000850258104)
  1484. o215.Parent = o214
  1485. o216.Parent = o214
  1486. o216.Texture = "http://www.roblox.com/asset/?id=34059325"
  1487. o216.Face = Enum.NormalId.Left
  1488. o217.Parent = o214
  1489. o217.Texture = "http://www.roblox.com/asset/?id=34059325"
  1490. o217.Face = Enum.NormalId.Bottom
  1491. o218.Parent = o214
  1492. o218.Texture = "http://www.roblox.com/asset/?id=34059325"
  1493. o219.Name = "Back"
  1494. o219.Parent = o170
  1495. o219.BrickColor = BrickColor.new("Light orange")
  1496. o219.Position = Vector3.new(-149.149612, 16.9097004, 158.922852)
  1497. o219.Rotation = Vector3.new(-0.00999999978, 26.3299999, 0)
  1498. o219.RotVelocity = Vector3.new(0.000438916904, -0.000315449841, -0.000207028759)
  1499. o219.Velocity = Vector3.new(9.34078707e-06, -0.0670734346, -0.000339275808)
  1500. o219.CanCollide = false
  1501. o219.FormFactor = Enum.FormFactor.Plate
  1502. o219.Size = Vector3.new(3, 3, 1.60000002)
  1503. o219.CFrame = CFrame.new(-149.149612, 16.9097004, 158.922852, 0.896232426, -4.02329679e-05, 0.443585515, -6.85249552e-06, 1.00000024, 0.000104782848, -0.443585634, -9.67357482e-05, 0.896232188)
  1504. o219.BottomSurface = Enum.SurfaceType.Smooth
  1505. o219.TopSurface = Enum.SurfaceType.Weld
  1506. o219.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1507. o219.Position = Vector3.new(-149.149612, 16.9097004, 158.922852)
  1508. o219.velocity = Vector3.new(9.34078707e-06, -0.0670734346, -0.000339275808)
  1509. o220.Parent = o219
  1510. o221.Parent = o219
  1511. o221.CFrame = CFrame.new(-153.855682, 15.908123, 161.808777, -0.896250248, 0, -0.443548888, 0, 1, 0, 0.443548888, 0, -0.896250248)
  1512. o222.Parent = o219
  1513. o222.Texture = "http://www.roblox.com/asset/?id=34059325"
  1514. o223.Parent = o219
  1515. o223.Texture = "http://www.roblox.com/asset/?id=34059325"
  1516. o223.Face = Enum.NormalId.Back
  1517. o224.Parent = o219
  1518. o224.Texture = "http://www.roblox.com/asset/?id=34059325"
  1519. o224.Face = Enum.NormalId.Left
  1520. o225.Parent = o219
  1521. o225.Texture = "http://www.roblox.com/asset/?id=34059325"
  1522. o225.Face = Enum.NormalId.Right
  1523. o226.Name = "TS"
  1524. o226.Parent = o5
  1525. o227.Name = "WalkSpeed"
  1526. o227.Parent = o5
  1527. o227.Value = 50
  1528. o228.Name = "Extra"
  1529. o228.Parent = o5
  1530. o229.Parent = o228
  1531. o229.Material = Enum.Material.DiamondPlate
  1532. o229.BrickColor = BrickColor.new("Really black")
  1533. o229.Position = Vector3.new(-154.291748, 16.6099052, 158.678162)
  1534. o229.Rotation = Vector3.new(180, -26.3299999, 180)
  1535. o229.RotVelocity = Vector3.new(7.29114181e-05, 2.30603632e-06, -3.73554176e-05)
  1536. o229.Velocity = Vector3.new(-3.93169394e-05, -0.000397039286, -9.19952872e-05)
  1537. o229.Size = Vector3.new(2, 7, 2)
  1538. o229.CFrame = CFrame.new(-154.291748, 16.6099052, 158.678162, -0.896231174, -1.23762238e-05, -0.443587333, -5.8673902e-07, 1, -2.67148516e-05, 0.443587333, -2.36824126e-05, -0.896231174)
  1539. o229.FrontSurface = Enum.SurfaceType.Weld
  1540. o229.RightSurface = Enum.SurfaceType.Smooth
  1541. o229.TopSurface = Enum.SurfaceType.Weld
  1542. o229.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1543. o229.Position = Vector3.new(-154.291748, 16.6099052, 158.678162)
  1544. o229.velocity = Vector3.new(-3.93169394e-05, -0.000397039286, -9.19952872e-05)
  1545. o230.Parent = o229
  1546. o230.Texture = "http://www.roblox.com/asset/?id=34059325"
  1547. o230.Face = Enum.NormalId.Top
  1548. o231.Parent = o228
  1549. o231.Material = Enum.Material.DiamondPlate
  1550. o231.BrickColor = BrickColor.new("Really black")
  1551. o231.Position = Vector3.new(-156.084213, 16.6099033, 159.565353)
  1552. o231.Rotation = Vector3.new(180, -26.3299999, 180)
  1553. o231.RotVelocity = Vector3.new(9.06371279e-05, 2.39951096e-05, -4.75994966e-05)
  1554. o231.Velocity = Vector3.new(-5.2035175e-06, -0.000280407636, -3.562044e-05)
  1555. o231.Size = Vector3.new(2, 7, 2)
  1556. o231.CFrame = CFrame.new(-156.084213, 16.6099033, 159.565353, -0.896231115, -1.2365289e-05, -0.443587422, -5.53053724e-07, 1, -2.67582545e-05, 0.443587422, -2.37362528e-05, -0.896231115)
  1557. o231.FrontSurface = Enum.SurfaceType.Weld
  1558. o231.LeftSurface = Enum.SurfaceType.Smooth
  1559. o231.TopSurface = Enum.SurfaceType.Weld
  1560. o231.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1561. o231.Position = Vector3.new(-156.084213, 16.6099033, 159.565353)
  1562. o231.velocity = Vector3.new(-5.2035175e-06, -0.000280407636, -3.562044e-05)
  1563. o232.Parent = o228
  1564. o232.Material = Enum.Material.DiamondPlate
  1565. o232.BrickColor = BrickColor.new("Really black")
  1566. o232.Position = Vector3.new(-156.084091, 6.94995451, 159.565582)
  1567. o232.Rotation = Vector3.new(180, -26.3299999, 180)
  1568. o232.RotVelocity = Vector3.new(5.85778944e-05, 0.000101170088, -4.82724608e-05)
  1569. o232.Velocity = Vector3.new(-0.000452452805, -0.000421257981, 0.000336551864)
  1570. o232.Size = Vector3.new(2, 8, 2)
  1571. o232.CFrame = CFrame.new(-156.084091, 6.94995451, 159.565582, -0.896231174, -5.42594671e-06, -0.443587899, -6.39731468e-07, 1.00000024, -1.11778536e-05, 0.443587899, -9.52048322e-06, -0.896231174)
  1572. o232.FrontSurface = Enum.SurfaceType.Weld
  1573. o232.LeftSurface = Enum.SurfaceType.Smooth
  1574. o232.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1575. o232.Position = Vector3.new(-156.084091, 6.94995451, 159.565582)
  1576. o232.velocity = Vector3.new(-0.000452452805, -0.000421257981, 0.000336551864)
  1577. o233.Parent = o228
  1578. o233.Material = Enum.Material.DiamondPlate
  1579. o233.BrickColor = BrickColor.new("Really black")
  1580. o233.Position = Vector3.new(-154.291626, 6.95000505, 158.678299)
  1581. o233.Rotation = Vector3.new(-180, -26.3299999, -180)
  1582. o233.RotVelocity = Vector3.new(-2.7284721e-05, 9.27424298e-06, -8.20888017e-05)
  1583. o233.Velocity = Vector3.new(6.48194255e-05, -0.000629023532, -0.000417573785)
  1584. o233.Size = Vector3.new(2, 8, 2)
  1585. o233.CFrame = CFrame.new(-154.291626, 6.95000505, 158.678299, -0.896231413, 1.88410945e-06, -0.443587422, -1.40767625e-07, 1.00000024, 4.29342799e-06, 0.443587422, 4.12402551e-06, -0.896231413)
  1586. o233.FrontSurface = Enum.SurfaceType.Weld
  1587. o233.RightSurface = Enum.SurfaceType.Smooth
  1588. o233.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1589. o233.Position = Vector3.new(-154.291626, 6.95000505, 158.678299)
  1590. o233.velocity = Vector3.new(6.48194255e-05, -0.000629023532, -0.000417573785)
  1591. o234.Parent = o5
  1592.  
  1593. runDummyScript(function()
  1594. --Start Naming Main variables--
  1595. MSCRIPT3 = script
  1596. script = script.Parent
  1597. --Above names script to the script's parent. that makes it easier.--
  1598. Control = script.Control
  1599. Torso = script.Torso.Main
  1600. LarmM = script["Left Arm"]
  1601. Larm = {
  1602. Hand = LarmM.Hand,
  1603. For = LarmM.For,
  1604. Back = LarmM.Back
  1605. }
  1606. RarmM = script["Right Arm"]
  1607. Rarm = {
  1608. Hand = RarmM.Hand,
  1609. For = RarmM.For,
  1610. Back = RarmM.Back
  1611. }
  1612. legs = script.Legs
  1613. Legs = {
  1614. Left = legs["Left Leg"].Main,
  1615. Right = legs["Right Leg"].Main
  1616. }
  1617. larg = {
  1618. H = Larm.Hand.BodyGyro,
  1619. F = Larm.For.BodyGyro,
  1620. B = Larm.Back.BodyGyro
  1621. }
  1622. rarg = {
  1623. H = Rarm.Hand.BodyGyro,
  1624. F = Rarm.For.BodyGyro,
  1625. B = Rarm.Back.BodyGyro
  1626. }
  1627. leg = {
  1628. L = Legs.Right.BodyGyro,
  1629. R = Legs.Left.BodyGyro
  1630. }
  1631. TG = Torso.BodyGyro
  1632. TV = Torso.BodyVelocity
  1633. TBAV = Torso.BodyAngularVelocity
  1634. ---Finish of setting the main variables, long, huh?---
  1635. local highest = math.rad(45)
  1636. local add = math.rad(7)
  1637. local Amount = 0
  1638. local TS = false --Tool Selected
  1639. local Sit = false
  1640. script.TS.Changed:connect(function()
  1641. TS = script.TS.Value
  1642. end)
  1643.  
  1644. Control.ChildAdded:connect(function(c)
  1645. local In = true
  1646. Control.ChildRemoved:connect(function(cc)
  1647. if cc == c then
  1648. In = false
  1649. end
  1650. end)
  1651. if c.Name == "SeatWeld" and c:IsA("Weld") then
  1652. local plyr = game.Players:GetPlayerFromCharacter(c.Part1.Parent)
  1653. if plyr == nil then plyr = game.Players:GetPlayerFromCharacter(c.Part0.Parent) end
  1654. if plyr ~= nil then
  1655. if plyr:findFirstChild("Backpack") == nil then return end
  1656. if plyr.Character:findFirstChild("Right Arm") == nil then return end
  1657. plyr.Character["Right Arm"].ChildAdded:connect(function(c)
  1658. if In == false then return end
  1659. if c.Name == "RightGrip" and c:IsA("Weld") then
  1660. c.Part0 = RarmM.Hand
  1661. LarmM.Hand:MakeJoints()
  1662. script.TS.Value = true
  1663. end
  1664. end)
  1665. plyr.Character["Right Arm"].ChildRemoved:connect(function(c)
  1666. if In == false then return end
  1667. if c.Name == "RightGrip" and c:IsA("Weld") then
  1668. script.TS.Value = false
  1669. end
  1670. end)
  1671. end
  1672. end
  1673. end)
  1674.  
  1675. Walk = function()
  1676. if Amount >= highest or Amount <= -highest then
  1677. add = -add
  1678. end
  1679. Amount = Amount+add
  1680.  
  1681.  
  1682. leg.L.cframe = Torso.CFrame*CFrame.Angles(Amount,0,0)
  1683. leg.R.cframe = Torso.CFrame*CFrame.Angles(-Amount,0,0)
  1684.  
  1685. larg.B.cframe = Torso.CFrame*CFrame.Angles(Amount,0,0)
  1686. larg.F.cframe = Torso.CFrame*CFrame.Angles(math.rad(45/3),0,0)
  1687.  
  1688. if TS == false then
  1689. rarg.B.cframe = Torso.CFrame*CFrame.Angles(-Amount,0,0)
  1690. rarg.F.cframe = Torso.CFrame*CFrame.Angles(math.rad(45/3),0,0)
  1691. else
  1692. rarg.B.cframe = Torso.CFrame*CFrame.Angles(math.rad(45+45/2),0,0)
  1693. rarg.F.cframe = Torso.CFrame*CFrame.Angles(math.rad(45),0,0)
  1694. end
  1695.  
  1696. end
  1697.  
  1698.  
  1699. Stand = function()
  1700. leg.L.cframe = Torso.CFrame*CFrame.Angles(0,0,0)
  1701. leg.R.cframe = Torso.CFrame*CFrame.Angles(0,0,0)
  1702.  
  1703. larg.B.cframe = Torso.CFrame*CFrame.Angles(0,0,0)
  1704. larg.F.cframe = Torso.CFrame*CFrame.Angles(math.rad(-45),0,0)
  1705.  
  1706. rarg.B.cframe = Torso.CFrame*CFrame.Angles(0,0,0)
  1707. rarg.F.cframe = Torso.CFrame*CFrame.Angles(math.rad(-45),0,0)
  1708. if TS == true then
  1709. rarg.B.cframe = Torso.CFrame*CFrame.Angles(math.rad(45+45/2),0,0)
  1710. rarg.F.cframe = Torso.CFrame*CFrame.Angles(math.rad(45),0,0)
  1711. end
  1712. end
  1713.  
  1714. Sit = function()
  1715. leg.L.cframe = Torso.CFrame*CFrame.Angles(math.rad(90),0,0)
  1716. leg.R.cframe = Torso.CFrame*CFrame.Angles(math.rad(90),0,0)
  1717.  
  1718. larg.B.cframe = Torso.CFrame*CFrame.Angles(math.rad(45),0,0)
  1719. larg.F.cframe = Torso.CFrame*CFrame.Angles(math.rad(90+45/2),0,0)
  1720.  
  1721. rarg.B.cframe = Torso.CFrame*CFrame.Angles(math.rad(45),0,0)
  1722. rarg.F.cframe = Torso.CFrame*CFrame.Angles(math.rad(90+45/2),0,0)
  1723. if TS == true then
  1724. rarg.B.cframe = Torso.CFrame*CFrame.Angles(math.rad(45+45/2),0,0)
  1725. rarg.F.cframe = Torso.CFrame*CFrame.Angles(math.rad(45),0,0)
  1726. end
  1727. end
  1728.  
  1729.  
  1730. while true do
  1731. TV.velocity = (Torso.CFrame.lookVector*script.WalkSpeed.Value)*Control.Throttle
  1732. TBAV.angularvelocity = Vector3.new(0,-5,0)*Control.Steer
  1733. rarg.H.cframe = rarg.F.cframe
  1734. larg.H.cframe = larg.F.cframe
  1735. if Control.Throttle ~= 0 then
  1736. Walk()
  1737. elseif Sit == true then
  1738. Sit()
  1739. else
  1740. Stand()
  1741. end
  1742. wait()
  1743. end
  1744.  
  1745.  
  1746. end,o234)
  1747.  
  1748. o235.Parent = o4
  1749. o235.BrickColor = BrickColor.new("Light orange")
  1750. o235.Transparency = 0.5
  1751. o235.Position = Vector3.new(-152.748322, 23.3100643, 164.050873)
  1752. o235.Rotation = Vector3.new(180, -26.3299999, 180)
  1753. o235.RotVelocity = Vector3.new(6.22268708e-05, 1.85558474e-05, -3.12149459e-05)
  1754. o235.Velocity = Vector3.new(0.000307265465, -0.00072187779, 0.000306008966)
  1755. o235.CanCollide = false
  1756. o235.FormFactor = Enum.FormFactor.Plate
  1757. o235.Size = Vector3.new(6, 3.60000205, 1)
  1758. o235.CFrame = CFrame.new(-152.748322, 23.3100643, 164.050873, -0.896231055, -1.22906058e-05, -0.443587571, -4.02138085e-07, 1, -2.68947952e-05, 0.443587571, -2.3925566e-05, -0.896231055)
  1759. o235.BottomSurface = Enum.SurfaceType.Weld
  1760. o235.FrontSurface = Enum.SurfaceType.Weld
  1761. o235.TopSurface = Enum.SurfaceType.Smooth
  1762. o235.Color = Color3.new(0.917647, 0.721569, 0.572549)
  1763. o235.Position = Vector3.new(-152.748322, 23.3100643, 164.050873)
  1764. o235.velocity = Vector3.new(0.000307265465, -0.00072187779, 0.000306008966)
  1765. o236.Parent = o235
  1766. o237.Name = "Regen Button"
  1767. o237.Parent = o4
  1768. o237.BrickColor = BrickColor.new("Bright violet")
  1769. o237.Position = Vector3.new(38.5717087, 4.13876295, 211.019821)
  1770. o237.Rotation = Vector3.new(45.0200005, -80.4499969, 0.00999999978)
  1771. o237.Anchored = true
  1772. o237.FormFactor = Enum.FormFactor.Plate
  1773. o237.Size = Vector3.new(4, 1.20000005, 4)
  1774. o237.CFrame = CFrame.new(38.5717087, 4.13876295, 211.019821, 0.165842772, -3.88026237e-05, -0.986152172, -0.697334766, 0.707082033, -0.117299706, 0.69729507, 0.707131505, 0.117237329)
  1775. o237.TopSurface = Enum.SurfaceType.Smooth
  1776. o237.Color = Color3.new(0.419608, 0.196078, 0.486275)
  1777. o237.Position = Vector3.new(38.5717087, 4.13876295, 211.019821)
  1778. o238.Name = "Regen"
  1779. o238.Parent = o237
  1780.  
  1781. runDummyScript(function()
  1782. --Made by Djrules203, just group with the model to get it to work. This button also works for planes.
  1783. --Do not change anything besides the lines mentioned below.
  1784.  
  1785. model = script.Parent.Parent--Indicates that the script interacts with the model the button is grouped with.
  1786. messageText = "Regenerating Car"--If you want a message to appear upon pressing, type it here.
  1787.  
  1788. message = Instance.new("Message")
  1789. message.Text = messageText
  1790. backup = model:clone()
  1791. enabled = true
  1792.  
  1793. function regenerate()
  1794. message.Parent = game.Workspace
  1795. model:remove()
  1796.  
  1797. wait(2)--Change this number to display the regen message as long as you want in seconds.
  1798.  
  1799. model = backup:clone()
  1800. model.Parent = game.Workspace
  1801. model:makeJoints()
  1802. message.Parent = nil
  1803.  
  1804. script.Disabled = true
  1805. script.Parent.BrickColor = BrickColor.new(26)--Black
  1806. wait(5)--Change this number to change the time in between regenerations via the button, in seconds..
  1807. script.Parent.BrickColor = BrickColor.new(104)--Purple
  1808. script.Disabled = false
  1809. end
  1810.  
  1811. function onHit(hit)
  1812. if (hit.Parent:FindFirstChild("Humanoid") ~= nil) and enabled then
  1813. regenerate()
  1814. end
  1815. end
  1816.  
  1817. script.Parent.Touched:connect(onHit)
  1818.  
  1819. --And it's done. If there's anything wrong with this button, PM me. -EdduTheArdo
  1820. end,o238)
  1821.  
  1822. o240.Name = "Hat"
  1823. o240.Parent = o4
  1824. o240.BrickColor = BrickColor.new("Really red")
  1825. o240.Position = Vector3.new(-153.85733, 26.5099831, 161.810226)
  1826. o240.Rotation = Vector3.new(180, -26.3299999, 180)
  1827. o240.RotVelocity = Vector3.new(8.06214375e-05, 2.9661494e-06, -4.10752691e-05)
  1828. o240.Velocity = Vector3.new(0.000387177512, -0.000642053375, 0.000729058869)
  1829. o240.FormFactor = Enum.FormFactor.Plate
  1830. o240.Size = Vector3.new(16, 2.79999995, 4)
  1831. o240.CFrame = CFrame.new(-153.85733, 26.5099831, 161.810226, -0.896230876, -1.24807257e-05, -0.443587869, -5.96904783e-07, 1, -2.69298653e-05, 0.443587869, -2.38705979e-05, -0.896230876)
  1832. o240.BottomSurface = Enum.SurfaceType.Smooth
  1833. o240.TopSurface = Enum.SurfaceType.Smooth
  1834. o240.Color = Color3.new(1, 0, 0)
  1835. o240.Position = Vector3.new(-153.85733, 26.5099831, 161.810226)
  1836. o240.velocity = Vector3.new(0.000387177512, -0.000642053375, 0.000729058869)
  1837. o241.Parent = o240
  1838. o241.MeshId = "http://www.roblox.com/asset/?id=1028713"
  1839. o241.Scale = Vector3.new(6, 6, 6)
  1840. o241.TextureId = "http://www.roblox.com/asset/?id=1073671"
  1841. o241.MeshType = Enum.MeshType.FileMesh
  1842. o242.Name = "timetodie23232223"
  1843. o242.Parent = mas
  1844. o242.Archivable = false
  1845. o242.PrimaryPart = o243
  1846. o243.Name = "Head"
  1847. o243.Parent = o242
  1848. o243.BrickColor = BrickColor.new("Pastel brown")
  1849. o243.Position = Vector3.new(-154.300858, 24.3099613, 160.914063)
  1850. o243.Rotation = Vector3.new(180, -26.3299999, 180)
  1851. o243.RotVelocity = Vector3.new(8.40461289e-05, 1.14953336e-05, -3.80658166e-05)
  1852. o243.Velocity = Vector3.new(0.000305729773, -0.000654387462, 0.000543240341)
  1853. o243.Locked = true
  1854. o243.FormFactor = Enum.FormFactor.Symmetric
  1855. o243.Size = Vector3.new(2, 1, 1)
  1856. o243.CFrame = CFrame.new(-154.300858, 24.3099613, 160.914063, -0.896230876, -1.2515352e-05, -0.443587899, -6.94983896e-07, 1, -2.68097629e-05, 0.443587899, -2.37194508e-05, -0.896230876)
  1857. o243.TopSurface = Enum.SurfaceType.Smooth
  1858. o243.Color = Color3.new(1, 0.8, 0.6)
  1859. o243.Position = Vector3.new(-154.300858, 24.3099613, 160.914063)
  1860. o243.velocity = Vector3.new(0.000305729773, -0.000654387462, 0.000543240341)
  1861. o244.Parent = o243
  1862. o244.Scale = Vector3.new(1.25, 1.25, 1.25)
  1863. o249.Name = "GettingUp"
  1864. o249.Parent = o243
  1865. o249.Archivable = false
  1866. o249.SoundId = "rbxasset://sounds/action_get_up.mp3"
  1867. o249.Volume = 0.64999997615814
  1868. o250.Name = "CharacterSoundEvent"
  1869. o250.Parent = o249
  1870. o251.Name = "Died"
  1871. o251.Parent = o243
  1872. o251.Archivable = false
  1873. o251.SoundId = "rbxasset://sounds/uuhhh.mp3"
  1874. o251.Volume = 0.64999997615814
  1875. o252.Name = "CharacterSoundEvent"
  1876. o252.Parent = o251
  1877. o253.Name = "FreeFalling"
  1878. o253.Parent = o243
  1879. o253.Archivable = false
  1880. o253.SoundId = "rbxasset://sounds/action_falling.mp3"
  1881. o253.TimePosition = 0.080095165967577
  1882. o253.Volume = 0
  1883. o253.Looped = true
  1884. o254.Name = "CharacterSoundEvent"
  1885. o254.Parent = o253
  1886. o255.Name = "Jumping"
  1887. o255.Parent = o243
  1888. o255.Archivable = false
  1889. o255.SoundId = "rbxasset://sounds/action_jump.mp3"
  1890. o255.Volume = 0.64999997615814
  1891. o256.Name = "CharacterSoundEvent"
  1892. o256.Parent = o255
  1893. o257.Name = "Landing"
  1894. o257.Parent = o243
  1895. o257.Archivable = false
  1896. o257.SoundId = "rbxasset://sounds/action_jump_land.mp3"
  1897. o257.Volume = 1
  1898. o258.Name = "CharacterSoundEvent"
  1899. o258.Parent = o257
  1900. o259.Name = "Splash"
  1901. o259.Parent = o243
  1902. o259.Archivable = false
  1903. o259.SoundId = "rbxasset://sounds/impact_water.mp3"
  1904. o259.Volume = 0.64999997615814
  1905. o260.Name = "CharacterSoundEvent"
  1906. o260.Parent = o259
  1907. o261.Name = "Running"
  1908. o261.Parent = o243
  1909. o261.Archivable = false
  1910. o261.Pitch = 1.8500000238419
  1911. o261.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  1912. o261.TimePosition = 2.2787930848735
  1913. o261.Volume = 0.64999997615814
  1914. o261.Looped = true
  1915. o262.Name = "CharacterSoundEvent"
  1916. o262.Parent = o261
  1917. o263.Name = "Swimming"
  1918. o263.Parent = o243
  1919. o263.Archivable = false
  1920. o263.Pitch = 1.6000000238419
  1921. o263.SoundId = "rbxasset://sounds/action_swim.mp3"
  1922. o263.Volume = 0.64999997615814
  1923. o263.Looped = true
  1924. o264.Name = "CharacterSoundEvent"
  1925. o264.Parent = o263
  1926. o265.Name = "Climbing"
  1927. o265.Parent = o243
  1928. o265.Archivable = false
  1929. o265.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  1930. o265.TimePosition = 1.6273876484411
  1931. o265.Volume = 0.64999997615814
  1932. o265.Looped = true
  1933. o266.Name = "CharacterSoundEvent"
  1934. o266.Parent = o265
  1935. o267.Name = "face"
  1936. o267.Parent = o243
  1937. o267.Texture = "http://www.roblox.com/asset/?id=13038247"
  1938. o268.Name = "Torso"
  1939. o268.Parent = o242
  1940. o268.BrickColor = BrickColor.new("Pastel brown")
  1941. o268.Position = Vector3.new(-154.300842, 22.8099594, 160.914108)
  1942. o268.Rotation = Vector3.new(180, -26.3299999, 180)
  1943. o268.RotVelocity = Vector3.new(0.000111007874, 1.1417731e-05, -5.17381377e-05)
  1944. o268.Velocity = Vector3.new(0.000285351416, -0.000654371572, 0.00055236154)
  1945. o268.Locked = true
  1946. o268.FormFactor = Enum.FormFactor.Symmetric
  1947. o268.Size = Vector3.new(2, 2, 1)
  1948. o268.CFrame = CFrame.new(-154.300842, 22.8099594, 160.914108, -0.896230996, -1.21118028e-05, -0.443587661, -4.39359013e-07, 1, -2.64165064e-05, 0.443587661, -2.34803974e-05, -0.896230996)
  1949. o268.LeftSurface = Enum.SurfaceType.Weld
  1950. o268.RightSurface = Enum.SurfaceType.Weld
  1951. o268.Color = Color3.new(1, 0.8, 0.6)
  1952. o268.Position = Vector3.new(-154.300842, 22.8099594, 160.914108)
  1953. o268.velocity = Vector3.new(0.000285351416, -0.000654371572, 0.00055236154)
  1954. o269.Name = "roblox"
  1955. o269.Parent = o268
  1956. o278.Name = "Right Shoulder"
  1957. o278.Parent = o268
  1958. o278.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1959. o278.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1960. o278.Part0 = o268
  1961. o278.Part1 = o286
  1962. o278.CurrentAngle = 1.5707963705063
  1963. o278.MaxVelocity = 0.10000000149012
  1964. o279.Name = "Left Shoulder"
  1965. o279.Parent = o268
  1966. o279.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1967. o279.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1968. o279.Part0 = o268
  1969. o279.Part1 = o283
  1970. o279.CurrentAngle = -1.5707963705063
  1971. o279.MaxVelocity = 0.10000000149012
  1972. o280.Name = "Right Hip"
  1973. o280.Parent = o268
  1974. o280.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1975. o280.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1976. o280.Part0 = o268
  1977. o280.Part1 = o291
  1978. o280.CurrentAngle = 1.5707963705063
  1979. o280.MaxVelocity = 0.10000000149012
  1980. o281.Name = "Left Hip"
  1981. o281.Parent = o268
  1982. o281.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1983. o281.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1984. o281.Part0 = o268
  1985. o281.Part1 = o289
  1986. o281.CurrentAngle = -1.5707963705063
  1987. o281.MaxVelocity = 0.10000000149012
  1988. o282.Name = "Neck"
  1989. o282.Parent = o268
  1990. o282.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1991. o282.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1992. o282.Part0 = o268
  1993. o282.Part1 = o243
  1994. o282.MaxVelocity = 0.10000000149012
  1995. o283.Name = "Left Arm"
  1996. o283.Parent = o242
  1997. o283.BrickColor = BrickColor.new("Pastel brown")
  1998. o283.Position = Vector3.new(-152.734711, 23.3099728, 160.696823)
  1999. o283.Rotation = Vector3.new(90, 0, 153.669998)
  2000. o283.RotVelocity = Vector3.new(6.29209171e-05, 1.71099236e-05, -3.06418187e-05)
  2001. o283.Velocity = Vector3.new(0.000260386383, -0.000600776926, 0.000312110322)
  2002. o283.CanCollide = false
  2003. o283.Locked = true
  2004. o283.FormFactor = Enum.FormFactor.Symmetric
  2005. o283.Size = Vector3.new(1, 2, 1)
  2006. o283.CFrame = CFrame.new(-152.734711, 23.3099728, 160.696823, -0.896230817, -0.443587929, 1.23382397e-05, -6.45893863e-07, -2.65096714e-05, -1, 0.443587899, -0.896230876, 2.34722738e-05)
  2007. o283.Color = Color3.new(1, 0.8, 0.6)
  2008. o283.Position = Vector3.new(-152.734711, 23.3099728, 160.696823)
  2009. o283.velocity = Vector3.new(0.000260386383, -0.000600776926, 0.000312110322)
  2010. o286.Name = "Right Arm"
  2011. o286.Parent = o242
  2012. o286.BrickColor = BrickColor.new("Pastel brown")
  2013. o286.Position = Vector3.new(-155.423401, 23.3099689, 162.027588)
  2014. o286.Rotation = Vector3.new(90, 0, 153.669998)
  2015. o286.RotVelocity = Vector3.new(0.000109521316, 1.02002705e-05, -5.0126735e-05)
  2016. o286.Velocity = Vector3.new(0.000352443021, -0.000754769018, 0.000589800242)
  2017. o286.CanCollide = false
  2018. o286.Locked = true
  2019. o286.FormFactor = Enum.FormFactor.Symmetric
  2020. o286.Size = Vector3.new(1, 2, 1)
  2021. o286.CFrame = CFrame.new(-155.423401, 23.3099689, 162.027588, -0.896230698, -0.443588048, 1.2091431e-05, -4.75602349e-07, -2.62973317e-05, -1, 0.443588018, -0.896230757, 2.33575065e-05)
  2022. o286.Color = Color3.new(1, 0.8, 0.6)
  2023. o286.Position = Vector3.new(-155.423401, 23.3099689, 162.027588)
  2024. o286.velocity = Vector3.new(0.000352443021, -0.000754769018, 0.000589800242)
  2025. o289.Name = "Left Leg"
  2026. o289.Parent = o242
  2027. o289.BrickColor = BrickColor.new("Pastel brown")
  2028. o289.Position = Vector3.new(-153.409134, 21.8099842, 161.588562)
  2029. o289.Rotation = Vector3.new(90, 0, 153.669998)
  2030. o289.RotVelocity = Vector3.new(0.000109521316, 1.02002705e-05, -5.0126735e-05)
  2031. o289.Velocity = Vector3.new(0.000272775505, -0.000807654927, 0.000404973864)
  2032. o289.CanCollide = false
  2033. o289.Locked = true
  2034. o289.FormFactor = Enum.FormFactor.Symmetric
  2035. o289.Size = Vector3.new(1, 2, 1)
  2036. o289.CFrame = CFrame.new(-153.409134, 21.8099842, 161.588562, -0.896230698, -0.443588108, 1.21697822e-05, -5.63022866e-07, -2.62973317e-05, -1, 0.443588078, -0.896230757, 2.33187257e-05)
  2037. o289.BottomSurface = Enum.SurfaceType.Smooth
  2038. o289.Color = Color3.new(1, 0.8, 0.6)
  2039. o289.Position = Vector3.new(-153.409134, 21.8099842, 161.588562)
  2040. o289.velocity = Vector3.new(0.000272775505, -0.000807654927, 0.000404973864)
  2041. o291.Name = "Right Leg"
  2042. o291.Parent = o242
  2043. o291.BrickColor = BrickColor.new("Pastel brown")
  2044. o291.Position = Vector3.new(-154.305359, 21.8099842, 162.03215)
  2045. o291.Rotation = Vector3.new(90, 0, 153.669998)
  2046. o291.RotVelocity = Vector3.new(0.000109521316, 1.02002705e-05, -5.0126735e-05)
  2047. o291.Velocity = Vector3.new(0.00027730022, -0.000811312522, 0.00041411561)
  2048. o291.CanCollide = false
  2049. o291.Locked = true
  2050. o291.FormFactor = Enum.FormFactor.Symmetric
  2051. o291.Size = Vector3.new(1, 2, 1)
  2052. o291.CFrame = CFrame.new(-154.305359, 21.8099842, 162.03215, -0.896230698, -0.443588048, 1.2091431e-05, -4.75602349e-07, -2.62973317e-05, -1, 0.443588018, -0.896230757, 2.33575065e-05)
  2053. o291.BottomSurface = Enum.SurfaceType.Smooth
  2054. o291.Color = Color3.new(1, 0.8, 0.6)
  2055. o291.Position = Vector3.new(-154.305359, 21.8099842, 162.03215)
  2056. o291.velocity = Vector3.new(0.00027730022, -0.000811312522, 0.00041411561)
  2057. o293.Parent = o242
  2058. o293.RightLeg = o291
  2059. o293.LeftLeg = o289
  2060. o293.Torso = o296
  2061. o293.Sit = true
  2062. o296.Name = "HumanoidRootPart"
  2063. o296.Parent = o242
  2064. o296.Transparency = 1
  2065. o296.Position = Vector3.new(-154.300827, 22.8099594, 160.914108)
  2066. o296.Rotation = Vector3.new(180, -26.3299999, 180)
  2067. o296.RotVelocity = Vector3.new(8.41801011e-05, 1.79885483e-05, -3.81337813e-05)
  2068. o296.Velocity = Vector3.new(0.0002928389, -0.000633967691, 0.000396235497)
  2069. o296.CanCollide = false
  2070. o296.Locked = true
  2071. o296.FormFactor = Enum.FormFactor.Symmetric
  2072. o296.Size = Vector3.new(2, 2, 1)
  2073. o296.CFrame = CFrame.new(-154.300827, 22.8099594, 160.914108, -0.896230698, -1.22486281e-05, -0.443588257, -6.36443076e-07, 1, -2.63267302e-05, 0.443588257, -2.33125047e-05, -0.896230698)
  2074. o296.BottomSurface = Enum.SurfaceType.Smooth
  2075. o296.TopSurface = Enum.SurfaceType.Smooth
  2076. o296.Position = Vector3.new(-154.300827, 22.8099594, 160.914108)
  2077. o296.velocity = Vector3.new(0.0002928389, -0.000633967691, 0.000396235497)
  2078. o298.Name = "RootJoint"
  2079. o298.Parent = o296
  2080. o298.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2081. o298.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2082. o298.Part0 = o296
  2083. o298.Part1 = o268
  2084. o298.MaxVelocity = 0.10000000149012
  2085. o299.Name = "Sound"
  2086. o299.Parent = o242
  2087.  
  2088. runDummyScript(function()
  2089. --[[
  2090. Author: @spotco
  2091. This script creates sounds which are placed under the character head.
  2092. These sounds are used by the "LocalSound" script.
  2093.  
  2094. To modify this script, copy it to your "StarterPlayer/StarterCharacterScripts" folder keeping the same script name ("Sound").
  2095. The default Sound script loaded for every character will then be replaced with your copy of the script.
  2096. ]]--
  2097. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  2098. local Players = game:GetService("Players")
  2099.  
  2100. local SOUND_EVENT_FOLDER_NAME = "DefaultSoundEvents"
  2101. local DEFAULT_SERVER_SOUND_EVENT_NAME = "DefaultServerSoundEvent"
  2102.  
  2103. local SoundEventFolder = ReplicatedStorage:FindFirstChild(SOUND_EVENT_FOLDER_NAME)
  2104. local DefaultServerSoundEvent = nil
  2105.  
  2106. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  2107. if useSoundDispatcher then
  2108. if not SoundEventFolder then
  2109. SoundEventFolder = Instance.new("Folder")
  2110. SoundEventFolder.Name = SOUND_EVENT_FOLDER_NAME
  2111. SoundEventFolder.Archivable = false
  2112. SoundEventFolder.Parent = ReplicatedStorage
  2113. end
  2114.  
  2115. DefaultServerSoundEvent = SoundEventFolder:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  2116. else
  2117. DefaultServerSoundEvent = ReplicatedStorage:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  2118. end
  2119.  
  2120. if not DefaultServerSoundEvent then
  2121. if useSoundDispatcher then
  2122. DefaultServerSoundEvent = Instance.new("RemoteEvent", SoundEventFolder)
  2123. else
  2124. DefaultServerSoundEvent = Instance.new("RemoteEvent", ReplicatedStorage)
  2125. end
  2126.  
  2127. DefaultServerSoundEvent.Name = DEFAULT_SERVER_SOUND_EVENT_NAME
  2128. DefaultServerSoundEvent.OnServerEvent:Connect(function() end)
  2129. end
  2130.  
  2131. local function CreateNewSound(name, id, looped, pitch, parent)
  2132. local sound = Instance.new("Sound")
  2133. sound.SoundId = id
  2134. sound.Name = name
  2135. sound.archivable = false
  2136. sound.Pitch = pitch
  2137. sound.Looped = looped
  2138. sound.MinDistance = 5
  2139. sound.MaxDistance = 150
  2140. sound.Volume = 0.65
  2141. sound.Parent = parent
  2142.  
  2143. if DefaultServerSoundEvent then
  2144. local CharacterSoundEvent = Instance.new("RemoteEvent", sound)
  2145. CharacterSoundEvent.Name = "CharacterSoundEvent"
  2146. CharacterSoundEvent.OnServerEvent:Connect(function(player, playing, resetPosition)
  2147. if type(playing) ~= "boolean" then
  2148. return
  2149. end
  2150. if type(resetPosition) ~= "boolean" then
  2151. return
  2152. end
  2153.  
  2154. if player.Character ~= script.Parent then
  2155. return
  2156. end
  2157. for _, p in pairs(Players:GetPlayers()) do
  2158. if p ~= player then
  2159. -- Connect to the dispatcher to check if the player has loaded.
  2160. if useSoundDispatcher then
  2161. SoundEventFolder:FindFirstChild("SoundDispatcher"):Fire(p, sound, playing, resetPosition)
  2162. else
  2163. DefaultServerSoundEvent:FireClient(p, sound, playing, resetPosition)
  2164. end
  2165. end
  2166. end
  2167. end)
  2168. end
  2169. return sound
  2170. end
  2171.  
  2172. local head = script.Parent:FindFirstChild("Head")
  2173. if not head then
  2174. error("Sound script parent has no child Head.")
  2175. return
  2176. end
  2177.  
  2178. CreateNewSound("GettingUp", "rbxasset://sounds/action_get_up.mp3", false, 1, head)
  2179. CreateNewSound("Died", "rbxasset://sounds/uuhhh.mp3", false, 1, head)
  2180. CreateNewSound("FreeFalling", "rbxasset://sounds/action_falling.mp3", true, 1, head)
  2181. CreateNewSound("Jumping", "rbxasset://sounds/action_jump.mp3", false, 1, head)
  2182. CreateNewSound("Landing", "rbxasset://sounds/action_jump_land.mp3", false, 1, head)
  2183. CreateNewSound("Splash", "rbxasset://sounds/impact_water.mp3", false, 1, head)
  2184. CreateNewSound("Running", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1.85, head)
  2185. CreateNewSound("Swimming", "rbxasset://sounds/action_swim.mp3", true, 1.6, head)
  2186. CreateNewSound("Climbing", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1, head)
  2187. end,o299)
  2188.  
  2189. o300.Name = "LocalSound"
  2190. o300.Parent = o299
  2191.  
  2192. runDummyScript(function()
  2193. --[[
  2194. Author: @spotco
  2195. This script runs locally for the player of the given humanoid.
  2196. This script triggers humanoid sound play/pause actions locally.
  2197.  
  2198. The Playing/TimePosition properties of Sound objects bypass FilteringEnabled, so this triggers the sound
  2199. immediately for the player and is replicated to all other players.
  2200.  
  2201. This script is optimized to reduce network traffic through minimizing the amount of property replication.
  2202. ]]--
  2203.  
  2204. --All sounds are referenced by this ID
  2205. local SFX = {
  2206. Died = 0;
  2207. Running = 1;
  2208. Swimming = 2;
  2209. Climbing = 3,
  2210. Jumping = 4;
  2211. GettingUp = 5;
  2212. FreeFalling = 6;
  2213. FallingDown = 7;
  2214. Landing = 8;
  2215. Splash = 9;
  2216. }
  2217.  
  2218. local useUpdatedLocalSoundFlag = UserSettings():IsUserFeatureEnabled("UserFixCharacterSoundIssues")
  2219.  
  2220. local Humanoid = nil
  2221. local Head = nil
  2222. --SFX ID to Sound object
  2223. local Sounds = {}
  2224. local SoundService = game:GetService("SoundService")
  2225. local soundEventFolderName = "DefaultSoundEvents"
  2226. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  2227. local AddCharacterLoadedEvent = nil
  2228. local RemoveCharacterEvent = nil
  2229. local soundEventFolder = ReplicatedStorage:FindFirstChild(soundEventFolderName)
  2230. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  2231.  
  2232. if useSoundDispatcher then
  2233. if not soundEventFolder then
  2234. soundEventFolder = Instance.new("Folder", ReplicatedStorage)
  2235. soundEventFolder.Name = soundEventFolderName
  2236. soundEventFolder.Archivable = false
  2237. end
  2238.  
  2239. -- Load the RemoveCharacterEvent
  2240. RemoveCharacterEvent = soundEventFolder:FindFirstChild("RemoveCharacterEvent")
  2241. if RemoveCharacterEvent == nil then
  2242. RemoveCharacterEvent = Instance.new("RemoteEvent", soundEventFolder)
  2243. RemoveCharacterEvent.Name = "RemoveCharacterEvent"
  2244. end
  2245.  
  2246. AddCharacterLoadedEvent = soundEventFolder:FindFirstChild("AddCharacterLoadedEvent")
  2247. if AddCharacterLoadedEvent == nil then
  2248. AddCharacterLoadedEvent = Instance.new("RemoteEvent", soundEventFolder)
  2249. AddCharacterLoadedEvent.Name = "AddCharacterLoadedEvent"
  2250. end
  2251.  
  2252. -- Notify the server a new character has been loaded
  2253. AddCharacterLoadedEvent:FireServer()
  2254.  
  2255. -- Notify the sound dispatcher this character has left.
  2256. game.Players.LocalPlayer.CharacterRemoving:connect(function(character)
  2257. RemoveCharacterEvent:FireServer(game.Players.LocalPlayer)
  2258. end)
  2259. end
  2260.  
  2261. do
  2262. local Figure = script.Parent.Parent
  2263. Head = Figure:WaitForChild("Head")
  2264. while not Humanoid do
  2265. for _,NewHumanoid in pairs(Figure:GetChildren()) do
  2266. if NewHumanoid:IsA("Humanoid") then
  2267. Humanoid = NewHumanoid
  2268. break
  2269. end
  2270. end
  2271. if Humanoid then break end
  2272. Figure.ChildAdded:wait()
  2273. end
  2274. Sounds[SFX.Died] = Head:WaitForChild("Died")
  2275. Sounds[SFX.Running] = Head:WaitForChild("Running")
  2276. Sounds[SFX.Swimming] = Head:WaitForChild("Swimming")
  2277. Sounds[SFX.Climbing] = Head:WaitForChild("Climbing")
  2278. Sounds[SFX.Jumping] = Head:WaitForChild("Jumping")
  2279. Sounds[SFX.GettingUp] = Head:WaitForChild("GettingUp")
  2280. Sounds[SFX.FreeFalling] = Head:WaitForChild("FreeFalling")
  2281. Sounds[SFX.Landing] = Head:WaitForChild("Landing")
  2282. Sounds[SFX.Splash] = Head:WaitForChild("Splash")
  2283.  
  2284. local DefaultServerSoundEvent = nil
  2285. if useSoundDispatcher then
  2286. DefaultServerSoundEvent = soundEventFolder:FindFirstChild("DefaultServerSoundEvent")
  2287. else
  2288. DefaultServerSoundEvent = game:GetService("ReplicatedStorage"):FindFirstChild("DefaultServerSoundEvent")
  2289. end
  2290.  
  2291. if DefaultServerSoundEvent then
  2292. DefaultServerSoundEvent.OnClientEvent:connect(function(sound, playing, resetPosition)
  2293. if resetPosition and sound.TimePosition ~= 0 then
  2294. sound.TimePosition = 0
  2295. end
  2296. if sound.IsPlaying ~= playing then
  2297. sound.Playing = playing
  2298. end
  2299. end)
  2300. end
  2301. end
  2302.  
  2303. local IsSoundFilteringEnabled = function()
  2304. return game.Workspace.FilteringEnabled and SoundService.RespectFilteringEnabled
  2305. end
  2306.  
  2307. local Util
  2308. Util = {
  2309.  
  2310. --Define linear relationship between (pt1x,pt2x) and (pt2x,pt2y). Evaluate this at x.
  2311. YForLineGivenXAndTwoPts = function(x,pt1x,pt1y,pt2x,pt2y)
  2312. --(y - y1)/(x - x1) = m
  2313. local m = (pt1y - pt2y) / (pt1x - pt2x)
  2314. --float b = pt1.y - m * pt1.x;
  2315. local b = (pt1y - m * pt1x)
  2316. return m * x + b
  2317. end;
  2318.  
  2319. --Clamps the value of "val" between the "min" and "max"
  2320. Clamp = function(val,min,max)
  2321. return math.min(max,math.max(min,val))
  2322. end;
  2323.  
  2324. --Gets the horizontal (x,z) velocity magnitude of the given part
  2325. HorizontalSpeed = function(Head)
  2326. local hVel = Head.Velocity + Vector3.new(0,-Head.Velocity.Y,0)
  2327. return hVel.magnitude
  2328. end;
  2329.  
  2330. --Gets the vertical (y) velocity magnitude of the given part
  2331. VerticalSpeed = function(Head)
  2332. return math.abs(Head.Velocity.Y)
  2333. end;
  2334.  
  2335. --Setting Playing/TimePosition values directly result in less network traffic than Play/Pause/Resume/Stop
  2336. --If these properties are enabled, use them.
  2337. Play = function(sound)
  2338. if IsSoundFilteringEnabled() then
  2339. sound.CharacterSoundEvent:FireServer(true, true)
  2340. end
  2341. if sound.TimePosition ~= 0 then
  2342. sound.TimePosition = 0
  2343. end
  2344. if not sound.IsPlaying then
  2345. sound.Playing = true
  2346. end
  2347. end;
  2348.  
  2349. Pause = function(sound)
  2350. if IsSoundFilteringEnabled() then
  2351. sound.CharacterSoundEvent:FireServer(false, false)
  2352. end
  2353. if sound.IsPlaying then
  2354. sound.Playing = false
  2355. end
  2356. end;
  2357.  
  2358. Resume = function(sound)
  2359. if IsSoundFilteringEnabled() then
  2360. sound.CharacterSoundEvent:FireServer(true, false)
  2361. end
  2362. if not sound.IsPlaying then
  2363. sound.Playing = true
  2364. end
  2365. end;
  2366.  
  2367. Stop = function(sound)
  2368. if IsSoundFilteringEnabled() then
  2369. sound.CharacterSoundEvent:FireServer(false, true)
  2370. end
  2371. if sound.IsPlaying then
  2372. sound.Playing = false
  2373. end
  2374. if sound.TimePosition ~= 0 then
  2375. sound.TimePosition = 0
  2376. end
  2377. end;
  2378. }
  2379.  
  2380. do
  2381. -- List of all active Looped sounds
  2382. local playingLoopedSounds = {}
  2383.  
  2384. -- Last seen Enum.HumanoidStateType
  2385. local activeState = nil
  2386.  
  2387. local fallSpeed = 0
  2388.  
  2389. -- Verify and set that "sound" is in "playingLoopedSounds".
  2390. function setSoundInPlayingLoopedSounds(sound)
  2391. for i=1, #playingLoopedSounds do
  2392. if playingLoopedSounds[i] == sound then
  2393. return
  2394. end
  2395. end
  2396. table.insert(playingLoopedSounds,sound)
  2397. end
  2398.  
  2399. -- Stop all active looped sounds except parameter "except". If "except" is not passed, all looped sounds will be stopped.
  2400. function stopPlayingLoopedSoundsExcept(except)
  2401. for i=#playingLoopedSounds,1,-1 do
  2402. if playingLoopedSounds[i] ~= except then
  2403. Util.Pause(playingLoopedSounds[i])
  2404. table.remove(playingLoopedSounds,i)
  2405. end
  2406. end
  2407. end
  2408.  
  2409. -- Table of Enum.HumanoidStateType to handling function
  2410. local stateUpdateHandler = {
  2411. [Enum.HumanoidStateType.Dead] = function()
  2412. stopPlayingLoopedSoundsExcept()
  2413. local sound = Sounds[SFX.Died]
  2414. Util.Play(sound)
  2415. end;
  2416.  
  2417. [Enum.HumanoidStateType.RunningNoPhysics] = function(speed)
  2418. stateUpdated(Enum.HumanoidStateType.Running, speed)
  2419. end;
  2420.  
  2421. [Enum.HumanoidStateType.Running] = function(speed)
  2422. local sound = Sounds[SFX.Running]
  2423. stopPlayingLoopedSoundsExcept(sound)
  2424.  
  2425. if(useUpdatedLocalSoundFlag and activeState == Enum.HumanoidStateType.Freefall and fallSpeed > 0.1) then
  2426. -- Play a landing sound if the character dropped from a large distance
  2427. local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
  2428. local freeFallSound = Sounds[SFX.FreeFalling]
  2429. freeFallSound.Volume = vol
  2430. Util.Play(freeFallSound)
  2431. fallSpeed = 0
  2432. end
  2433. if useUpdatedLocalSoundFlag then
  2434. if speed ~= nil and speed > 0.5 then
  2435. Util.Resume(sound)
  2436. setSoundInPlayingLoopedSounds(sound)
  2437. elseif speed ~= nil then
  2438. stopPlayingLoopedSoundsExcept()
  2439. end
  2440. else
  2441. if Util.HorizontalSpeed(Head) > 0.5 then
  2442. Util.Resume(sound)
  2443. setSoundInPlayingLoopedSounds(sound)
  2444. else
  2445. stopPlayingLoopedSoundsExcept()
  2446. end
  2447. end
  2448. end;
  2449.  
  2450. [Enum.HumanoidStateType.Swimming] = function(speed)
  2451. local threshold
  2452. if useUpdatedLocalSoundFlag then threshold = speed else threshold = Util.VerticalSpeed(Head) end
  2453. if activeState ~= Enum.HumanoidStateType.Swimming and threshold > 0.1 then
  2454. local splashSound = Sounds[SFX.Splash]
  2455. splashSound.Volume = Util.Clamp(
  2456. Util.YForLineGivenXAndTwoPts(
  2457. Util.VerticalSpeed(Head),
  2458. 100, 0.28,
  2459. 350, 1),
  2460. 0,1)
  2461. Util.Play(splashSound)
  2462. end
  2463.  
  2464. do
  2465. local sound = Sounds[SFX.Swimming]
  2466. stopPlayingLoopedSoundsExcept(sound)
  2467. Util.Resume(sound)
  2468. setSoundInPlayingLoopedSounds(sound)
  2469. end
  2470. end;
  2471.  
  2472. [Enum.HumanoidStateType.Climbing] = function(speed)
  2473. local sound = Sounds[SFX.Climbing]
  2474. if useUpdatedLocalSoundFlag then
  2475. if speed ~= nil and math.abs(speed) > 0.1 then
  2476. Util.Resume(sound)
  2477. stopPlayingLoopedSoundsExcept(sound)
  2478. else
  2479. Util.Pause(sound)
  2480. stopPlayingLoopedSoundsExcept(sound)
  2481. end
  2482. else
  2483. if Util.VerticalSpeed(Head) > 0.1 then
  2484. Util.Resume(sound)
  2485. stopPlayingLoopedSoundsExcept(sound)
  2486. else
  2487. stopPlayingLoopedSoundsExcept()
  2488. end
  2489. end
  2490.  
  2491. setSoundInPlayingLoopedSounds(sound)
  2492. end;
  2493.  
  2494. [Enum.HumanoidStateType.Jumping] = function()
  2495. if activeState == Enum.HumanoidStateType.Jumping then
  2496. return
  2497. end
  2498. stopPlayingLoopedSoundsExcept()
  2499. local sound = Sounds[SFX.Jumping]
  2500. Util.Play(sound)
  2501. end;
  2502.  
  2503. [Enum.HumanoidStateType.GettingUp] = function()
  2504. stopPlayingLoopedSoundsExcept()
  2505. local sound = Sounds[SFX.GettingUp]
  2506. Util.Play(sound)
  2507. end;
  2508.  
  2509. [Enum.HumanoidStateType.Freefall] = function()
  2510. if activeState == Enum.HumanoidStateType.Freefall then
  2511. return
  2512. end
  2513. local sound = Sounds[SFX.FreeFalling]
  2514. sound.Volume = 0
  2515. stopPlayingLoopedSoundsExcept()
  2516.  
  2517. fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.y))
  2518. end;
  2519.  
  2520. [Enum.HumanoidStateType.FallingDown] = function()
  2521. stopPlayingLoopedSoundsExcept()
  2522. end;
  2523.  
  2524. [Enum.HumanoidStateType.Landed] = function()
  2525. stopPlayingLoopedSoundsExcept()
  2526. if Util.VerticalSpeed(Head) > 75 then
  2527. local landingSound = Sounds[SFX.Landing]
  2528. landingSound.Volume = Util.Clamp(
  2529. Util.YForLineGivenXAndTwoPts(
  2530. Util.VerticalSpeed(Head),
  2531. 50, 0,
  2532. 100, 1),
  2533. 0,1)
  2534. Util.Play(landingSound)
  2535. end
  2536. end;
  2537.  
  2538. [Enum.HumanoidStateType.Seated] = function()
  2539. stopPlayingLoopedSoundsExcept()
  2540. end;
  2541. }
  2542.  
  2543.  
  2544.  
  2545. -- Handle state event fired or OnChange fired
  2546. function stateUpdated(state, speed)
  2547. if stateUpdateHandler[state] ~= nil then
  2548. if useUpdatedLocalSoundFlag and (state == Enum.HumanoidStateType.Running
  2549. or state == Enum.HumanoidStateType.Climbing
  2550. or state == Enum.HumanoidStateType.Swimming
  2551. or state == Enum.HumanoidStateType.RunningNoPhysics) then
  2552. stateUpdateHandler[state](speed)
  2553. else
  2554. stateUpdateHandler[state]()
  2555. end
  2556. end
  2557. activeState = state
  2558. end
  2559.  
  2560. Humanoid.Died:connect( function() stateUpdated(Enum.HumanoidStateType.Dead) end)
  2561. Humanoid.Running:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Running, speed) end)
  2562. Humanoid.Swimming:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Swimming, speed) end)
  2563. Humanoid.Climbing:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Climbing, speed) end)
  2564. Humanoid.Jumping:connect( function() stateUpdated(Enum.HumanoidStateType.Jumping) end)
  2565. Humanoid.GettingUp:connect( function() stateUpdated(Enum.HumanoidStateType.GettingUp) end)
  2566. Humanoid.FreeFalling:connect( function() stateUpdated(Enum.HumanoidStateType.Freefall) end)
  2567. Humanoid.FallingDown:connect( function() stateUpdated(Enum.HumanoidStateType.FallingDown) end)
  2568.  
  2569.  
  2570.  
  2571. -- required for proper handling of Landed event
  2572.  
  2573. Humanoid.StateChanged:connect(function(old, new)
  2574. stateUpdated(new)
  2575. end)
  2576.  
  2577.  
  2578.  
  2579. function onUpdate(stepDeltaSeconds, tickSpeedSeconds)
  2580. local stepScale = stepDeltaSeconds / tickSpeedSeconds
  2581. do
  2582. local sound = Sounds[SFX.FreeFalling]
  2583. if activeState == Enum.HumanoidStateType.Freefall then
  2584. if Head.Velocity.Y < 0 and Util.VerticalSpeed(Head) > 75 then
  2585. Util.Resume(sound)
  2586.  
  2587. --Volume takes 1.1 seconds to go from volume 0 to 1
  2588. local ANIMATION_LENGTH_SECONDS = 1.1
  2589.  
  2590. local normalizedIncrement = tickSpeedSeconds / ANIMATION_LENGTH_SECONDS
  2591. sound.Volume = Util.Clamp(sound.Volume + normalizedIncrement * stepScale, 0, 1)
  2592. else
  2593. sound.Volume = 0
  2594. end
  2595. else
  2596. Util.Pause(sound)
  2597. end
  2598. end
  2599.  
  2600. do
  2601. local sound = Sounds[SFX.Running]
  2602. if activeState == Enum.HumanoidStateType.Running then
  2603. if Util.HorizontalSpeed(Head) < 0.5 then
  2604. Util.Pause(sound)
  2605. end
  2606. end
  2607. end
  2608. end
  2609.  
  2610.  
  2611. local lastTick = tick()
  2612. local TICK_SPEED_SECONDS = 0.25
  2613. while true do
  2614. onUpdate(tick() - lastTick,TICK_SPEED_SECONDS)
  2615. lastTick = tick()
  2616. wait(TICK_SPEED_SECONDS)
  2617. end
  2618.  
  2619. end
  2620.  
  2621. end,o300)
  2622.  
  2623. o301.Name = "Health"
  2624. o301.Parent = o242
  2625.  
  2626. runDummyScript(function()
  2627. -- Gradually regenerates the Humanoid's Health over time.
  2628.  
  2629. local REGEN_RATE = 1/100 -- Regenerate this fraction of MaxHealth per second.
  2630. local REGEN_STEP = 1 -- Wait this long between each regeneration step.
  2631.  
  2632. --------------------------------------------------------------------------------
  2633.  
  2634. local Character = script.Parent
  2635. local Humanoid = Character:WaitForChild'Humanoid'
  2636.  
  2637. --------------------------------------------------------------------------------
  2638.  
  2639. while true do
  2640. while Humanoid.Health < Humanoid.MaxHealth do
  2641. local dt = wait(REGEN_STEP)
  2642. local dh = dt*REGEN_RATE*Humanoid.MaxHealth
  2643. Humanoid.Health = math.min(Humanoid.Health + dh, Humanoid.MaxHealth)
  2644. end
  2645. Humanoid.HealthChanged:Wait()
  2646. end
  2647. end,o301)
  2648.  
  2649. o302.Name = "Animate"
  2650. o302.Parent = o242
  2651.  
  2652. runDummyScript(function()
  2653. local Figure = script.Parent
  2654. local Torso = Figure:WaitForChild("Torso")
  2655. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  2656. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  2657. local RightHip = Torso:WaitForChild("Right Hip")
  2658. local LeftHip = Torso:WaitForChild("Left Hip")
  2659. local Neck = Torso:WaitForChild("Neck")
  2660. local Humanoid = Figure:WaitForChild("Humanoid")
  2661. local pose = "Standing"
  2662.  
  2663. local currentAnim = ""
  2664. local currentAnimInstance = nil
  2665. local currentAnimTrack = nil
  2666. local currentAnimKeyframeHandler = nil
  2667. local currentAnimSpeed = 1.0
  2668. local animTable = {}
  2669. local animNames = {
  2670. idle = {
  2671. { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
  2672. { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
  2673. },
  2674. walk = {
  2675. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  2676. },
  2677. run = {
  2678. { id = "run.xml", weight = 10 }
  2679. },
  2680. jump = {
  2681. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  2682. },
  2683. fall = {
  2684. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  2685. },
  2686. climb = {
  2687. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  2688. },
  2689. sit = {
  2690. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  2691. },
  2692. toolnone = {
  2693. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  2694. },
  2695. toolslash = {
  2696. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  2697. -- { id = "slash.xml", weight = 10 }
  2698. },
  2699. toollunge = {
  2700. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  2701. },
  2702. wave = {
  2703. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  2704. },
  2705. point = {
  2706. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  2707. },
  2708. dance1 = {
  2709. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  2710. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  2711. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  2712. },
  2713. dance2 = {
  2714. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  2715. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  2716. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  2717. },
  2718. dance3 = {
  2719. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  2720. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  2721. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  2722. },
  2723. laugh = {
  2724. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  2725. },
  2726. cheer = {
  2727. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  2728. },
  2729. }
  2730. local dances = {"dance1", "dance2", "dance3"}
  2731.  
  2732. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  2733. local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  2734.  
  2735. function configureAnimationSet(name, fileList)
  2736. if (animTable[name] ~= nil) then
  2737. for _, connection in pairs(animTable[name].connections) do
  2738. connection:disconnect()
  2739. end
  2740. end
  2741. animTable[name] = {}
  2742. animTable[name].count = 0
  2743. animTable[name].totalWeight = 0
  2744. animTable[name].connections = {}
  2745.  
  2746. -- check for config values
  2747. local config = script:FindFirstChild(name)
  2748. if (config ~= nil) then
  2749. -- print("Loading anims " .. name)
  2750. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  2751. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  2752. local idx = 1
  2753. for _, childPart in pairs(config:GetChildren()) do
  2754. if (childPart:IsA("Animation")) then
  2755. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  2756. animTable[name][idx] = {}
  2757. animTable[name][idx].anim = childPart
  2758. local weightObject = childPart:FindFirstChild("Weight")
  2759. if (weightObject == nil) then
  2760. animTable[name][idx].weight = 1
  2761. else
  2762. animTable[name][idx].weight = weightObject.Value
  2763. end
  2764. animTable[name].count = animTable[name].count + 1
  2765. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  2766. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  2767. idx = idx + 1
  2768. end
  2769. end
  2770. end
  2771.  
  2772. -- fallback to defaults
  2773. if (animTable[name].count <= 0) then
  2774. for idx, anim in pairs(fileList) do
  2775. animTable[name][idx] = {}
  2776. animTable[name][idx].anim = Instance.new("Animation")
  2777. animTable[name][idx].anim.Name = name
  2778. animTable[name][idx].anim.AnimationId = anim.id
  2779. animTable[name][idx].weight = anim.weight
  2780. animTable[name].count = animTable[name].count + 1
  2781. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  2782. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  2783. end
  2784. end
  2785. end
  2786.  
  2787. -- Setup animation objects
  2788. function scriptChildModified(child)
  2789. local fileList = animNames[child.Name]
  2790. if (fileList ~= nil) then
  2791. configureAnimationSet(child.Name, fileList)
  2792. end
  2793. end
  2794.  
  2795. script.ChildAdded:connect(scriptChildModified)
  2796. script.ChildRemoved:connect(scriptChildModified)
  2797.  
  2798.  
  2799. for name, fileList in pairs(animNames) do
  2800. configureAnimationSet(name, fileList)
  2801. end
  2802.  
  2803. -- ANIMATION
  2804.  
  2805. -- declarations
  2806. local toolAnim = "None"
  2807. local toolAnimTime = 0
  2808.  
  2809. local jumpAnimTime = 0
  2810. local jumpAnimDuration = 0.3
  2811.  
  2812. local toolTransitionTime = 0.1
  2813. local fallTransitionTime = 0.3
  2814. local jumpMaxLimbVelocity = 0.75
  2815.  
  2816. -- functions
  2817.  
  2818. function stopAllAnimations()
  2819. local oldAnim = currentAnim
  2820.  
  2821. -- return to idle if finishing an emote
  2822. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  2823. oldAnim = "idle"
  2824. end
  2825.  
  2826. currentAnim = ""
  2827. currentAnimInstance = nil
  2828. if (currentAnimKeyframeHandler ~= nil) then
  2829. currentAnimKeyframeHandler:disconnect()
  2830. end
  2831.  
  2832. if (currentAnimTrack ~= nil) then
  2833. currentAnimTrack:Stop()
  2834. currentAnimTrack:Destroy()
  2835. currentAnimTrack = nil
  2836. end
  2837. return oldAnim
  2838. end
  2839.  
  2840. function setAnimationSpeed(speed)
  2841. if speed ~= currentAnimSpeed then
  2842. currentAnimSpeed = speed
  2843. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  2844. end
  2845. end
  2846.  
  2847. function keyFrameReachedFunc(frameName)
  2848. if (frameName == "End") then
  2849.  
  2850. local repeatAnim = currentAnim
  2851. -- return to idle if finishing an emote
  2852. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  2853. repeatAnim = "idle"
  2854. end
  2855.  
  2856. local animSpeed = currentAnimSpeed
  2857. playAnimation(repeatAnim, 0.0, Humanoid)
  2858. setAnimationSpeed(animSpeed)
  2859. end
  2860. end
  2861.  
  2862. -- Preload animations
  2863. function playAnimation(animName, transitionTime, humanoid)
  2864.  
  2865. local roll = math.random(1, animTable[animName].totalWeight)
  2866. local origRoll = roll
  2867. local idx = 1
  2868. while (roll > animTable[animName][idx].weight) do
  2869. roll = roll - animTable[animName][idx].weight
  2870. idx = idx + 1
  2871. end
  2872. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  2873. local anim = animTable[animName][idx].anim
  2874.  
  2875. -- switch animation
  2876. if (anim ~= currentAnimInstance) then
  2877.  
  2878. if (currentAnimTrack ~= nil) then
  2879. currentAnimTrack:Stop(transitionTime)
  2880. currentAnimTrack:Destroy()
  2881. end
  2882.  
  2883. currentAnimSpeed = 1.0
  2884.  
  2885. -- load it to the humanoid; get AnimationTrack
  2886. currentAnimTrack = humanoid:LoadAnimation(anim)
  2887. currentAnimTrack.Priority = Enum.AnimationPriority.Core
  2888.  
  2889. -- play the animation
  2890. currentAnimTrack:Play(transitionTime)
  2891. currentAnim = animName
  2892. currentAnimInstance = anim
  2893.  
  2894. -- set up keyframe name triggers
  2895. if (currentAnimKeyframeHandler ~= nil) then
  2896. currentAnimKeyframeHandler:disconnect()
  2897. end
  2898. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  2899.  
  2900. end
  2901.  
  2902. end
  2903.  
  2904. -------------------------------------------------------------------------------------------
  2905. -------------------------------------------------------------------------------------------
  2906.  
  2907. local toolAnimName = ""
  2908. local toolAnimTrack = nil
  2909. local toolAnimInstance = nil
  2910. local currentToolAnimKeyframeHandler = nil
  2911.  
  2912. function toolKeyFrameReachedFunc(frameName)
  2913. if (frameName == "End") then
  2914. -- print("Keyframe : ".. frameName)
  2915. playToolAnimation(toolAnimName, 0.0, Humanoid)
  2916. end
  2917. end
  2918.  
  2919.  
  2920. function playToolAnimation(animName, transitionTime, humanoid, priority)
  2921.  
  2922. local roll = math.random(1, animTable[animName].totalWeight)
  2923. local origRoll = roll
  2924. local idx = 1
  2925. while (roll > animTable[animName][idx].weight) do
  2926. roll = roll - animTable[animName][idx].weight
  2927. idx = idx + 1
  2928. end
  2929. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  2930. local anim = animTable[animName][idx].anim
  2931.  
  2932. if (toolAnimInstance ~= anim) then
  2933.  
  2934. if (toolAnimTrack ~= nil) then
  2935. toolAnimTrack:Stop()
  2936. toolAnimTrack:Destroy()
  2937. transitionTime = 0
  2938. end
  2939.  
  2940. -- load it to the humanoid; get AnimationTrack
  2941. toolAnimTrack = humanoid:LoadAnimation(anim)
  2942. if priority then
  2943. toolAnimTrack.Priority = priority
  2944. end
  2945.  
  2946. -- play the animation
  2947. toolAnimTrack:Play(transitionTime)
  2948. toolAnimName = animName
  2949. toolAnimInstance = anim
  2950.  
  2951. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  2952. end
  2953. end
  2954.  
  2955. function stopToolAnimations()
  2956. local oldAnim = toolAnimName
  2957.  
  2958. if (currentToolAnimKeyframeHandler ~= nil) then
  2959. currentToolAnimKeyframeHandler:disconnect()
  2960. end
  2961.  
  2962. toolAnimName = ""
  2963. toolAnimInstance = nil
  2964. if (toolAnimTrack ~= nil) then
  2965. toolAnimTrack:Stop()
  2966. toolAnimTrack:Destroy()
  2967. toolAnimTrack = nil
  2968. end
  2969.  
  2970.  
  2971. return oldAnim
  2972. end
  2973.  
  2974. -------------------------------------------------------------------------------------------
  2975. -------------------------------------------------------------------------------------------
  2976.  
  2977.  
  2978. function onRunning(speed)
  2979. if speed > 0.01 then
  2980. playAnimation("walk", 0.1, Humanoid)
  2981. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  2982. setAnimationSpeed(speed / 14.5)
  2983. end
  2984. pose = "Running"
  2985. else
  2986. if emoteNames[currentAnim] == nil then
  2987. playAnimation("idle", 0.1, Humanoid)
  2988. pose = "Standing"
  2989. end
  2990. end
  2991. end
  2992.  
  2993. function onDied()
  2994. pose = "Dead"
  2995. end
  2996.  
  2997. function onJumping()
  2998. playAnimation("jump", 0.1, Humanoid)
  2999. jumpAnimTime = jumpAnimDuration
  3000. pose = "Jumping"
  3001. end
  3002.  
  3003. function onClimbing(speed)
  3004. playAnimation("climb", 0.1, Humanoid)
  3005. setAnimationSpeed(speed / 12.0)
  3006. pose = "Climbing"
  3007. end
  3008.  
  3009. function onGettingUp()
  3010. pose = "GettingUp"
  3011. end
  3012.  
  3013. function onFreeFall()
  3014. if (jumpAnimTime <= 0) then
  3015. playAnimation("fall", fallTransitionTime, Humanoid)
  3016. end
  3017. pose = "FreeFall"
  3018. end
  3019.  
  3020. function onFallingDown()
  3021. pose = "FallingDown"
  3022. end
  3023.  
  3024. function onSeated()
  3025. pose = "Seated"
  3026. end
  3027.  
  3028. function onPlatformStanding()
  3029. pose = "PlatformStanding"
  3030. end
  3031.  
  3032. function onSwimming(speed)
  3033. if speed > 0 then
  3034. pose = "Running"
  3035. else
  3036. pose = "Standing"
  3037. end
  3038. end
  3039.  
  3040. function getTool()
  3041. for _, kid in ipairs(Figure:GetChildren()) do
  3042. if kid.className == "Tool" then return kid end
  3043. end
  3044. return nil
  3045. end
  3046.  
  3047. function getToolAnim(tool)
  3048. for _, c in ipairs(tool:GetChildren()) do
  3049. if c.Name == "toolanim" and c.className == "StringValue" then
  3050. return c
  3051. end
  3052. end
  3053. return nil
  3054. end
  3055.  
  3056. function animateTool()
  3057.  
  3058. if (toolAnim == "None") then
  3059. playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle)
  3060. return
  3061. end
  3062.  
  3063. if (toolAnim == "Slash") then
  3064. playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
  3065. return
  3066. end
  3067.  
  3068. if (toolAnim == "Lunge") then
  3069. playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
  3070. return
  3071. end
  3072. end
  3073.  
  3074. function moveSit()
  3075. RightShoulder.MaxVelocity = 0.15
  3076. LeftShoulder.MaxVelocity = 0.15
  3077. RightShoulder:SetDesiredAngle(3.14 /2)
  3078. LeftShoulder:SetDesiredAngle(-3.14 /2)
  3079. RightHip:SetDesiredAngle(3.14 /2)
  3080. LeftHip:SetDesiredAngle(-3.14 /2)
  3081. end
  3082.  
  3083. local lastTick = 0
  3084.  
  3085. function move(time)
  3086. local amplitude = 1
  3087. local frequency = 1
  3088. local deltaTime = time - lastTick
  3089. lastTick = time
  3090.  
  3091. local climbFudge = 0
  3092. local setAngles = false
  3093.  
  3094. if (jumpAnimTime > 0) then
  3095. jumpAnimTime = jumpAnimTime - deltaTime
  3096. end
  3097.  
  3098. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  3099. playAnimation("fall", fallTransitionTime, Humanoid)
  3100. elseif (pose == "Seated") then
  3101. playAnimation("sit", 0.5, Humanoid)
  3102. return
  3103. elseif (pose == "Running") then
  3104. playAnimation("walk", 0.1, Humanoid)
  3105. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  3106. -- print("Wha " .. pose)
  3107. stopAllAnimations()
  3108. amplitude = 0.1
  3109. frequency = 1
  3110. setAngles = true
  3111. end
  3112.  
  3113. if (setAngles) then
  3114. local desiredAngle = amplitude * math.sin(time * frequency)
  3115.  
  3116. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  3117. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  3118. RightHip:SetDesiredAngle(-desiredAngle)
  3119. LeftHip:SetDesiredAngle(-desiredAngle)
  3120. end
  3121.  
  3122. -- Tool Animation handling
  3123. local tool = getTool()
  3124. if tool and tool:FindFirstChild("Handle") then
  3125.  
  3126. local animStringValueObject = getToolAnim(tool)
  3127.  
  3128. if animStringValueObject then
  3129. toolAnim = animStringValueObject.Value
  3130. -- message recieved, delete StringValue
  3131. animStringValueObject.Parent = nil
  3132. toolAnimTime = time + .3
  3133. end
  3134.  
  3135. if time > toolAnimTime then
  3136. toolAnimTime = 0
  3137. toolAnim = "None"
  3138. end
  3139.  
  3140. animateTool()
  3141. else
  3142. stopToolAnimations()
  3143. toolAnim = "None"
  3144. toolAnimInstance = nil
  3145. toolAnimTime = 0
  3146. end
  3147. end
  3148.  
  3149. -- connect events
  3150. Humanoid.Died:connect(onDied)
  3151. Humanoid.Running:connect(onRunning)
  3152. Humanoid.Jumping:connect(onJumping)
  3153. Humanoid.Climbing:connect(onClimbing)
  3154. Humanoid.GettingUp:connect(onGettingUp)
  3155. Humanoid.FreeFalling:connect(onFreeFall)
  3156. Humanoid.FallingDown:connect(onFallingDown)
  3157. Humanoid.Seated:connect(onSeated)
  3158. Humanoid.PlatformStanding:connect(onPlatformStanding)
  3159. Humanoid.Swimming:connect(onSwimming)
  3160.  
  3161. -- setup emote chat hook
  3162. game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
  3163. local emote = ""
  3164. if msg == "/e dance" then
  3165. emote = dances[math.random(1, #dances)]
  3166. elseif (string.sub(msg, 1, 3) == "/e ") then
  3167. emote = string.sub(msg, 4)
  3168. elseif (string.sub(msg, 1, 7) == "/emote ") then
  3169. emote = string.sub(msg, 8)
  3170. end
  3171.  
  3172. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  3173. playAnimation(emote, 0.1, Humanoid)
  3174. end
  3175.  
  3176. end)
  3177.  
  3178.  
  3179. -- main program
  3180.  
  3181. -- initialize to idle
  3182. playAnimation("idle", 0.1, Humanoid)
  3183. pose = "Standing"
  3184.  
  3185. while Figure.Parent ~= nil do
  3186. local _, time = wait(0.1)
  3187. move(time)
  3188. end
  3189.  
  3190.  
  3191.  
  3192. end,o302)
  3193.  
  3194. o303.Name = "idle"
  3195. o303.Parent = o302
  3196. o304.Name = "Animation1"
  3197. o304.Parent = o303
  3198. o304.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  3199. o305.Name = "Weight"
  3200. o305.Parent = o304
  3201. o305.Value = 9
  3202. o306.Name = "Animation2"
  3203. o306.Parent = o303
  3204. o306.AnimationId = "http://www.roblox.com/asset/?id=180435792"
  3205. o307.Name = "Weight"
  3206. o307.Parent = o306
  3207. o307.Value = 1
  3208. o308.Name = "walk"
  3209. o308.Parent = o302
  3210. o309.Name = "WalkAnim"
  3211. o309.Parent = o308
  3212. o309.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  3213. o310.Name = "run"
  3214. o310.Parent = o302
  3215. o311.Name = "RunAnim"
  3216. o311.Parent = o310
  3217. o311.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  3218. o312.Name = "jump"
  3219. o312.Parent = o302
  3220. o313.Name = "JumpAnim"
  3221. o313.Parent = o312
  3222. o313.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  3223. o314.Name = "climb"
  3224. o314.Parent = o302
  3225. o315.Name = "ClimbAnim"
  3226. o315.Parent = o314
  3227. o315.AnimationId = "http://www.roblox.com/asset/?id=180436334"
  3228. o316.Name = "toolnone"
  3229. o316.Parent = o302
  3230. o317.Name = "ToolNoneAnim"
  3231. o317.Parent = o316
  3232. o317.AnimationId = "http://www.roblox.com/asset/?id=182393478"
  3233. o318.Name = "fall"
  3234. o318.Parent = o302
  3235. o319.Name = "FallAnim"
  3236. o319.Parent = o318
  3237. o319.AnimationId = "http://www.roblox.com/asset/?id=180436148"
  3238. o320.Name = "sit"
  3239. o320.Parent = o302
  3240. o321.Name = "SitAnim"
  3241. o321.Parent = o320
  3242. o321.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  3243. o322.Name = "ScaleDampeningPercent"
  3244. o322.Parent = o302
  3245. o322.Value = 0.39999997615814
  3246. o323.Parent = o242
  3247. o323.HeadColor = BrickColor.new("Pastel brown")
  3248. o323.LeftArmColor = BrickColor.new("Pastel brown")
  3249. o323.LeftLegColor = BrickColor.new("Pastel brown")
  3250. o323.RightArmColor = BrickColor.new("Pastel brown")
  3251. o323.RightLegColor = BrickColor.new("Pastel brown")
  3252. o323.TorsoColor = BrickColor.new("Pastel brown")
  3253. o324.Name = "Pants"
  3254. o324.Parent = o242
  3255. o324.PantsTemplate = "http://www.roblox.com/asset/?id=1439542143"
  3256. o325.Name = "Shirt"
  3257. o325.Parent = o242
  3258. o325.ShirtTemplate = "http://www.roblox.com/asset/?id=1439532842"
  3259. o327.Name = "Handle"
  3260. o327.Parent = mas
  3261. o327.Position = Vector3.new(-154.312073, 24.709959, 160.891418)
  3262. o327.Rotation = Vector3.new(180, -26.3299999, 180)
  3263. o327.RotVelocity = Vector3.new(7.01796671e-05, -1.03133743e-06, -3.59236401e-05)
  3264. o327.Velocity = Vector3.new(0.000264944596, -0.000612511591, 0.000469736988)
  3265. o327.CanCollide = false
  3266. o327.Locked = true
  3267. o327.FormFactor = Enum.FormFactor.Custom
  3268. o327.Size = Vector3.new(1.45002651, 2.35999823, 1.24000001)
  3269. o327.CFrame = CFrame.new(-154.312073, 24.709959, 160.891418, -0.896230698, -1.20626519e-05, -0.443588197, -3.64240691e-07, 1, -2.6457441e-05, 0.443588197, -2.35503976e-05, -0.896230698)
  3270. o327.BottomSurface = Enum.SurfaceType.Smooth
  3271. o327.TopSurface = Enum.SurfaceType.Smooth
  3272. o327.Position = Vector3.new(-154.312073, 24.709959, 160.891418)
  3273. o327.velocity = Vector3.new(0.000264944596, -0.000612511591, 0.000469736988)
  3274. o328.Parent = o327
  3275. o328.MeshId = "http://www.roblox.com/asset/?id=188565062 "
  3276. o328.TextureId = "http://www.roblox.com/asset/?id=188565095 "
  3277. o328.MeshType = Enum.MeshType.FileMesh
  3278. o330.Name = "OriginalSize"
  3279. o330.Parent = o327
  3280. o330.Value = Vector3.new(1.45002651, 2.35999823, 1.24000001)
  3281. o331.Name = "AccessoryWeld"
  3282. o331.Parent = o327
  3283. o331.C0 = CFrame.new(8.65748007e-09, 0.199999809, -0.0252722446, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3284. o331.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3285. o331.Part0 = o327
  3286. o331.Part1 = o243
  3287. mas.Parent = workspace
  3288. mas:MakeJoints()
  3289. local mas1 = mas:GetChildren()
  3290. for i=1,#mas1 do
  3291. mas1[i].Parent = workspace
  3292. ypcall(function() mas1[i]:MakeJoints() end)
  3293. end
  3294. mas:Destroy()
  3295. for i=1,#cors do
  3296. coroutine.resume(cors[i])
  3297. end
  3298. mess_handle.Text = "Resetting"
  3299. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3300. v:LoadCharacter()
  3301. end
  3302. wait(1)
  3303. mess_handle:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement