Advertisement
lafur

Untitled

Oct 19th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 137.67 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,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("Part")
  22. o5 = Instance.new("SpecialMesh")
  23. o10 = Instance.new("Sound")
  24. o11 = Instance.new("RemoteEvent")
  25. o12 = Instance.new("Sound")
  26. o13 = Instance.new("RemoteEvent")
  27. o14 = Instance.new("Sound")
  28. o15 = Instance.new("RemoteEvent")
  29. o16 = Instance.new("Sound")
  30. o17 = Instance.new("RemoteEvent")
  31. o18 = Instance.new("Sound")
  32. o19 = Instance.new("RemoteEvent")
  33. o20 = Instance.new("Sound")
  34. o21 = Instance.new("RemoteEvent")
  35. o22 = Instance.new("Sound")
  36. o23 = Instance.new("RemoteEvent")
  37. o24 = Instance.new("Sound")
  38. o25 = Instance.new("RemoteEvent")
  39. o26 = Instance.new("Sound")
  40. o27 = Instance.new("RemoteEvent")
  41. o28 = Instance.new("Decal")
  42. o29 = Instance.new("Part")
  43. o30 = Instance.new("Decal")
  44. o39 = Instance.new("Motor6D")
  45. o40 = Instance.new("Motor6D")
  46. o41 = Instance.new("Motor6D")
  47. o42 = Instance.new("Motor6D")
  48. o43 = Instance.new("Motor6D")
  49. o44 = Instance.new("Part")
  50. o47 = Instance.new("Part")
  51. o50 = Instance.new("Part")
  52. o52 = Instance.new("Part")
  53. o54 = Instance.new("Humanoid")
  54. o57 = Instance.new("Part")
  55. o59 = Instance.new("Motor6D")
  56. o60 = Instance.new("Script")
  57. o61 = Instance.new("LocalScript")
  58. o62 = Instance.new("Script")
  59. o63 = Instance.new("LocalScript")
  60. o64 = Instance.new("StringValue")
  61. o65 = Instance.new("Animation")
  62. o66 = Instance.new("NumberValue")
  63. o67 = Instance.new("Animation")
  64. o68 = Instance.new("NumberValue")
  65. o69 = Instance.new("StringValue")
  66. o70 = Instance.new("Animation")
  67. o71 = Instance.new("StringValue")
  68. o72 = Instance.new("Animation")
  69. o73 = Instance.new("StringValue")
  70. o74 = Instance.new("Animation")
  71. o75 = Instance.new("StringValue")
  72. o76 = Instance.new("Animation")
  73. o77 = Instance.new("StringValue")
  74. o78 = Instance.new("Animation")
  75. o79 = Instance.new("StringValue")
  76. o80 = Instance.new("Animation")
  77. o81 = Instance.new("StringValue")
  78. o82 = Instance.new("Animation")
  79. o83 = Instance.new("NumberValue")
  80. o84 = Instance.new("BodyColors")
  81. o85 = Instance.new("Pants")
  82. o86 = Instance.new("Shirt")
  83. o88 = Instance.new("Part")
  84. o89 = Instance.new("SpecialMesh")
  85. o91 = Instance.new("Vector3Value")
  86. o92 = Instance.new("Weld")
  87. o93 = Instance.new("Model")
  88. o94 = Instance.new("Part")
  89. o95 = Instance.new("SpecialMesh")
  90. o96 = Instance.new("Part")
  91. o97 = Instance.new("SpecialMesh")
  92. o98 = Instance.new("Part")
  93. o99 = Instance.new("SpecialMesh")
  94. o100 = Instance.new("Part")
  95. o101 = Instance.new("Script")
  96. o102 = Instance.new("ClickDetector")
  97. o103 = Instance.new("Script")
  98. o104 = Instance.new("Smoke")
  99. o105 = Instance.new("Script")
  100. o106 = Instance.new("BlockMesh")
  101. o107 = Instance.new("Part")
  102. o108 = Instance.new("BlockMesh")
  103. o109 = Instance.new("Part")
  104. o110 = Instance.new("SpecialMesh")
  105. o111 = Instance.new("Part")
  106. o112 = Instance.new("SpecialMesh")
  107. o113 = Instance.new("Part")
  108. o114 = Instance.new("SpecialMesh")
  109. o115 = Instance.new("Part")
  110. o116 = Instance.new("CylinderMesh")
  111. o117 = Instance.new("Part")
  112. o118 = Instance.new("SpecialMesh")
  113. o119 = Instance.new("Part")
  114. o120 = Instance.new("CylinderMesh")
  115. o121 = Instance.new("Part")
  116. o122 = Instance.new("CylinderMesh")
  117. o123 = Instance.new("Part")
  118. o124 = Instance.new("CylinderMesh")
  119. o125 = Instance.new("Part")
  120. o126 = Instance.new("CylinderMesh")
  121. o127 = Instance.new("Part")
  122. o128 = Instance.new("SpecialMesh")
  123. o129 = Instance.new("Part")
  124. o130 = Instance.new("CylinderMesh")
  125. o131 = Instance.new("VehicleSeat")
  126. o132 = Instance.new("Part")
  127. o133 = Instance.new("SpecialMesh")
  128. o134 = Instance.new("Part")
  129. o135 = Instance.new("BlockMesh")
  130. o136 = Instance.new("Part")
  131. o137 = Instance.new("SpecialMesh")
  132. o138 = Instance.new("Part")
  133. o139 = Instance.new("BlockMesh")
  134. o140 = Instance.new("Part")
  135. o141 = Instance.new("BlockMesh")
  136. o142 = Instance.new("Part")
  137. o143 = Instance.new("SpecialMesh")
  138. o144 = Instance.new("Part")
  139. o145 = Instance.new("Part")
  140. o146 = Instance.new("Part")
  141. o147 = Instance.new("Part")
  142. o148 = Instance.new("Model")
  143. o149 = Instance.new("Part")
  144. o150 = Instance.new("Script")
  145. o151 = Instance.new("Model")
  146. o152 = Instance.new("Model")
  147. o153 = Instance.new("Model")
  148. o154 = Instance.new("Part")
  149. o155 = Instance.new("SpecialMesh")
  150. o156 = Instance.new("Part")
  151. o157 = Instance.new("Part")
  152. o158 = Instance.new("Part")
  153. o159 = Instance.new("BodyGyro")
  154. o160 = Instance.new("Part")
  155. o161 = Instance.new("SpecialMesh")
  156. o162 = Instance.new("Part")
  157. o163 = Instance.new("Part")
  158. o164 = Instance.new("SpecialMesh")
  159. o165 = Instance.new("Part")
  160. o166 = Instance.new("Part")
  161. o167 = Instance.new("Part")
  162. o168 = Instance.new("SpecialMesh")
  163. o169 = Instance.new("Part")
  164. o170 = Instance.new("SpecialMesh")
  165. o171 = Instance.new("Part")
  166. o172 = Instance.new("SpecialMesh")
  167. o173 = Instance.new("Part")
  168. o174 = Instance.new("Part")
  169. o175 = Instance.new("SpecialMesh")
  170. o176 = Instance.new("Part")
  171. o177 = Instance.new("SpecialMesh")
  172. o178 = Instance.new("Decal")
  173. o179 = Instance.new("Model")
  174. o180 = Instance.new("Part")
  175. o181 = Instance.new("Part")
  176. o182 = Instance.new("Part")
  177. o183 = Instance.new("Part")
  178. o184 = Instance.new("Part")
  179. o185 = Instance.new("Part")
  180. o186 = Instance.new("Model")
  181. o187 = Instance.new("Part")
  182. o188 = Instance.new("SpecialMesh")
  183. o189 = Instance.new("Part")
  184. o190 = Instance.new("Part")
  185. o191 = Instance.new("Part")
  186. o192 = Instance.new("BodyGyro")
  187. o193 = Instance.new("Part")
  188. o194 = Instance.new("SpecialMesh")
  189. o195 = Instance.new("Part")
  190. o196 = Instance.new("Part")
  191. o197 = Instance.new("SpecialMesh")
  192. o198 = Instance.new("Part")
  193. o199 = Instance.new("Part")
  194. o200 = Instance.new("Part")
  195. o201 = Instance.new("SpecialMesh")
  196. o202 = Instance.new("Part")
  197. o203 = Instance.new("SpecialMesh")
  198. o204 = Instance.new("Part")
  199. o205 = Instance.new("SpecialMesh")
  200. o206 = Instance.new("Part")
  201. o207 = Instance.new("Part")
  202. o208 = Instance.new("SpecialMesh")
  203. o209 = Instance.new("Part")
  204. o210 = Instance.new("SpecialMesh")
  205. o211 = Instance.new("Decal")
  206. o212 = Instance.new("Model")
  207. o213 = Instance.new("Model")
  208. o214 = Instance.new("Script")
  209. o215 = Instance.new("Part")
  210. o216 = Instance.new("Part")
  211. o217 = Instance.new("Part")
  212. o218 = Instance.new("Part")
  213. o219 = Instance.new("VehicleSeat")
  214. o220 = Instance.new("Script")
  215. o221 = Instance.new("Model")
  216. o222 = Instance.new("Model")
  217. o223 = Instance.new("Part")
  218. o224 = Instance.new("Part")
  219. o225 = Instance.new("SpecialMesh")
  220. o226 = Instance.new("Part")
  221. o227 = Instance.new("Part")
  222. o228 = Instance.new("SpecialMesh")
  223. o229 = Instance.new("Decal")
  224. o230 = Instance.new("Part")
  225. o231 = Instance.new("SpecialMesh")
  226. o232 = Instance.new("Decal")
  227. o233 = Instance.new("Model")
  228. o234 = Instance.new("Part")
  229. o235 = Instance.new("Sound")
  230. o236 = Instance.new("ClickDetector")
  231. o237 = Instance.new("Script")
  232. o238 = Instance.new("Script")
  233. o239 = Instance.new("Decal")
  234. o240 = Instance.new("Model")
  235. o241 = Instance.new("Part")
  236. o242 = Instance.new("Model")
  237. o243 = Instance.new("Part")
  238. o244 = Instance.new("Part")
  239. o245 = Instance.new("SpecialMesh")
  240. o246 = Instance.new("Part")
  241. o247 = Instance.new("Part")
  242. o248 = Instance.new("Part")
  243. o249 = Instance.new("Part")
  244. o250 = Instance.new("SpecialMesh")
  245. o251 = Instance.new("Part")
  246. o252 = Instance.new("SpecialMesh")
  247. o253 = Instance.new("Decal")
  248. o254 = Instance.new("Decal")
  249. o255 = Instance.new("Part")
  250. o256 = Instance.new("CylinderMesh")
  251. o257 = Instance.new("Part")
  252. o258 = Instance.new("Part")
  253. o259 = Instance.new("CylinderMesh")
  254. o260 = Instance.new("Part")
  255. o261 = Instance.new("SpecialMesh")
  256. o262 = Instance.new("Part")
  257. o263 = Instance.new("Part")
  258. o264 = Instance.new("Part")
  259. o265 = Instance.new("Part")
  260. o266 = Instance.new("Part")
  261. o267 = Instance.new("Part")
  262. o268 = Instance.new("SpecialMesh")
  263. o269 = Instance.new("Model")
  264. o270 = Instance.new("Part")
  265. o271 = Instance.new("Script")
  266. o272 = Instance.new("SpecialMesh")
  267. o273 = Instance.new("Part")
  268. o274 = Instance.new("Part")
  269. o275 = Instance.new("SpecialMesh")
  270. o276 = Instance.new("Part")
  271. o277 = Instance.new("Part")
  272. o278 = Instance.new("SpecialMesh")
  273. o279 = Instance.new("Decal")
  274. o280 = Instance.new("Part")
  275. o281 = Instance.new("SpecialMesh")
  276. o282 = Instance.new("Decal")
  277. o283 = Instance.new("Part")
  278. o284 = Instance.new("ClickDetector")
  279. o285 = Instance.new("BodyForce")
  280. o286 = Instance.new("Script")
  281. o3.Name = "timetodie23232223"
  282. o3.Parent = mas
  283. o3.Archivable = false
  284. o3.PrimaryPart = o4
  285. o4.Name = "Head"
  286. o4.Parent = o3
  287. o4.BrickColor = BrickColor.new("Pastel brown")
  288. o4.Position = Vector3.new(7.30039358, 6.48872328, 118.016754)
  289. o4.Rotation = Vector3.new(179.269989, 60.6999969, -179.360001)
  290. o4.Locked = true
  291. o4.FormFactor = Enum.FormFactor.Symmetric
  292. o4.Size = Vector3.new(2, 1, 1)
  293. o4.CFrame = CFrame.new(7.30039358, 6.48872328, 118.016754, -0.489396304, 0.00543377316, 0.872044563, -8.96001984e-06, 0.999980509, -0.00623597531, -0.872061551, -0.00305966986, -0.489386708)
  294. o4.TopSurface = Enum.SurfaceType.Smooth
  295. o4.Color = Color3.new(1, 0.8, 0.6)
  296. o4.Position = Vector3.new(7.30039358, 6.48872328, 118.016754)
  297. o5.Parent = o4
  298. o5.Scale = Vector3.new(1.25, 1.25, 1.25)
  299. o10.Name = "GettingUp"
  300. o10.Parent = o4
  301. o10.Archivable = false
  302. o10.SoundId = "rbxasset://sounds/action_get_up.mp3"
  303. o10.Volume = 0.64999997615814
  304. o11.Name = "CharacterSoundEvent"
  305. o11.Parent = o10
  306. o12.Name = "Died"
  307. o12.Parent = o4
  308. o12.Archivable = false
  309. o12.SoundId = "rbxasset://sounds/uuhhh.mp3"
  310. o12.Volume = 0.64999997615814
  311. o13.Name = "CharacterSoundEvent"
  312. o13.Parent = o12
  313. o14.Name = "FreeFalling"
  314. o14.Parent = o4
  315. o14.Archivable = false
  316. o14.SoundId = "rbxasset://sounds/action_falling.mp3"
  317. o14.TimePosition = 0.16727244844969
  318. o14.Volume = 0.1293483376503
  319. o14.Looped = true
  320. o15.Name = "CharacterSoundEvent"
  321. o15.Parent = o14
  322. o16.Name = "Jumping"
  323. o16.Parent = o4
  324. o16.Archivable = false
  325. o16.SoundId = "rbxasset://sounds/action_jump.mp3"
  326. o16.Volume = 0.64999997615814
  327. o17.Name = "CharacterSoundEvent"
  328. o17.Parent = o16
  329. o18.Name = "Landing"
  330. o18.Parent = o4
  331. o18.Archivable = false
  332. o18.SoundId = "rbxasset://sounds/action_jump_land.mp3"
  333. o18.Volume = 0.67504101991653
  334. o19.Name = "CharacterSoundEvent"
  335. o19.Parent = o18
  336. o20.Name = "Splash"
  337. o20.Parent = o4
  338. o20.Archivable = false
  339. o20.SoundId = "rbxasset://sounds/impact_water.mp3"
  340. o20.Volume = 0.64999997615814
  341. o21.Name = "CharacterSoundEvent"
  342. o21.Parent = o20
  343. o22.Name = "Running"
  344. o22.Parent = o4
  345. o22.Archivable = false
  346. o22.Pitch = 1.8500000238419
  347. o22.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  348. o22.TimePosition = 0.14326432719875
  349. o22.Volume = 0.64999997615814
  350. o22.Looped = true
  351. o23.Name = "CharacterSoundEvent"
  352. o23.Parent = o22
  353. o24.Name = "Swimming"
  354. o24.Parent = o4
  355. o24.Archivable = false
  356. o24.Pitch = 1.6000000238419
  357. o24.SoundId = "rbxasset://sounds/action_swim.mp3"
  358. o24.Volume = 0.64999997615814
  359. o24.Looped = true
  360. o25.Name = "CharacterSoundEvent"
  361. o25.Parent = o24
  362. o26.Name = "Climbing"
  363. o26.Parent = o4
  364. o26.Archivable = false
  365. o26.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
  366. o26.TimePosition = 1.8005281281176
  367. o26.Volume = 0.64999997615814
  368. o26.Looped = true
  369. o27.Name = "CharacterSoundEvent"
  370. o27.Parent = o26
  371. o28.Name = "face"
  372. o28.Parent = o4
  373. o28.Texture = "http://www.roblox.com/asset/?id=13038247"
  374. o29.Name = "Torso"
  375. o29.Parent = o3
  376. o29.BrickColor = BrickColor.new("Pastel brown")
  377. o29.Position = Vector3.new(7.29767656, 4.99395561, 118.018288)
  378. o29.Rotation = Vector3.new(180, 60.6199989, -180)
  379. o29.Locked = true
  380. o29.FormFactor = Enum.FormFactor.Symmetric
  381. o29.Size = Vector3.new(2, 2, 1)
  382. o29.CFrame = CFrame.new(7.29767656, 4.99395561, 118.018288, -0.490617961, 2.08397068e-08, 0.871374786, 1.35417677e-08, 1, -1.62913505e-08, -0.871374786, 3.80712573e-09, -0.490617961)
  383. o29.LeftSurface = Enum.SurfaceType.Weld
  384. o29.RightSurface = Enum.SurfaceType.Weld
  385. o29.Color = Color3.new(1, 0.8, 0.6)
  386. o29.Position = Vector3.new(7.29767656, 4.99395561, 118.018288)
  387. o30.Name = "roblox"
  388. o30.Parent = o29
  389. o39.Name = "Right Shoulder"
  390. o39.Parent = o29
  391. o39.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  392. o39.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  393. o39.Part0 = o29
  394. o39.Part1 = o47
  395. o39.CurrentAngle = 0.00058997800806537
  396. o39.MaxVelocity = 0.10000000149012
  397. o40.Name = "Left Shoulder"
  398. o40.Parent = o29
  399. o40.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  400. o40.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  401. o40.Part0 = o29
  402. o40.Part1 = o44
  403. o40.CurrentAngle = -0.0018559290328994
  404. o40.MaxVelocity = 0.10000000149012
  405. o41.Name = "Right Hip"
  406. o41.Parent = o29
  407. o41.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  408. o41.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  409. o41.Part0 = o29
  410. o41.Part1 = o52
  411. o41.MaxVelocity = 0.10000000149012
  412. o42.Name = "Left Hip"
  413. o42.Parent = o29
  414. o42.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  415. o42.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  416. o42.Part0 = o29
  417. o42.Part1 = o50
  418. o42.MaxVelocity = 0.10000000149012
  419. o43.Name = "Neck"
  420. o43.Parent = o29
  421. o43.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  422. o43.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  423. o43.Part0 = o29
  424. o43.Part1 = o4
  425. o43.CurrentAngle = -0.00073891045758501
  426. o43.MaxVelocity = 0.10000000149012
  427. o44.Name = "Left Arm"
  428. o44.Parent = o3
  429. o44.BrickColor = BrickColor.new("Pastel brown")
  430. o44.Position = Vector3.new(8.03607368, 5.00806379, 119.325363)
  431. o44.Rotation = Vector3.new(-179.709991, 60.5200005, 179.610001)
  432. o44.CanCollide = false
  433. o44.Locked = true
  434. o44.FormFactor = Enum.FormFactor.Symmetric
  435. o44.Size = Vector3.new(1, 2, 1)
  436. o44.CFrame = CFrame.new(8.03607368, 5.00806379, 119.325363, -0.492178708, -0.00337854028, 0.87048763, -0.00245943107, 0.999993861, 0.0024906015, -0.87049067, -0.000915076816, -0.492184043)
  437. o44.Color = Color3.new(1, 0.8, 0.6)
  438. o44.Position = Vector3.new(8.03607368, 5.00806379, 119.325363)
  439. o47.Name = "Right Arm"
  440. o47.Parent = o3
  441. o47.BrickColor = BrickColor.new("Pastel brown")
  442. o47.Position = Vector3.new(6.56539536, 5.00455809, 116.705597)
  443. o47.Rotation = Vector3.new(-179.429993, 61.0200005, 179.860001)
  444. o47.CanCollide = false
  445. o47.Locked = true
  446. o47.FormFactor = Enum.FormFactor.Symmetric
  447. o47.Size = Vector3.new(1, 2, 1)
  448. o47.CFrame = CFrame.new(6.56539536, 5.00455809, 116.705597, -0.484502703, -0.00117536262, 0.87478894, 0.00630562333, 0.99996841, 0.00483591203, -0.874767065, 0.00785909966, -0.484479964)
  449. o47.Color = Color3.new(1, 0.8, 0.6)
  450. o47.Position = Vector3.new(6.56539536, 5.00455809, 116.705597)
  451. o50.Name = "Left Leg"
  452. o50.Parent = o3
  453. o50.BrickColor = BrickColor.new("Pastel brown")
  454. o50.Position = Vector3.new(7.54298544, 2.99906182, 118.453972)
  455. o50.Rotation = Vector3.new(180, 60.6199989, -180)
  456. o50.CanCollide = false
  457. o50.Locked = true
  458. o50.FormFactor = Enum.FormFactor.Symmetric
  459. o50.Size = Vector3.new(1, 2, 1)
  460. o50.CFrame = CFrame.new(7.54298544, 2.99906182, 118.453972, -0.490617961, 2.08397068e-08, 0.871374786, 1.35417677e-08, 1, -1.62913505e-08, -0.871374786, 3.80712573e-09, -0.490617961)
  461. o50.BottomSurface = Enum.SurfaceType.Smooth
  462. o50.Color = Color3.new(1, 0.8, 0.6)
  463. o50.Position = Vector3.new(7.54298544, 2.99906182, 118.453972)
  464. o52.Name = "Right Leg"
  465. o52.Parent = o3
  466. o52.BrickColor = BrickColor.new("Pastel brown")
  467. o52.Position = Vector3.new(7.05236769, 2.99677849, 117.582603)
  468. o52.Rotation = Vector3.new(180, 60.6199989, -180)
  469. o52.CanCollide = false
  470. o52.Locked = true
  471. o52.FormFactor = Enum.FormFactor.Symmetric
  472. o52.Size = Vector3.new(1, 2, 1)
  473. o52.CFrame = CFrame.new(7.05236769, 2.99677849, 117.582603, -0.490617961, 2.08397068e-08, 0.871374786, 1.35417677e-08, 1, -1.62913505e-08, -0.871374786, 3.80712573e-09, -0.490617961)
  474. o52.BottomSurface = Enum.SurfaceType.Smooth
  475. o52.Color = Color3.new(1, 0.8, 0.6)
  476. o52.Position = Vector3.new(7.05236769, 2.99677849, 117.582603)
  477. o54.Parent = o3
  478. o54.RightLeg = o52
  479. o54.LeftLeg = o50
  480. o54.Torso = o57
  481. o57.Name = "HumanoidRootPart"
  482. o57.Parent = o3
  483. o57.Transparency = 1
  484. o57.Position = Vector3.new(7.29767656, 5, 118.018288)
  485. o57.Rotation = Vector3.new(180, 60.6199989, -180)
  486. o57.CanCollide = false
  487. o57.Locked = true
  488. o57.FormFactor = Enum.FormFactor.Symmetric
  489. o57.Size = Vector3.new(2, 2, 1)
  490. o57.CFrame = CFrame.new(7.29767656, 5, 118.018288, -0.490617961, 2.08397068e-08, 0.871374786, 1.35417677e-08, 1, -1.62913505e-08, -0.871374786, 3.80712573e-09, -0.490617961)
  491. o57.BottomSurface = Enum.SurfaceType.Smooth
  492. o57.TopSurface = Enum.SurfaceType.Smooth
  493. o57.Position = Vector3.new(7.29767656, 5, 118.018288)
  494. o59.Name = "RootJoint"
  495. o59.Parent = o57
  496. o59.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  497. o59.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  498. o59.Part0 = o57
  499. o59.Part1 = o29
  500. o59.MaxVelocity = 0.10000000149012
  501. o60.Name = "Sound"
  502. o60.Parent = o3
  503.  
  504. runDummyScript(function()
  505. --[[
  506. Author: @spotco
  507. This script creates sounds which are placed under the character head.
  508. These sounds are used by the "LocalSound" script.
  509.  
  510. To modify this script, copy it to your "StarterPlayer/StarterCharacterScripts" folder keeping the same script name ("Sound").
  511. The default Sound script loaded for every character will then be replaced with your copy of the script.
  512. ]]--
  513. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  514. local Players = game:GetService("Players")
  515.  
  516. local SOUND_EVENT_FOLDER_NAME = "DefaultSoundEvents"
  517. local DEFAULT_SERVER_SOUND_EVENT_NAME = "DefaultServerSoundEvent"
  518.  
  519. local SoundEventFolder = ReplicatedStorage:FindFirstChild(SOUND_EVENT_FOLDER_NAME)
  520. local DefaultServerSoundEvent = nil
  521.  
  522. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  523. if useSoundDispatcher then
  524. if not SoundEventFolder then
  525. SoundEventFolder = Instance.new("Folder")
  526. SoundEventFolder.Name = SOUND_EVENT_FOLDER_NAME
  527. SoundEventFolder.Archivable = false
  528. SoundEventFolder.Parent = ReplicatedStorage
  529. end
  530.  
  531. DefaultServerSoundEvent = SoundEventFolder:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  532. else
  533. DefaultServerSoundEvent = ReplicatedStorage:FindFirstChild(DEFAULT_SERVER_SOUND_EVENT_NAME)
  534. end
  535.  
  536. if not DefaultServerSoundEvent then
  537. if useSoundDispatcher then
  538. DefaultServerSoundEvent = Instance.new("RemoteEvent", SoundEventFolder)
  539. else
  540. DefaultServerSoundEvent = Instance.new("RemoteEvent", ReplicatedStorage)
  541. end
  542.  
  543. DefaultServerSoundEvent.Name = DEFAULT_SERVER_SOUND_EVENT_NAME
  544. DefaultServerSoundEvent.OnServerEvent:Connect(function() end)
  545. end
  546.  
  547. local function CreateNewSound(name, id, looped, pitch, parent)
  548. local sound = Instance.new("Sound")
  549. sound.SoundId = id
  550. sound.Name = name
  551. sound.archivable = false
  552. sound.Pitch = pitch
  553. sound.Looped = looped
  554. sound.MinDistance = 5
  555. sound.MaxDistance = 150
  556. sound.Volume = 0.65
  557. sound.Parent = parent
  558.  
  559. if DefaultServerSoundEvent then
  560. local CharacterSoundEvent = Instance.new("RemoteEvent", sound)
  561. CharacterSoundEvent.Name = "CharacterSoundEvent"
  562. CharacterSoundEvent.OnServerEvent:Connect(function(player, playing, resetPosition)
  563. if type(playing) ~= "boolean" then
  564. return
  565. end
  566. if type(resetPosition) ~= "boolean" then
  567. return
  568. end
  569.  
  570. if player.Character ~= script.Parent then
  571. return
  572. end
  573. for _, p in pairs(Players:GetPlayers()) do
  574. if p ~= player then
  575. -- Connect to the dispatcher to check if the player has loaded.
  576. if useSoundDispatcher then
  577. SoundEventFolder:FindFirstChild("SoundDispatcher"):Fire(p, sound, playing, resetPosition)
  578. else
  579. DefaultServerSoundEvent:FireClient(p, sound, playing, resetPosition)
  580. end
  581. end
  582. end
  583. end)
  584. end
  585. return sound
  586. end
  587.  
  588. local head = script.Parent:FindFirstChild("Head")
  589. if not head then
  590. error("Sound script parent has no child Head.")
  591. return
  592. end
  593.  
  594. CreateNewSound("GettingUp", "rbxasset://sounds/action_get_up.mp3", false, 1, head)
  595. CreateNewSound("Died", "rbxasset://sounds/uuhhh.mp3", false, 1, head)
  596. CreateNewSound("FreeFalling", "rbxasset://sounds/action_falling.mp3", true, 1, head)
  597. CreateNewSound("Jumping", "rbxasset://sounds/action_jump.mp3", false, 1, head)
  598. CreateNewSound("Landing", "rbxasset://sounds/action_jump_land.mp3", false, 1, head)
  599. CreateNewSound("Splash", "rbxasset://sounds/impact_water.mp3", false, 1, head)
  600. CreateNewSound("Running", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1.85, head)
  601. CreateNewSound("Swimming", "rbxasset://sounds/action_swim.mp3", true, 1.6, head)
  602. CreateNewSound("Climbing", "rbxasset://sounds/action_footsteps_plastic.mp3", true, 1, head)
  603. end,o60)
  604.  
  605. o61.Name = "LocalSound"
  606. o61.Parent = o60
  607.  
  608. runDummyScript(function()
  609. --[[
  610. Author: @spotco
  611. This script runs locally for the player of the given humanoid.
  612. This script triggers humanoid sound play/pause actions locally.
  613.  
  614. The Playing/TimePosition properties of Sound objects bypass FilteringEnabled, so this triggers the sound
  615. immediately for the player and is replicated to all other players.
  616.  
  617. This script is optimized to reduce network traffic through minimizing the amount of property replication.
  618. ]]--
  619.  
  620. --All sounds are referenced by this ID
  621. local SFX = {
  622. Died = 0;
  623. Running = 1;
  624. Swimming = 2;
  625. Climbing = 3,
  626. Jumping = 4;
  627. GettingUp = 5;
  628. FreeFalling = 6;
  629. FallingDown = 7;
  630. Landing = 8;
  631. Splash = 9;
  632. }
  633.  
  634. local useUpdatedLocalSoundFlag = UserSettings():IsUserFeatureEnabled("UserFixCharacterSoundIssues")
  635.  
  636. local Humanoid = nil
  637. local Head = nil
  638. --SFX ID to Sound object
  639. local Sounds = {}
  640. local SoundService = game:GetService("SoundService")
  641. local soundEventFolderName = "DefaultSoundEvents"
  642. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  643. local AddCharacterLoadedEvent = nil
  644. local RemoveCharacterEvent = nil
  645. local soundEventFolder = ReplicatedStorage:FindFirstChild(soundEventFolderName)
  646. local useSoundDispatcher = UserSettings():IsUserFeatureEnabled("UserUseSoundDispatcher")
  647.  
  648. if useSoundDispatcher then
  649. if not soundEventFolder then
  650. soundEventFolder = Instance.new("Folder", ReplicatedStorage)
  651. soundEventFolder.Name = soundEventFolderName
  652. soundEventFolder.Archivable = false
  653. end
  654.  
  655. -- Load the RemoveCharacterEvent
  656. RemoveCharacterEvent = soundEventFolder:FindFirstChild("RemoveCharacterEvent")
  657. if RemoveCharacterEvent == nil then
  658. RemoveCharacterEvent = Instance.new("RemoteEvent", soundEventFolder)
  659. RemoveCharacterEvent.Name = "RemoveCharacterEvent"
  660. end
  661.  
  662. AddCharacterLoadedEvent = soundEventFolder:FindFirstChild("AddCharacterLoadedEvent")
  663. if AddCharacterLoadedEvent == nil then
  664. AddCharacterLoadedEvent = Instance.new("RemoteEvent", soundEventFolder)
  665. AddCharacterLoadedEvent.Name = "AddCharacterLoadedEvent"
  666. end
  667.  
  668. -- Notify the server a new character has been loaded
  669. AddCharacterLoadedEvent:FireServer()
  670.  
  671. -- Notify the sound dispatcher this character has left.
  672. game.Players.LocalPlayer.CharacterRemoving:connect(function(character)
  673. RemoveCharacterEvent:FireServer(game.Players.LocalPlayer)
  674. end)
  675. end
  676.  
  677. do
  678. local Figure = script.Parent.Parent
  679. Head = Figure:WaitForChild("Head")
  680. while not Humanoid do
  681. for _,NewHumanoid in pairs(Figure:GetChildren()) do
  682. if NewHumanoid:IsA("Humanoid") then
  683. Humanoid = NewHumanoid
  684. break
  685. end
  686. end
  687. if Humanoid then break end
  688. Figure.ChildAdded:wait()
  689. end
  690. Sounds[SFX.Died] = Head:WaitForChild("Died")
  691. Sounds[SFX.Running] = Head:WaitForChild("Running")
  692. Sounds[SFX.Swimming] = Head:WaitForChild("Swimming")
  693. Sounds[SFX.Climbing] = Head:WaitForChild("Climbing")
  694. Sounds[SFX.Jumping] = Head:WaitForChild("Jumping")
  695. Sounds[SFX.GettingUp] = Head:WaitForChild("GettingUp")
  696. Sounds[SFX.FreeFalling] = Head:WaitForChild("FreeFalling")
  697. Sounds[SFX.Landing] = Head:WaitForChild("Landing")
  698. Sounds[SFX.Splash] = Head:WaitForChild("Splash")
  699.  
  700. local DefaultServerSoundEvent = nil
  701. if useSoundDispatcher then
  702. DefaultServerSoundEvent = soundEventFolder:FindFirstChild("DefaultServerSoundEvent")
  703. else
  704. DefaultServerSoundEvent = game:GetService("ReplicatedStorage"):FindFirstChild("DefaultServerSoundEvent")
  705. end
  706.  
  707. if DefaultServerSoundEvent then
  708. DefaultServerSoundEvent.OnClientEvent:connect(function(sound, playing, resetPosition)
  709. if resetPosition and sound.TimePosition ~= 0 then
  710. sound.TimePosition = 0
  711. end
  712. if sound.IsPlaying ~= playing then
  713. sound.Playing = playing
  714. end
  715. end)
  716. end
  717. end
  718.  
  719. local IsSoundFilteringEnabled = function()
  720. return game.Workspace.FilteringEnabled and SoundService.RespectFilteringEnabled
  721. end
  722.  
  723. local Util
  724. Util = {
  725.  
  726. --Define linear relationship between (pt1x,pt2x) and (pt2x,pt2y). Evaluate this at x.
  727. YForLineGivenXAndTwoPts = function(x,pt1x,pt1y,pt2x,pt2y)
  728. --(y - y1)/(x - x1) = m
  729. local m = (pt1y - pt2y) / (pt1x - pt2x)
  730. --float b = pt1.y - m * pt1.x;
  731. local b = (pt1y - m * pt1x)
  732. return m * x + b
  733. end;
  734.  
  735. --Clamps the value of "val" between the "min" and "max"
  736. Clamp = function(val,min,max)
  737. return math.min(max,math.max(min,val))
  738. end;
  739.  
  740. --Gets the horizontal (x,z) velocity magnitude of the given part
  741. HorizontalSpeed = function(Head)
  742. local hVel = Head.Velocity + Vector3.new(0,-Head.Velocity.Y,0)
  743. return hVel.magnitude
  744. end;
  745.  
  746. --Gets the vertical (y) velocity magnitude of the given part
  747. VerticalSpeed = function(Head)
  748. return math.abs(Head.Velocity.Y)
  749. end;
  750.  
  751. --Setting Playing/TimePosition values directly result in less network traffic than Play/Pause/Resume/Stop
  752. --If these properties are enabled, use them.
  753. Play = function(sound)
  754. if IsSoundFilteringEnabled() then
  755. sound.CharacterSoundEvent:FireServer(true, true)
  756. end
  757. if sound.TimePosition ~= 0 then
  758. sound.TimePosition = 0
  759. end
  760. if not sound.IsPlaying then
  761. sound.Playing = true
  762. end
  763. end;
  764.  
  765. Pause = function(sound)
  766. if IsSoundFilteringEnabled() then
  767. sound.CharacterSoundEvent:FireServer(false, false)
  768. end
  769. if sound.IsPlaying then
  770. sound.Playing = false
  771. end
  772. end;
  773.  
  774. Resume = function(sound)
  775. if IsSoundFilteringEnabled() then
  776. sound.CharacterSoundEvent:FireServer(true, false)
  777. end
  778. if not sound.IsPlaying then
  779. sound.Playing = true
  780. end
  781. end;
  782.  
  783. Stop = function(sound)
  784. if IsSoundFilteringEnabled() then
  785. sound.CharacterSoundEvent:FireServer(false, true)
  786. end
  787. if sound.IsPlaying then
  788. sound.Playing = false
  789. end
  790. if sound.TimePosition ~= 0 then
  791. sound.TimePosition = 0
  792. end
  793. end;
  794. }
  795.  
  796. do
  797. -- List of all active Looped sounds
  798. local playingLoopedSounds = {}
  799.  
  800. -- Last seen Enum.HumanoidStateType
  801. local activeState = nil
  802.  
  803. local fallSpeed = 0
  804.  
  805. -- Verify and set that "sound" is in "playingLoopedSounds".
  806. function setSoundInPlayingLoopedSounds(sound)
  807. for i=1, #playingLoopedSounds do
  808. if playingLoopedSounds[i] == sound then
  809. return
  810. end
  811. end
  812. table.insert(playingLoopedSounds,sound)
  813. end
  814.  
  815. -- Stop all active looped sounds except parameter "except". If "except" is not passed, all looped sounds will be stopped.
  816. function stopPlayingLoopedSoundsExcept(except)
  817. for i=#playingLoopedSounds,1,-1 do
  818. if playingLoopedSounds[i] ~= except then
  819. Util.Pause(playingLoopedSounds[i])
  820. table.remove(playingLoopedSounds,i)
  821. end
  822. end
  823. end
  824.  
  825. -- Table of Enum.HumanoidStateType to handling function
  826. local stateUpdateHandler = {
  827. [Enum.HumanoidStateType.Dead] = function()
  828. stopPlayingLoopedSoundsExcept()
  829. local sound = Sounds[SFX.Died]
  830. Util.Play(sound)
  831. end;
  832.  
  833. [Enum.HumanoidStateType.RunningNoPhysics] = function(speed)
  834. stateUpdated(Enum.HumanoidStateType.Running, speed)
  835. end;
  836.  
  837. [Enum.HumanoidStateType.Running] = function(speed)
  838. local sound = Sounds[SFX.Running]
  839. stopPlayingLoopedSoundsExcept(sound)
  840.  
  841. if(useUpdatedLocalSoundFlag and activeState == Enum.HumanoidStateType.Freefall and fallSpeed > 0.1) then
  842. -- Play a landing sound if the character dropped from a large distance
  843. local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
  844. local freeFallSound = Sounds[SFX.FreeFalling]
  845. freeFallSound.Volume = vol
  846. Util.Play(freeFallSound)
  847. fallSpeed = 0
  848. end
  849. if useUpdatedLocalSoundFlag then
  850. if speed ~= nil and speed > 0.5 then
  851. Util.Resume(sound)
  852. setSoundInPlayingLoopedSounds(sound)
  853. elseif speed ~= nil then
  854. stopPlayingLoopedSoundsExcept()
  855. end
  856. else
  857. if Util.HorizontalSpeed(Head) > 0.5 then
  858. Util.Resume(sound)
  859. setSoundInPlayingLoopedSounds(sound)
  860. else
  861. stopPlayingLoopedSoundsExcept()
  862. end
  863. end
  864. end;
  865.  
  866. [Enum.HumanoidStateType.Swimming] = function(speed)
  867. local threshold
  868. if useUpdatedLocalSoundFlag then threshold = speed else threshold = Util.VerticalSpeed(Head) end
  869. if activeState ~= Enum.HumanoidStateType.Swimming and threshold > 0.1 then
  870. local splashSound = Sounds[SFX.Splash]
  871. splashSound.Volume = Util.Clamp(
  872. Util.YForLineGivenXAndTwoPts(
  873. Util.VerticalSpeed(Head),
  874. 100, 0.28,
  875. 350, 1),
  876. 0,1)
  877. Util.Play(splashSound)
  878. end
  879.  
  880. do
  881. local sound = Sounds[SFX.Swimming]
  882. stopPlayingLoopedSoundsExcept(sound)
  883. Util.Resume(sound)
  884. setSoundInPlayingLoopedSounds(sound)
  885. end
  886. end;
  887.  
  888. [Enum.HumanoidStateType.Climbing] = function(speed)
  889. local sound = Sounds[SFX.Climbing]
  890. if useUpdatedLocalSoundFlag then
  891. if speed ~= nil and math.abs(speed) > 0.1 then
  892. Util.Resume(sound)
  893. stopPlayingLoopedSoundsExcept(sound)
  894. else
  895. Util.Pause(sound)
  896. stopPlayingLoopedSoundsExcept(sound)
  897. end
  898. else
  899. if Util.VerticalSpeed(Head) > 0.1 then
  900. Util.Resume(sound)
  901. stopPlayingLoopedSoundsExcept(sound)
  902. else
  903. stopPlayingLoopedSoundsExcept()
  904. end
  905. end
  906.  
  907. setSoundInPlayingLoopedSounds(sound)
  908. end;
  909.  
  910. [Enum.HumanoidStateType.Jumping] = function()
  911. if activeState == Enum.HumanoidStateType.Jumping then
  912. return
  913. end
  914. stopPlayingLoopedSoundsExcept()
  915. local sound = Sounds[SFX.Jumping]
  916. Util.Play(sound)
  917. end;
  918.  
  919. [Enum.HumanoidStateType.GettingUp] = function()
  920. stopPlayingLoopedSoundsExcept()
  921. local sound = Sounds[SFX.GettingUp]
  922. Util.Play(sound)
  923. end;
  924.  
  925. [Enum.HumanoidStateType.Freefall] = function()
  926. if activeState == Enum.HumanoidStateType.Freefall then
  927. return
  928. end
  929. local sound = Sounds[SFX.FreeFalling]
  930. sound.Volume = 0
  931. stopPlayingLoopedSoundsExcept()
  932.  
  933. fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.y))
  934. end;
  935.  
  936. [Enum.HumanoidStateType.FallingDown] = function()
  937. stopPlayingLoopedSoundsExcept()
  938. end;
  939.  
  940. [Enum.HumanoidStateType.Landed] = function()
  941. stopPlayingLoopedSoundsExcept()
  942. if Util.VerticalSpeed(Head) > 75 then
  943. local landingSound = Sounds[SFX.Landing]
  944. landingSound.Volume = Util.Clamp(
  945. Util.YForLineGivenXAndTwoPts(
  946. Util.VerticalSpeed(Head),
  947. 50, 0,
  948. 100, 1),
  949. 0,1)
  950. Util.Play(landingSound)
  951. end
  952. end;
  953.  
  954. [Enum.HumanoidStateType.Seated] = function()
  955. stopPlayingLoopedSoundsExcept()
  956. end;
  957. }
  958.  
  959.  
  960.  
  961. -- Handle state event fired or OnChange fired
  962. function stateUpdated(state, speed)
  963. if stateUpdateHandler[state] ~= nil then
  964. if useUpdatedLocalSoundFlag and (state == Enum.HumanoidStateType.Running
  965. or state == Enum.HumanoidStateType.Climbing
  966. or state == Enum.HumanoidStateType.Swimming
  967. or state == Enum.HumanoidStateType.RunningNoPhysics) then
  968. stateUpdateHandler[state](speed)
  969. else
  970. stateUpdateHandler[state]()
  971. end
  972. end
  973. activeState = state
  974. end
  975.  
  976. Humanoid.Died:connect( function() stateUpdated(Enum.HumanoidStateType.Dead) end)
  977. Humanoid.Running:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Running, speed) end)
  978. Humanoid.Swimming:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Swimming, speed) end)
  979. Humanoid.Climbing:connect( function(speed) stateUpdated(Enum.HumanoidStateType.Climbing, speed) end)
  980. Humanoid.Jumping:connect( function() stateUpdated(Enum.HumanoidStateType.Jumping) end)
  981. Humanoid.GettingUp:connect( function() stateUpdated(Enum.HumanoidStateType.GettingUp) end)
  982. Humanoid.FreeFalling:connect( function() stateUpdated(Enum.HumanoidStateType.Freefall) end)
  983. Humanoid.FallingDown:connect( function() stateUpdated(Enum.HumanoidStateType.FallingDown) end)
  984.  
  985.  
  986.  
  987. -- required for proper handling of Landed event
  988.  
  989. Humanoid.StateChanged:connect(function(old, new)
  990. stateUpdated(new)
  991. end)
  992.  
  993.  
  994.  
  995. function onUpdate(stepDeltaSeconds, tickSpeedSeconds)
  996. local stepScale = stepDeltaSeconds / tickSpeedSeconds
  997. do
  998. local sound = Sounds[SFX.FreeFalling]
  999. if activeState == Enum.HumanoidStateType.Freefall then
  1000. if Head.Velocity.Y < 0 and Util.VerticalSpeed(Head) > 75 then
  1001. Util.Resume(sound)
  1002.  
  1003. --Volume takes 1.1 seconds to go from volume 0 to 1
  1004. local ANIMATION_LENGTH_SECONDS = 1.1
  1005.  
  1006. local normalizedIncrement = tickSpeedSeconds / ANIMATION_LENGTH_SECONDS
  1007. sound.Volume = Util.Clamp(sound.Volume + normalizedIncrement * stepScale, 0, 1)
  1008. else
  1009. sound.Volume = 0
  1010. end
  1011. else
  1012. Util.Pause(sound)
  1013. end
  1014. end
  1015.  
  1016. do
  1017. local sound = Sounds[SFX.Running]
  1018. if activeState == Enum.HumanoidStateType.Running then
  1019. if Util.HorizontalSpeed(Head) < 0.5 then
  1020. Util.Pause(sound)
  1021. end
  1022. end
  1023. end
  1024. end
  1025.  
  1026.  
  1027. local lastTick = tick()
  1028. local TICK_SPEED_SECONDS = 0.25
  1029. while true do
  1030. onUpdate(tick() - lastTick,TICK_SPEED_SECONDS)
  1031. lastTick = tick()
  1032. wait(TICK_SPEED_SECONDS)
  1033. end
  1034.  
  1035. end
  1036.  
  1037. end,o61)
  1038.  
  1039. o62.Name = "Health"
  1040. o62.Parent = o3
  1041.  
  1042. runDummyScript(function()
  1043. -- Gradually regenerates the Humanoid's Health over time.
  1044.  
  1045. local REGEN_RATE = 1/100 -- Regenerate this fraction of MaxHealth per second.
  1046. local REGEN_STEP = 1 -- Wait this long between each regeneration step.
  1047.  
  1048. --------------------------------------------------------------------------------
  1049.  
  1050. local Character = script.Parent
  1051. local Humanoid = Character:WaitForChild'Humanoid'
  1052.  
  1053. --------------------------------------------------------------------------------
  1054.  
  1055. while true do
  1056. while Humanoid.Health < Humanoid.MaxHealth do
  1057. local dt = wait(REGEN_STEP)
  1058. local dh = dt*REGEN_RATE*Humanoid.MaxHealth
  1059. Humanoid.Health = math.min(Humanoid.Health + dh, Humanoid.MaxHealth)
  1060. end
  1061. Humanoid.HealthChanged:Wait()
  1062. end
  1063. end,o62)
  1064.  
  1065. o63.Name = "Animate"
  1066. o63.Parent = o3
  1067.  
  1068. runDummyScript(function()
  1069. local Figure = script.Parent
  1070. local Torso = Figure:WaitForChild("Torso")
  1071. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  1072. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  1073. local RightHip = Torso:WaitForChild("Right Hip")
  1074. local LeftHip = Torso:WaitForChild("Left Hip")
  1075. local Neck = Torso:WaitForChild("Neck")
  1076. local Humanoid = Figure:WaitForChild("Humanoid")
  1077. local pose = "Standing"
  1078.  
  1079. local currentAnim = ""
  1080. local currentAnimInstance = nil
  1081. local currentAnimTrack = nil
  1082. local currentAnimKeyframeHandler = nil
  1083. local currentAnimSpeed = 1.0
  1084. local animTable = {}
  1085. local animNames = {
  1086. idle = {
  1087. { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
  1088. { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
  1089. },
  1090. walk = {
  1091. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  1092. },
  1093. run = {
  1094. { id = "run.xml", weight = 10 }
  1095. },
  1096. jump = {
  1097. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  1098. },
  1099. fall = {
  1100. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  1101. },
  1102. climb = {
  1103. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  1104. },
  1105. sit = {
  1106. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  1107. },
  1108. toolnone = {
  1109. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  1110. },
  1111. toolslash = {
  1112. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  1113. -- { id = "slash.xml", weight = 10 }
  1114. },
  1115. toollunge = {
  1116. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  1117. },
  1118. wave = {
  1119. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  1120. },
  1121. point = {
  1122. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  1123. },
  1124. dance1 = {
  1125. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  1126. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  1127. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  1128. },
  1129. dance2 = {
  1130. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  1131. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  1132. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  1133. },
  1134. dance3 = {
  1135. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  1136. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  1137. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  1138. },
  1139. laugh = {
  1140. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  1141. },
  1142. cheer = {
  1143. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  1144. },
  1145. }
  1146. local dances = {"dance1", "dance2", "dance3"}
  1147.  
  1148. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  1149. local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  1150.  
  1151. function configureAnimationSet(name, fileList)
  1152. if (animTable[name] ~= nil) then
  1153. for _, connection in pairs(animTable[name].connections) do
  1154. connection:disconnect()
  1155. end
  1156. end
  1157. animTable[name] = {}
  1158. animTable[name].count = 0
  1159. animTable[name].totalWeight = 0
  1160. animTable[name].connections = {}
  1161.  
  1162. -- check for config values
  1163. local config = script:FindFirstChild(name)
  1164. if (config ~= nil) then
  1165. -- print("Loading anims " .. name)
  1166. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  1167. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  1168. local idx = 1
  1169. for _, childPart in pairs(config:GetChildren()) do
  1170. if (childPart:IsA("Animation")) then
  1171. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  1172. animTable[name][idx] = {}
  1173. animTable[name][idx].anim = childPart
  1174. local weightObject = childPart:FindFirstChild("Weight")
  1175. if (weightObject == nil) then
  1176. animTable[name][idx].weight = 1
  1177. else
  1178. animTable[name][idx].weight = weightObject.Value
  1179. end
  1180. animTable[name].count = animTable[name].count + 1
  1181. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  1182. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  1183. idx = idx + 1
  1184. end
  1185. end
  1186. end
  1187.  
  1188. -- fallback to defaults
  1189. if (animTable[name].count <= 0) then
  1190. for idx, anim in pairs(fileList) do
  1191. animTable[name][idx] = {}
  1192. animTable[name][idx].anim = Instance.new("Animation")
  1193. animTable[name][idx].anim.Name = name
  1194. animTable[name][idx].anim.AnimationId = anim.id
  1195. animTable[name][idx].weight = anim.weight
  1196. animTable[name].count = animTable[name].count + 1
  1197. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  1198. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  1199. end
  1200. end
  1201. end
  1202.  
  1203. -- Setup animation objects
  1204. function scriptChildModified(child)
  1205. local fileList = animNames[child.Name]
  1206. if (fileList ~= nil) then
  1207. configureAnimationSet(child.Name, fileList)
  1208. end
  1209. end
  1210.  
  1211. script.ChildAdded:connect(scriptChildModified)
  1212. script.ChildRemoved:connect(scriptChildModified)
  1213.  
  1214.  
  1215. for name, fileList in pairs(animNames) do
  1216. configureAnimationSet(name, fileList)
  1217. end
  1218.  
  1219. -- ANIMATION
  1220.  
  1221. -- declarations
  1222. local toolAnim = "None"
  1223. local toolAnimTime = 0
  1224.  
  1225. local jumpAnimTime = 0
  1226. local jumpAnimDuration = 0.3
  1227.  
  1228. local toolTransitionTime = 0.1
  1229. local fallTransitionTime = 0.3
  1230. local jumpMaxLimbVelocity = 0.75
  1231.  
  1232. -- functions
  1233.  
  1234. function stopAllAnimations()
  1235. local oldAnim = currentAnim
  1236.  
  1237. -- return to idle if finishing an emote
  1238. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  1239. oldAnim = "idle"
  1240. end
  1241.  
  1242. currentAnim = ""
  1243. currentAnimInstance = nil
  1244. if (currentAnimKeyframeHandler ~= nil) then
  1245. currentAnimKeyframeHandler:disconnect()
  1246. end
  1247.  
  1248. if (currentAnimTrack ~= nil) then
  1249. currentAnimTrack:Stop()
  1250. currentAnimTrack:Destroy()
  1251. currentAnimTrack = nil
  1252. end
  1253. return oldAnim
  1254. end
  1255.  
  1256. function setAnimationSpeed(speed)
  1257. if speed ~= currentAnimSpeed then
  1258. currentAnimSpeed = speed
  1259. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  1260. end
  1261. end
  1262.  
  1263. function keyFrameReachedFunc(frameName)
  1264. if (frameName == "End") then
  1265.  
  1266. local repeatAnim = currentAnim
  1267. -- return to idle if finishing an emote
  1268. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  1269. repeatAnim = "idle"
  1270. end
  1271.  
  1272. local animSpeed = currentAnimSpeed
  1273. playAnimation(repeatAnim, 0.0, Humanoid)
  1274. setAnimationSpeed(animSpeed)
  1275. end
  1276. end
  1277.  
  1278. -- Preload animations
  1279. function playAnimation(animName, transitionTime, humanoid)
  1280.  
  1281. local roll = math.random(1, animTable[animName].totalWeight)
  1282. local origRoll = roll
  1283. local idx = 1
  1284. while (roll > animTable[animName][idx].weight) do
  1285. roll = roll - animTable[animName][idx].weight
  1286. idx = idx + 1
  1287. end
  1288. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  1289. local anim = animTable[animName][idx].anim
  1290.  
  1291. -- switch animation
  1292. if (anim ~= currentAnimInstance) then
  1293.  
  1294. if (currentAnimTrack ~= nil) then
  1295. currentAnimTrack:Stop(transitionTime)
  1296. currentAnimTrack:Destroy()
  1297. end
  1298.  
  1299. currentAnimSpeed = 1.0
  1300.  
  1301. -- load it to the humanoid; get AnimationTrack
  1302. currentAnimTrack = humanoid:LoadAnimation(anim)
  1303. currentAnimTrack.Priority = Enum.AnimationPriority.Core
  1304.  
  1305. -- play the animation
  1306. currentAnimTrack:Play(transitionTime)
  1307. currentAnim = animName
  1308. currentAnimInstance = anim
  1309.  
  1310. -- set up keyframe name triggers
  1311. if (currentAnimKeyframeHandler ~= nil) then
  1312. currentAnimKeyframeHandler:disconnect()
  1313. end
  1314. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  1315.  
  1316. end
  1317.  
  1318. end
  1319.  
  1320. -------------------------------------------------------------------------------------------
  1321. -------------------------------------------------------------------------------------------
  1322.  
  1323. local toolAnimName = ""
  1324. local toolAnimTrack = nil
  1325. local toolAnimInstance = nil
  1326. local currentToolAnimKeyframeHandler = nil
  1327.  
  1328. function toolKeyFrameReachedFunc(frameName)
  1329. if (frameName == "End") then
  1330. -- print("Keyframe : ".. frameName)
  1331. playToolAnimation(toolAnimName, 0.0, Humanoid)
  1332. end
  1333. end
  1334.  
  1335.  
  1336. function playToolAnimation(animName, transitionTime, humanoid, priority)
  1337.  
  1338. local roll = math.random(1, animTable[animName].totalWeight)
  1339. local origRoll = roll
  1340. local idx = 1
  1341. while (roll > animTable[animName][idx].weight) do
  1342. roll = roll - animTable[animName][idx].weight
  1343. idx = idx + 1
  1344. end
  1345. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  1346. local anim = animTable[animName][idx].anim
  1347.  
  1348. if (toolAnimInstance ~= anim) then
  1349.  
  1350. if (toolAnimTrack ~= nil) then
  1351. toolAnimTrack:Stop()
  1352. toolAnimTrack:Destroy()
  1353. transitionTime = 0
  1354. end
  1355.  
  1356. -- load it to the humanoid; get AnimationTrack
  1357. toolAnimTrack = humanoid:LoadAnimation(anim)
  1358. if priority then
  1359. toolAnimTrack.Priority = priority
  1360. end
  1361.  
  1362. -- play the animation
  1363. toolAnimTrack:Play(transitionTime)
  1364. toolAnimName = animName
  1365. toolAnimInstance = anim
  1366.  
  1367. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  1368. end
  1369. end
  1370.  
  1371. function stopToolAnimations()
  1372. local oldAnim = toolAnimName
  1373.  
  1374. if (currentToolAnimKeyframeHandler ~= nil) then
  1375. currentToolAnimKeyframeHandler:disconnect()
  1376. end
  1377.  
  1378. toolAnimName = ""
  1379. toolAnimInstance = nil
  1380. if (toolAnimTrack ~= nil) then
  1381. toolAnimTrack:Stop()
  1382. toolAnimTrack:Destroy()
  1383. toolAnimTrack = nil
  1384. end
  1385.  
  1386.  
  1387. return oldAnim
  1388. end
  1389.  
  1390. -------------------------------------------------------------------------------------------
  1391. -------------------------------------------------------------------------------------------
  1392.  
  1393.  
  1394. function onRunning(speed)
  1395. if speed > 0.01 then
  1396. playAnimation("walk", 0.1, Humanoid)
  1397. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  1398. setAnimationSpeed(speed / 14.5)
  1399. end
  1400. pose = "Running"
  1401. else
  1402. if emoteNames[currentAnim] == nil then
  1403. playAnimation("idle", 0.1, Humanoid)
  1404. pose = "Standing"
  1405. end
  1406. end
  1407. end
  1408.  
  1409. function onDied()
  1410. pose = "Dead"
  1411. end
  1412.  
  1413. function onJumping()
  1414. playAnimation("jump", 0.1, Humanoid)
  1415. jumpAnimTime = jumpAnimDuration
  1416. pose = "Jumping"
  1417. end
  1418.  
  1419. function onClimbing(speed)
  1420. playAnimation("climb", 0.1, Humanoid)
  1421. setAnimationSpeed(speed / 12.0)
  1422. pose = "Climbing"
  1423. end
  1424.  
  1425. function onGettingUp()
  1426. pose = "GettingUp"
  1427. end
  1428.  
  1429. function onFreeFall()
  1430. if (jumpAnimTime <= 0) then
  1431. playAnimation("fall", fallTransitionTime, Humanoid)
  1432. end
  1433. pose = "FreeFall"
  1434. end
  1435.  
  1436. function onFallingDown()
  1437. pose = "FallingDown"
  1438. end
  1439.  
  1440. function onSeated()
  1441. pose = "Seated"
  1442. end
  1443.  
  1444. function onPlatformStanding()
  1445. pose = "PlatformStanding"
  1446. end
  1447.  
  1448. function onSwimming(speed)
  1449. if speed > 0 then
  1450. pose = "Running"
  1451. else
  1452. pose = "Standing"
  1453. end
  1454. end
  1455.  
  1456. function getTool()
  1457. for _, kid in ipairs(Figure:GetChildren()) do
  1458. if kid.className == "Tool" then return kid end
  1459. end
  1460. return nil
  1461. end
  1462.  
  1463. function getToolAnim(tool)
  1464. for _, c in ipairs(tool:GetChildren()) do
  1465. if c.Name == "toolanim" and c.className == "StringValue" then
  1466. return c
  1467. end
  1468. end
  1469. return nil
  1470. end
  1471.  
  1472. function animateTool()
  1473.  
  1474. if (toolAnim == "None") then
  1475. playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle)
  1476. return
  1477. end
  1478.  
  1479. if (toolAnim == "Slash") then
  1480. playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
  1481. return
  1482. end
  1483.  
  1484. if (toolAnim == "Lunge") then
  1485. playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
  1486. return
  1487. end
  1488. end
  1489.  
  1490. function moveSit()
  1491. RightShoulder.MaxVelocity = 0.15
  1492. LeftShoulder.MaxVelocity = 0.15
  1493. RightShoulder:SetDesiredAngle(3.14 /2)
  1494. LeftShoulder:SetDesiredAngle(-3.14 /2)
  1495. RightHip:SetDesiredAngle(3.14 /2)
  1496. LeftHip:SetDesiredAngle(-3.14 /2)
  1497. end
  1498.  
  1499. local lastTick = 0
  1500.  
  1501. function move(time)
  1502. local amplitude = 1
  1503. local frequency = 1
  1504. local deltaTime = time - lastTick
  1505. lastTick = time
  1506.  
  1507. local climbFudge = 0
  1508. local setAngles = false
  1509.  
  1510. if (jumpAnimTime > 0) then
  1511. jumpAnimTime = jumpAnimTime - deltaTime
  1512. end
  1513.  
  1514. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  1515. playAnimation("fall", fallTransitionTime, Humanoid)
  1516. elseif (pose == "Seated") then
  1517. playAnimation("sit", 0.5, Humanoid)
  1518. return
  1519. elseif (pose == "Running") then
  1520. playAnimation("walk", 0.1, Humanoid)
  1521. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  1522. -- print("Wha " .. pose)
  1523. stopAllAnimations()
  1524. amplitude = 0.1
  1525. frequency = 1
  1526. setAngles = true
  1527. end
  1528.  
  1529. if (setAngles) then
  1530. local desiredAngle = amplitude * math.sin(time * frequency)
  1531.  
  1532. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  1533. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  1534. RightHip:SetDesiredAngle(-desiredAngle)
  1535. LeftHip:SetDesiredAngle(-desiredAngle)
  1536. end
  1537.  
  1538. -- Tool Animation handling
  1539. local tool = getTool()
  1540. if tool and tool:FindFirstChild("Handle") then
  1541.  
  1542. local animStringValueObject = getToolAnim(tool)
  1543.  
  1544. if animStringValueObject then
  1545. toolAnim = animStringValueObject.Value
  1546. -- message recieved, delete StringValue
  1547. animStringValueObject.Parent = nil
  1548. toolAnimTime = time + .3
  1549. end
  1550.  
  1551. if time > toolAnimTime then
  1552. toolAnimTime = 0
  1553. toolAnim = "None"
  1554. end
  1555.  
  1556. animateTool()
  1557. else
  1558. stopToolAnimations()
  1559. toolAnim = "None"
  1560. toolAnimInstance = nil
  1561. toolAnimTime = 0
  1562. end
  1563. end
  1564.  
  1565. -- connect events
  1566. Humanoid.Died:connect(onDied)
  1567. Humanoid.Running:connect(onRunning)
  1568. Humanoid.Jumping:connect(onJumping)
  1569. Humanoid.Climbing:connect(onClimbing)
  1570. Humanoid.GettingUp:connect(onGettingUp)
  1571. Humanoid.FreeFalling:connect(onFreeFall)
  1572. Humanoid.FallingDown:connect(onFallingDown)
  1573. Humanoid.Seated:connect(onSeated)
  1574. Humanoid.PlatformStanding:connect(onPlatformStanding)
  1575. Humanoid.Swimming:connect(onSwimming)
  1576.  
  1577. -- setup emote chat hook
  1578. game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
  1579. local emote = ""
  1580. if msg == "/e dance" then
  1581. emote = dances[math.random(1, #dances)]
  1582. elseif (string.sub(msg, 1, 3) == "/e ") then
  1583. emote = string.sub(msg, 4)
  1584. elseif (string.sub(msg, 1, 7) == "/emote ") then
  1585. emote = string.sub(msg, 8)
  1586. end
  1587.  
  1588. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  1589. playAnimation(emote, 0.1, Humanoid)
  1590. end
  1591.  
  1592. end)
  1593.  
  1594.  
  1595. -- main program
  1596.  
  1597. -- initialize to idle
  1598. playAnimation("idle", 0.1, Humanoid)
  1599. pose = "Standing"
  1600.  
  1601. while Figure.Parent ~= nil do
  1602. local _, time = wait(0.1)
  1603. move(time)
  1604. end
  1605.  
  1606.  
  1607.  
  1608. end,o63)
  1609.  
  1610. o64.Name = "idle"
  1611. o64.Parent = o63
  1612. o65.Name = "Animation1"
  1613. o65.Parent = o64
  1614. o65.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1615. o66.Name = "Weight"
  1616. o66.Parent = o65
  1617. o66.Value = 9
  1618. o67.Name = "Animation2"
  1619. o67.Parent = o64
  1620. o67.AnimationId = "http://www.roblox.com/asset/?id=180435792"
  1621. o68.Name = "Weight"
  1622. o68.Parent = o67
  1623. o68.Value = 1
  1624. o69.Name = "walk"
  1625. o69.Parent = o63
  1626. o70.Name = "WalkAnim"
  1627. o70.Parent = o69
  1628. o70.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  1629. o71.Name = "run"
  1630. o71.Parent = o63
  1631. o72.Name = "RunAnim"
  1632. o72.Parent = o71
  1633. o72.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  1634. o73.Name = "jump"
  1635. o73.Parent = o63
  1636. o74.Name = "JumpAnim"
  1637. o74.Parent = o73
  1638. o74.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  1639. o75.Name = "climb"
  1640. o75.Parent = o63
  1641. o76.Name = "ClimbAnim"
  1642. o76.Parent = o75
  1643. o76.AnimationId = "http://www.roblox.com/asset/?id=180436334"
  1644. o77.Name = "toolnone"
  1645. o77.Parent = o63
  1646. o78.Name = "ToolNoneAnim"
  1647. o78.Parent = o77
  1648. o78.AnimationId = "http://www.roblox.com/asset/?id=182393478"
  1649. o79.Name = "fall"
  1650. o79.Parent = o63
  1651. o80.Name = "FallAnim"
  1652. o80.Parent = o79
  1653. o80.AnimationId = "http://www.roblox.com/asset/?id=180436148"
  1654. o81.Name = "sit"
  1655. o81.Parent = o63
  1656. o82.Name = "SitAnim"
  1657. o82.Parent = o81
  1658. o82.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  1659. o83.Name = "ScaleDampeningPercent"
  1660. o83.Parent = o63
  1661. o83.Value = 0.39999997615814
  1662. o84.Parent = o3
  1663. o84.HeadColor = BrickColor.new("Pastel brown")
  1664. o84.LeftArmColor = BrickColor.new("Pastel brown")
  1665. o84.LeftLegColor = BrickColor.new("Pastel brown")
  1666. o84.RightArmColor = BrickColor.new("Pastel brown")
  1667. o84.RightLegColor = BrickColor.new("Pastel brown")
  1668. o84.TorsoColor = BrickColor.new("Pastel brown")
  1669. o85.Name = "Pants"
  1670. o85.Parent = o3
  1671. o85.PantsTemplate = "http://www.roblox.com/asset/?id=1439542143"
  1672. o86.Name = "Shirt"
  1673. o86.Parent = o3
  1674. o86.ShirtTemplate = "http://www.roblox.com/asset/?id=1439532842"
  1675. o88.Name = "Handle"
  1676. o88.Parent = mas
  1677. o88.Position = Vector3.new(7.32516861, 6.87142134, 118.002846)
  1678. o88.Rotation = Vector3.new(179.190002, 60.6899986, -179.289993)
  1679. o88.CanCollide = false
  1680. o88.Locked = true
  1681. o88.FormFactor = Enum.FormFactor.Custom
  1682. o88.Size = Vector3.new(1.45002651, 2.35999823, 1.24000001)
  1683. o88.CFrame = CFrame.new(7.32516861, 6.87142134, 118.002846, -0.489482939, 0.00606086571, 0.871991813, -8.97469909e-06, 0.999975801, -0.00695546996, -0.872012913, -0.00341241062, -0.489471048)
  1684. o88.BottomSurface = Enum.SurfaceType.Smooth
  1685. o88.TopSurface = Enum.SurfaceType.Smooth
  1686. o88.Position = Vector3.new(7.32516861, 6.87142134, 118.002846)
  1687. o89.Parent = o88
  1688. o89.MeshId = "http://www.roblox.com/asset/?id=188565062 "
  1689. o89.TextureId = "http://www.roblox.com/asset/?id=188565095 "
  1690. o89.MeshType = Enum.MeshType.FileMesh
  1691. o91.Name = "OriginalSize"
  1692. o91.Parent = o88
  1693. o91.Value = Vector3.new(1.45002651, 2.35999823, 1.24000001)
  1694. o92.Name = "AccessoryWeld"
  1695. o92.Parent = o88
  1696. o92.C0 = CFrame.new(8.65748007e-09, 0.199999809, -0.0252722446, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1697. o92.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1698. o92.Part0 = o88
  1699. o92.Part1 = o4
  1700. o93.Parent = mas
  1701. o94.Parent = o93
  1702. o94.BrickColor = BrickColor.new("Dark stone grey")
  1703. o94.Position = Vector3.new(53.3237762, 8.77949905, 160.575195)
  1704. o94.Rotation = Vector3.new(-0.00999999978, 25.4799995, -0.729999959)
  1705. o94.Size = Vector3.new(3, 1.20000005, 2)
  1706. o94.CFrame = CFrame.new(53.3237762, 8.77949905, 160.575195, 0.902658224, 0.0115529811, 0.43020308, -0.0128686577, 0.999917209, 0.000148709223, -0.430165738, -0.0056703696, 0.902732134)
  1707. o94.BackSurface = Enum.SurfaceType.Weld
  1708. o94.BottomSurface = Enum.SurfaceType.Weld
  1709. o94.FrontSurface = Enum.SurfaceType.Weld
  1710. o94.LeftSurface = Enum.SurfaceType.Weld
  1711. o94.RightSurface = Enum.SurfaceType.Weld
  1712. o94.TopSurface = Enum.SurfaceType.Weld
  1713. o94.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1714. o94.Position = Vector3.new(53.3237762, 8.77949905, 160.575195)
  1715. o95.Parent = o94
  1716. o95.MeshType = Enum.MeshType.Torso
  1717. o96.Parent = o93
  1718. o96.BrickColor = BrickColor.new("Dark stone grey")
  1719. o96.Position = Vector3.new(50.7425575, 8.77860641, 155.158813)
  1720. o96.Rotation = Vector3.new(-0.00999999978, 25.4799995, -0.729999959)
  1721. o96.Size = Vector3.new(3, 1.20000005, 2)
  1722. o96.CFrame = CFrame.new(50.7425575, 8.77860641, 155.158813, 0.902658224, 0.0115529811, 0.43020308, -0.0128686577, 0.999917209, 0.000148709223, -0.430165738, -0.0056703696, 0.902732134)
  1723. o96.BackSurface = Enum.SurfaceType.Weld
  1724. o96.BottomSurface = Enum.SurfaceType.Weld
  1725. o96.FrontSurface = Enum.SurfaceType.Weld
  1726. o96.LeftSurface = Enum.SurfaceType.Weld
  1727. o96.RightSurface = Enum.SurfaceType.Weld
  1728. o96.TopSurface = Enum.SurfaceType.Weld
  1729. o96.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1730. o96.Position = Vector3.new(50.7425575, 8.77860641, 155.158813)
  1731. o97.Parent = o96
  1732. o97.MeshType = Enum.MeshType.Torso
  1733. o98.Parent = o93
  1734. o98.Position = Vector3.new(52.0401001, 9.37900066, 157.863602)
  1735. o98.Rotation = Vector3.new(-0.00999999978, 25.4799995, -0.729999959)
  1736. o98.Size = Vector3.new(5, 1.20000005, 4)
  1737. o98.CFrame = CFrame.new(52.0401001, 9.37900066, 157.863602, 0.902658224, 0.0115529811, 0.43020308, -0.0128686577, 0.999917209, 0.000148709223, -0.430165738, -0.0056703696, 0.902732134)
  1738. o98.BackSurface = Enum.SurfaceType.Weld
  1739. o98.BottomSurface = Enum.SurfaceType.Weld
  1740. o98.FrontSurface = Enum.SurfaceType.Weld
  1741. o98.LeftSurface = Enum.SurfaceType.Weld
  1742. o98.RightSurface = Enum.SurfaceType.Weld
  1743. o98.TopSurface = Enum.SurfaceType.Weld
  1744. o98.Position = Vector3.new(52.0401001, 9.37900066, 157.863602)
  1745. o99.Parent = o98
  1746. o99.Scale = Vector3.new(0.889999986, 1, 1)
  1747. o99.MeshType = Enum.MeshType.Torso
  1748. o100.Name = "Switch"
  1749. o100.Parent = o93
  1750. o100.BrickColor = BrickColor.new("Bright blue")
  1751. o100.Position = Vector3.new(48.9564667, 9.31353378, 157.671524)
  1752. o100.Rotation = Vector3.new(89.6800003, -0.659999967, -115.479996)
  1753. o100.FormFactor = Enum.FormFactor.Plate
  1754. o100.Size = Vector3.new(1, 0.400000006, 1)
  1755. o100.CFrame = CFrame.new(48.9564667, 9.31353378, 157.671524, -0.43020308, 0.902658224, -0.0115529811, -0.000148709223, -0.0128686577, -0.999917209, -0.902732134, -0.430165738, 0.0056703696)
  1756. o100.BackSurface = Enum.SurfaceType.Weld
  1757. o100.BottomSurface = Enum.SurfaceType.Weld
  1758. o100.LeftSurface = Enum.SurfaceType.Weld
  1759. o100.RightSurface = Enum.SurfaceType.Weld
  1760. o100.TopSurface = Enum.SurfaceType.Smooth
  1761. o100.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  1762. o100.Position = Vector3.new(48.9564667, 9.31353378, 157.671524)
  1763. o101.Name = "CannonBall"
  1764. o101.Parent = o100
  1765. o101.Disabled = true
  1766.  
  1767. runDummyScript(function()
  1768. ball = script.Parent
  1769. damage = 100
  1770.  
  1771. function onTouched(hit)
  1772.  
  1773.  
  1774. local humanoid = hit.Parent:findFirstChild("Humanoid")
  1775. if humanoid~=nil then
  1776. tagHumanoid(humanoid)
  1777. humanoid.Health = 0
  1778. wait()
  1779. untagHumanoid(humanoid)
  1780. connection:disconnect()
  1781. else
  1782. damage = damage / 2
  1783. if damage < 2 then
  1784. connection:disconnect()
  1785. ball.Parent = nil
  1786. end
  1787. end
  1788.  
  1789. explosion = Instance.new("Explosion")
  1790. explosion.BlastRadius = 20
  1791. explosion.BlastPressure = 800000
  1792. explosion.Position = script.Parent.Position
  1793. explosion.Parent = game.Workspace
  1794. connection:disconnect()
  1795. ball.Parent = nil
  1796. end
  1797.  
  1798. function tagHumanoid(humanoid)
  1799. -- todo: make tag expire
  1800. local tag = ball:findFirstChild("creator")
  1801. if tag ~= nil then
  1802. local new_tag = tag:clone()
  1803. new_tag.Parent = humanoid
  1804. end
  1805. end
  1806.  
  1807.  
  1808. function untagHumanoid(humanoid)
  1809. if humanoid ~= nil then
  1810. local tag = humanoid:findFirstChild("creator")
  1811. if tag ~= nil then
  1812. tag.Parent = nil
  1813. end
  1814. end
  1815. end
  1816.  
  1817. connection = ball.Touched:connect(onTouched)
  1818.  
  1819. r = game:service("RunService")
  1820. t, s = r.Stepped:wait()
  1821. d = t + 5.0 - s
  1822. while t < d do
  1823. t = r.Stepped:wait()
  1824. end
  1825.  
  1826. ball.Parent = nil
  1827. end,o101)
  1828.  
  1829. o102.Parent = o100
  1830. o102.MaxActivationDistance = 20
  1831. o103.Name = "FireGun"
  1832. o103.Parent = o100
  1833.  
  1834. runDummyScript(function()
  1835. local switch = script.Parent
  1836.  
  1837. local debounce = false
  1838.  
  1839. local cannonBall = Instance.new("Part")
  1840. cannonBall.Size = Vector3.new(3,3,3)
  1841. cannonBall.BrickColor = BrickColor.new(1)
  1842. cannonBall.Shape = 0
  1843. cannonBall.BottomSurface = 0
  1844. cannonBall.TopSurface = 0
  1845. cannonBall.Name = "Cannon Shot"
  1846. cannonBall.Elasticity = .1
  1847. cannonBall.Reflectance = 0
  1848. cannonBall.Friction = 0
  1849.  
  1850. function fire(gun)
  1851. local sound = gun:findFirstChild("Fire")
  1852. if sound == nil then
  1853. sound = Instance.new("Sound")
  1854. sound.Name = "Fire"
  1855. sound.SoundId = "http://www.roblox.com/asset?id=2101148"
  1856. sound.Pitch = 1
  1857. sound.Volume = 1
  1858. sound.Parent = gun
  1859. end
  1860. sound:play()
  1861. local smoke = gun:findFirstChild("Smoke")
  1862. if smoke == nil then
  1863. smoke = switch.Smoke:clone()
  1864. smoke.Parent = gun
  1865. smoke.Script.Disabled = false
  1866. end
  1867. smoke.Enabled = true
  1868.  
  1869. local spawnPos = (gun.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)) * Vector3.new(0, 0, -15)
  1870.  
  1871. local v = (gun.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)).lookVector * 800
  1872.  
  1873. local missile = cannonBall:clone()
  1874.  
  1875. missile.Position = spawnPos
  1876. missile.Velocity = v
  1877.  
  1878. local force = Instance.new("BodyForce")
  1879. force.force = Vector3.new(0,(missile:GetMass() * 95),0)
  1880. force.Parent = missile
  1881.  
  1882. local new_script = script.Parent.CannonBall:clone()
  1883. new_script.Disabled = false
  1884. new_script.Parent = missile
  1885.  
  1886. missile.Parent = game.Workspace
  1887.  
  1888. game.Debris:AddItem(missile,14)
  1889. end
  1890.  
  1891. function onClicked()
  1892. if debounce == false then
  1893. debounce = true
  1894. switch.BrickColor = BrickColor.new("Bright red")
  1895. fire(script.Parent.Parent.Gun)
  1896.  
  1897. wait(1)
  1898. debounce = false
  1899. switch.BrickColor = BrickColor.new("Bright blue")
  1900. end
  1901. end
  1902.  
  1903.  
  1904. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  1905.  
  1906.  
  1907.  
  1908. end,o103)
  1909.  
  1910. o104.Parent = o100
  1911. o104.Color = Color3.new(0.109804, 0.109804, 0.109804)
  1912. o104.Enabled = false
  1913. o104.RiseVelocity = 8
  1914. o105.Parent = o104
  1915. o105.Disabled = true
  1916.  
  1917. runDummyScript(function()
  1918. function Check()
  1919. if script.Parent.Enabled == true then
  1920. wait(0.25)
  1921. script.Parent.Enabled = false
  1922. end
  1923. end
  1924.  
  1925. script.Parent.Changed:connect(Check)
  1926. end,o105)
  1927.  
  1928. o106.Parent = o100
  1929. o106.Scale = Vector3.new(1, 1, 0.5)
  1930. o107.Parent = o93
  1931. o107.Position = Vector3.new(53.3386345, 4.56009483, 157.245575)
  1932. o107.Rotation = Vector3.new(178.289993, 64.5100021, -178.459991)
  1933. o107.Size = Vector3.new(2, 1.20000005, 2)
  1934. o107.CFrame = CFrame.new(53.3386345, 4.56009483, 157.245575, -0.43020308, 0.0115529811, 0.902658224, -0.000148709223, 0.999917209, -0.0128686577, -0.902732134, -0.0056703696, -0.430165738)
  1935. o107.BackSurface = Enum.SurfaceType.Weld
  1936. o107.BottomSurface = Enum.SurfaceType.Weld
  1937. o107.FrontSurface = Enum.SurfaceType.Weld
  1938. o107.LeftSurface = Enum.SurfaceType.Weld
  1939. o107.RightSurface = Enum.SurfaceType.Weld
  1940. o107.TopSurface = Enum.SurfaceType.Weld
  1941. o107.Position = Vector3.new(53.3386345, 4.56009483, 157.245575)
  1942. o108.Parent = o107
  1943. o109.Parent = o93
  1944. o109.Position = Vector3.new(52.6576767, 6.97942162, 159.231308)
  1945. o109.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
  1946. o109.Size = Vector3.new(5, 3.60000014, 1)
  1947. o109.CFrame = CFrame.new(52.6576767, 6.97942162, 159.231308, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
  1948. o109.BackSurface = Enum.SurfaceType.Weld
  1949. o109.BottomSurface = Enum.SurfaceType.Weld
  1950. o109.FrontSurface = Enum.SurfaceType.Weld
  1951. o109.LeftSurface = Enum.SurfaceType.Weld
  1952. o109.RightSurface = Enum.SurfaceType.Weld
  1953. o109.TopSurface = Enum.SurfaceType.Weld
  1954. o109.Position = Vector3.new(52.6576767, 6.97942162, 159.231308)
  1955. o110.Parent = o109
  1956. o110.MeshType = Enum.MeshType.Torso
  1957. o111.Parent = o93
  1958. o111.BrickColor = BrickColor.new("Mid gray")
  1959. o111.Position = Vector3.new(53.817688, 6.95346069, 157.016876)
  1960. o111.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
  1961. o111.Size = Vector3.new(1, 3.60000014, 2)
  1962. o111.CFrame = CFrame.new(53.817688, 6.95346069, 157.016876, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
  1963. o111.BackSurface = Enum.SurfaceType.Weld
  1964. o111.BottomSurface = Enum.SurfaceType.Weld
  1965. o111.FrontSurface = Enum.SurfaceType.Weld
  1966. o111.LeftSurface = Enum.SurfaceType.Weld
  1967. o111.RightSurface = Enum.SurfaceType.Weld
  1968. o111.TopSurface = Enum.SurfaceType.Weld
  1969. o111.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1970. o111.Position = Vector3.new(53.817688, 6.95346069, 157.016876)
  1971. o112.Parent = o111
  1972. o112.MeshType = Enum.MeshType.Torso
  1973. o113.Parent = o93
  1974. o113.BrickColor = BrickColor.new("Dark stone grey")
  1975. o113.Position = Vector3.new(53.7877274, 6.87586784, 160.908279)
  1976. o113.Rotation = Vector3.new(-0.00999999978, 25.4799995, 89.2699966)
  1977. o113.Size = Vector3.new(1, 2.4000001, 1)
  1978. o113.CFrame = CFrame.new(53.7877274, 6.87586784, 160.908279, 0.0115529811, -0.902658224, 0.43020308, 0.999917209, 0.0128686577, 0.000148709223, -0.0056703696, 0.430165738, 0.902732134)
  1979. o113.BackSurface = Enum.SurfaceType.Weld
  1980. o113.BottomSurface = Enum.SurfaceType.Weld
  1981. o113.FrontSurface = Enum.SurfaceType.Weld
  1982. o113.LeftSurface = Enum.SurfaceType.Weld
  1983. o113.RightSurface = Enum.SurfaceType.Weld
  1984. o113.TopSurface = Enum.SurfaceType.Weld
  1985. o113.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1986. o113.Position = Vector3.new(53.7877274, 6.87586784, 160.908279)
  1987. o114.Parent = o113
  1988. o114.MeshType = Enum.MeshType.Torso
  1989. o115.Name = "Smooth Block Model"
  1990. o115.Parent = o93
  1991. o115.Position = Vector3.new(53.5273247, 7.77965641, 161.032227)
  1992. o115.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
  1993. o115.FormFactor = Enum.FormFactor.Plate
  1994. o115.Size = Vector3.new(1, 0.800000012, 1)
  1995. o115.CFrame = CFrame.new(53.5273247, 7.77965641, 161.032227, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
  1996. o115.BackSurface = Enum.SurfaceType.Weld
  1997. o115.BottomSurface = Enum.SurfaceType.Weld
  1998. o115.FrontSurface = Enum.SurfaceType.Weld
  1999. o115.LeftSurface = Enum.SurfaceType.Weld
  2000. o115.RightSurface = Enum.SurfaceType.Weld
  2001. o115.TopSurface = Enum.SurfaceType.Weld
  2002. o115.Position = Vector3.new(53.5273247, 7.77965641, 161.032227)
  2003. o116.Parent = o115
  2004. o116.Scale = Vector3.new(1, 2, 1)
  2005. o117.Parent = o93
  2006. o117.Position = Vector3.new(51.3670692, 6.9789753, 156.523117)
  2007. o117.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
  2008. o117.Size = Vector3.new(5, 3.60000014, 1)
  2009. o117.CFrame = CFrame.new(51.3670692, 6.9789753, 156.523117, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
  2010. o117.BackSurface = Enum.SurfaceType.Weld
  2011. o117.BottomSurface = Enum.SurfaceType.Weld
  2012. o117.FrontSurface = Enum.SurfaceType.Weld
  2013. o117.LeftSurface = Enum.SurfaceType.Weld
  2014. o117.RightSurface = Enum.SurfaceType.Weld
  2015. o117.TopSurface = Enum.SurfaceType.Weld
  2016. o117.Position = Vector3.new(51.3670692, 6.9789753, 156.523117)
  2017. o118.Parent = o117
  2018. o118.MeshType = Enum.MeshType.Torso
  2019. o119.Name = "Smooth Block Model"
  2020. o119.Parent = o93
  2021. o119.Position = Vector3.new(55.4125099, 6.85270405, 160.133987)
  2022. o119.Rotation = Vector3.new(179.98999, -25.4799995, 90.7299957)
  2023. o119.FormFactor = Enum.FormFactor.Plate
  2024. o119.Size = Vector3.new(1, 1.20000005, 1)
  2025. o119.CFrame = CFrame.new(55.4125099, 6.85270405, 160.133987, -0.0115529811, -0.902658224, -0.43020308, -0.999917209, 0.0128686577, -0.000148709223, 0.0056703696, 0.430165738, -0.902732134)
  2026. o119.BackSurface = Enum.SurfaceType.Weld
  2027. o119.BottomSurface = Enum.SurfaceType.Weld
  2028. o119.FrontSurface = Enum.SurfaceType.Weld
  2029. o119.LeftSurface = Enum.SurfaceType.Weld
  2030. o119.RightSurface = Enum.SurfaceType.Weld
  2031. o119.TopSurface = Enum.SurfaceType.Weld
  2032. o119.Position = Vector3.new(55.4125099, 6.85270405, 160.133987)
  2033. o120.Parent = o119
  2034. o120.Scale = Vector3.new(1, 3, 1)
  2035. o121.Name = "Gun"
  2036. o121.Parent = o93
  2037. o121.BrickColor = BrickColor.new("Really black")
  2038. o121.Position = Vector3.new(56.4054337, 6.83854866, 159.660812)
  2039. o121.Rotation = Vector3.new(-90.3199997, 0.659999967, -64.5199966)
  2040. o121.Elasticity = 0
  2041. o121.FormFactor = Enum.FormFactor.Symmetric
  2042. o121.Size = Vector3.new(1, 1, 1)
  2043. o121.CFrame = CFrame.new(56.4054337, 6.83854866, 159.660812, 0.43020308, 0.902658224, 0.0115529811, 0.000148709223, -0.0128686577, 0.999917209, 0.902732134, -0.430165738, -0.0056703696)
  2044. o121.BackSurface = Enum.SurfaceType.Weld
  2045. o121.BottomSurface = Enum.SurfaceType.Weld
  2046. o121.FrontSurface = Enum.SurfaceType.Weld
  2047. o121.LeftSurface = Enum.SurfaceType.Weld
  2048. o121.RightSurface = Enum.SurfaceType.Weld
  2049. o121.TopSurface = Enum.SurfaceType.Weld
  2050. o121.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2051. o121.Position = Vector3.new(56.4054337, 6.83854866, 159.660812)
  2052. o122.Parent = o121
  2053. o122.Scale = Vector3.new(1.20000005, 1, 1.20000005)
  2054. o123.Name = "Gun"
  2055. o123.Parent = o93
  2056. o123.BrickColor = BrickColor.new("Really black")
  2057. o123.Position = Vector3.new(53.3940125, 6.83750772, 153.341705)
  2058. o123.Rotation = Vector3.new(-90.3199997, 0.659999967, -64.5199966)
  2059. o123.Elasticity = 0
  2060. o123.FormFactor = Enum.FormFactor.Symmetric
  2061. o123.Size = Vector3.new(1, 1, 1)
  2062. o123.CFrame = CFrame.new(53.3940125, 6.83750772, 153.341705, 0.43020308, 0.902658224, 0.0115529811, 0.000148709223, -0.0128686577, 0.999917209, 0.902732134, -0.430165738, -0.0056703696)
  2063. o123.BackSurface = Enum.SurfaceType.Weld
  2064. o123.BottomSurface = Enum.SurfaceType.Weld
  2065. o123.FrontSurface = Enum.SurfaceType.Weld
  2066. o123.LeftSurface = Enum.SurfaceType.Weld
  2067. o123.RightSurface = Enum.SurfaceType.Weld
  2068. o123.TopSurface = Enum.SurfaceType.Weld
  2069. o123.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2070. o123.Position = Vector3.new(53.3940125, 6.83750772, 153.341705)
  2071. o124.Parent = o123
  2072. o124.Scale = Vector3.new(1.20000005, 1, 1.20000005)
  2073. o125.Name = "Smooth Block Model"
  2074. o125.Parent = o93
  2075. o125.Position = Vector3.new(52.4010887, 6.85166311, 153.81488)
  2076. o125.Rotation = Vector3.new(179.98999, -25.4799995, 90.7299957)
  2077. o125.FormFactor = Enum.FormFactor.Plate
  2078. o125.Size = Vector3.new(1, 1.20000005, 1)
  2079. o125.CFrame = CFrame.new(52.4010887, 6.85166311, 153.81488, -0.0115529811, -0.902658224, -0.43020308, -0.999917209, 0.0128686577, -0.000148709223, 0.0056703696, 0.430165738, -0.902732134)
  2080. o125.BackSurface = Enum.SurfaceType.Weld
  2081. o125.BottomSurface = Enum.SurfaceType.Weld
  2082. o125.FrontSurface = Enum.SurfaceType.Weld
  2083. o125.LeftSurface = Enum.SurfaceType.Weld
  2084. o125.RightSurface = Enum.SurfaceType.Weld
  2085. o125.TopSurface = Enum.SurfaceType.Weld
  2086. o125.Position = Vector3.new(52.4010887, 6.85166311, 153.81488)
  2087. o126.Parent = o125
  2088. o126.Scale = Vector3.new(1, 3, 1)
  2089. o127.Parent = o93
  2090. o127.BrickColor = BrickColor.new("Dark stone grey")
  2091. o127.Position = Vector3.new(50.7763062, 6.87482643, 154.589172)
  2092. o127.Rotation = Vector3.new(-0.00999999978, 25.4799995, 89.2699966)
  2093. o127.Size = Vector3.new(1, 2.4000001, 1)
  2094. o127.CFrame = CFrame.new(50.7763062, 6.87482643, 154.589172, 0.0115529811, -0.902658224, 0.43020308, 0.999917209, 0.0128686577, 0.000148709223, -0.0056703696, 0.430165738, 0.902732134)
  2095. o127.BackSurface = Enum.SurfaceType.Weld
  2096. o127.BottomSurface = Enum.SurfaceType.Weld
  2097. o127.FrontSurface = Enum.SurfaceType.Weld
  2098. o127.LeftSurface = Enum.SurfaceType.Weld
  2099. o127.RightSurface = Enum.SurfaceType.Weld
  2100. o127.TopSurface = Enum.SurfaceType.Weld
  2101. o127.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2102. o127.Position = Vector3.new(50.7763062, 6.87482643, 154.589172)
  2103. o128.Parent = o127
  2104. o128.MeshType = Enum.MeshType.Torso
  2105. o129.Name = "Smooth Block Model"
  2106. o129.Parent = o93
  2107. o129.Position = Vector3.new(50.5159035, 7.778615, 154.71312)
  2108. o129.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
  2109. o129.FormFactor = Enum.FormFactor.Plate
  2110. o129.Size = Vector3.new(1, 0.800000012, 1)
  2111. o129.CFrame = CFrame.new(50.5159035, 7.778615, 154.71312, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
  2112. o129.BackSurface = Enum.SurfaceType.Weld
  2113. o129.BottomSurface = Enum.SurfaceType.Weld
  2114. o129.FrontSurface = Enum.SurfaceType.Weld
  2115. o129.LeftSurface = Enum.SurfaceType.Weld
  2116. o129.RightSurface = Enum.SurfaceType.Weld
  2117. o129.TopSurface = Enum.SurfaceType.Weld
  2118. o129.Position = Vector3.new(50.5159035, 7.778615, 154.71312)
  2119. o130.Parent = o129
  2120. o130.Scale = Vector3.new(1, 2, 1)
  2121. o131.Parent = o93
  2122. o131.BrickColor = BrickColor.new("Light stone grey")
  2123. o131.Position = Vector3.new(51.5321617, 4.48583984, 158.106476)
  2124. o131.Rotation = Vector3.new(-1.70999992, -64.5100021, -1.53999996)
  2125. o131.Size = Vector3.new(2, 1, 2)
  2126. o131.CFrame = CFrame.new(51.5321617, 4.48583984, 158.106476, 0.43020308, 0.0115529811, -0.902658224, 0.000148709223, 0.999917209, 0.0128686577, 0.902732134, -0.0056703696, 0.430165738)
  2127. o131.BackSurface = Enum.SurfaceType.Weld
  2128. o131.BottomSurface = Enum.SurfaceType.Weld
  2129. o131.FrontSurface = Enum.SurfaceType.Weld
  2130. o131.LeftSurface = Enum.SurfaceType.Weld
  2131. o131.RightSurface = Enum.SurfaceType.Weld
  2132. o131.TopSurface = Enum.SurfaceType.Weld
  2133. o131.MaxSpeed = 10
  2134. o131.Torque = 1
  2135. o131.Color = Color3.new(0.898039, 0.894118, 0.87451)
  2136. o131.Position = Vector3.new(51.5321617, 4.48583984, 158.106476)
  2137. o132.Parent = o93
  2138. o132.Position = Vector3.new(50.6940346, 4.57895041, 155.182632)
  2139. o132.Rotation = Vector3.new(179.98999, -25.4799995, -179.269989)
  2140. o132.Size = Vector3.new(7, 1.20000005, 2)
  2141. o132.CFrame = CFrame.new(50.6940346, 4.57895041, 155.182632, -0.902658224, 0.0115529811, -0.43020308, 0.0128686577, 0.999917209, -0.000148709223, 0.430165738, -0.0056703696, -0.902732134)
  2142. o132.BackSurface = Enum.SurfaceType.Weld
  2143. o132.BottomSurface = Enum.SurfaceType.Smooth
  2144. o132.FrontSurface = Enum.SurfaceType.Weld
  2145. o132.LeftSurface = Enum.SurfaceType.Weld
  2146. o132.RightSurface = Enum.SurfaceType.Weld
  2147. o132.TopSurface = Enum.SurfaceType.Weld
  2148. o132.Position = Vector3.new(50.6940346, 4.57895041, 155.182632)
  2149. o133.Parent = o132
  2150. o133.Scale = Vector3.new(1, 2, 1.10000002)
  2151. o133.MeshType = Enum.MeshType.Torso
  2152. o134.Parent = o93
  2153. o134.Position = Vector3.new(52.6299515, 4.57961988, 159.244919)
  2154. o134.Rotation = Vector3.new(178.289993, 64.5100021, -178.459991)
  2155. o134.Size = Vector3.new(1, 1.20000005, 5)
  2156. o134.CFrame = CFrame.new(52.6299515, 4.57961988, 159.244919, -0.43020308, 0.0115529811, 0.902658224, -0.000148709223, 0.999917209, -0.0128686577, -0.902732134, -0.0056703696, -0.430165738)
  2157. o134.BackSurface = Enum.SurfaceType.Weld
  2158. o134.BottomSurface = Enum.SurfaceType.Weld
  2159. o134.FrontSurface = Enum.SurfaceType.Weld
  2160. o134.LeftSurface = Enum.SurfaceType.Weld
  2161. o134.RightSurface = Enum.SurfaceType.Weld
  2162. o134.TopSurface = Enum.SurfaceType.Weld
  2163. o134.Position = Vector3.new(52.6299515, 4.57961988, 159.244919)
  2164. o135.Parent = o134
  2165. o136.Parent = o93
  2166. o136.Position = Vector3.new(53.2752571, 4.57984304, 160.599014)
  2167. o136.Rotation = Vector3.new(-0.00999999978, 25.4799995, -0.729999959)
  2168. o136.Size = Vector3.new(7, 1.20000005, 2)
  2169. o136.CFrame = CFrame.new(53.2752571, 4.57984304, 160.599014, 0.902658224, 0.0115529811, 0.43020308, -0.0128686577, 0.999917209, 0.000148709223, -0.430165738, -0.0056703696, 0.902732134)
  2170. o136.BackSurface = Enum.SurfaceType.Weld
  2171. o136.BottomSurface = Enum.SurfaceType.Smooth
  2172. o136.FrontSurface = Enum.SurfaceType.Weld
  2173. o136.LeftSurface = Enum.SurfaceType.Weld
  2174. o136.RightSurface = Enum.SurfaceType.Weld
  2175. o136.TopSurface = Enum.SurfaceType.Weld
  2176. o136.Position = Vector3.new(53.2752571, 4.57984304, 160.599014)
  2177. o137.Parent = o136
  2178. o137.Scale = Vector3.new(1, 2, 1.10000002)
  2179. o137.MeshType = Enum.MeshType.Torso
  2180. o138.Parent = o93
  2181. o138.Position = Vector3.new(51.3393402, 4.57917356, 156.536728)
  2182. o138.Rotation = Vector3.new(178.289993, 64.5100021, -178.459991)
  2183. o138.Size = Vector3.new(1, 1.20000005, 5)
  2184. o138.CFrame = CFrame.new(51.3393402, 4.57917356, 156.536728, -0.43020308, 0.0115529811, 0.902658224, -0.000148709223, 0.999917209, -0.0128686577, -0.902732134, -0.0056703696, -0.430165738)
  2185. o138.BackSurface = Enum.SurfaceType.Weld
  2186. o138.BottomSurface = Enum.SurfaceType.Weld
  2187. o138.FrontSurface = Enum.SurfaceType.Weld
  2188. o138.LeftSurface = Enum.SurfaceType.Weld
  2189. o138.RightSurface = Enum.SurfaceType.Weld
  2190. o138.TopSurface = Enum.SurfaceType.Weld
  2191. o138.Position = Vector3.new(51.3393402, 4.57917356, 156.536728)
  2192. o139.Parent = o138
  2193. o140.Parent = o93
  2194. o140.BrickColor = BrickColor.new("Dark stone grey")
  2195. o140.Position = Vector3.new(50.1793289, 4.60513401, 158.75116)
  2196. o140.Rotation = Vector3.new(178.289993, 64.5100021, -178.459991)
  2197. o140.Size = Vector3.new(2, 1.20000005, 1)
  2198. o140.CFrame = CFrame.new(50.1793289, 4.60513401, 158.75116, -0.43020308, 0.0115529811, 0.902658224, -0.000148709223, 0.999917209, -0.0128686577, -0.902732134, -0.0056703696, -0.430165738)
  2199. o140.BackSurface = Enum.SurfaceType.Weld
  2200. o140.BottomSurface = Enum.SurfaceType.Weld
  2201. o140.FrontSurface = Enum.SurfaceType.Weld
  2202. o140.LeftSurface = Enum.SurfaceType.Weld
  2203. o140.RightSurface = Enum.SurfaceType.Weld
  2204. o140.TopSurface = Enum.SurfaceType.Weld
  2205. o140.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2206. o140.Position = Vector3.new(50.1793289, 4.60513401, 158.75116)
  2207. o141.Parent = o140
  2208. o142.Parent = o93
  2209. o142.BrickColor = BrickColor.new("Dark stone grey")
  2210. o142.Position = Vector3.new(51.9707832, 3.379498, 157.897629)
  2211. o142.Rotation = Vector3.new(179.98999, -25.4799995, 0.729999959)
  2212. o142.Size = Vector3.new(5, 1.20000005, 4)
  2213. o142.CFrame = CFrame.new(51.9707832, 3.379498, 157.897629, 0.902658224, -0.0115529811, -0.43020308, -0.0128686577, -0.999917209, -0.000148709223, -0.430165738, 0.0056703696, -0.902732134)
  2214. o142.BottomSurface = Enum.SurfaceType.Weld
  2215. o142.TopSurface = Enum.SurfaceType.Weld
  2216. o142.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2217. o142.Position = Vector3.new(51.9707832, 3.379498, 157.897629)
  2218. o143.Parent = o142
  2219. o143.MeshType = Enum.MeshType.Torso
  2220. o144.Parent = o93
  2221. o144.BrickColor = BrickColor.new("Really black")
  2222. o144.Position = Vector3.new(54.5835915, 2.95100951, 159.97583)
  2223. o144.Rotation = Vector3.new(-132.979996, 55.0399971, -41.3400002)
  2224. o144.FormFactor = Enum.FormFactor.Symmetric
  2225. o144.Shape = Enum.PartType.Cylinder
  2226. o144.Size = Vector3.new(2, 2, 2)
  2227. o144.CFrame = CFrame.new(54.5835915, 2.95100951, 159.97583, 0.430199921, 0.378536552, 0.819535315, 0.000156238224, -0.907868564, 0.419254929, 0.902733624, -0.180235401, -0.390624106)
  2228. o144.BottomSurface = Enum.SurfaceType.Smooth
  2229. o144.LeftSurface = Enum.SurfaceType.Hinge
  2230. o144.TopSurface = Enum.SurfaceType.Smooth
  2231. o144.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2232. o144.Position = Vector3.new(54.5835915, 2.95100951, 159.97583)
  2233. o145.Parent = o93
  2234. o145.BrickColor = BrickColor.new("Really black")
  2235. o145.Position = Vector3.new(52.0023918, 2.95008421, 154.559402)
  2236. o145.Rotation = Vector3.new(122.309998, 48.2899971, -130.279999)
  2237. o145.FormFactor = Enum.FormFactor.Symmetric
  2238. o145.Shape = Enum.PartType.Cylinder
  2239. o145.Size = Vector3.new(2, 2, 2)
  2240. o145.CFrame = CFrame.new(52.0023918, 2.95008421, 154.559402, -0.430189967, 0.507591128, 0.746517122, -0.000157826624, 0.826905072, -0.562341511, -0.902738392, -0.242031485, -0.355646163)
  2241. o145.BottomSurface = Enum.SurfaceType.Smooth
  2242. o145.LeftSurface = Enum.SurfaceType.Hinge
  2243. o145.TopSurface = Enum.SurfaceType.Smooth
  2244. o145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2245. o145.Position = Vector3.new(52.0023918, 2.95008421, 154.559402)
  2246. o146.Parent = o93
  2247. o146.BrickColor = BrickColor.new("Really black")
  2248. o146.Position = Vector3.new(51.8756752, 2.99965954, 161.266251)
  2249. o146.Rotation = Vector3.new(39.8999977, -58.1499977, 35.3899994)
  2250. o146.FormFactor = Enum.FormFactor.Symmetric
  2251. o146.Shape = Enum.PartType.Cylinder
  2252. o146.Size = Vector3.new(2, 2, 2)
  2253. o146.CFrame = CFrame.new(51.8756752, 2.99965954, 161.266251, 0.430199623, -0.305666387, -0.849409401, 0.000139732758, 0.940952659, -0.33853814, 0.902733803, 0.145520285, 0.404840171)
  2254. o146.BottomSurface = Enum.SurfaceType.Smooth
  2255. o146.LeftSurface = Enum.SurfaceType.Hinge
  2256. o146.TopSurface = Enum.SurfaceType.Smooth
  2257. o146.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2258. o146.Position = Vector3.new(51.8756752, 2.99965954, 161.266251)
  2259. o147.Parent = o93
  2260. o147.BrickColor = BrickColor.new("Really black")
  2261. o147.Position = Vector3.new(49.2945137, 2.99878955, 155.849838)
  2262. o147.Rotation = Vector3.new(-23.4699993, -62.5499992, 158.929993)
  2263. o147.FormFactor = Enum.FormFactor.Symmetric
  2264. o147.Shape = Enum.PartType.Cylinder
  2265. o147.Size = Vector3.new(2, 2, 2)
  2266. o147.CFrame = CFrame.new(49.2945137, 2.99878955, 155.849838, -0.430197269, -0.165701985, -0.887396872, -0.000167633814, -0.982994676, 0.183634058, -0.902734876, 0.0791476294, 0.422853827)
  2267. o147.BottomSurface = Enum.SurfaceType.Smooth
  2268. o147.LeftSurface = Enum.SurfaceType.Hinge
  2269. o147.TopSurface = Enum.SurfaceType.Smooth
  2270. o147.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2271. o147.Position = Vector3.new(49.2945137, 2.99878955, 155.849838)
  2272. o148.Name = "Mech"
  2273. o148.Parent = mas
  2274. o149.Name = "RegenPad"
  2275. o149.Parent = o148
  2276. o149.BrickColor = BrickColor.new("Bright green")
  2277. o149.Reflectance = 0.5
  2278. o149.Position = Vector3.new(26, 2.60002589, 120.5)
  2279. o149.Rotation = Vector3.new(180, 0, -180)
  2280. o149.Anchored = true
  2281. o149.Size = Vector3.new(12, 1.20000005, 11)
  2282. o149.CFrame = CFrame.new(26, 2.60002589, 120.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  2283. o149.TopSurface = Enum.SurfaceType.Inlet
  2284. o149.Color = Color3.new(0.294118, 0.592157, 0.294118)
  2285. o149.Position = Vector3.new(26, 2.60002589, 120.5)
  2286. o150.Parent = o149
  2287.  
  2288. runDummyScript(function()
  2289. local car = script.Parent.Parent.Car:Clone() --Change Car to Your model.
  2290.  
  2291. while true do
  2292.  
  2293. wait(5)
  2294.  
  2295.  
  2296. local n = script.Parent.Parent:FindFirstChild("Car") == nil --Change "Car" to whatever model you use.
  2297. if (n or (script.Parent.Position - script.Parent.Parent.Car.Model.RCCar3.P3.VehicleSeat.Position).magnitude > 40) then
  2298. if (n ~= true) then
  2299. script.Parent.Parent.Car.Parent = game.Workspace
  2300. end
  2301. local c = car:Clone()
  2302. c.Parent = script.Parent.Parent
  2303. c:makeJoints()
  2304. end
  2305.  
  2306. end
  2307. end,o150)
  2308.  
  2309. o151.Name = "Car"
  2310. o151.Parent = o148
  2311. o152.Parent = o151
  2312. o153.Parent = o152
  2313. o154.Parent = o153
  2314. o154.BrickColor = BrickColor.new("Really black")
  2315. o154.Position = Vector3.new(20.2635174, 3.99629927, 122.025154)
  2316. o154.Rotation = Vector3.new(173.009995, -87.8499985, 172.959991)
  2317. o154.FormFactor = Enum.FormFactor.Plate
  2318. o154.Size = Vector3.new(2, 0.800000012, 1)
  2319. o154.CFrame = CFrame.new(20.2635174, 3.99629927, 122.025154, -0.0372347832, -0.0045975158, -0.99929589, -0.00101319386, 0.999989092, -0.00456294883, 0.999305964, 0.000842579873, -0.0372418948)
  2320. o154.BottomSurface = Enum.SurfaceType.Weld
  2321. o154.TopSurface = Enum.SurfaceType.Weld
  2322. o154.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2323. o154.Position = Vector3.new(20.2635174, 3.99629927, 122.025154)
  2324. o155.Parent = o154
  2325. o155.MeshType = Enum.MeshType.Wedge
  2326. o156.Parent = o153
  2327. o156.BrickColor = BrickColor.new("Really black")
  2328. o156.Position = Vector3.new(20.2662754, 3.39630818, 122.024651)
  2329. o156.Rotation = Vector3.new(-179.940002, 2.12999988, 179.73999)
  2330. o156.FormFactor = Enum.FormFactor.Plate
  2331. o156.Size = Vector3.new(1, 0.400000006, 2)
  2332. o156.CFrame = CFrame.new(20.2662754, 3.39630818, 122.024651, -0.99929589, -0.0045975158, 0.0372346044, -0.00456294836, 0.999989092, 0.00101319305, -0.0372420736, 0.000842579873, -0.999305964)
  2333. o156.BottomSurface = Enum.SurfaceType.Smooth
  2334. o156.TopSurface = Enum.SurfaceType.Weld
  2335. o156.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2336. o156.Position = Vector3.new(20.2662754, 3.39630818, 122.024651)
  2337. o157.Parent = o153
  2338. o157.BrickColor = BrickColor.new("Really black")
  2339. o157.Position = Vector3.new(18.211832, 3.38566256, 123.449135)
  2340. o157.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
  2341. o157.FormFactor = Enum.FormFactor.Plate
  2342. o157.Size = Vector3.new(1, 0.400000006, 3)
  2343. o157.CFrame = CFrame.new(18.211832, 3.38566256, 123.449135, 0.0372347236, -0.0045975158, 0.99929589, 0.00101319351, 0.999989092, 0.00456294883, -0.999305964, 0.000842579873, 0.0372419544)
  2344. o157.BottomSurface = Enum.SurfaceType.Smooth
  2345. o157.TopSurface = Enum.SurfaceType.Weld
  2346. o157.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2347. o157.Position = Vector3.new(18.211832, 3.38566256, 123.449135)
  2348. o158.Parent = o153
  2349. o158.BrickColor = BrickColor.new("Bright yellow")
  2350. o158.Position = Vector3.new(18.262167, 4.58716917, 121.951187)
  2351. o158.Rotation = Vector3.new(-179.940002, 2.12999988, 179.73999)
  2352. o158.FormFactor = Enum.FormFactor.Plate
  2353. o158.Size = Vector3.new(3, 0.400000006, 2)
  2354. o158.CFrame = CFrame.new(18.262167, 4.58716917, 121.951187, -0.99929589, -0.0045975158, 0.0372349024, -0.00456294883, 0.999989092, 0.00101319433, -0.0372417755, 0.000842579873, -0.999305964)
  2355. o158.BottomSurface = Enum.SurfaceType.Weld
  2356. o158.TopSurface = Enum.SurfaceType.Weld
  2357. o158.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2358. o158.Position = Vector3.new(18.262167, 4.58716917, 121.951187)
  2359. o159.Parent = o158
  2360. o160.Parent = o153
  2361. o160.BrickColor = BrickColor.new("Bright yellow")
  2362. o160.Position = Vector3.new(18.209074, 3.9856534, 123.449646)
  2363. o160.Rotation = Vector3.new(-179.940002, 2.12999988, 179.73999)
  2364. o160.FormFactor = Enum.FormFactor.Plate
  2365. o160.Size = Vector3.new(3, 0.800000012, 1)
  2366. o160.CFrame = CFrame.new(18.209074, 3.9856534, 123.449646, -0.99929589, -0.0045975158, 0.0372346044, -0.00456294836, 0.999989092, 0.00101319305, -0.0372420736, 0.000842579873, -0.999305964)
  2367. o160.BottomSurface = Enum.SurfaceType.Weld
  2368. o160.TopSurface = Enum.SurfaceType.Weld
  2369. o160.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2370. o160.Position = Vector3.new(18.209074, 3.9856534, 123.449646)
  2371. o161.Parent = o160
  2372. o161.MeshType = Enum.MeshType.Wedge
  2373. o162.Parent = o153
  2374. o162.BrickColor = BrickColor.new("Bright yellow")
  2375. o162.Position = Vector3.new(18.2658443, 3.78717947, 121.950516)
  2376. o162.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
  2377. o162.Size = Vector3.new(2, 1.20000005, 3)
  2378. o162.CFrame = CFrame.new(18.2658443, 3.78717947, 121.950516, 0.0372348428, -0.0045975158, 0.99929589, 0.00101319409, 0.999989092, 0.00456294883, -0.999305964, 0.000842579873, 0.0372418351)
  2379. o162.BackSurface = Enum.SurfaceType.Weld
  2380. o162.BottomSurface = Enum.SurfaceType.Smooth
  2381. o162.FrontSurface = Enum.SurfaceType.Weld
  2382. o162.LeftSurface = Enum.SurfaceType.Weld
  2383. o162.RightSurface = Enum.SurfaceType.Weld
  2384. o162.TopSurface = Enum.SurfaceType.Weld
  2385. o162.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2386. o162.Position = Vector3.new(18.2658443, 3.78717947, 121.950516)
  2387. o163.Parent = o153
  2388. o163.BrickColor = BrickColor.new("Bright yellow")
  2389. o163.Position = Vector3.new(18.320776, 3.988693, 120.451744)
  2390. o163.Rotation = Vector3.new(0.0599999987, -2.12999988, 0.25999999)
  2391. o163.FormFactor = Enum.FormFactor.Plate
  2392. o163.Size = Vector3.new(3, 0.800000012, 1)
  2393. o163.CFrame = CFrame.new(18.320776, 3.988693, 120.451744, 0.99929589, -0.0045975158, -0.0372347832, 0.00456294883, 0.999989092, -0.00101319386, 0.0372418948, 0.000842579873, 0.999305964)
  2394. o163.BottomSurface = Enum.SurfaceType.Weld
  2395. o163.TopSurface = Enum.SurfaceType.Weld
  2396. o163.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2397. o163.Position = Vector3.new(18.320776, 3.988693, 120.451744)
  2398. o164.Parent = o163
  2399. o164.MeshType = Enum.MeshType.Wedge
  2400. o165.Parent = o153
  2401. o165.BrickColor = BrickColor.new("Really black")
  2402. o165.Position = Vector3.new(18.323534, 3.38870215, 120.451233)
  2403. o165.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
  2404. o165.FormFactor = Enum.FormFactor.Plate
  2405. o165.Size = Vector3.new(1, 0.400000006, 3)
  2406. o165.CFrame = CFrame.new(18.323534, 3.38870215, 120.451233, 0.0372347832, -0.0045975158, 0.99929589, 0.00101319386, 0.999989092, 0.00456294883, -0.999305964, 0.000842579873, 0.0372418948)
  2407. o165.BottomSurface = Enum.SurfaceType.Smooth
  2408. o165.TopSurface = Enum.SurfaceType.Weld
  2409. o165.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2410. o165.Position = Vector3.new(18.323534, 3.38870215, 120.451233)
  2411. o166.Parent = o153
  2412. o166.BrickColor = BrickColor.new("Really black")
  2413. o166.Position = Vector3.new(15.7694407, 3.37577486, 121.857071)
  2414. o166.Rotation = Vector3.new(-179.940002, 2.12999988, 179.73999)
  2415. o166.FormFactor = Enum.FormFactor.Plate
  2416. o166.Size = Vector3.new(2, 0.400000006, 2)
  2417. o166.CFrame = CFrame.new(15.7694407, 3.37577486, 121.857071, -0.99929589, -0.0045975158, 0.0372347832, -0.00456294883, 0.999989092, 0.00101319386, -0.0372418948, 0.000842579873, -0.999305964)
  2418. o166.BottomSurface = Enum.SurfaceType.Smooth
  2419. o166.TopSurface = Enum.SurfaceType.Weld
  2420. o166.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2421. o166.Position = Vector3.new(15.7694407, 3.37577486, 121.857071)
  2422. o167.Parent = o153
  2423. o167.BrickColor = BrickColor.new("Really black")
  2424. o167.Position = Vector3.new(15.7666826, 3.97576594, 121.857582)
  2425. o167.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
  2426. o167.FormFactor = Enum.FormFactor.Plate
  2427. o167.Size = Vector3.new(2, 0.800000012, 2)
  2428. o167.CFrame = CFrame.new(15.7666826, 3.97576594, 121.857582, 0.0372347832, -0.0045975158, 0.99929589, 0.00101319386, 0.999989092, 0.00456294883, -0.999305964, 0.000842579873, 0.0372418948)
  2429. o167.BottomSurface = Enum.SurfaceType.Weld
  2430. o167.TopSurface = Enum.SurfaceType.Weld
  2431. o167.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2432. o167.Position = Vector3.new(15.7666826, 3.97576594, 121.857582)
  2433. o168.Parent = o167
  2434. o168.MeshType = Enum.MeshType.Wedge
  2435. o169.Parent = o153
  2436. o169.BrickColor = BrickColor.new("Bright yellow")
  2437. o169.Position = Vector3.new(18.7563019, 5.78943968, 121.970802)
  2438. o169.Rotation = Vector3.new(173.009995, -87.8499985, 172.959991)
  2439. o169.FormFactor = Enum.FormFactor.Symmetric
  2440. o169.Size = Vector3.new(2, 2, 2)
  2441. o169.CFrame = CFrame.new(18.7563019, 5.78943968, 121.970802, -0.0372348428, -0.0045975158, -0.99929589, -0.00101319409, 0.999989092, -0.00456294883, 0.999305964, 0.000842579873, -0.0372418351)
  2442. o169.BackSurface = Enum.SurfaceType.Weld
  2443. o169.BottomSurface = Enum.SurfaceType.Weld
  2444. o169.LeftSurface = Enum.SurfaceType.Hinge
  2445. o169.TopSurface = Enum.SurfaceType.Weld
  2446. o169.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2447. o169.Position = Vector3.new(18.7563019, 5.78943968, 121.970802)
  2448. o170.Parent = o169
  2449. o170.MeshType = Enum.MeshType.Wedge
  2450. o171.Parent = o153
  2451. o171.BrickColor = BrickColor.new("Bright yellow")
  2452. o171.Position = Vector3.new(16.7577114, 5.78031349, 121.896339)
  2453. o171.Rotation = Vector3.new(-6.98999977, 87.8499985, -172.959991)
  2454. o171.FormFactor = Enum.FormFactor.Symmetric
  2455. o171.Size = Vector3.new(2, 2, 2)
  2456. o171.CFrame = CFrame.new(16.7577114, 5.78031349, 121.896339, -0.037234962, 0.0045975158, 0.99929589, -0.00101319456, -0.999989092, 0.00456294883, 0.999305964, -0.000842579873, 0.0372417159)
  2457. o171.BackSurface = Enum.SurfaceType.Weld
  2458. o171.BottomSurface = Enum.SurfaceType.Weld
  2459. o171.TopSurface = Enum.SurfaceType.Weld
  2460. o171.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2461. o171.Position = Vector3.new(16.7577114, 5.78031349, 121.896339)
  2462. o172.Parent = o171
  2463. o172.MeshType = Enum.MeshType.Wedge
  2464. o173.Parent = o153
  2465. o173.BrickColor = BrickColor.new("Really black")
  2466. o173.Position = Vector3.new(16.7508144, 7.28028774, 121.897606)
  2467. o173.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
  2468. o173.FormFactor = Enum.FormFactor.Symmetric
  2469. o173.Size = Vector3.new(2, 1, 2)
  2470. o173.CFrame = CFrame.new(16.7508144, 7.28028774, 121.897606, 0.0372351408, -0.0045975158, 0.99929589, 0.00101319537, 0.999989092, 0.00456294883, -0.999305964, 0.000842579873, 0.0372415371)
  2471. o173.BottomSurface = Enum.SurfaceType.Weld
  2472. o173.TopSurface = Enum.SurfaceType.Weld
  2473. o173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2474. o173.Position = Vector3.new(16.7508144, 7.28028774, 121.897606)
  2475. o174.Parent = o153
  2476. o174.BrickColor = BrickColor.new("Bright yellow")
  2477. o174.Position = Vector3.new(18.742506, 8.78939724, 121.973351)
  2478. o174.Rotation = Vector3.new(173.009995, -87.8499985, -7.03999996)
  2479. o174.CanCollide = false
  2480. o174.FormFactor = Enum.FormFactor.Symmetric
  2481. o174.Size = Vector3.new(2, 2, 2)
  2482. o174.CFrame = CFrame.new(18.742506, 8.78939724, 121.973351, 0.0372362137, 0.0045975158, -0.99929589, 0.00101320026, -0.999989092, -0.00456295023, -0.999305964, -0.000842579873, -0.0372404642)
  2483. o174.BackSurface = Enum.SurfaceType.Weld
  2484. o174.BottomSurface = Enum.SurfaceType.Smooth
  2485. o174.RightSurface = Enum.SurfaceType.Hinge
  2486. o174.TopSurface = Enum.SurfaceType.Weld
  2487. o174.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2488. o174.Position = Vector3.new(18.742506, 8.78939724, 121.973351)
  2489. o175.Parent = o174
  2490. o175.MeshType = Enum.MeshType.Wedge
  2491. o176.Parent = o153
  2492. o176.BrickColor = BrickColor.new("Bright yellow")
  2493. o176.Position = Vector3.new(16.7439175, 8.78027153, 121.898872)
  2494. o176.Rotation = Vector3.new(-6.98999977, 87.8499985, 7.03999996)
  2495. o176.CanCollide = false
  2496. o176.FormFactor = Enum.FormFactor.Symmetric
  2497. o176.Size = Vector3.new(2, 2, 2)
  2498. o176.CFrame = CFrame.new(16.7439175, 8.78027153, 121.898872, 0.0372354984, -0.0045975158, 0.99929589, 0.001013197, 0.999989092, 0.0045629493, -0.999305964, 0.000842579873, 0.0372411795)
  2499. o176.BackSurface = Enum.SurfaceType.Weld
  2500. o176.BottomSurface = Enum.SurfaceType.Weld
  2501. o176.TopSurface = Enum.SurfaceType.Smooth
  2502. o176.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2503. o176.Position = Vector3.new(16.7439175, 8.78027153, 121.898872)
  2504. o177.Parent = o176
  2505. o177.MeshType = Enum.MeshType.Wedge
  2506. o178.Parent = o176
  2507. o178.Texture = "http://www.roblox.com/asset/?id=13402884"
  2508. o179.Parent = o152
  2509. o180.Parent = o179
  2510. o180.BrickColor = BrickColor.new("Really black")
  2511. o180.Position = Vector3.new(18.8307743, 5.79143524, 119.972168)
  2512. o180.Rotation = Vector3.new(-179.940002, 2.12999988, 171.87999)
  2513. o180.CanCollide = false
  2514. o180.FormFactor = Enum.FormFactor.Symmetric
  2515. o180.Size = Vector3.new(2, 2, 2)
  2516. o180.CFrame = CFrame.new(18.8307743, 5.79143524, 119.972168, -0.989300907, -0.141068831, 0.0371958204, -0.141128823, 0.989990711, 0.00102119532, -0.0369677097, -0.00423913216, -0.999307573)
  2517. o180.BottomSurface = Enum.SurfaceType.Weld
  2518. o180.TopSurface = Enum.SurfaceType.Smooth
  2519. o180.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2520. o180.Position = Vector3.new(18.8307743, 5.79143524, 119.972168)
  2521. o181.Parent = o179
  2522. o181.BrickColor = BrickColor.new("Really black")
  2523. o181.Position = Vector3.new(18.81744, 8.79146767, 119.974785)
  2524. o181.Rotation = Vector3.new(-179.940002, 2.12999988, 171.87999)
  2525. o181.CanCollide = false
  2526. o181.FormFactor = Enum.FormFactor.Symmetric
  2527. o181.Size = Vector3.new(2, 2, 2)
  2528. o181.CFrame = CFrame.new(18.81744, 8.79146767, 119.974785, -0.989297569, -0.14108938, 0.0372036286, -0.141149282, 0.989987791, 0.00102060847, -0.0369750895, -0.00424155127, -0.999307156)
  2529. o181.BottomSurface = Enum.SurfaceType.Weld
  2530. o181.TopSurface = Enum.SurfaceType.Smooth
  2531. o181.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2532. o181.Position = Vector3.new(18.81744, 8.79146767, 119.974785)
  2533. o182.Parent = o179
  2534. o182.BrickColor = BrickColor.new("Really black")
  2535. o182.Position = Vector3.new(14.8974571, 8.22790146, 118.827568)
  2536. o182.Rotation = Vector3.new(-179.940002, 2.12999988, 171.87999)
  2537. o182.CanCollide = false
  2538. o182.FormFactor = Enum.FormFactor.Symmetric
  2539. o182.Size = Vector3.new(2, 2, 2)
  2540. o182.CFrame = CFrame.new(14.8974571, 8.22790146, 118.827568, -0.989297569, -0.141089439, 0.0372036509, -0.141149223, 0.989987791, 0.00102059462, -0.0369750671, -0.00424153637, -0.999307156)
  2541. o182.BottomSurface = Enum.SurfaceType.Weld
  2542. o182.TopSurface = Enum.SurfaceType.Smooth
  2543. o182.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2544. o182.Position = Vector3.new(14.8974571, 8.22790146, 118.827568)
  2545. o183.Parent = o179
  2546. o183.BrickColor = BrickColor.new("Really black")
  2547. o183.Position = Vector3.new(14.9107533, 5.22793865, 118.824974)
  2548. o183.Rotation = Vector3.new(-179.940002, 2.12999988, 171.87999)
  2549. o183.CanCollide = false
  2550. o183.FormFactor = Enum.FormFactor.Symmetric
  2551. o183.Size = Vector3.new(2, 2, 2)
  2552. o183.CFrame = CFrame.new(14.9107533, 5.22793865, 118.824974, -0.989300907, -0.141068831, 0.037195757, -0.141128823, 0.989990711, 0.00102118577, -0.0369677767, -0.00423913216, -0.999307692)
  2553. o183.BottomSurface = Enum.SurfaceType.Weld
  2554. o183.TopSurface = Enum.SurfaceType.Smooth
  2555. o183.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2556. o183.Position = Vector3.new(14.9107533, 5.22793865, 118.824974)
  2557. o184.Parent = o179
  2558. o184.BrickColor = BrickColor.new("Really black")
  2559. o184.Position = Vector3.new(16.901329, 7.01061964, 118.400566)
  2560. o184.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
  2561. o184.CanCollide = false
  2562. o184.FormFactor = Enum.FormFactor.Symmetric
  2563. o184.Size = Vector3.new(2, 5, 1)
  2564. o184.CFrame = CFrame.new(16.901329, 7.01061964, 118.400566, -0.999298036, -0.00443075923, 0.0371992402, -0.00439534243, 0.999989808, 0.00103380508, -0.0372033827, 0.000869575422, -0.999307334)
  2565. o184.BottomSurface = Enum.SurfaceType.Weld
  2566. o184.TopSurface = Enum.SurfaceType.Weld
  2567. o184.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2568. o184.Position = Vector3.new(16.901329, 7.01061964, 118.400566)
  2569. o185.Parent = o179
  2570. o185.BrickColor = BrickColor.new("Really black")
  2571. o185.Position = Vector3.new(16.826931, 7.00854826, 120.399162)
  2572. o185.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
  2573. o185.CanCollide = false
  2574. o185.FormFactor = Enum.FormFactor.Symmetric
  2575. o185.Size = Vector3.new(2, 5, 1)
  2576. o185.CFrame = CFrame.new(16.826931, 7.00854826, 120.399162, -0.999298036, -0.00443075923, 0.0371992402, -0.00439534243, 0.999989808, 0.00103380508, -0.0372033827, 0.000869575422, -0.999307334)
  2577. o185.BottomSurface = Enum.SurfaceType.Weld
  2578. o185.TopSurface = Enum.SurfaceType.Weld
  2579. o185.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2580. o185.Position = Vector3.new(16.826931, 7.00854826, 120.399162)
  2581. o186.Parent = o152
  2582. o187.Parent = o186
  2583. o187.BrickColor = BrickColor.new("Really black")
  2584. o187.Position = Vector3.new(16.4919109, 3.43634224, 116.880608)
  2585. o187.Rotation = Vector3.new(173.349991, -87.8499985, 173.289993)
  2586. o187.FormFactor = Enum.FormFactor.Plate
  2587. o187.Size = Vector3.new(2, 0.800000012, 1)
  2588. o187.CFrame = CFrame.new(16.4919109, 3.43634224, 116.880608, -0.0371984877, -0.00437431643, -0.999296486, -0.00102516287, 0.999990046, -0.00433917856, 0.999305427, 0.000863034162, -0.0371986665)
  2589. o187.BottomSurface = Enum.SurfaceType.Weld
  2590. o187.TopSurface = Enum.SurfaceType.Weld
  2591. o187.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2592. o187.Position = Vector3.new(16.4919109, 3.43634224, 116.880608)
  2593. o188.Parent = o187
  2594. o188.MeshType = Enum.MeshType.Wedge
  2595. o189.Parent = o186
  2596. o189.BrickColor = BrickColor.new("Really black")
  2597. o189.Position = Vector3.new(16.4945354, 2.83634496, 116.880089)
  2598. o189.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
  2599. o189.FormFactor = Enum.FormFactor.Plate
  2600. o189.Size = Vector3.new(1, 0.400000006, 2)
  2601. o189.CFrame = CFrame.new(16.4945354, 2.83634496, 116.880089, -0.999296308, -0.00437431643, 0.0371986628, -0.00433917856, 0.999990046, 0.00102516357, -0.0371984839, 0.000863034162, -0.999305248)
  2602. o189.BottomSurface = Enum.SurfaceType.Smooth
  2603. o189.TopSurface = Enum.SurfaceType.Weld
  2604. o189.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2605. o189.Position = Vector3.new(16.4945354, 2.83634496, 116.880089)
  2606. o190.Parent = o186
  2607. o190.BrickColor = BrickColor.new("Really black")
  2608. o190.Position = Vector3.new(14.4401503, 2.82612896, 118.304649)
  2609. o190.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
  2610. o190.FormFactor = Enum.FormFactor.Plate
  2611. o190.Size = Vector3.new(1, 0.400000006, 3)
  2612. o190.CFrame = CFrame.new(14.4401503, 2.82612896, 118.304649, 0.0371985473, -0.00437431643, 0.999296427, 0.0010251631, 0.999990046, 0.00433917856, -0.999305367, 0.000863034162, 0.0371986069)
  2613. o190.BottomSurface = Enum.SurfaceType.Smooth
  2614. o190.TopSurface = Enum.SurfaceType.Weld
  2615. o190.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2616. o190.Position = Vector3.new(14.4401503, 2.82612896, 118.304649)
  2617. o191.Parent = o186
  2618. o191.BrickColor = BrickColor.new("Bright yellow")
  2619. o191.Position = Vector3.new(14.4906979, 4.02765656, 116.806725)
  2620. o191.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
  2621. o191.FormFactor = Enum.FormFactor.Plate
  2622. o191.Size = Vector3.new(3, 0.400000006, 2)
  2623. o191.CFrame = CFrame.new(14.4906979, 4.02765656, 116.806725, -0.999296665, -0.00437431643, 0.0371983163, -0.00433917949, 0.999990046, 0.0010251624, -0.0371988527, 0.000863034162, -0.999305606)
  2624. o191.BottomSurface = Enum.SurfaceType.Weld
  2625. o191.TopSurface = Enum.SurfaceType.Weld
  2626. o191.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2627. o191.Position = Vector3.new(14.4906979, 4.02765656, 116.806725)
  2628. o192.Parent = o191
  2629. o193.Parent = o186
  2630. o193.BrickColor = BrickColor.new("Bright yellow")
  2631. o193.Position = Vector3.new(14.4375257, 3.42612624, 118.305168)
  2632. o193.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
  2633. o193.FormFactor = Enum.FormFactor.Plate
  2634. o193.Size = Vector3.new(3, 0.800000012, 1)
  2635. o193.CFrame = CFrame.new(14.4375257, 3.42612624, 118.305168, -0.99929595, -0.00437431643, 0.0371990055, -0.0043391767, 0.999990046, 0.00102516473, -0.0371981151, 0.000863034162, -0.999304891)
  2636. o193.BottomSurface = Enum.SurfaceType.Weld
  2637. o193.TopSurface = Enum.SurfaceType.Weld
  2638. o193.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2639. o193.Position = Vector3.new(14.4375257, 3.42612624, 118.305168)
  2640. o194.Parent = o193
  2641. o194.MeshType = Enum.MeshType.Wedge
  2642. o195.Parent = o186
  2643. o195.BrickColor = BrickColor.new("Bright yellow")
  2644. o195.Position = Vector3.new(14.4941969, 3.22766042, 116.806038)
  2645. o195.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
  2646. o195.Size = Vector3.new(2, 1.20000005, 3)
  2647. o195.CFrame = CFrame.new(14.4941969, 3.22766042, 116.806038, 0.0371984318, -0.00437431643, 0.999296546, 0.00102516275, 0.999990046, 0.00433917902, -0.999305487, 0.000863034162, 0.0371987298)
  2648. o195.BackSurface = Enum.SurfaceType.Weld
  2649. o195.BottomSurface = Enum.SurfaceType.Smooth
  2650. o195.FrontSurface = Enum.SurfaceType.Weld
  2651. o195.LeftSurface = Enum.SurfaceType.Weld
  2652. o195.RightSurface = Enum.SurfaceType.Weld
  2653. o195.TopSurface = Enum.SurfaceType.Weld
  2654. o195.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2655. o195.Position = Vector3.new(14.4941969, 3.22766042, 116.806038)
  2656. o196.Parent = o186
  2657. o196.BrickColor = BrickColor.new("Bright yellow")
  2658. o196.Position = Vector3.new(14.549118, 3.42920637, 115.307251)
  2659. o196.Rotation = Vector3.new(0.0599999987, -2.12999988, 0.25)
  2660. o196.FormFactor = Enum.FormFactor.Plate
  2661. o196.Size = Vector3.new(3, 0.800000012, 1)
  2662. o196.CFrame = CFrame.new(14.549118, 3.42920637, 115.307251, 0.999296308, -0.00437431643, -0.0371986628, 0.00433917856, 0.999990046, -0.00102516357, 0.0371984839, 0.000863034162, 0.999305248)
  2663. o196.BottomSurface = Enum.SurfaceType.Weld
  2664. o196.TopSurface = Enum.SurfaceType.Weld
  2665. o196.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2666. o196.Position = Vector3.new(14.549118, 3.42920637, 115.307251)
  2667. o197.Parent = o196
  2668. o197.MeshType = Enum.MeshType.Wedge
  2669. o198.Parent = o186
  2670. o198.BrickColor = BrickColor.new("Really black")
  2671. o198.Position = Vector3.new(14.5517426, 2.82920456, 115.306732)
  2672. o198.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
  2673. o198.FormFactor = Enum.FormFactor.Plate
  2674. o198.Size = Vector3.new(1, 0.400000006, 3)
  2675. o198.CFrame = CFrame.new(14.5517426, 2.82920456, 115.306732, 0.0371986628, -0.00437431643, 0.999296308, 0.00102516357, 0.999990046, 0.00433917856, -0.999305248, 0.000863034162, 0.0371984839)
  2676. o198.BottomSurface = Enum.SurfaceType.Smooth
  2677. o198.TopSurface = Enum.SurfaceType.Weld
  2678. o198.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2679. o198.Position = Vector3.new(14.5517426, 2.82920456, 115.306732)
  2680. o199.Parent = o186
  2681. o199.BrickColor = BrickColor.new("Really black")
  2682. o199.Position = Vector3.new(11.9977074, 2.81681871, 116.7127)
  2683. o199.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
  2684. o199.FormFactor = Enum.FormFactor.Plate
  2685. o199.Size = Vector3.new(2, 0.400000006, 2)
  2686. o199.CFrame = CFrame.new(11.9977074, 2.81681871, 116.7127, -0.999296308, -0.00437431643, 0.0371986628, -0.00433917856, 0.999990046, 0.00102516357, -0.0371984839, 0.000863034162, -0.999305248)
  2687. o199.BottomSurface = Enum.SurfaceType.Smooth
  2688. o199.TopSurface = Enum.SurfaceType.Weld
  2689. o199.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2690. o199.Position = Vector3.new(11.9977074, 2.81681871, 116.7127)
  2691. o200.Parent = o186
  2692. o200.BrickColor = BrickColor.new("Really black")
  2693. o200.Position = Vector3.new(11.9950829, 3.416816, 116.713211)
  2694. o200.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
  2695. o200.FormFactor = Enum.FormFactor.Plate
  2696. o200.Size = Vector3.new(2, 0.800000012, 2)
  2697. o200.CFrame = CFrame.new(11.9950829, 3.416816, 116.713211, 0.0371986628, -0.00437431643, 0.999296308, 0.00102516357, 0.999990046, 0.00433917856, -0.999305248, 0.000863034162, 0.0371984839)
  2698. o200.BottomSurface = Enum.SurfaceType.Weld
  2699. o200.TopSurface = Enum.SurfaceType.Weld
  2700. o200.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2701. o200.Position = Vector3.new(11.9950829, 3.416816, 116.713211)
  2702. o201.Parent = o200
  2703. o201.MeshType = Enum.MeshType.Wedge
  2704. o202.Parent = o186
  2705. o202.BrickColor = BrickColor.new("Bright yellow")
  2706. o202.Position = Vector3.new(14.9850998, 5.22981071, 116.826363)
  2707. o202.Rotation = Vector3.new(173.349991, -87.8499985, 173.289993)
  2708. o202.FormFactor = Enum.FormFactor.Symmetric
  2709. o202.Size = Vector3.new(2, 2, 2)
  2710. o202.CFrame = CFrame.new(14.9850998, 5.22981071, 116.826363, -0.0371983722, -0.00437431643, -0.999296606, -0.00102516252, 0.999990046, -0.00433917902, 0.999305546, 0.000863034162, -0.0371987894)
  2711. o202.BackSurface = Enum.SurfaceType.Weld
  2712. o202.BottomSurface = Enum.SurfaceType.Weld
  2713. o202.RightSurface = Enum.SurfaceType.Hinge
  2714. o202.TopSurface = Enum.SurfaceType.Weld
  2715. o202.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2716. o202.Position = Vector3.new(14.9850998, 5.22981071, 116.826363)
  2717. o203.Parent = o202
  2718. o203.MeshType = Enum.MeshType.Wedge
  2719. o204.Parent = o186
  2720. o204.BrickColor = BrickColor.new("Bright yellow")
  2721. o204.Position = Vector3.new(12.9865103, 5.22113228, 116.751961)
  2722. o204.Rotation = Vector3.new(-6.64999962, 87.8499985, -173.289993)
  2723. o204.FormFactor = Enum.FormFactor.Symmetric
  2724. o204.Size = Vector3.new(2, 2, 2)
  2725. o204.CFrame = CFrame.new(12.9865103, 5.22113228, 116.751961, -0.0371982008, 0.00437431643, 0.999296784, -0.00102516206, -0.999990046, 0.00433917996, 0.999305725, -0.000863034162, 0.0371989757)
  2726. o204.BackSurface = Enum.SurfaceType.Weld
  2727. o204.BottomSurface = Enum.SurfaceType.Weld
  2728. o204.TopSurface = Enum.SurfaceType.Weld
  2729. o204.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2730. o204.Position = Vector3.new(12.9865103, 5.22113228, 116.751961)
  2731. o205.Parent = o204
  2732. o205.MeshType = Enum.MeshType.Wedge
  2733. o206.Parent = o186
  2734. o206.BrickColor = BrickColor.new("Really black")
  2735. o206.Position = Vector3.new(12.979948, 6.7211175, 116.753258)
  2736. o206.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
  2737. o206.FormFactor = Enum.FormFactor.Symmetric
  2738. o206.Size = Vector3.new(2, 1, 2)
  2739. o206.CFrame = CFrame.new(12.979948, 6.7211175, 116.753258, 0.0371979699, -0.00437431643, 0.999297023, 0.00102516124, 0.999990046, 0.00433918042, -0.999305964, 0.000863034162, 0.0371992216)
  2740. o206.BottomSurface = Enum.SurfaceType.Weld
  2741. o206.TopSurface = Enum.SurfaceType.Weld
  2742. o206.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2743. o206.Position = Vector3.new(12.979948, 6.7211175, 116.753258)
  2744. o207.Parent = o186
  2745. o207.BrickColor = BrickColor.new("Bright yellow")
  2746. o207.Position = Vector3.new(14.9719772, 8.22979069, 116.828957)
  2747. o207.Rotation = Vector3.new(173.349991, -87.8499985, -6.71000004)
  2748. o207.CanCollide = false
  2749. o207.FormFactor = Enum.FormFactor.Symmetric
  2750. o207.Size = Vector3.new(2, 2, 2)
  2751. o207.CFrame = CFrame.new(14.9719772, 8.22979069, 116.828957, 0.0371965952, 0.00437431643, -0.999298394, 0.00102515635, -0.999990046, -0.00433918508, -0.999307454, -0.000863034162, -0.0372007079)
  2752. o207.BackSurface = Enum.SurfaceType.Weld
  2753. o207.BottomSurface = Enum.SurfaceType.Smooth
  2754. o207.LeftSurface = Enum.SurfaceType.Hinge
  2755. o207.TopSurface = Enum.SurfaceType.Weld
  2756. o207.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2757. o207.Position = Vector3.new(14.9719772, 8.22979069, 116.828957)
  2758. o208.Parent = o207
  2759. o208.MeshType = Enum.MeshType.Wedge
  2760. o209.Parent = o186
  2761. o209.BrickColor = BrickColor.new("Bright yellow")
  2762. o209.Position = Vector3.new(12.9733868, 8.22111225, 116.754555)
  2763. o209.Rotation = Vector3.new(-6.64999962, 87.8499985, 6.71000004)
  2764. o209.CanCollide = false
  2765. o209.FormFactor = Enum.FormFactor.Symmetric
  2766. o209.Size = Vector3.new(2, 2, 2)
  2767. o209.CFrame = CFrame.new(12.9733868, 8.22111225, 116.754555, 0.0371975116, -0.00437431643, 0.9992975, 0.00102515961, 0.999990046, 0.00433918182, -0.99930644, 0.000863034162, 0.037199717)
  2768. o209.BackSurface = Enum.SurfaceType.Weld
  2769. o209.BottomSurface = Enum.SurfaceType.Weld
  2770. o209.TopSurface = Enum.SurfaceType.Smooth
  2771. o209.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2772. o209.Position = Vector3.new(12.9733868, 8.22111225, 116.754555)
  2773. o210.Parent = o209
  2774. o210.MeshType = Enum.MeshType.Wedge
  2775. o211.Parent = o209
  2776. o211.Texture = "http://www.roblox.com/asset/?id=13402884"
  2777. o212.Name = "RCCar3"
  2778. o212.Parent = o152
  2779. o213.Name = "P3"
  2780. o213.Parent = o212
  2781. o214.Name = "Script Don't edit!"
  2782. o214.Parent = o213
  2783.  
  2784. runDummyScript(function()
  2785. local seat = script.Parent.VehicleSeat
  2786. Speed=0.1
  2787. r1=script.Parent.R1
  2788. r2=script.Parent.R2
  2789. l1=script.Parent.L1
  2790. l2=script.Parent.L2
  2791. while true do
  2792. wait()
  2793. if seat.Throttle == -1 then
  2794. l2.RightParamA=Speed
  2795. l2.RightParamB=-Speed
  2796. r2.RightParamA=-Speed
  2797. r2.RightParamB=Speed
  2798. end
  2799. if seat.Throttle == 1 then
  2800. l2.RightParamA=-Speed
  2801. l2.RightParamB=Speed
  2802. r2.RightParamA=Speed
  2803. r2.RightParamB=-Speed
  2804. end
  2805. if seat.Steer == -1 then
  2806. l1.RightParamA=Speed
  2807. l1.RightParamB=-Speed
  2808. r1.RightParamA=Speed
  2809. r1.RightParamB=-Speed
  2810. end
  2811. if seat.Steer == 1 then
  2812. l1.RightParamA=-Speed
  2813. l1.RightParamB=Speed
  2814. r1.RightParamA=-Speed
  2815. r1.RightParamB=Speed
  2816. end
  2817. if seat.Steer == 0 and seat.Throttle == 0 then
  2818. l1.RightParamA=0
  2819. l1.RightParamB=0
  2820. l2.RightParamA=0
  2821. l2.RightParamB=0
  2822. r1.RightParamA=0
  2823. r1.RightParamB=0
  2824. r2.RightParamA=0
  2825. r2.RightParamB=0
  2826. end
  2827. end
  2828.  
  2829. end,o214)
  2830.  
  2831. o215.Name = "L2"
  2832. o215.Parent = o213
  2833. o215.BrickColor = BrickColor.new("Really black")
  2834. o215.Position = Vector3.new(16.8707638, 5.50968838, 119.398567)
  2835. o215.Rotation = Vector3.new(104.68, -81.6100006, -75.2299957)
  2836. o215.CanCollide = false
  2837. o215.FormFactor = Enum.FormFactor.Symmetric
  2838. o215.Friction = 1
  2839. o215.Size = Vector3.new(1, 2, 2)
  2840. o215.CFrame = CFrame.new(16.8707638, 5.50968838, 119.398567, 0.0371958837, 0.141068831, -0.989300787, 0.00102120475, -0.989990711, -0.141128808, -0.999307454, 0.00423913216, -0.0369676389)
  2841. o215.BackSurface = Enum.SurfaceType.Weld
  2842. o215.BottomSurface = Enum.SurfaceType.Smooth
  2843. o215.FrontSurface = Enum.SurfaceType.Weld
  2844. o215.LeftSurface = Enum.SurfaceType.Hinge
  2845. o215.RightSurface = Enum.SurfaceType.Motor
  2846. o215.TopSurface = Enum.SurfaceType.Smooth
  2847. o215.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2848. o215.Position = Vector3.new(16.8707638, 5.50968838, 119.398567)
  2849. o216.Name = "R1"
  2850. o216.Parent = o213
  2851. o216.BrickColor = BrickColor.new("Really black")
  2852. o216.Transparency = 1
  2853. o216.Position = Vector3.new(15.1053391, 3.25290775, 113.826736)
  2854. o216.Rotation = Vector3.new(90.2299957, -4.67999983, 92.1399994)
  2855. o216.FormFactor = Enum.FormFactor.Symmetric
  2856. o216.Friction = 1
  2857. o216.Shape = Enum.PartType.Cylinder
  2858. o216.Size = Vector3.new(2, 2, 2)
  2859. o216.CFrame = CFrame.new(15.1053391, 3.25290775, 113.826736, -0.0372006223, -0.9959777, -0.0815137178, -0.0010249567, 0.0816081613, -0.996663988, 0.999307275, -0.0369929709, -0.00405670842)
  2860. o216.BottomSurface = Enum.SurfaceType.Smooth
  2861. o216.RightSurface = Enum.SurfaceType.Motor
  2862. o216.TopSurface = Enum.SurfaceType.Smooth
  2863. o216.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2864. o216.Position = Vector3.new(15.1053391, 3.25290775, 113.826736)
  2865. o217.Name = "R2"
  2866. o217.Parent = o213
  2867. o217.BrickColor = BrickColor.new("Really black")
  2868. o217.Position = Vector3.new(16.8574486, 8.50967789, 119.401199)
  2869. o217.Rotation = Vector3.new(89.75, 8.10999966, 92.1500015)
  2870. o217.CanCollide = false
  2871. o217.FormFactor = Enum.FormFactor.Symmetric
  2872. o217.Friction = 1
  2873. o217.Size = Vector3.new(1, 2, 2)
  2874. o217.CFrame = CFrame.new(16.8574486, 8.50967789, 119.401199, -0.0372036025, -0.989297569, 0.141089305, -0.00102062232, -0.141149357, -0.989987791, 0.999307156, -0.0369751118, 0.00424156571)
  2875. o217.BottomSurface = Enum.SurfaceType.Weld
  2876. o217.LeftSurface = Enum.SurfaceType.Hinge
  2877. o217.RightSurface = Enum.SurfaceType.Motor
  2878. o217.TopSurface = Enum.SurfaceType.Weld
  2879. o217.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2880. o217.Position = Vector3.new(16.8574486, 8.50967789, 119.401199)
  2881. o218.Name = "L1"
  2882. o218.Parent = o213
  2883. o218.BrickColor = BrickColor.new("Really black")
  2884. o218.Transparency = 1
  2885. o218.Position = Vector3.new(18.6534405, 3.80639434, 124.96711)
  2886. o218.Rotation = Vector3.new(89.0899963, 24.4300003, -87.6500015)
  2887. o218.FormFactor = Enum.FormFactor.Symmetric
  2888. o218.Friction = 1
  2889. o218.Shape = Enum.PartType.Cylinder
  2890. o218.Size = Vector3.new(2, 2, 2)
  2891. o218.CFrame = CFrame.new(18.6534405, 3.80639434, 124.96711, 0.0372656249, 0.909716904, 0.413553357, 0.000996667659, 0.413806766, -0.910364211, -0.999304891, 0.0343374647, 0.0145140821)
  2892. o218.BottomSurface = Enum.SurfaceType.Smooth
  2893. o218.RightSurface = Enum.SurfaceType.Motor
  2894. o218.TopSurface = Enum.SurfaceType.Smooth
  2895. o218.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2896. o218.Position = Vector3.new(18.6534405, 3.80639434, 124.96711)
  2897. o219.Parent = o213
  2898. o219.BrickColor = BrickColor.new("Dark stone grey")
  2899. o219.Position = Vector3.new(16.8464108, 11.0095568, 119.403336)
  2900. o219.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  2901. o219.Size = Vector3.new(5, 1, 2)
  2902. o219.CFrame = CFrame.new(16.8464108, 11.0095568, 119.403336, 0.0371992104, -0.00443075923, 0.999298036, 0.00103380461, 0.999989808, 0.00439534243, -0.999307334, 0.000869575655, 0.0372034125)
  2903. o219.TopSurface = Enum.SurfaceType.Universal
  2904. o219.MaxSpeed = 4
  2905. o219.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2906. o219.Position = Vector3.new(16.8464108, 11.0095568, 119.403336)
  2907. o220.Parent = o219
  2908.  
  2909. runDummyScript(function()
  2910. --function add(p)
  2911. script.Parent.ChildRemoved:connect(function()
  2912. --local a = script.Parent.Parent.Safe:FindFirstChild("SeatWeld")
  2913. --if a ~= nil then return end
  2914. wait(1)
  2915. script.Parent.Parent.Parent.Parent.Parent:remove()
  2916. end)
  2917. --[[for i = 1, 6 do
  2918. local ex = Instance.new("Explosion")
  2919. ex.Position = script.Parent.Position + Vector3.new(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  2920. ex.BlastRadius = 2
  2921. ex.BlastPressure = 1000
  2922. ex.Parent = game.Workspace
  2923. wait()
  2924. end--]]
  2925. --end
  2926.  
  2927. --script.Parent.ChildAdded:connect(add)
  2928.  
  2929. end,o220)
  2930.  
  2931. o221.Parent = o151
  2932. o222.Parent = o221
  2933. o223.Parent = o222
  2934. o223.BrickColor = BrickColor.new("Bright yellow")
  2935. o223.Position = Vector3.new(14.5550337, 10.5042629, 113.813728)
  2936. o223.Rotation = Vector3.new(173.259995, -87.8499985, 173.209991)
  2937. o223.FormFactor = Enum.FormFactor.Symmetric
  2938. o223.Size = Vector3.new(2, 2, 3)
  2939. o223.CFrame = CFrame.new(14.5550337, 10.5042629, 113.813728, -0.0372107178, -0.00443084026, -0.999298155, -0.00103392976, 0.999989808, -0.00439534197, 0.999307036, 0.000869570882, -0.037203148)
  2940. o223.BackSurface = Enum.SurfaceType.Weld
  2941. o223.BottomSurface = Enum.SurfaceType.Smooth
  2942. o223.TopSurface = Enum.SurfaceType.Smooth
  2943. o223.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2944. o223.Position = Vector3.new(14.5550337, 10.5042629, 113.813728)
  2945. o224.Parent = o222
  2946. o224.BrickColor = BrickColor.new("Bright yellow")
  2947. o224.Position = Vector3.new(17.0554924, 10.0152397, 113.906319)
  2948. o224.Rotation = Vector3.new(173.259995, -87.8499985, -6.78999996)
  2949. o224.FormFactor = Enum.FormFactor.Symmetric
  2950. o224.Size = Vector3.new(2, 1, 2)
  2951. o224.CFrame = CFrame.new(17.0554924, 10.0152397, 113.906319, 0.0372107029, 0.00443084026, -0.999298155, 0.00103392953, -0.999989808, -0.00439534197, -0.999307036, -0.000869570998, -0.0372031629)
  2952. o224.BackSurface = Enum.SurfaceType.Weld
  2953. o224.BottomSurface = Enum.SurfaceType.Weld
  2954. o224.TopSurface = Enum.SurfaceType.Weld
  2955. o224.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2956. o224.Position = Vector3.new(17.0554924, 10.0152397, 113.906319)
  2957. o225.Parent = o224
  2958. o225.MeshType = Enum.MeshType.Wedge
  2959. o226.Parent = o222
  2960. o226.BrickColor = BrickColor.new("Really black")
  2961. o226.Position = Vector3.new(17.0488434, 11.5152359, 113.907623)
  2962. o226.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
  2963. o226.FormFactor = Enum.FormFactor.Symmetric
  2964. o226.Size = Vector3.new(2, 2, 2)
  2965. o226.CFrame = CFrame.new(17.0488434, 11.5152359, 113.907623, -0.999298155, -0.00443084026, 0.0372106731, -0.00439534197, 0.999989808, 0.00103392918, -0.0372031927, 0.000869571173, -0.999307036)
  2966. o226.BottomSurface = Enum.SurfaceType.Weld
  2967. o226.TopSurface = Enum.SurfaceType.Weld
  2968. o226.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2969. o226.Position = Vector3.new(17.0488434, 11.5152359, 113.907623)
  2970. o227.Parent = o222
  2971. o227.BrickColor = BrickColor.new("Bright yellow")
  2972. o227.Position = Vector3.new(16.5425415, 13.0130243, 113.890312)
  2973. o227.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  2974. o227.FormFactor = Enum.FormFactor.Symmetric
  2975. o227.Size = Vector3.new(2, 1, 1)
  2976. o227.CFrame = CFrame.new(16.5425415, 13.0130243, 113.890312, 0.0372108482, -0.00443084119, 0.999298155, 0.00103393116, 0.999989808, 0.0043953415, -0.999307036, 0.000869570009, 0.0372030176)
  2977. o227.BackSurface = Enum.SurfaceType.Weld
  2978. o227.BottomSurface = Enum.SurfaceType.Weld
  2979. o227.TopSurface = Enum.SurfaceType.Weld
  2980. o227.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2981. o227.Position = Vector3.new(16.5425415, 13.0130243, 113.890312)
  2982. o228.Parent = o227
  2983. o228.MeshType = Enum.MeshType.Wedge
  2984. o229.Parent = o227
  2985. o229.Texture = "http://www.roblox.com/asset/?id=13402884"
  2986. o230.Parent = o222
  2987. o230.BrickColor = BrickColor.new("Bright yellow")
  2988. o230.Position = Vector3.new(17.5418472, 13.0174198, 113.927513)
  2989. o230.Rotation = Vector3.new(173.259995, -87.8499985, 173.209991)
  2990. o230.FormFactor = Enum.FormFactor.Symmetric
  2991. o230.Size = Vector3.new(2, 1, 1)
  2992. o230.CFrame = CFrame.new(17.5418472, 13.0174198, 113.927513, -0.0372108482, -0.00443084119, -0.999298155, -0.00103393116, 0.999989808, -0.0043953415, 0.999307036, 0.000869570009, -0.0372030176)
  2993. o230.BackSurface = Enum.SurfaceType.Weld
  2994. o230.BottomSurface = Enum.SurfaceType.Weld
  2995. o230.TopSurface = Enum.SurfaceType.Weld
  2996. o230.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2997. o230.Position = Vector3.new(17.5418472, 13.0174198, 113.927513)
  2998. o231.Parent = o230
  2999. o231.MeshType = Enum.MeshType.Wedge
  3000. o232.Parent = o230
  3001. o232.Texture = "http://www.roblox.com/asset/?id=13402884"
  3002. o233.Parent = o221
  3003. o234.Name = "Switch"
  3004. o234.Parent = o233
  3005. o234.BrickColor = BrickColor.new("Bright green")
  3006. o234.Position = Vector3.new(14.1050806, 14.9992819, 117.30407)
  3007. o234.Rotation = Vector3.new(-89.9499969, -0.25, 87.8699951)
  3008. o234.CanCollide = false
  3009. o234.FormFactor = Enum.FormFactor.Plate
  3010. o234.Size = Vector3.new(1, 0.400000006, 1)
  3011. o234.CFrame = CFrame.new(14.1050806, 14.9992819, 117.30407, 0.0372057967, -0.999297917, -0.00443072803, 0.00103387667, -0.00439529121, 0.999989808, -0.999307096, -0.037207976, 0.000869606447)
  3012. o234.BottomSurface = Enum.SurfaceType.Weld
  3013. o234.TopSurface = Enum.SurfaceType.Weld
  3014. o234.Color = Color3.new(0.294118, 0.592157, 0.294118)
  3015. o234.Position = Vector3.new(14.1050806, 14.9992819, 117.30407)
  3016. o235.Name = "GunSound"
  3017. o235.Parent = o234
  3018. o235.SoundId = "http://www.roblox.com/asset?id=2101148"
  3019. o235.Volume = 1
  3020. o236.Parent = o234
  3021. o236.MaxActivationDistance = 10
  3022. o237.Name = "CannonBall"
  3023. o237.Parent = o234
  3024. o237.Disabled = true
  3025.  
  3026. runDummyScript(function()
  3027. ball = script.Parent
  3028. damage = 1000
  3029.  
  3030. function onTouched(hit)
  3031.  
  3032.  
  3033. local humanoid = hit.Parent:findFirstChild("Humanoid")
  3034. if humanoid~=nil then
  3035. tagHumanoid(humanoid)
  3036. humanoid.Health = humanoid.Health - damage
  3037. wait(0.01)
  3038. untagHumanoid(humanoid)
  3039. connection:disconnect()
  3040. else
  3041. damage = damage / 2
  3042. if damage < 2 then
  3043. connection:disconnect()
  3044. ball.Parent = nil
  3045. end
  3046. end
  3047.  
  3048. if math.random(1,1) == 1 then
  3049. explosion = Instance.new("Explosion")
  3050. explosion.BlastRadius = 2
  3051. explosion.BlastPressure = 5 -- these are really wussy units
  3052. explosion.Position = script.Parent.Position
  3053. explosion.Parent = game.Workspace
  3054. connection:disconnect()
  3055. ball.Parent = nil
  3056. cancollide = true
  3057. end
  3058.  
  3059. end
  3060.  
  3061. function tagHumanoid(humanoid)
  3062. -- todo: make tag expire
  3063. local tag = ball:findFirstChild("creator")
  3064. if tag ~= nil then
  3065. local new_tag = tag:clone()
  3066. new_tag.Parent = humanoid
  3067. end
  3068. end
  3069.  
  3070.  
  3071. function untagHumanoid(humanoid)
  3072. if humanoid ~= nil then
  3073. local tag = humanoid:findFirstChild("creator")
  3074. if tag ~= nil then
  3075. tag.Parent = nil
  3076. end
  3077. end
  3078. end
  3079.  
  3080. connection = ball.Touched:connect(onTouched)
  3081.  
  3082. r = game:service("RunService")
  3083. t, s = r.Stepped:wait()
  3084. d = t + 5.0 - s
  3085. while t < d do
  3086. t = r.Stepped:wait()
  3087. end
  3088.  
  3089. ball.Parent = nil
  3090. end,o237)
  3091.  
  3092. o238.Name = "FireGun"
  3093. o238.Parent = o234
  3094.  
  3095. runDummyScript(function()
  3096. local switch = script.Parent
  3097. local gunBarrelOne = script.Parent.Parent.GunBarrel.One
  3098.  
  3099. local debounce = false
  3100. local gunOne = true
  3101.  
  3102. local cannonBall = Instance.new("Part")
  3103. cannonBall.Size = Vector3.new(1,1,1)
  3104. cannonBall.BrickColor = BrickColor.new(26) -- Really black
  3105. cannonBall.Shape = 0
  3106. cannonBall.BottomSurface = 0
  3107. cannonBall.TopSurface = 0
  3108. cannonBall.Name = "Cannon Shot"
  3109. cannonBall.Elasticity = .1
  3110. cannonBall.Reflectance = 0
  3111. cannonBall.Friction = 0
  3112.  
  3113. function fire(player)
  3114.  
  3115. local sound = script.Parent:findFirstChild("GunSound")
  3116. if sound == nil then
  3117. sound = Instance.new("Sound")
  3118. sound.Name = "GunSound"
  3119. sound.SoundId = "http://www.roblox.com/asset?id=2101148"
  3120. sound.Volume = 1
  3121. sound.Parent = script.Parent
  3122. end
  3123. sound:play()
  3124.  
  3125.  
  3126.  
  3127.  
  3128. local missile = Instance.new("Part")
  3129.  
  3130.  
  3131. local barrel
  3132.  
  3133. if gunOne == true then
  3134. barrel = gunBarrelOne
  3135. gunOne = true
  3136.  
  3137. end
  3138.  
  3139. local spawnPos = barrel.CFrame * Vector3.new(6, 0, 0)
  3140.  
  3141. local dx = math.random(50,50)
  3142. local dy = math.random(0,0)
  3143. local dz = math.random(0,0)
  3144. local mag = math.random(300,300)
  3145.  
  3146. local v = barrel.CFrame:vectorToWorldSpace(Vector3.new(mag + dx,dy,dz))
  3147.  
  3148. local missile = cannonBall:clone()
  3149.  
  3150. missile.Position = spawnPos
  3151. missile.Velocity = v
  3152.  
  3153.  
  3154.  
  3155. local new_script = script.Parent.CannonBall:clone()
  3156. new_script.Disabled = false
  3157. new_script.Parent = missile
  3158.  
  3159. local creator_tag = Instance.new("ObjectValue")
  3160. creator_tag.Value = player
  3161. creator_tag.Name = "creator"
  3162. creator_tag.Parent = missile
  3163.  
  3164.  
  3165.  
  3166. missile.Parent = game.Workspace
  3167.  
  3168. end
  3169.  
  3170. function onClicked()
  3171. if debounce == false then
  3172. debounce = true
  3173. switch.BrickColor = BrickColor.new(21)
  3174. -- let slip the dogs of war
  3175. fire(player)
  3176. wait(.1)
  3177.  
  3178. wait(0.5)
  3179. debounce = false
  3180. switch.BrickColor = BrickColor.new(37)
  3181. end
  3182. end
  3183.  
  3184.  
  3185. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  3186.  
  3187.  
  3188.  
  3189. end,o238)
  3190.  
  3191. o239.Parent = o234
  3192. o239.Texture = "http://www.roblox.com/asset/?id=17375531"
  3193. o239.Face = Enum.NormalId.Bottom
  3194. o240.Name = "GunBarrel"
  3195. o240.Parent = o233
  3196. o241.Name = "One"
  3197. o241.Parent = o240
  3198. o241.BrickColor = BrickColor.new("Really black")
  3199. o241.Position = Vector3.new(12.0567865, 10.4932709, 113.720718)
  3200. o241.Rotation = Vector3.new(90.0499954, 0.25, -177.869995)
  3201. o241.FormFactor = Enum.FormFactor.Symmetric
  3202. o241.Shape = Enum.PartType.Cylinder
  3203. o241.Size = Vector3.new(2, 2, 2)
  3204. o241.CFrame = CFrame.new(12.0567865, 10.4932709, 113.720718, -0.999298155, 0.0372107327, 0.00443084026, -0.00439534197, 0.00103392999, -0.999989808, -0.0372031331, -0.999307036, -0.000869570766)
  3205. o241.BottomSurface = Enum.SurfaceType.Smooth
  3206. o241.LeftSurface = Enum.SurfaceType.Weld
  3207. o241.TopSurface = Enum.SurfaceType.Smooth
  3208. o241.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3209. o241.Position = Vector3.new(12.0567865, 10.4932709, 113.720718)
  3210. o242.Parent = o221
  3211. o243.Parent = o242
  3212. o243.BrickColor = BrickColor.new("Bright yellow")
  3213. o243.Position = Vector3.new(18.8317242, 14.0183163, 119.480339)
  3214. o243.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3215. o243.FormFactor = Enum.FormFactor.Symmetric
  3216. o243.Size = Vector3.new(7, 3, 2)
  3217. o243.CFrame = CFrame.new(18.8317242, 14.0183163, 119.480339, 0.0371992551, -0.00443075923, 0.999298036, 0.00103380519, 0.999989808, 0.00439534243, -0.999307334, 0.000869575306, 0.0372033678)
  3218. o243.BottomSurface = Enum.SurfaceType.Weld
  3219. o243.TopSurface = Enum.SurfaceType.Weld
  3220. o243.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3221. o243.Position = Vector3.new(18.8317242, 14.0183163, 119.480339)
  3222. o244.Parent = o242
  3223. o244.BrickColor = BrickColor.new("Light blue")
  3224. o244.Transparency = 0.60000002384186
  3225. o244.Position = Vector3.new(14.8212423, 17.0007114, 119.334145)
  3226. o244.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3227. o244.CanCollide = false
  3228. o244.FormFactor = Enum.FormFactor.Symmetric
  3229. o244.Size = Vector3.new(7, 1, 2)
  3230. o244.CFrame = CFrame.new(14.8212423, 17.0007114, 119.334145, 0.0372015499, -0.00443077506, 0.999298096, 0.00103383034, 0.999989808, 0.00439532846, -0.999307275, 0.000869559823, 0.0372010767)
  3231. o244.BottomSurface = Enum.SurfaceType.Weld
  3232. o244.TopSurface = Enum.SurfaceType.Weld
  3233. o244.Color = Color3.new(0.705882, 0.823529, 0.894118)
  3234. o244.Position = Vector3.new(14.8212423, 17.0007114, 119.334145)
  3235. o245.Parent = o244
  3236. o245.MeshType = Enum.MeshType.Wedge
  3237. o246.Parent = o242
  3238. o246.BrickColor = BrickColor.new("Light blue")
  3239. o246.Transparency = 0.60000002384186
  3240. o246.Position = Vector3.new(15.717803, 15.0020247, 122.367538)
  3241. o246.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3242. o246.CanCollide = false
  3243. o246.FormFactor = Enum.FormFactor.Symmetric
  3244. o246.Size = Vector3.new(1, 3, 4)
  3245. o246.CFrame = CFrame.new(15.717803, 15.0020247, 122.367538, 0.0371993817, -0.00443076016, 0.999298036, 0.00103380659, 0.999989808, 0.0043953415, -0.999307334, 0.000869574433, 0.0372032411)
  3246. o246.BottomSurface = Enum.SurfaceType.Weld
  3247. o246.TopSurface = Enum.SurfaceType.Weld
  3248. o246.Color = Color3.new(0.705882, 0.823529, 0.894118)
  3249. o246.Position = Vector3.new(15.717803, 15.0020247, 122.367538)
  3250. o247.Parent = o242
  3251. o247.BrickColor = BrickColor.new("Bright yellow")
  3252. o247.Position = Vector3.new(16.819849, 17.0095024, 119.408508)
  3253. o247.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3254. o247.CanCollide = false
  3255. o247.FormFactor = Enum.FormFactor.Symmetric
  3256. o247.Size = Vector3.new(7, 1, 2)
  3257. o247.CFrame = CFrame.new(16.819849, 17.0095024, 119.408508, 0.0371999182, -0.00443076389, 0.999298036, 0.00103381253, 0.999989808, 0.00439533824, -0.999307334, 0.000869570824, 0.0372027047)
  3258. o247.BackSurface = Enum.SurfaceType.Weld
  3259. o247.BottomSurface = Enum.SurfaceType.Weld
  3260. o247.FrontSurface = Enum.SurfaceType.Weld
  3261. o247.TopSurface = Enum.SurfaceType.Smooth
  3262. o247.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3263. o247.Position = Vector3.new(16.819849, 17.0095024, 119.408508)
  3264. o248.Parent = o242
  3265. o248.BrickColor = BrickColor.new("Light blue")
  3266. o248.Transparency = 0.60000002384186
  3267. o248.Position = Vector3.new(15.9410095, 15.0082283, 116.371712)
  3268. o248.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3269. o248.CanCollide = false
  3270. o248.FormFactor = Enum.FormFactor.Symmetric
  3271. o248.Size = Vector3.new(1, 3, 4)
  3272. o248.CFrame = CFrame.new(15.9410095, 15.0082283, 116.371712, 0.037201535, -0.00443077506, 0.999298096, 0.00103383011, 0.999989808, 0.00439532846, -0.999307275, 0.000869559939, 0.0372010916)
  3273. o248.BottomSurface = Enum.SurfaceType.Weld
  3274. o248.TopSurface = Enum.SurfaceType.Weld
  3275. o248.Color = Color3.new(0.705882, 0.823529, 0.894118)
  3276. o248.Position = Vector3.new(15.9410095, 15.0082283, 116.371712)
  3277. o249.Parent = o242
  3278. o249.BrickColor = BrickColor.new("Really black")
  3279. o249.Position = Vector3.new(18.8427925, 11.5183401, 119.478195)
  3280. o249.Rotation = Vector3.new(-89.9499969, -0.25, -92.1299973)
  3281. o249.FormFactor = Enum.FormFactor.Symmetric
  3282. o249.Size = Vector3.new(7, 2, 2)
  3283. o249.CFrame = CFrame.new(18.8427925, 11.5183401, 119.478195, -0.0371992253, 0.999298036, -0.00443075923, -0.00103380485, 0.00439534243, 0.999989808, 0.999307334, 0.0372033976, 0.000869575539)
  3284. o249.BackSurface = Enum.SurfaceType.Weld
  3285. o249.BottomSurface = Enum.SurfaceType.Weld
  3286. o249.TopSurface = Enum.SurfaceType.Weld
  3287. o249.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3288. o249.Position = Vector3.new(18.8427925, 11.5183401, 119.478195)
  3289. o250.Parent = o249
  3290. o250.MeshType = Enum.MeshType.Wedge
  3291. o251.Parent = o242
  3292. o251.BrickColor = BrickColor.new("Really black")
  3293. o251.Position = Vector3.new(18.820652, 16.5182934, 119.482513)
  3294. o251.Rotation = Vector3.new(90.0499954, 0.25, -87.8699951)
  3295. o251.FormFactor = Enum.FormFactor.Symmetric
  3296. o251.Size = Vector3.new(7, 2, 2)
  3297. o251.CFrame = CFrame.new(18.820652, 16.5182934, 119.482513, 0.03719927, 0.999298036, 0.00443075923, 0.00103380543, 0.00439534243, -0.999989808, -0.999307334, 0.0372033529, -0.000869575189)
  3298. o251.BackSurface = Enum.SurfaceType.Weld
  3299. o251.BottomSurface = Enum.SurfaceType.Weld
  3300. o251.TopSurface = Enum.SurfaceType.Weld
  3301. o251.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3302. o251.Position = Vector3.new(18.820652, 16.5182934, 119.482513)
  3303. o252.Parent = o251
  3304. o252.MeshType = Enum.MeshType.Wedge
  3305. o253.Parent = o251
  3306. o253.Texture = "http://www.roblox.com/asset/?id=13402884"
  3307. o253.Face = Enum.NormalId.Right
  3308. o254.Parent = o251
  3309. o254.Texture = "http://www.roblox.com/asset/?id=13402884"
  3310. o254.Face = Enum.NormalId.Left
  3311. o255.Parent = o242
  3312. o255.BrickColor = BrickColor.new("Really black")
  3313. o255.Position = Vector3.new(16.6909657, 12.5054045, 123.401855)
  3314. o255.Rotation = Vector3.new(-6.73999977, 87.8499985, -83.2099991)
  3315. o255.FormFactor = Enum.FormFactor.Symmetric
  3316. o255.Size = Vector3.new(2, 1, 2)
  3317. o255.CFrame = CFrame.new(16.6909657, 12.5054045, 123.401855, 0.00443076575, 0.037200097, 0.999298036, -0.999989808, 0.00103381439, 0.00439533684, -0.00086956966, -0.999307334, 0.0372025259)
  3318. o255.BottomSurface = Enum.SurfaceType.Weld
  3319. o255.TopSurface = Enum.SurfaceType.Weld
  3320. o255.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3321. o255.Position = Vector3.new(16.6909657, 12.5054045, 123.401855)
  3322. o256.Parent = o255
  3323. o257.Parent = o242
  3324. o257.BrickColor = BrickColor.new("Really black")
  3325. o257.Position = Vector3.new(16.2307377, 12.0042439, 122.38353)
  3326. o257.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3327. o257.FormFactor = Enum.FormFactor.Symmetric
  3328. o257.Size = Vector3.new(1, 3, 3)
  3329. o257.CFrame = CFrame.new(16.2307377, 12.0042439, 122.38353, 0.0371996686, -0.00443076249, 0.999298036, 0.00103380973, 0.999989808, 0.00439533964, -0.999307334, 0.00086957257, 0.0372029543)
  3330. o257.BottomSurface = Enum.SurfaceType.Weld
  3331. o257.TopSurface = Enum.SurfaceType.Weld
  3332. o257.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3333. o257.Position = Vector3.new(16.2307377, 12.0042439, 122.38353)
  3334. o258.Parent = o242
  3335. o258.BrickColor = BrickColor.new("Really black")
  3336. o258.Position = Vector3.new(16.9885902, 12.5136766, 115.40744)
  3337. o258.Rotation = Vector3.new(-6.73999977, 87.8499985, -83.2099991)
  3338. o258.FormFactor = Enum.FormFactor.Symmetric
  3339. o258.Size = Vector3.new(2, 1, 2)
  3340. o258.CFrame = CFrame.new(16.9885902, 12.5136766, 115.40744, 0.00443083979, 0.0372106098, 0.999298155, -0.999989808, 0.00103392859, 0.00439534243, -0.000869571581, -0.999307036, 0.037203256)
  3341. o258.BottomSurface = Enum.SurfaceType.Weld
  3342. o258.TopSurface = Enum.SurfaceType.Weld
  3343. o258.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3344. o258.Position = Vector3.new(16.9885902, 12.5136766, 115.40744)
  3345. o259.Parent = o258
  3346. o260.Parent = o242
  3347. o260.BrickColor = BrickColor.new("Light blue")
  3348. o260.Transparency = 0.60000002384186
  3349. o260.Position = Vector3.new(13.3311539, 14.9941301, 119.276619)
  3350. o260.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3351. o260.CanCollide = false
  3352. o260.FormFactor = Enum.FormFactor.Symmetric
  3353. o260.Size = Vector3.new(7, 3, 1)
  3354. o260.CFrame = CFrame.new(13.3311539, 14.9941301, 119.276619, 0.0372057818, -0.00443072803, 0.999297917, 0.00103387644, 0.999989808, 0.00439529121, -0.999307096, 0.000869606563, 0.0372079909)
  3355. o260.BottomSurface = Enum.SurfaceType.Weld
  3356. o260.TopSurface = Enum.SurfaceType.Weld
  3357. o260.Color = Color3.new(0.705882, 0.823529, 0.894118)
  3358. o260.Position = Vector3.new(13.3311539, 14.9941301, 119.276619)
  3359. o261.Parent = o260
  3360. o261.MeshType = Enum.MeshType.Wedge
  3361. o262.Parent = o242
  3362. o262.BrickColor = BrickColor.new("Really black")
  3363. o262.Position = Vector3.new(16.4539661, 12.0104523, 116.387711)
  3364. o262.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3365. o262.FormFactor = Enum.FormFactor.Symmetric
  3366. o262.Size = Vector3.new(1, 3, 3)
  3367. o262.CFrame = CFrame.new(16.4539661, 12.0104523, 116.387711, 0.0372057632, -0.00443080673, 0.999297857, 0.00103387586, 0.999989808, 0.0043953713, -0.999307096, 0.000869604177, 0.0372080989)
  3368. o262.BottomSurface = Enum.SurfaceType.Weld
  3369. o262.TopSurface = Enum.SurfaceType.Weld
  3370. o262.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3371. o262.Position = Vector3.new(16.4539661, 12.0104523, 116.387711)
  3372. o263.Parent = o242
  3373. o263.BrickColor = BrickColor.new("Bright yellow")
  3374. o263.Position = Vector3.new(14.229928, 12.4954462, 122.30954)
  3375. o263.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3376. o263.FormFactor = Enum.FormFactor.Symmetric
  3377. o263.Size = Vector3.new(1, 2, 1)
  3378. o263.CFrame = CFrame.new(14.229928, 12.4954462, 122.30954, 0.0372015089, -0.00443077506, 0.999298155, 0.00103382976, 0.999989808, 0.00439532846, -0.999307215, 0.00086956023, 0.0372011177)
  3379. o263.BackSurface = Enum.SurfaceType.Weld
  3380. o263.BottomSurface = Enum.SurfaceType.Weld
  3381. o263.TopSurface = Enum.SurfaceType.Weld
  3382. o263.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3383. o263.Position = Vector3.new(14.229928, 12.4954462, 122.30954)
  3384. o264.Parent = o242
  3385. o264.BrickColor = BrickColor.new("Bright yellow")
  3386. o264.Position = Vector3.new(14.4531488, 12.5016565, 116.313721)
  3387. o264.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3388. o264.FormFactor = Enum.FormFactor.Symmetric
  3389. o264.Size = Vector3.new(1, 2, 1)
  3390. o264.CFrame = CFrame.new(14.4531488, 12.5016565, 116.313721, 0.0372111164, -0.00443084491, 0.999297976, 0.0010339343, 0.999989808, 0.00439535966, -0.999306858, 0.000869590265, 0.0372061655)
  3391. o264.BackSurface = Enum.SurfaceType.Weld
  3392. o264.BottomSurface = Enum.SurfaceType.Weld
  3393. o264.TopSurface = Enum.SurfaceType.Weld
  3394. o264.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3395. o264.Position = Vector3.new(14.4531488, 12.5016565, 116.313721)
  3396. o265.Parent = o242
  3397. o265.BrickColor = BrickColor.new("Bright yellow")
  3398. o265.Position = Vector3.new(16.3511963, 10.0073576, 119.383865)
  3399. o265.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3400. o265.FormFactor = Enum.FormFactor.Symmetric
  3401. o265.Size = Vector3.new(7, 1, 3)
  3402. o265.CFrame = CFrame.new(16.3511963, 10.0073576, 119.383865, 0.0371992253, -0.00443075923, 0.999298036, 0.00103380485, 0.999989808, 0.00439534243, -0.999307334, 0.000869575539, 0.0372033976)
  3403. o265.BottomSurface = Enum.SurfaceType.Smooth
  3404. o265.TopSurface = Enum.SurfaceType.Weld
  3405. o265.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3406. o265.Position = Vector3.new(16.3511963, 10.0073576, 119.383865)
  3407. o266.Parent = o242
  3408. o266.BrickColor = BrickColor.new("Really black")
  3409. o266.Position = Vector3.new(13.342226, 12.4941559, 119.274445)
  3410. o266.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3411. o266.FormFactor = Enum.FormFactor.Symmetric
  3412. o266.Size = Vector3.new(7, 2, 1)
  3413. o266.CFrame = CFrame.new(13.342226, 12.4941559, 119.274445, 0.0372057669, -0.00443072803, 0.999297917, 0.00103387621, 0.999989808, 0.00439529121, -0.999307096, 0.00086960668, 0.0372080058)
  3414. o266.BackSurface = Enum.SurfaceType.Weld
  3415. o266.BottomSurface = Enum.SurfaceType.Weld
  3416. o266.TopSurface = Enum.SurfaceType.Weld
  3417. o266.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3418. o266.Position = Vector3.new(13.342226, 12.4941559, 119.274445)
  3419. o267.Parent = o242
  3420. o267.BrickColor = BrickColor.new("Bright yellow")
  3421. o267.Position = Vector3.new(13.8507414, 10.4963741, 119.291275)
  3422. o267.Rotation = Vector3.new(-89.9499969, -0.25, 87.8699951)
  3423. o267.FormFactor = Enum.FormFactor.Symmetric
  3424. o267.Size = Vector3.new(7, 2, 2)
  3425. o267.CFrame = CFrame.new(13.8507414, 10.4963741, 119.291275, 0.0372001939, -0.999298096, -0.00443076622, 0.00103381544, -0.00439533638, 0.999989808, -0.999307275, -0.0372024328, 0.000869569078)
  3426. o267.BackSurface = Enum.SurfaceType.Weld
  3427. o267.BottomSurface = Enum.SurfaceType.Weld
  3428. o267.TopSurface = Enum.SurfaceType.Weld
  3429. o267.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3430. o267.Position = Vector3.new(13.8507414, 10.4963741, 119.291275)
  3431. o268.Parent = o267
  3432. o268.MeshType = Enum.MeshType.Wedge
  3433. o269.Parent = o221
  3434. o270.Name = "JointBreaker"
  3435. o270.Parent = o269
  3436. o270.Material = Enum.Material.DiamondPlate
  3437. o270.BrickColor = BrickColor.new("Really black")
  3438. o270.Position = Vector3.new(10.8481083, 10.4783802, 124.683357)
  3439. o270.Rotation = Vector3.new(-179.940002, 2.12999988, 89.75)
  3440. o270.FormFactor = Enum.FormFactor.Plate
  3441. o270.Size = Vector3.new(2, 3.60000014, 2)
  3442. o270.CFrame = CFrame.new(10.8481083, 10.4783802, 124.683357, 0.00443080906, -0.999298394, 0.0372064374, -0.999989808, -0.00439529959, 0.00103388354, -0.000869526935, -0.0371961892, -0.999307096)
  3443. o270.BottomSurface = Enum.SurfaceType.Smooth
  3444. o270.TopSurface = Enum.SurfaceType.Weld
  3445. o270.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3446. o270.Position = Vector3.new(10.8481083, 10.4783802, 124.683357)
  3447. o271.Parent = o270
  3448.  
  3449. runDummyScript(function()
  3450. function onTouched(hit)
  3451.  
  3452.  
  3453.  
  3454. hit:BreakJoints()
  3455.  
  3456.  
  3457.  
  3458. end
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466. connection = script.Parent.Touched:connect(onTouched)
  3467.  
  3468.  
  3469.  
  3470.  
  3471. end,o271)
  3472.  
  3473. o272.Parent = o270
  3474. o272.MeshType = Enum.MeshType.Torso
  3475. o273.Parent = o269
  3476. o273.BrickColor = BrickColor.new("Bright yellow")
  3477. o273.Position = Vector3.new(14.1457987, 10.4928923, 124.806091)
  3478. o273.Rotation = Vector3.new(173.259995, -87.8499985, 173.209991)
  3479. o273.FormFactor = Enum.FormFactor.Symmetric
  3480. o273.Size = Vector3.new(2, 2, 3)
  3481. o273.CFrame = CFrame.new(14.1457987, 10.4928923, 124.806091, -0.0372064225, -0.00443080906, -0.999298394, -0.00103388331, 0.999989808, -0.00439529959, 0.999307096, 0.000869527052, -0.0371962041)
  3482. o273.BackSurface = Enum.SurfaceType.Weld
  3483. o273.BottomSurface = Enum.SurfaceType.Smooth
  3484. o273.TopSurface = Enum.SurfaceType.Smooth
  3485. o273.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3486. o273.Position = Vector3.new(14.1457987, 10.4928923, 124.806091)
  3487. o274.Parent = o269
  3488. o274.BrickColor = BrickColor.new("Really black")
  3489. o274.Position = Vector3.new(16.6462574, 10.0038795, 124.898643)
  3490. o274.Rotation = Vector3.new(173.259995, -87.8499985, -6.78999996)
  3491. o274.FormFactor = Enum.FormFactor.Symmetric
  3492. o274.Size = Vector3.new(2, 1, 2)
  3493. o274.CFrame = CFrame.new(16.6462574, 10.0038795, 124.898643, 0.0372063927, 0.00443080906, -0.999298394, 0.00103388296, -0.999989808, -0.00439529959, -0.999307096, -0.000869527226, -0.0371962339)
  3494. o274.BackSurface = Enum.SurfaceType.Weld
  3495. o274.BottomSurface = Enum.SurfaceType.Weld
  3496. o274.TopSurface = Enum.SurfaceType.Weld
  3497. o274.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3498. o274.Position = Vector3.new(16.6462574, 10.0038795, 124.898643)
  3499. o275.Parent = o274
  3500. o275.MeshType = Enum.MeshType.Wedge
  3501. o276.Parent = o269
  3502. o276.BrickColor = BrickColor.new("Really black")
  3503. o276.Position = Vector3.new(16.6396065, 11.50387, 124.899948)
  3504. o276.Rotation = Vector3.new(-179.940002, 2.12999988, 179.75)
  3505. o276.FormFactor = Enum.FormFactor.Symmetric
  3506. o276.Size = Vector3.new(2, 2, 2)
  3507. o276.CFrame = CFrame.new(16.6396065, 11.50387, 124.899948, -0.999298334, -0.00443079649, 0.0372045897, -0.0043953103, 0.999989808, 0.00103386329, -0.0371980369, 0.000869539392, -0.999307156)
  3508. o276.BottomSurface = Enum.SurfaceType.Weld
  3509. o276.TopSurface = Enum.SurfaceType.Weld
  3510. o276.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3511. o276.Position = Vector3.new(16.6396065, 11.50387, 124.899948)
  3512. o277.Parent = o269
  3513. o277.BrickColor = BrickColor.new("Bright yellow")
  3514. o277.Position = Vector3.new(17.1326103, 13.006052, 124.919838)
  3515. o277.Rotation = Vector3.new(173.259995, -87.8499985, 173.209991)
  3516. o277.FormFactor = Enum.FormFactor.Symmetric
  3517. o277.Size = Vector3.new(2, 1, 1)
  3518. o277.CFrame = CFrame.new(17.1326103, 13.006052, 124.919838, -0.0372072458, -0.00443081511, -0.999298453, -0.00103389216, 0.999989808, -0.004395294, 0.999307036, 0.000869521464, -0.0371953771)
  3519. o277.BackSurface = Enum.SurfaceType.Weld
  3520. o277.BottomSurface = Enum.SurfaceType.Weld
  3521. o277.TopSurface = Enum.SurfaceType.Weld
  3522. o277.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3523. o277.Position = Vector3.new(17.1326103, 13.006052, 124.919838)
  3524. o278.Parent = o277
  3525. o278.MeshType = Enum.MeshType.Wedge
  3526. o279.Parent = o277
  3527. o279.Texture = "http://www.roblox.com/asset/?id=13402884"
  3528. o280.Parent = o269
  3529. o280.BrickColor = BrickColor.new("Bright yellow")
  3530. o280.Position = Vector3.new(16.1333027, 13.0016546, 124.882652)
  3531. o280.Rotation = Vector3.new(-6.73999977, 87.8499985, 6.78999996)
  3532. o280.FormFactor = Enum.FormFactor.Symmetric
  3533. o280.Size = Vector3.new(2, 1, 1)
  3534. o280.CFrame = CFrame.new(16.1333027, 13.0016546, 124.882652, 0.0372001119, -0.00443076575, 0.999298036, 0.00103381462, 0.999989808, 0.00439533684, -0.999307334, 0.000869569543, 0.037202511)
  3535. o280.BackSurface = Enum.SurfaceType.Weld
  3536. o280.BottomSurface = Enum.SurfaceType.Weld
  3537. o280.TopSurface = Enum.SurfaceType.Weld
  3538. o280.Color = Color3.new(0.960784, 0.803922, 0.188235)
  3539. o280.Position = Vector3.new(16.1333027, 13.0016546, 124.882652)
  3540. o281.Parent = o280
  3541. o281.MeshType = Enum.MeshType.Wedge
  3542. o282.Parent = o280
  3543. o282.Texture = "http://www.roblox.com/asset/?id=13402884"
  3544. o283.Parent = o151
  3545. o283.BrickColor = BrickColor.new("Black")
  3546. o283.Position = Vector3.new(20.3302288, 14.1249123, 119.536232)
  3547. o283.Rotation = Vector3.new(173.259995, -87.8499985, 173.209991)
  3548. o283.Size = Vector3.new(5, 1.20000005, 1)
  3549. o283.CFrame = CFrame.new(20.3302288, 14.1249123, 119.536232, -0.03719927, -0.00443075923, -0.999298036, -0.00103380543, 0.999989808, -0.00439534243, 0.999307334, 0.000869575189, -0.0372033529)
  3550. o283.BackSurface = Enum.SurfaceType.Weld
  3551. o283.BottomSurface = Enum.SurfaceType.Weld
  3552. o283.FrontSurface = Enum.SurfaceType.Weld
  3553. o283.LeftSurface = Enum.SurfaceType.Weld
  3554. o283.RightSurface = Enum.SurfaceType.Weld
  3555. o283.TopSurface = Enum.SurfaceType.Weld
  3556. o283.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3557. o283.Position = Vector3.new(20.3302288, 14.1249123, 119.536232)
  3558. o284.Parent = o283
  3559. o284.MaxActivationDistance = 9.9999997781963e+21
  3560. o285.Parent = o283
  3561. o285.force = Vector3.new(0, 0, 0)
  3562. o286.Parent = o283
  3563.  
  3564. runDummyScript(function()
  3565. local isOn = false
  3566.  
  3567. function on()
  3568. isOn = true
  3569. script.Parent.BrickColor = BrickColor.new(29)
  3570. script.Parent.BodyForce.force = Vector3.new(0, 110000, 0)
  3571. end
  3572.  
  3573. function off()
  3574. isOn = false
  3575. script.Parent.BrickColor = BrickColor.new(26)
  3576. script.Parent.BodyForce.force = Vector3.new(0, 0, 0)
  3577. end
  3578.  
  3579. function onClicked()
  3580.  
  3581. if isOn == true then off() else on() end
  3582.  
  3583. end
  3584.  
  3585. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  3586.  
  3587. off()
  3588. end,o286)
  3589.  
  3590. mas.Parent = workspace
  3591. mas:MakeJoints()
  3592. local mas1 = mas:GetChildren()
  3593. for i=1,#mas1 do
  3594. mas1[i].Parent = workspace
  3595. ypcall(function() mas1[i]:MakeJoints() end)
  3596. end
  3597. mas:Destroy()
  3598. for i=1,#cors do
  3599. coroutine.resume(cors[i])
  3600. end
  3601. mess_handle.Text = "Resetting"
  3602. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3603. v:LoadCharacter()
  3604. end
  3605. wait(1)
  3606. mess_handle:Remove()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement