Bubble Bike


SUBMITTED BY: Pamlau

DATE: March 8, 2017, 10:27 a.m.

FORMAT: Lua

SIZE: 77.5 kB

HITS: 150

  1. do --CFrame lerp (stravant, clerp by AntiBoomz0r)
  2. local function QuaternionFromCFrame(cf) -- y u no axis angle interpolation?
  3. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  4. local trace = m00 + m11 + m22
  5. if trace > 0 then
  6. local s = math.sqrt(1 + trace)
  7. local recip = 0.5/s
  8. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  9. else
  10. local i = 0
  11. if m11 > m00 then
  12. i = 1
  13. end
  14. if m22 > (i == 0 and m00 or m11) then
  15. i = 2
  16. end
  17. if i == 0 then
  18. local s = math.sqrt(m00-m11-m22+1)
  19. local recip = 0.5/s
  20. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  21. elseif i == 1 then
  22. local s = math.sqrt(m11-m22-m00+1)
  23. local recip = 0.5/s
  24. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  25. elseif i == 2 then
  26. local s = math.sqrt(m22-m00-m11+1)
  27. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  28. end
  29. end
  30. end
  31. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  32. local xs, ys, zs = x + x, y + y, z + z
  33. local wx, wy, wz = w*xs, w*ys, w*zs
  34. local xx = x*xs
  35. local xy = x*ys
  36. local xz = x*zs
  37. local yy = y*ys
  38. local yz = y*zs
  39. local zz = z*zs
  40. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  41. end
  42. function QuaternionSlerp(a, b, t)
  43. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  44. local startInterp, finishInterp;
  45. if cosTheta >= 0.0001 then
  46. if (1 - cosTheta) > 0.0001 then
  47. local theta = math.acos(cosTheta)
  48. local invSinTheta = 1/math.sin(theta)
  49. startInterp = math.sin((1-t)*theta)*invSinTheta
  50. finishInterp = math.sin(t*theta)*invSinTheta
  51. else
  52. startInterp = 1-t
  53. finishInterp = t
  54. end
  55. else
  56. if (1+cosTheta) > 0.0001 then
  57. local theta = math.acos(-cosTheta)
  58. local invSinTheta = 1/math.sin(theta)
  59. startInterp = math.sin((t-1)*theta)*invSinTheta
  60. finishInterp = math.sin(t*theta)*invSinTheta
  61. else
  62. startInterp = t-1
  63. finishInterp = t
  64. end
  65. end
  66. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  67. end
  68. function clerp(a,b,t)
  69. local qa = {QuaternionFromCFrame(a)}
  70. local qb = {QuaternionFromCFrame(b)}
  71. local ax, ay, az = a.x, a.y, a.z
  72. local bx, by, bz = b.x, b.y, b.z
  73. local _t = 1-t
  74. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  75. end
  76. end
  77. local plr = game:service'Players'.LocalPlayer
  78. local char = plr.Character
  79. local mouse = plr:GetMouse()
  80. local humanoid = char:findFirstChild("Humanoid")
  81. local torso = char:findFirstChild("Torso")
  82. local head = char.Head
  83. local ra = char:findFirstChild("Right Arm")
  84. local la = char:findFirstChild("Left Arm")
  85. local rl = char:findFirstChild("Right Leg")
  86. local ll = char:findFirstChild("Left Leg")
  87. local rs = torso:findFirstChild("Right Shoulder")
  88. local ls = torso:findFirstChild("Left Shoulder")
  89. local rh = torso:findFirstChild("Right Hip")
  90. local lh = torso:findFirstChild("Left Hip")
  91. local neck = torso:findFirstChild("Neck")
  92. local rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  93. local rootpart = char:findFirstChild("HumanoidRootPart")
  94. local camera = workspace.CurrentCamera
  95. local anim = char:findFirstChild("Animate")
  96. if humanoid.Animator then
  97. humanoid.Animator:Destroy()
  98. end
  99. local ABS = math.abs;
  100. local SIN = math.sin;
  101. local ASIN = math.asin;
  102. local COS = math.cos;
  103. local new = Instance.new;
  104. local rm = new('Weld', torso)
  105. rm.C0 = CFrame.new(1.5, 0.5, 0)
  106. rm.C1 = CFrame.new(0, 0.5, 0)
  107. rm.Part0 = torso
  108. rm.Part1 = ra
  109. rm.Name = 'Right Shoulder'
  110. local lm = new("Weld", torso)
  111. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  112. lm.C1 = CFrame.new(0, 0.5, 0)
  113. lm.Part0 = torso
  114. lm.Part1 = la
  115. lm.Name = 'Left Shoulder'
  116. local rlegm = new("Weld", torso)
  117. rlegm.C0 = CFrame.new(0.5, -1, 0)
  118. rlegm.C1 = CFrame.new(0, 1, 0)
  119. rlegm.Part0 = torso
  120. rlegm.Part1 = rl
  121. local llegm = new("Weld", torso)
  122. llegm.C0 = CFrame.new(-0.5, -1, 0)
  123. llegm.C1 = CFrame.new(0, 1, 0)
  124. llegm.Part0 = torso
  125. llegm.Part1 = ll
  126. rj.C0 = CFrame.new()
  127. rj.C1 = CFrame.new()
  128. neck.C0 = CFrame.new(0, 1, 0)
  129. neck.C1 = CFrame.new(0, -0.5, 0)
  130. local speed = 0.3
  131. local angle = 0
  132. local anglespeed = 1
  133. rsc0 = rm.C0
  134. lsc0 = lm.C0
  135. llc0 = llegm.C0
  136. rlc0 = rlegm.C0
  137. rootc0 = rj.C0
  138. neckc0 = neck.C0
  139. function math_pos(float)
  140. if float < 0 then float = 0 end
  141. return float
  142. end
  143. function math_neg(float)
  144. if float > 0 then float = 0 end
  145. return float
  146. end
  147. function math_max(float, max)
  148. if float > max then float = max end
  149. return float
  150. end
  151. function math_min(float, min)
  152. if float < min then float = min end
  153. return float
  154. end
  155. function SharpSin(double_p1)
  156. return ASIN(SIN(double_p1));
  157. end
  158. function WeldP(part0, part1, C0, C1)
  159. local W = new("Weld", char);
  160. W.Part0 = part0;
  161. W.Part1 = part1;
  162. W.C0 = C0 or CFrame.new();
  163. W.C1 = C1 or CFrame.new();
  164. return W;
  165. end
  166. function Bevel(part, sizeV3)
  167. local BvlMesh = new("SpecialMesh", part)
  168. BvlMesh.MeshId = "rbxasset://fonts/torso.mesh";
  169. if (sizeV3 ~= nil) then
  170. BvlMesh.Scale = Vector3.new(sizeV3.x/2, sizeV3.y/2, sizeV3.z);
  171. else
  172. BvlMesh.Scale = Vector3.new(part.Size.x/2, part.Size.y/2, part.Size.z);
  173. end
  174. end
  175. do
  176. local Possible_Colors = {"Lavender", "Bright blue", "White", "Really black", "Dusty Rose"};
  177. local parts,last = {};
  178. local ColorToPaint = Possible_Colors[math.random(#Possible_Colors)];
  179. function WeldChildren(parent)
  180. for _,v in pairs(parent:GetChildren()) do
  181. if (v:IsA("BasePart")) then
  182. v.Anchored = true
  183. if (v.BrickColor == BrickColor.new("Medium stone grey")) then
  184. v.BrickColor = BrickColor.new(ColorToPaint);
  185. end
  186. if (last) then
  187. local w = new("Weld")
  188. w.Name = ("%s_Weld"):format(v.Name)
  189. w.Part0,w.Part1 = last,v
  190. w.C0 = last.CFrame:inverse()
  191. w.C1 = v.CFrame:inverse()
  192. w.Parent = last
  193. end
  194. last = v
  195. table.insert(parts,v)
  196. end
  197. WeldChildren(v)
  198. end
  199. for _,v in pairs(parts) do
  200. v.Anchored = false
  201. v.Locked = true
  202. end
  203. end
  204. end
  205. local Particles = {
  206. AirRing = function(CF, Distance, Color, Opac, Size, Velocity)
  207. local StoredParticles = {};
  208. for Angle = 0, 360, 20 do
  209. local EffectDirection = new("Part", char);
  210. EffectDirection.Anchored = true;
  211. EffectDirection.CanCollide = false;
  212. EffectDirection.CFrame = CF
  213. * CFrame.Angles(math.pi/2, 0, 0)
  214. * CFrame.Angles(0, 0, math.rad(Angle))
  215. * CFrame.new(0, Distance, 0);
  216. EffectDirection.Transparency = 1;
  217. local Smoke = new("Smoke", EffectDirection);
  218. Smoke.Color = Color3.new(Color.r/255, Color.g/255, Color.b/255) or Color3.new(1,1,1);
  219. Smoke.Opacity = Opac or 0.05;
  220. Smoke.Size = Size or 0;
  221. Smoke.RiseVelocity = Velocity or 2;
  222. table.insert(StoredParticles, Smoke);
  223. game:service'Debris':AddItem(EffectDirection, 10);
  224. end
  225. wait(.2);
  226. for Index,Value in next,StoredParticles do
  227. if Value:IsA'Smoke' then
  228. Value.Enabled = false;
  229. end
  230. end
  231. end;
  232. BulletholeParticles = function(Part, hitPart)
  233. do --material splash
  234. local Particle = new("ParticleEmitter", Part);
  235. Particle.VelocitySpread = 30;
  236. Particle.LightEmission = 200;
  237. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1, 0), NumberSequenceKeypoint.new(1, 0.25, 0)})
  238. Particle.Color = ColorSequence.new(Color3.new(hitPart.BrickColor.r, hitPart.BrickColor.g, hitPart.BrickColor.b));
  239. Particle.Texture = "rbxassetid://272031379";
  240. Particle.Rotation = NumberRange.new(0,90);
  241. Particle.Rate = 25;
  242. Particle.Acceleration = Vector3.new(0, -100, 0)
  243. Particle.Speed = NumberRange.new(35);
  244. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
  245. Particle.Lifetime = NumberRange.new(2);
  246. coroutine.wrap(function()
  247. wait(.2)
  248. Particle.Enabled = false;
  249. Particle.Rate = 0;
  250. wait(2)
  251. Particle:Destroy()
  252. end)()
  253. end
  254. do --smoke effect
  255. local Particle = new("ParticleEmitter", Part);
  256. Particle.VelocitySpread = 10;
  257. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0), NumberSequenceKeypoint.new(1, 0.9, 0)})
  258. Particle.Color = ColorSequence.new(Color3.new(hitPart.BrickColor.r, hitPart.BrickColor.g, hitPart.BrickColor.b));
  259. Particle.Texture = "rbxassetid://272031958"; -- replace id
  260. Particle.Rotation = NumberRange.new(0,90);
  261. Particle.Rate = 10;
  262. Particle.Acceleration = Vector3.new(0, -1, 0)
  263. Particle.Speed = NumberRange.new(5);
  264. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
  265. Particle.Lifetime = NumberRange.new(1);
  266. coroutine.wrap(function()
  267. wait(.2)
  268. Particle.Enabled = false;
  269. Particle.Rate = 0;
  270. wait(1)
  271. Particle:Destroy()
  272. end)()
  273. end
  274. end;
  275. };
  276. local Storage = new("Model", char);
  277. local BasePart = new("Part");
  278. BasePart.FormFactor = "Custom";
  279. BasePart.TopSurface = 10;
  280. BasePart.BottomSurface = 10;
  281. BasePart.LeftSurface = 10;
  282. BasePart.RightSurface = 10;
  283. BasePart.FrontSurface = 10;
  284. BasePart.BackSurface = 10;
  285. local CylPart = new("Part");
  286. CylPart.FormFactor = "Custom";
  287. CylPart.TopSurface = 10;
  288. CylPart.BottomSurface = 10;
  289. CylPart.LeftSurface = 10;
  290. CylPart.RightSurface = 10;
  291. CylPart.FrontSurface = 10;
  292. CylPart.BackSurface = 10;
  293. new("CylinderMesh", CylPart);
  294. local m = new("Model")
  295. m.Name = "HOVERBIKE"
  296. Instance.new("Humanoid", m);
  297. m1 = new("Model")
  298. m1.Name = "Front"
  299. m1.Parent = m
  300. m2 = new("Model")
  301. m2.Name = "Middle"
  302. m2.Parent = m
  303. m3 = new("Model")
  304. m3.Name = "Pedals"
  305. m3.Parent = m2
  306. m4 = new("Model")
  307. m4.Name = "Back"
  308. m4.Parent = m
  309. p1 = new("Part", m1)
  310. p1.BrickColor = BrickColor.new("Institutional white")
  311. p1.Material = "SmoothPlastic"
  312. p1.FormFactor = 3
  313. p1.Size = Vector3.new(2.5999999, 2.4000001, 0.800000131)
  314. p1.CFrame = CFrame.new(-70.3000031, 1.79999804, -5.20002365, 0.999993324, 3.57207313e-008, 6.01311001e-008, 3.29292398e-008, -4.47034836e-007, -0.999996185, 5.16903889e-008, 0.999995708, -5.66244125e-007)
  315. p1.BackSurface = 10
  316. p1.BottomSurface = 10
  317. p1.FrontSurface = 10
  318. p1.LeftSurface = 10
  319. p1.RightSurface = 10
  320. p1.TopSurface = 10
  321. b1 = new("CylinderMesh", p1)
  322. b1.Name = "Mesh"
  323. p2 = new("Part", m1)
  324. p2.BrickColor = BrickColor.new("Institutional white")
  325. p2.Material = "SmoothPlastic"
  326. p2.FormFactor = 3
  327. p2.Size = Vector3.new(0.800000012, 1.00000012, 0.800000012)
  328. p2.CFrame = CFrame.new(-71, 1.60000002, -4.69999981, 0.707106769, 0.707106769, 0, -0.49999997, 0.49999997, -0.707106769, -0.49999997, 0.49999997, 0.707106769)
  329. p2.BackSurface = 10
  330. p2.BottomSurface = 10
  331. p2.FrontSurface = 10
  332. p2.LeftSurface = 10
  333. p2.RightSurface = 10
  334. p2.TopSurface = 10
  335. b2 = new("CylinderMesh", p2)
  336. b2.Name = "Mesh"
  337. p3 = new("Part", m1)
  338. p3.BrickColor = BrickColor.new("Medium stone grey")
  339. p3.Material = "SmoothPlastic"
  340. p3.FormFactor = 3
  341. p3.Size = Vector3.new(0.200000033, 1.80000007, 2.26000023)
  342. p3.CFrame = CFrame.new(-69.32798, 2.85687518, -5.29115105, -0.933012664, -0.249999866, -0.258819103, -0.166480377, 0.937541068, -0.305452108, 0.319016516, -0.241902426, -0.916357815)
  343. p3.BackSurface = 10
  344. p3.BottomSurface = 10
  345. p3.FrontSurface = 10
  346. p3.LeftSurface = 10
  347. p3.RightSurface = 10
  348. p3.TopSurface = 10
  349. p4 = new("Part", m1)
  350. p4.BrickColor = BrickColor.new("Medium stone grey")
  351. p4.Material = "SmoothPlastic"
  352. p4.FormFactor = 3
  353. p4.Size = Vector3.new(1.80000007, 0.200000003, 2.31000018)
  354. p4.CFrame = CFrame.new(-71.2271042, 2.84331346, -5.26954222, 0.25000003, 0.933012784, 0.258818537, 0.937540889, -0.166480452, -0.305452794, -0.241903126, 0.319016159, -0.916357756)
  355. p4.BackSurface = 10
  356. p4.BottomSurface = 10
  357. p4.FrontSurface = 10
  358. p4.LeftSurface = 10
  359. p4.RightSurface = 10
  360. p4.TopSurface = 10
  361. p5 = new("Part", m1)
  362. p5.BrickColor = BrickColor.new("Medium stone grey")
  363. p5.Material = "SmoothPlastic"
  364. p5.FormFactor = 3
  365. p5.Size = Vector3.new(0.200000033, 0.570000052, 2.31000018)
  366. p5.CFrame = CFrame.new(-70.7262497, 3.63176894, -5.52089834, 9.7468944e-010, 0.965925813, 0.258819014, 0.948683262, 0.08184582, -0.305452794, -0.316228002, 0.245537266, -0.916357636)
  367. p5.BackSurface = 10
  368. p5.BottomSurface = 10
  369. p5.FrontSurface = 10
  370. p5.LeftSurface = 10
  371. p5.RightSurface = 10
  372. p5.TopSurface = 10
  373. p6 = new("WedgePart", m1)
  374. p6.BrickColor = BrickColor.new("Dark stone grey")
  375. p6.Material = "SmoothPlastic"
  376. p6.Name = "Wedge"
  377. p6.FormFactor = 3
  378. p6.Size = Vector3.new(0.600000024, 1, 1.19999981)
  379. p6.CFrame = CFrame.new(-70.3000031, 3.39999628, -4.99999666, 0.999990463, 4.89541385e-008, 1.56179951e-007, -3.44916629e-008, 0.999993563, -1.0771722e-007, -1.27013777e-007, 1.82223147e-007, 0.999994636)
  380. p6.BackSurface = 10
  381. p6.BottomSurface = 10
  382. p6.FrontSurface = 10
  383. p6.LeftSurface = 10
  384. p6.RightSurface = 10
  385. p6.TopSurface = 10
  386. p7 = new("WedgePart", m1)
  387. p7.BrickColor = BrickColor.new("Dark stone grey")
  388. p7.Material = "SmoothPlastic"
  389. p7.Name = "Wedge"
  390. p7.FormFactor = 3
  391. p7.Size = Vector3.new(0.600000024, 1.9000001, 1.60000014)
  392. p7.CFrame = CFrame.new(-70.3000031, 1.94999981, -4.79999971, -0.999999285, -4.22459312e-009, -4.42287984e-009, -8.71322658e-009, -0.999999583, -4.27401368e-008, -3.42251809e-008, -5.01331741e-008, 0.999999523)
  393. p7.BackSurface = 10
  394. p7.BottomSurface = 10
  395. p7.FrontSurface = 10
  396. p7.LeftSurface = 10
  397. p7.RightSurface = 10
  398. p7.TopSurface = 10
  399. p8 = new("Part", m1)
  400. p8.BrickColor = BrickColor.new("Institutional white")
  401. p8.Material = "SmoothPlastic"
  402. p8.FormFactor = 3
  403. p8.Size = Vector3.new(0.200000003, 1.00000012, 2.46000028)
  404. p8.CFrame = CFrame.new(-70.6999893, 2.70000029, -5.36999369, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  405. p8.BackSurface = 10
  406. p8.BottomSurface = 10
  407. p8.FrontSurface = 10
  408. p8.LeftSurface = 10
  409. p8.RightSurface = 10
  410. p8.TopSurface = 10
  411. p9 = new("Part", m1)
  412. p9.BrickColor = BrickColor.new("Medium stone grey")
  413. p9.Material = "SmoothPlastic"
  414. p9.FormFactor = 3
  415. p9.Size = Vector3.new(0.200000033, 1, 2.24000001)
  416. p9.CFrame = CFrame.new(-70.3000031, 3.65261483, -5.4583602, -2.94648261e-009, 1, -2.40095073e-008, 0.948683262, -4.79719953e-009, -0.316227973, -0.316227973, -2.37091786e-008, -0.948683262)
  417. p9.BackSurface = 10
  418. p9.BottomSurface = 10
  419. p9.FrontSurface = 10
  420. p9.LeftSurface = 10
  421. p9.RightSurface = 10
  422. p9.TopSurface = 10
  423. p10 = new("Part", m1)
  424. p10.BrickColor = BrickColor.new("Institutional white")
  425. p10.Material = "SmoothPlastic"
  426. p10.FormFactor = 3
  427. p10.Size = Vector3.new(2.5999999, 2.20000005, 0.800000131)
  428. p10.CFrame = CFrame.new(-70.3000031, 1.75333345, -4.62936497, 0.999993324, 6.73471092e-008, 9.66288383e-008, 9.03622777e-008, -0.620700181, -0.784043133, 9.45857366e-008, 0.784042716, -0.620700002)
  429. p10.BackSurface = 10
  430. p10.BottomSurface = 10
  431. p10.FrontSurface = 10
  432. p10.LeftSurface = 10
  433. p10.RightSurface = 10
  434. p10.TopSurface = 10
  435. b3 = new("CylinderMesh", p10)
  436. b3.Name = "Mesh"
  437. p11 = new("Part", m1)
  438. p11.BrickColor = BrickColor.new("Medium stone grey")
  439. p11.Material = "SmoothPlastic"
  440. p11.FormFactor = 3
  441. p11.Size = Vector3.new(2.5999999, 1.60000002, 1.40000021)
  442. p11.CFrame = CFrame.new(-70.3000031, 2.79999661, -5.20002317, 0.999993324, 3.57207313e-008, 6.01311001e-008, 3.29292398e-008, -4.47034836e-007, -0.999996185, 5.16903889e-008, 0.999995708, -5.66244125e-007)
  443. p11.BackSurface = 10
  444. p11.BottomSurface = 10
  445. p11.FrontSurface = 10
  446. p11.LeftSurface = 10
  447. p11.RightSurface = 10
  448. p11.TopSurface = 10
  449. b4 = new("CylinderMesh", p11)
  450. b4.Name = "Mesh"
  451. p12 = new("Part", m1)
  452. p12.BrickColor = BrickColor.new("Institutional white")
  453. p12.Material = "SmoothPlastic"
  454. p12.FormFactor = 3
  455. p12.Size = Vector3.new(0.200000003, 1.00000012, 2.46000028)
  456. p12.CFrame = CFrame.new(-69.9000015, 2.70000029, -5.37000704, -0.99999994, 6.17772677e-009, 2.98023224e-008, 8.16360668e-009, 1, -1.0658141e-014, -5.96046448e-008, -2.73676903e-008, -1)
  457. p12.BackSurface = 10
  458. p12.BottomSurface = 10
  459. p12.FrontSurface = 10
  460. p12.LeftSurface = 10
  461. p12.RightSurface = 10
  462. p12.TopSurface = 10
  463. p13 = new("Part", m1)
  464. p13.BrickColor = BrickColor.new("Institutional white")
  465. p13.Material = "SmoothPlastic"
  466. p13.FormFactor = 3
  467. p13.Size = Vector3.new(0.800000012, 1.00000012, 0.800000012)
  468. p13.CFrame = CFrame.new(-69.8000031, 1.59999776, -4.70001411, 0.70710206, -0.70710212, 4.05156406e-008, 0.499997437, 0.499997407, -0.707104921, 0.49999854, 0.499998391, 0.707102716)
  469. p13.BackSurface = 10
  470. p13.BottomSurface = 10
  471. p13.FrontSurface = 10
  472. p13.LeftSurface = 10
  473. p13.RightSurface = 10
  474. p13.TopSurface = 10
  475. b5 = new("CylinderMesh", p13)
  476. b5.Name = "Mesh"
  477. p14 = new("Part", m1)
  478. p14.BrickColor = BrickColor.new("Institutional white")
  479. p14.Material = "SmoothPlastic"
  480. p14.FormFactor = 3
  481. p14.Size = Vector3.new(1, 0.200000003, 2.66000032)
  482. p14.CFrame = CFrame.new(-70.3000031, 2.10000038, -5.27000713, -0.99999994, 6.17772677e-009, 2.98023224e-008, 8.16360668e-009, 1, -1.0658141e-014, -5.96046448e-008, -2.73676903e-008, -1)
  483. p14.BackSurface = 10
  484. p14.BottomSurface = 10
  485. p14.FrontSurface = 10
  486. p14.LeftSurface = 10
  487. p14.RightSurface = 10
  488. p14.TopSurface = 10
  489. p15 = new("Part", m1)
  490. p15.BrickColor = BrickColor.new("Medium stone grey")
  491. p15.Material = "SmoothPlastic"
  492. p15.FormFactor = 3
  493. p15.Size = Vector3.new(0.200000033, 0.600000024, 2.27000022)
  494. p15.CFrame = CFrame.new(-69.8331375, 3.6373589, -5.50412893, 1.58114908e-008, 0.965925813, -0.258819073, 0.948683321, -0.081845805, -0.305452615, -0.316227823, -0.245537326, -0.916357696)
  495. p15.BackSurface = 10
  496. p15.BottomSurface = 10
  497. p15.FrontSurface = 10
  498. p15.LeftSurface = 10
  499. p15.RightSurface = 10
  500. p15.TopSurface = 10
  501. p16 = new("Part", m1)
  502. p16.BrickColor = BrickColor.new("Black")
  503. p16.Material = "SmoothPlastic"
  504. p16.FormFactor = 3
  505. p16.Size = Vector3.new(0.200000033, 1, 0.200000003)
  506. p16.CFrame = CFrame.new(-71.1000061, 3.86704206, -3.96570897, -2.07027329e-009, 0.965925753, -0.258819044, 0.928476572, -0.0961230621, -0.358736128, -0.371390998, -0.240307435, -0.896839499)
  507. p16.BackSurface = 10
  508. p16.BottomSurface = 10
  509. p16.FrontSurface = 10
  510. p16.LeftSurface = 10
  511. p16.RightSurface = 10
  512. p16.TopSurface = 10
  513. b6 = new("CylinderMesh", p16)
  514. b6.Name = "Mesh"
  515. p17 = new("WedgePart", m1)
  516. p17.BrickColor = BrickColor.new("Medium stone grey")
  517. p17.Material = "SmoothPlastic"
  518. p17.Name = "Wedge"
  519. p17.FormFactor = 3
  520. p17.Size = Vector3.new(0.600000024, 0.900000095, 0.200000033)
  521. p17.CFrame = CFrame.new(-70.9000015, 2.54999876, -4.0999999, -0.999994278, -1.74263892e-008, 6.84501131e-008, -1.74263928e-008, 0.999997139, 1.84370062e-015, -6.84501131e-008, 6.50858793e-016, -0.999997139)
  522. p17.BackSurface = 10
  523. p17.BottomSurface = 10
  524. p17.FrontSurface = 10
  525. p17.LeftSurface = 10
  526. p17.RightSurface = 10
  527. p17.TopSurface = 10
  528. p18 = new("Part", m1)
  529. p18.BrickColor = BrickColor.new("Institutional white")
  530. p18.Material = "SmoothPlastic"
  531. p18.FormFactor = 3
  532. p18.Size = Vector3.new(1.80000007, 1, 0.200000003)
  533. p18.CFrame = CFrame.new(-70.3000107, 3.40137672, -4.09284878, -1, -4.58120741e-009, -2.37882976e-008, 4.58120741e-009, 0.928476691, -0.371390671, 2.37882976e-008, -0.371390671, -0.928476691)
  534. p18.BackSurface = 10
  535. p18.BottomSurface = 10
  536. p18.FrontSurface = 10
  537. p18.LeftSurface = 10
  538. p18.RightSurface = 10
  539. p18.TopSurface = 10
  540. b7 = new("BlockMesh", p18)
  541. b7.Name = "Mesh"
  542. b7.Offset = Vector3.new(0, 0, 0.100000001)
  543. b7.Scale = Vector3.new(0.899999976, 0.899999976, 0.200000003)
  544. p19 = new("Part", m1)
  545. p19.BrickColor = BrickColor.new("Dark stone grey")
  546. p19.Material = "SmoothPlastic"
  547. p19.FormFactor = 3
  548. p19.Size = Vector3.new(0.200000003, 0.399999976, 0.200000003)
  549. p19.CFrame = CFrame.new(-70.3000259, 2.59999895, -3.9000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  550. p19.BackSurface = 10
  551. p19.BottomSurface = 10
  552. p19.FrontSurface = 10
  553. p19.LeftSurface = 10
  554. p19.RightSurface = 10
  555. p19.TopSurface = 10
  556. p20 = new("WedgePart", m1)
  557. p20.BrickColor = BrickColor.new("Institutional white")
  558. p20.Material = "SmoothPlastic"
  559. p20.Name = "Wedge"
  560. p20.FormFactor = 3
  561. p20.Size = Vector3.new(1.79999995, 0.699999988, 0.400000066)
  562. p20.CFrame = CFrame.new(-70.2999954, 1.75000012, -3.80001855, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  563. p20.BackSurface = 10
  564. p20.BottomSurface = 10
  565. p20.FrontSurface = 10
  566. p20.LeftSurface = 10
  567. p20.RightSurface = 10
  568. p20.TopSurface = 10
  569. p21 = new("WedgePart", m1)
  570. p21.BrickColor = BrickColor.new("Dark stone grey")
  571. p21.Material = "SmoothPlastic"
  572. p21.Name = "Wedge"
  573. p21.FormFactor = 3
  574. p21.Size = Vector3.new(0.600000024, 0.700000107, 0.600000024)
  575. p21.CFrame = CFrame.new(-69.7000046, 2.55000138, -4.50000286, -0.999991119, 2.1650715e-008, 1.73532499e-007, -8.25170332e-008, -0.999993801, -6.07012907e-007, 1.13927797e-007, -6.07009156e-007, 0.999990523)
  576. p21.BackSurface = 10
  577. p21.BottomSurface = 10
  578. p21.FrontSurface = 10
  579. p21.LeftSurface = 10
  580. p21.RightSurface = 10
  581. p21.TopSurface = 10
  582. p22 = new("Part", m1)
  583. p22.BrickColor = BrickColor.new("Black")
  584. p22.Material = "SmoothPlastic"
  585. p22.FormFactor = 3
  586. p22.Size = Vector3.new(0.200000033, 1, 0.200000003)
  587. p22.CFrame = CFrame.new(-69.5000076, 3.86704469, -3.96570921, 1.70448082e-008, 0.965925813, 0.258819014, 0.928476632, 0.096122995, -0.358735979, -0.37139082, 0.24030742, -0.896839559)
  588. p22.BackSurface = 10
  589. p22.BottomSurface = 10
  590. p22.FrontSurface = 10
  591. p22.LeftSurface = 10
  592. p22.RightSurface = 10
  593. p22.TopSurface = 10
  594. b8 = new("CylinderMesh", p22)
  595. b8.Name = "Mesh"
  596. p23 = new("WedgePart", m1)
  597. p23.BrickColor = BrickColor.new("Medium stone grey")
  598. p23.Material = "SmoothPlastic"
  599. p23.Name = "Wedge"
  600. p23.FormFactor = 3
  601. p23.Size = Vector3.new(1.79999995, 1, 0.400000006)
  602. p23.CFrame = CFrame.new(-70.3000031, 3.3999989, -4.20000076, -0.999997854, -1.84590085e-008, -3.30043548e-008, -3.13968336e-008, 0.999998927, 2.98023224e-008, 3.20212834e-009, 8.94069672e-008, -0.999998868)
  603. p23.BackSurface = 10
  604. p23.BottomSurface = 10
  605. p23.FrontSurface = 10
  606. p23.LeftSurface = 10
  607. p23.RightSurface = 10
  608. p23.TopSurface = 10
  609. p24 = new("WedgePart", m1)
  610. p24.BrickColor = BrickColor.new("Dark stone grey")
  611. p24.Material = "SmoothPlastic"
  612. p24.Name = "Wedge"
  613. p24.FormFactor = 3
  614. p24.Size = Vector3.new(0.600000024, 0.700000107, 0.600000024)
  615. p24.CFrame = CFrame.new(-70.9000015, 2.55000186, -4.49999714, -0.999991119, 2.1650715e-008, 1.73532499e-007, -8.25170332e-008, -0.999993801, -6.07012907e-007, 1.13927797e-007, -6.07009156e-007, 0.999990523)
  616. p24.BackSurface = 10
  617. p24.BottomSurface = 10
  618. p24.FrontSurface = 10
  619. p24.LeftSurface = 10
  620. p24.RightSurface = 10
  621. p24.TopSurface = 10
  622. p25 = new("Part", m1)
  623. p25.BrickColor = BrickColor.new("Medium blue")
  624. p25.Material = "SmoothPlastic"
  625. p25.Transparency = 0.5
  626. p25.FormFactor = 3
  627. p25.Size = Vector3.new(0.600000024, 1.79999995, 0.400000006)
  628. p25.CFrame = CFrame.new(-70.3000031, 4.25511837, -4.3927331, 3.93155108e-009, 1, -2.34442759e-008, 0.979697764, 8.48380366e-010, 0.200480163, 0.200480163, -2.37565061e-008, -0.979697764)
  629. p25.BackSurface = 10
  630. p25.BottomSurface = 10
  631. p25.FrontSurface = 10
  632. p25.LeftSurface = 10
  633. p25.RightSurface = 10
  634. p25.TopSurface = 10
  635. b9 = new("BlockMesh", p25)
  636. b9.Name = "Mesh"
  637. b9.Scale = Vector3.new(1, 0.850000024, 0.0500000007)
  638. p26 = new("Part", m1)
  639. p26.BrickColor = BrickColor.new("Black")
  640. p26.Material = "SmoothPlastic"
  641. p26.FormFactor = 3
  642. p26.Size = Vector3.new(0.400000006, 0.200000003, 0.600000024)
  643. p26.CFrame = CFrame.new(-69.8000107, 3.40137601, -4.0928483, -1, 2.37882976e-008, -4.58120741e-009, 4.58120741e-009, 0.371390671, 0.928476691, 2.37882976e-008, 0.928476691, -0.371390671)
  644. p26.BackSurface = 10
  645. p26.BottomSurface = 10
  646. p26.FrontSurface = 10
  647. p26.LeftSurface = 10
  648. p26.RightSurface = 10
  649. p26.TopSurface = 10
  650. b10 = new("CylinderMesh", p26)
  651. b10.Name = "Mesh"
  652. b10.Offset = Vector3.new(0, -0.150000006, 0)
  653. p27 = new("Part", m1)
  654. p27.BrickColor = BrickColor.new("Black")
  655. p27.Material = "SmoothPlastic"
  656. p27.FormFactor = 3
  657. p27.Size = Vector3.new(0.200000033, 1, 0.200000003)
  658. p27.CFrame = CFrame.new(-70.3000107, 3.84704471, -4.05570936, -4.58120741e-009, 1, -2.37882976e-008, 0.928476691, -4.58120741e-009, -0.371390671, -0.371390671, -2.37882976e-008, -0.928476691)
  659. p27.BackSurface = 10
  660. p27.BottomSurface = 10
  661. p27.FrontSurface = 10
  662. p27.LeftSurface = 10
  663. p27.RightSurface = 10
  664. p27.TopSurface = 10
  665. b11 = new("CylinderMesh", p27)
  666. b11.Name = "Mesh"
  667. b11.Scale = Vector3.new(1.39999998, 1, 1.39999998)
  668. p28 = new("WedgePart", m1)
  669. p28.BrickColor = BrickColor.new("Medium stone grey")
  670. p28.Material = "SmoothPlastic"
  671. p28.Name = "Wedge"
  672. p28.FormFactor = 3
  673. p28.Size = Vector3.new(0.600000024, 0.900000095, 0.200000033)
  674. p28.CFrame = CFrame.new(-69.7000046, 2.54999852, -4.0999999, -0.999994278, -1.74263892e-008, 6.84501131e-008, -1.74263928e-008, 0.999997139, 1.84370062e-015, -6.84501131e-008, 6.50858793e-016, -0.999997139)
  675. p28.BackSurface = 10
  676. p28.BottomSurface = 10
  677. p28.FrontSurface = 10
  678. p28.LeftSurface = 10
  679. p28.RightSurface = 10
  680. p28.TopSurface = 10
  681. p29 = new("Part", m1)
  682. p29.BrickColor = BrickColor.new("Black")
  683. p29.Material = "SmoothPlastic"
  684. p29.FormFactor = 3
  685. p29.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  686. p29.CFrame = CFrame.new(-70.7000122, 3.40137601, -4.0928483, -1, 2.37882976e-008, -4.58120741e-009, 4.58120741e-009, 0.371390671, 0.928476691, 2.37882976e-008, 0.928476691, -0.371390671)
  687. p29.BackSurface = 10
  688. p29.BottomSurface = 10
  689. p29.FrontSurface = 10
  690. p29.LeftSurface = 10
  691. p29.RightSurface = 10
  692. p29.TopSurface = 10
  693. b12 = new("CylinderMesh", p29)
  694. b12.Name = "Mesh"
  695. b12.Offset = Vector3.new(0, -0.150000006, 0)
  696. p30 = new("Part", m1)
  697. p30.BrickColor = BrickColor.new("Black")
  698. p30.Material = "SmoothPlastic"
  699. p30.FormFactor = 3
  700. p30.Size = Vector3.new(0.600000024, 0.200000003, 0.200000003)
  701. p30.CFrame = CFrame.new(-70.3000107, 3.77276635, -4.24140453, -1, 2.37882976e-008, -4.58120741e-009, 4.58120741e-009, 0.371390671, 0.928476691, 2.37882976e-008, 0.928476691, -0.371390671)
  702. p30.BackSurface = 10
  703. p30.BottomSurface = 10
  704. p30.FrontSurface = 10
  705. p30.LeftSurface = 10
  706. p30.RightSurface = 10
  707. p30.TopSurface = 10
  708. b13 = new("CylinderMesh", p30)
  709. b13.Name = "Mesh"
  710. Barrel = new("Part", m1)
  711. Barrel.BrickColor = BrickColor.new("Black")
  712. Barrel.FormFactor = Enum.FormFactor.Custom
  713. Barrel.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003)
  714. Barrel.CFrame = CFrame.new(-70.3000031, 2.70000052, -7.40000629, -1.20340502e-007, -1.59888529e-008, 1, 1, -3.57627869e-007, 1.20340502e-007, 3.57627869e-007, 1, 1.5988892e-008) * CFrame.Angles(math.pi, 0, 0)
  715. Mb1 = new("CylinderMesh", Barrel)
  716. Mb1.Name = "Mesh"
  717. Mb1.Scale = Vector3.new(0.5, 1, 0.5)
  718. MainBarrel = new("Part", m1)
  719. MainBarrel.BrickColor = BrickColor.new("Black")
  720. MainBarrel.FormFactor = Enum.FormFactor.Custom
  721. MainBarrel.Size = Vector3.new(0.200000003, 2, 0.200000003)
  722. MainBarrel.CFrame = CFrame.new(-70.3000031, 2.70000005, -6.20000648, -1.20340502e-007, -1.59888529e-008, 1, 1, -3.57627869e-007, 1.20340502e-007, 3.57627869e-007, 1, 1.5988892e-008)
  723. Bb2 = new("CylinderMesh", MainBarrel)
  724. Bb2.Name = "Mesh"
  725. p31 = new("Part", m2)
  726. p31.BrickColor = BrickColor.new("Dark stone grey")
  727. p31.Material = "SmoothPlastic"
  728. p31.FormFactor = 3
  729. p31.Size = Vector3.new(0.200000003, 0.689999938, 0.200000003)
  730. p31.CFrame = CFrame.new(-70.3000259, 2.56110811, -3.46110916, 1, 0, 0, 0, 0.70710659, 0.70710665, 0, -0.70710665, 0.70710659)
  731. p31.BackSurface = 10
  732. p31.BottomSurface = 10
  733. p31.FrontSurface = 10
  734. p31.LeftSurface = 10
  735. p31.RightSurface = 10
  736. p31.TopSurface = 10
  737. p32 = new("Part", m2)
  738. p32.BrickColor = BrickColor.new("White")
  739. p32.Material = "SmoothPlastic"
  740. p32.FormFactor = 3
  741. p32.Size = Vector3.new(0.600000024, 0.399999976, 0.50000006)
  742. p32.CFrame = CFrame.new(-69.8499985, 1.546, -3.71199989, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  743. p32.BackSurface = 10
  744. p32.BottomSurface = 10
  745. p32.FrontSurface = 10
  746. p32.LeftSurface = 10
  747. p32.RightSurface = 10
  748. p32.TopSurface = 10
  749. p33 = new("Part", m2)
  750. p33.BrickColor = BrickColor.new("Dark stone grey")
  751. p33.Material = "SmoothPlastic"
  752. p33.FormFactor = 3
  753. p33.Size = Vector3.new(0.200000003, 0.399999976, 0.200000003)
  754. p33.CFrame = CFrame.new(-70.3000259, 2.59999871, -3.0999999, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  755. p33.BackSurface = 10
  756. p33.BottomSurface = 10
  757. p33.FrontSurface = 10
  758. p33.LeftSurface = 10
  759. p33.RightSurface = 10
  760. p33.TopSurface = 10
  761. Seat = new("Part", m2)
  762. Seat.BrickColor = BrickColor.new("Black")
  763. Seat.Material = "SmoothPlastic"
  764. Seat.FormFactor = 3
  765. Seat.Size = Vector3.new(0.600000024, 0.200000003, 2.20000005)
  766. Seat.CFrame = CFrame.new(-70.3000259, 2.83298802, -2.92815232, 1, 0, 0, 0, 0.999999762, 1.49011612e-008, 0, -1.49011612e-008, 0.999999762)
  767. Seat.BackSurface = 10
  768. Seat.BottomSurface = 10
  769. Seat.FrontSurface = 10
  770. Seat.LeftSurface = 10
  771. Seat.RightSurface = 10
  772. Seat.TopSurface = 10
  773. p35 = new("Part", m2)
  774. p35.BrickColor = BrickColor.new("Dark stone grey")
  775. p35.Material = "SmoothPlastic"
  776. p35.FormFactor = 3
  777. p35.Size = Vector3.new(0.200000003, 1, 3.20000005)
  778. p35.CFrame = CFrame.new(-70.3000259, 1.89999962, -2.4000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  779. p35.BackSurface = 10
  780. p35.BottomSurface = 10
  781. p35.FrontSurface = 10
  782. p35.LeftSurface = 10
  783. p35.RightSurface = 10
  784. p35.TopSurface = 10
  785. p36 = new("Part", m2)
  786. p36.BrickColor = BrickColor.new("Dark stone grey")
  787. p36.Material = "SmoothPlastic"
  788. p36.FormFactor = 3
  789. p36.Size = Vector3.new(0.200000003, 1.39999998, 2.80000019)
  790. p36.CFrame = CFrame.new(-70.3000259, 2.08612967, -2.02450442, 1, 0, 0, 0, 0.965925813, 0.258819044, 0, -0.258819044, 0.965925813)
  791. p36.BackSurface = 10
  792. p36.BottomSurface = 10
  793. p36.FrontSurface = 10
  794. p36.LeftSurface = 10
  795. p36.RightSurface = 10
  796. p36.TopSurface = 10
  797. p37 = new("Part", m2)
  798. p37.BrickColor = BrickColor.new("Medium stone grey")
  799. p37.Material = "SmoothPlastic"
  800. p37.FormFactor = 3
  801. p37.Size = Vector3.new(1.79999995, 0.400000006, 4)
  802. p37.CFrame = CFrame.new(-70.3000259, 1.19999993, -2, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  803. p37.BackSurface = 10
  804. p37.BottomSurface = 10
  805. p37.FrontSurface = 10
  806. p37.LeftSurface = 10
  807. p37.RightSurface = 10
  808. p37.TopSurface = 10
  809. p38 = new("Part", m2)
  810. p38.BrickColor = BrickColor.new("White")
  811. p38.Material = "SmoothPlastic"
  812. p38.Reflectance = 0.5
  813. p38.FormFactor = 3
  814. p38.Size = Vector3.new(1.79999995, 0.210000003, 4)
  815. p38.CFrame = CFrame.new(-70.3000259, 1.0999999, -2, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  816. p38.BackSurface = 10
  817. p38.BottomSurface = 10
  818. p38.FrontSurface = 10
  819. p38.LeftSurface = 10
  820. p38.RightSurface = 10
  821. p38.TopSurface = 10
  822. b14 = new("BlockMesh", p38)
  823. b14.Name = "Mesh"
  824. b14.Scale = Vector3.new(1.10000002, 1, 0.899999976)
  825. p39 = new("WedgePart", m2)
  826. p39.BrickColor = BrickColor.new("Institutional white")
  827. p39.Material = "SmoothPlastic"
  828. p39.Name = "Wedge"
  829. p39.FormFactor = 3
  830. p39.Size = Vector3.new(1.79999995, 1.5, 1.20000005)
  831. p39.CFrame = CFrame.new(-70.3000259, 1.99999988, -1.75, -1, 8.98468642e-008, 4.68792827e-008, -4.68792862e-008, -2.98022584e-008, -1, -8.98468571e-008, -1, 2.98022638e-008)
  832. p39.BackSurface = 10
  833. p39.BottomSurface = 10
  834. p39.FrontSurface = 10
  835. p39.LeftSurface = 10
  836. p39.RightSurface = 10
  837. p39.TopSurface = 10
  838. p40 = new("WedgePart", m2)
  839. p40.BrickColor = BrickColor.new("Institutional white")
  840. p40.Material = "SmoothPlastic"
  841. p40.Name = "Wedge"
  842. p40.FormFactor = 3
  843. p40.Size = Vector3.new(1.79999995, 1.79999995, 1.00000012)
  844. p40.CFrame = CFrame.new(-70.3000183, 2.29999948, -1.49999976, 0.999998927, 3.44938211e-009, -2.31517916e-010, 4.31985789e-008, 0.999999344, -2.98023117e-008, 2.31518388e-010, 5.96046235e-008, 0.999999344)
  845. p40.BackSurface = 10
  846. p40.BottomSurface = 10
  847. p40.FrontSurface = 10
  848. p40.LeftSurface = 10
  849. p40.RightSurface = 10
  850. p40.TopSurface = 10
  851. p41 = new("Part", m2)
  852. p41.BrickColor = BrickColor.new("Black")
  853. p41.Material = "SmoothPlastic"
  854. p41.FormFactor = 3
  855. p41.Size = Vector3.new(0.600000024, 0.200000003, 0.850000083)
  856. p41.CFrame = CFrame.new(-70.3000259, 2.94887185, -1.44207752, 1, 0, 0, 0, 0.965925574, 0.258818984, 0, -0.258818984, 0.965925574)
  857. p41.BackSurface = 10
  858. p41.BottomSurface = 10
  859. p41.FrontSurface = 10
  860. p41.LeftSurface = 10
  861. p41.RightSurface = 10
  862. p41.TopSurface = 10
  863. p42 = new("WedgePart", m2)
  864. p42.BrickColor = BrickColor.new("Medium stone grey")
  865. p42.Material = "SmoothPlastic"
  866. p42.Name = "Wedge"
  867. p42.FormFactor = 3
  868. p42.Size = Vector3.new(0.200000003, 0.399999976, 0.799999952)
  869. p42.CFrame = CFrame.new(-71.4000244, 1.29999983, -0.799999714, 3.41726647e-013, -1, 4.76835822e-007, 1, 3.41060513e-013, -1.30897582e-009, 1.30897582e-009, 4.76835822e-007, 1)
  870. p42.BackSurface = 10
  871. p42.BottomSurface = 10
  872. p42.FrontSurface = 10
  873. p42.LeftSurface = 10
  874. p42.RightSurface = 10
  875. p42.TopSurface = 10
  876. p43 = new("Part", m2)
  877. p43.BrickColor = BrickColor.new("Institutional white")
  878. p43.Material = "SmoothPlastic"
  879. p43.FormFactor = 3
  880. p43.Size = Vector3.new(1.79999995, 2, 0.600000083)
  881. p43.CFrame = CFrame.new(-70.3000259, 2.29946756, -1.05553186, 1, 0, 0, 0, 0.965925813, -0.258819044, 0, 0.258819044, 0.965925813)
  882. p43.BackSurface = 10
  883. p43.BottomSurface = 10
  884. p43.FrontSurface = 10
  885. p43.LeftSurface = 10
  886. p43.RightSurface = 10
  887. p43.TopSurface = 10
  888. p44 = new("WedgePart", m2)
  889. p44.BrickColor = BrickColor.new("Medium stone grey")
  890. p44.Material = "SmoothPlastic"
  891. p44.Name = "Wedge"
  892. p44.FormFactor = 3
  893. p44.Size = Vector3.new(0.200000003, 0.399999976, 0.799999952)
  894. p44.CFrame = CFrame.new(-69.1999817, 1.29999602, -0.800000191, -3.41060513e-013, 1, -4.76835822e-007, -1, -3.41060513e-013, 1.30920319e-009, 1.30920319e-009, 4.76835822e-007, 1)
  895. p44.BackSurface = 10
  896. p44.BottomSurface = 10
  897. p44.FrontSurface = 10
  898. p44.LeftSurface = 10
  899. p44.RightSurface = 10
  900. p44.TopSurface = 10
  901. p45 = new("Part", m2)
  902. p45.BrickColor = BrickColor.new("White")
  903. p45.Material = "SmoothPlastic"
  904. p45.FormFactor = 3
  905. p45.Size = Vector3.new(0.600000024, 0.399999976, 0.50000006)
  906. p45.CFrame = CFrame.new(-70.7500229, 1.54644656, -3.71213222, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  907. p45.BackSurface = 10
  908. p45.BottomSurface = 10
  909. p45.FrontSurface = 10
  910. p45.LeftSurface = 10
  911. p45.RightSurface = 10
  912. p45.TopSurface = 10
  913. p46 = new("Part", m3)
  914. p46.BrickColor = BrickColor.new("White")
  915. p46.Material = "SmoothPlastic"
  916. p46.FormFactor = 3
  917. p46.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006)
  918. p46.CFrame = CFrame.new(-70.7500229, 1.89999998, -3.21715736, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  919. p46.BackSurface = 10
  920. p46.BottomSurface = 10
  921. p46.FrontSurface = 10
  922. p46.LeftSurface = 10
  923. p46.RightSurface = 10
  924. p46.TopSurface = 10
  925. b15 = new("BlockMesh", p46)
  926. b15.Name = "Mesh"
  927. b15.Offset = Vector3.new(0.150000006, 0, 0)
  928. p47 = new("Part", m3)
  929. p47.BrickColor = BrickColor.new("White")
  930. p47.Material = "SmoothPlastic"
  931. p47.FormFactor = 3
  932. p47.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006)
  933. p47.CFrame = CFrame.new(-69.8499985, 2.18284273, -3.5, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  934. p47.BackSurface = 10
  935. p47.BottomSurface = 10
  936. p47.FrontSurface = 10
  937. p47.LeftSurface = 10
  938. p47.RightSurface = 10
  939. p47.TopSurface = 10
  940. b16 = new("BlockMesh", p47)
  941. b16.Name = "Mesh"
  942. b16.Offset = Vector3.new(0.150000006, 0, 0)
  943. p48 = new("Part", m3)
  944. p48.BrickColor = BrickColor.new("White")
  945. p48.Material = "SmoothPlastic"
  946. p48.FormFactor = 3
  947. p48.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006)
  948. p48.CFrame = CFrame.new(-70.7500229, 2.18284273, -3.5, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  949. p48.BackSurface = 10
  950. p48.BottomSurface = 10
  951. p48.FrontSurface = 10
  952. p48.LeftSurface = 10
  953. p48.RightSurface = 10
  954. p48.TopSurface = 10
  955. b17 = new("BlockMesh", p48)
  956. b17.Name = "Mesh"
  957. b17.Offset = Vector3.new(0.150000006, 0, 0)
  958. p49 = new("Part", m3)
  959. p49.BrickColor = BrickColor.new("White")
  960. p49.Material = "SmoothPlastic"
  961. p49.FormFactor = 3
  962. p49.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006)
  963. p49.CFrame = CFrame.new(-69.8499985, 1.89999986, -3.21715689, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  964. p49.BackSurface = 10
  965. p49.BottomSurface = 10
  966. p49.FrontSurface = 10
  967. p49.LeftSurface = 10
  968. p49.RightSurface = 10
  969. p49.TopSurface = 10
  970. b18 = new("BlockMesh", p49)
  971. b18.Name = "Mesh"
  972. b18.Offset = Vector3.new(0.150000006, 0, 0)
  973. p50 = new("Part", m3)
  974. p50.BrickColor = BrickColor.new("White")
  975. p50.Material = "SmoothPlastic"
  976. p50.FormFactor = 3
  977. p50.Size = Vector3.new(0.200000003, 1, 0.700000048)
  978. p50.CFrame = CFrame.new(-70.7500229, 1.89999998, -3.50000024, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  979. p50.BackSurface = 10
  980. p50.BottomSurface = 10
  981. p50.FrontSurface = 10
  982. p50.LeftSurface = 10
  983. p50.RightSurface = 10
  984. p50.TopSurface = 10
  985. p51 = new("Part", m3)
  986. p51.BrickColor = BrickColor.new("White")
  987. p51.Material = "SmoothPlastic"
  988. p51.FormFactor = 3
  989. p51.Size = Vector3.new(0.200000003, 1, 0.700000048)
  990. p51.CFrame = CFrame.new(-69.8499985, 1.89999998, -3.5, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  991. p51.BackSurface = 10
  992. p51.BottomSurface = 10
  993. p51.FrontSurface = 10
  994. p51.LeftSurface = 10
  995. p51.RightSurface = 10
  996. p51.TopSurface = 10
  997. p52 = new("WedgePart", m4)
  998. p52.BrickColor = BrickColor.new("Medium stone grey")
  999. p52.Material = "SmoothPlastic"
  1000. p52.Name = "Wedge"
  1001. p52.FormFactor = 3
  1002. p52.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  1003. p52.CFrame = CFrame.new(-69.8000259, 3.49999952, 1.70000005, 7.61512897e-009, 0.999998808, -3.24887246e-008, 5.96045027e-008, -2.88746271e-008, -0.999997318, -0.99999851, 7.61512275e-009, -5.96045737e-008)
  1004. p52.BackSurface = 10
  1005. p52.BottomSurface = 10
  1006. p52.FrontSurface = 10
  1007. p52.LeftSurface = 10
  1008. p52.RightSurface = 10
  1009. p52.TopSurface = 10
  1010. p53 = new("WedgePart", m4)
  1011. p53.BrickColor = BrickColor.new("Medium stone grey")
  1012. p53.Material = "SmoothPlastic"
  1013. p53.Name = "Wedge"
  1014. p53.FormFactor = 3
  1015. p53.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993)
  1016. p53.CFrame = CFrame.new(-69.2000275, 2.79999828, 1.69999981, 7.61512897e-009, 0.999998808, -3.24887246e-008, 5.96045027e-008, -2.88746271e-008, -0.999997318, -0.99999851, 7.61512275e-009, -5.96045737e-008)
  1017. p53.BackSurface = 10
  1018. p53.BottomSurface = 10
  1019. p53.FrontSurface = 10
  1020. p53.LeftSurface = 10
  1021. p53.RightSurface = 10
  1022. p53.TopSurface = 10
  1023. p54 = new("Part", m4)
  1024. p54.BrickColor = BrickColor.new("Really black")
  1025. p54.Material = "SmoothPlastic"
  1026. p54.FormFactor = 3
  1027. p54.Size = Vector3.new(1, 0.200000003, 1)
  1028. p54.CFrame = CFrame.new(-70.3000031, 2.24118161, 2.26592588, 0.999998331, -6.15425222e-009, -8.94069672e-008, 8.94069672e-008, 0.258818626, 0.965924501, 1.04308128e-007, -0.965924084, 0.258818716)
  1029. p54.BackSurface = 10
  1030. p54.BottomSurface = 10
  1031. p54.FrontSurface = 10
  1032. p54.LeftSurface = 10
  1033. p54.RightSurface = 10
  1034. p54.TopSurface = 10
  1035. b19 = new("CylinderMesh", p54)
  1036. b19.Name = "Mesh"
  1037. b19.Offset = Vector3.new(0, 0.189999998, 0)
  1038. b19.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  1039. p55 = new("Part", m4)
  1040. p55.BrickColor = BrickColor.new("Black")
  1041. p55.Material = "SmoothPlastic"
  1042. p55.Name = "SmokeDispenser"
  1043. p55.FormFactor = 3
  1044. p55.Size = Vector3.new(0.400000036, 0.200000018, 0.400000036)
  1045. p55.CFrame = CFrame.new(-70.3000107, 1.85493112, 1.80191004, 0.999998331, -9.46739078e-008, 6.28408685e-008, 3.76498406e-008, -0.258818597, -0.965924382, 1.94824821e-007, 0.965924025, -0.258818746)
  1046. p55.BackSurface = 10
  1047. p55.BottomSurface = 10
  1048. p55.FrontSurface = 10
  1049. p55.LeftSurface = 10
  1050. p55.RightSurface = 10
  1051. p55.TopSurface = 10
  1052. Smoke = new("Smoke", p55)
  1053. Smoke.RiseVelocity = 5
  1054. p56 = new("WedgePart", m4)
  1055. p56.BrickColor = BrickColor.new("Medium stone grey")
  1056. p56.Material = "SmoothPlastic"
  1057. p56.Name = "Wedge"
  1058. p56.FormFactor = 3
  1059. p56.Size = Vector3.new(0.200000003, 1, 0.600000024)
  1060. p56.CFrame = CFrame.new(-69.6999969, 2.49999714, 1.69999969, -3.74175002e-008, -8.34472871e-007, 1, -1.0425353e-007, -1, -8.34472928e-007, 1, -1.04253559e-007, 3.74174114e-008)
  1061. p56.BackSurface = 10
  1062. p56.BottomSurface = 10
  1063. p56.FrontSurface = 10
  1064. p56.LeftSurface = 10
  1065. p56.RightSurface = 10
  1066. p56.TopSurface = 10
  1067. p57 = new("WedgePart", m4)
  1068. p57.BrickColor = BrickColor.new("Medium stone grey")
  1069. p57.Material = "SmoothPlastic"
  1070. p57.Name = "Wedge"
  1071. p57.FormFactor = 3
  1072. p57.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  1073. p57.CFrame = CFrame.new(-70.8000259, 3.49999976, 1.69999981, -7.61514318e-009, -1, 2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, 0.999999702, -7.61513697e-009, 5.96046448e-008)
  1074. p57.BackSurface = 10
  1075. p57.BottomSurface = 10
  1076. p57.FrontSurface = 10
  1077. p57.LeftSurface = 10
  1078. p57.RightSurface = 10
  1079. p57.TopSurface = 10
  1080. p58 = new("WedgePart", m4)
  1081. p58.BrickColor = BrickColor.new("Medium stone grey")
  1082. p58.Material = "SmoothPlastic"
  1083. p58.Name = "Wedge"
  1084. p58.FormFactor = 3
  1085. p58.Size = Vector3.new(0.200000003, 0.600000024, 1)
  1086. p58.CFrame = CFrame.new(-70.900032, 2.50000024, 1.69999969, 1.01942945e-007, 0.999999702, 3.88858332e-008, -8.42491517e-008, -3.88858332e-008, 0.999999702, 0.999999404, -1.01942902e-007, 8.42490948e-008)
  1087. p58.BackSurface = 10
  1088. p58.BottomSurface = 10
  1089. p58.FrontSurface = 10
  1090. p58.LeftSurface = 10
  1091. p58.RightSurface = 10
  1092. p58.TopSurface = 10
  1093. p59 = new("Part", m4)
  1094. p59.BrickColor = BrickColor.new("Medium stone grey")
  1095. p59.Material = "SmoothPlastic"
  1096. p59.FormFactor = 3
  1097. p59.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1098. p59.CFrame = CFrame.new(-70.3000259, 3.49999976, 1.69999993, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1099. p59.BackSurface = 10
  1100. p59.BottomSurface = 10
  1101. p59.FrontSurface = 10
  1102. p59.LeftSurface = 10
  1103. p59.RightSurface = 10
  1104. p59.TopSurface = 10
  1105. p60 = new("Seat", m4)
  1106. p60.BrickColor = BrickColor.new("Medium stone grey")
  1107. p60.Material = "SmoothPlastic"
  1108. p60.FormFactor = 3
  1109. p60.Size = Vector3.new(1.79999995, 0.400000006, 0.200000003)
  1110. p60.CFrame = CFrame.new(-70.3000259, 3.20000005, 1.69999993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1111. p60.BackSurface = 10
  1112. p60.BottomSurface = 10
  1113. p60.FrontSurface = 10
  1114. p60.LeftSurface = 10
  1115. p60.RightSurface = 10
  1116. p60.TopSurface = 10
  1117. p61 = new("WedgePart", m4)
  1118. p61.BrickColor = BrickColor.new("Medium stone grey")
  1119. p61.Material = "SmoothPlastic"
  1120. p61.Name = "Wedge"
  1121. p61.FormFactor = 3
  1122. p61.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993)
  1123. p61.CFrame = CFrame.new(-71.4000244, 2.79999995, 1.69999981, -7.61514318e-009, -1, 2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, 0.999999702, -7.61513697e-009, 5.96046448e-008)
  1124. p61.BackSurface = 10
  1125. p61.BottomSurface = 10
  1126. p61.FrontSurface = 10
  1127. p61.LeftSurface = 10
  1128. p61.RightSurface = 10
  1129. p61.TopSurface = 10
  1130. p62 = new("Part", m4)
  1131. p62.BrickColor = BrickColor.new("Light stone grey")
  1132. p62.Material = "SmoothPlastic"
  1133. p62.FormFactor = 3
  1134. p62.Size = Vector3.new(0.600000024, 1.19999993, 0.600000024)
  1135. p62.CFrame = CFrame.new(-69.6999969, 1.99999833, 1.29999781, 0.70710516, -0.499998629, -0.500000179, 0.707106233, 0.50000006, 0.499998003, 2.01977264e-006, -0.70710516, 0.707105756)
  1136. p62.BackSurface = 10
  1137. p62.BottomSurface = 10
  1138. p62.FrontSurface = 10
  1139. p62.LeftSurface = 10
  1140. p62.RightSurface = 10
  1141. p62.TopSurface = 10
  1142. b20 = new("CylinderMesh", p62)
  1143. b20.Name = "Mesh"
  1144. p63 = new("Part", m4)
  1145. p63.BrickColor = BrickColor.new("Really black")
  1146. p63.Material = "SmoothPlastic"
  1147. p63.FormFactor = 3
  1148. p63.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  1149. p63.CFrame = CFrame.new(-71.1500015, 1.64999378, 1.79497123, 0.499998689, 0.499993622, -0.70710665, 0.499993473, 0.500007987, 0.707100332, 0.707108021, -0.707100868, 9.87303247e-006)
  1150. p63.BackSurface = 10
  1151. p63.BottomSurface = 10
  1152. p63.FrontSurface = 10
  1153. p63.LeftSurface = 10
  1154. p63.RightSurface = 10
  1155. p63.TopSurface = 10
  1156. b21 = new("CylinderMesh", p63)
  1157. b21.Name = "Mesh"
  1158. b21.Offset = Vector3.new(0, 0.189999998, 0)
  1159. b21.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  1160. p64 = new("Part", m4)
  1161. p64.BrickColor = BrickColor.new("Light stone grey")
  1162. p64.Material = "SmoothPlastic"
  1163. p64.FormFactor = 3
  1164. p64.Size = Vector3.new(0.600000024, 1.19999993, 0.600000024)
  1165. p64.CFrame = CFrame.new(-70.8000031, 2, 1.29999995, 0.707110167, 0.499995172, 0.5, -0.707103372, 0.500009596, 0.499995172, -9.62615013e-006, -0.707103372, 0.707110167)
  1166. p64.BackSurface = 10
  1167. p64.BottomSurface = 10
  1168. p64.FrontSurface = 10
  1169. p64.LeftSurface = 10
  1170. p64.RightSurface = 10
  1171. p64.TopSurface = 10
  1172. b22 = new("CylinderMesh", p64)
  1173. b22.Name = "Mesh"
  1174. p65 = new("Part", m4)
  1175. p65.BrickColor = BrickColor.new("Really black")
  1176. p65.Material = "SmoothPlastic"
  1177. p65.FormFactor = 3
  1178. p65.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  1179. p65.CFrame = CFrame.new(-69.3499985, 1.64999819, 1.79497147, 0.707105339, -0.499998659, -0.50000006, 0.707105994, 0.50000006, 0.499998122, 1.90734863e-006, -0.707105279, 0.707105756)
  1180. p65.BackSurface = 10
  1181. p65.BottomSurface = 10
  1182. p65.FrontSurface = 10
  1183. p65.LeftSurface = 10
  1184. p65.RightSurface = 10
  1185. p65.TopSurface = 10
  1186. b23 = new("CylinderMesh", p65)
  1187. b23.Name = "Mesh"
  1188. b23.Offset = Vector3.new(0, 0.189999998, 0)
  1189. b23.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  1190. p66 = new("Part", m4)
  1191. p66.BrickColor = BrickColor.new("Light stone grey")
  1192. p66.Material = "SmoothPlastic"
  1193. p66.FormFactor = 3
  1194. p66.Size = Vector3.new(1, 1.79999995, 1)
  1195. p66.CFrame = CFrame.new(-70.3000031, 2.5, 1.29999995, 1, 0, 0, 0, -0.258819014, -0.965925694, 0, 0.965925694, -0.258819014)
  1196. p66.BackSurface = 10
  1197. p66.BottomSurface = 10
  1198. p66.FrontSurface = 10
  1199. p66.LeftSurface = 10
  1200. p66.RightSurface = 10
  1201. p66.TopSurface = 10
  1202. b24 = new("CylinderMesh", p66)
  1203. b24.Name = "Mesh"
  1204. p67 = new("WedgePart", m4)
  1205. p67.BrickColor = BrickColor.new("Medium stone grey")
  1206. p67.Material = "SmoothPlastic"
  1207. p67.Name = "Wedge"
  1208. p67.FormFactor = 3
  1209. p67.Size = Vector3.new(1.79999995, 0.200000003, 0.799999893)
  1210. p67.CFrame = CFrame.new(-69.8000259, 3.29999948, 0.700003684, -1.3927598e-009, 1.37461228e-007, -0.999995351, 4.02327558e-008, 0.999992132, 9.08137707e-008, 0.999995768, -1.04312008e-008, -1.39276302e-009)
  1211. p67.BackSurface = 10
  1212. p67.BottomSurface = 10
  1213. p67.FrontSurface = 10
  1214. p67.LeftSurface = 10
  1215. p67.RightSurface = 10
  1216. p67.TopSurface = 10
  1217. p68 = new("Part", m4)
  1218. p68.BrickColor = BrickColor.new("Light stone grey")
  1219. p68.Material = "SmoothPlastic"
  1220. p68.FormFactor = 3
  1221. p68.Size = Vector3.new(0.400000036, 1.39999986, 0.200000003)
  1222. p68.CFrame = CFrame.new(-70.3000031, 1.66868114, 1.3378948, 0.999998331, -6.15425222e-009, -8.94069672e-008, 8.94069672e-008, 0.258818626, 0.965924501, 1.04308128e-007, -0.965924084, 0.258818716)
  1223. p68.BackSurface = 10
  1224. p68.BottomSurface = 10
  1225. p68.FrontSurface = 10
  1226. p68.LeftSurface = 10
  1227. p68.RightSurface = 10
  1228. p68.TopSurface = 10
  1229. p69 = new("Part", m4)
  1230. p69.BrickColor = BrickColor.new("Light stone grey")
  1231. p69.Material = "SmoothPlastic"
  1232. p69.FormFactor = 3
  1233. p69.Size = Vector3.new(0.200000003, 1.39999986, 0.600000024)
  1234. p69.CFrame = CFrame.new(-70.0999985, 1.87199998, 1.33899999, 0.965924203, 3.48184663e-008, 0.258818537, -0.249999583, 0.258818626, 0.933011413, -0.0669870749, -0.965924084, 0.249999717)
  1235. p69.BackSurface = 10
  1236. p69.BottomSurface = 10
  1237. p69.FrontSurface = 10
  1238. p69.LeftSurface = 10
  1239. p69.RightSurface = 10
  1240. p69.TopSurface = 10
  1241. p70 = new("Part", m4)
  1242. p70.BrickColor = BrickColor.new("Light stone grey")
  1243. p70.Material = "SmoothPlastic"
  1244. p70.FormFactor = 3
  1245. p70.Size = Vector3.new(0.200000003, 1.39999986, 0.600000024)
  1246. p70.CFrame = CFrame.new(-70.5, 1.87199998, 1.33899999, 0.965924144, -1.15425593e-007, -0.258818656, 0.249999747, 0.258818656, 0.933011293, 0.0669872239, -0.965924084, 0.249999702)
  1247. p70.BackSurface = 10
  1248. p70.BottomSurface = 10
  1249. p70.FrontSurface = 10
  1250. p70.LeftSurface = 10
  1251. p70.RightSurface = 10
  1252. p70.TopSurface = 10
  1253. p71 = new("WedgePart", m4)
  1254. p71.BrickColor = BrickColor.new("Medium stone grey")
  1255. p71.Material = "SmoothPlastic"
  1256. p71.Name = "Wedge"
  1257. p71.FormFactor = 3
  1258. p71.Size = Vector3.new(1.79999995, 0.200000003, 0.999999881)
  1259. p71.CFrame = CFrame.new(-69.2999954, 2.69999695, 0.699999988, 7.61514318e-009, 1, -2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, -0.999999702, 7.61513697e-009, -5.96046448e-008)
  1260. p71.BackSurface = 10
  1261. p71.BottomSurface = 10
  1262. p71.FrontSurface = 10
  1263. p71.LeftSurface = 10
  1264. p71.RightSurface = 10
  1265. p71.TopSurface = 10
  1266. p72 = new("WedgePart", m4)
  1267. p72.BrickColor = BrickColor.new("Medium stone grey")
  1268. p72.Material = "SmoothPlastic"
  1269. p72.Name = "Wedge"
  1270. p72.FormFactor = 3
  1271. p72.Size = Vector3.new(1.79999995, 0.200000003, 0.799999893)
  1272. p72.CFrame = CFrame.new(-70.8000183, 3.29999995, 0.699998677, 1.39279588e-009, 7.78571234e-008, 0.999998033, 1.59443047e-007, 0.999997497, -3.1209364e-008, -0.99999845, 1.8924537e-007, 1.3927921e-009)
  1273. p72.BackSurface = 10
  1274. p72.BottomSurface = 10
  1275. p72.FrontSurface = 10
  1276. p72.LeftSurface = 10
  1277. p72.RightSurface = 10
  1278. p72.TopSurface = 10
  1279. p73 = new("Part", m4)
  1280. p73.BrickColor = BrickColor.new("Medium stone grey")
  1281. p73.Material = "SmoothPlastic"
  1282. p73.FormFactor = 3
  1283. p73.Size = Vector3.new(1.79999995, 0.200000003, 0.200000003)
  1284. p73.CFrame = CFrame.new(-70.3000259, 3.30000019, 0.699999928, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1285. p73.BackSurface = 10
  1286. p73.BottomSurface = 10
  1287. p73.FrontSurface = 10
  1288. p73.LeftSurface = 10
  1289. p73.RightSurface = 10
  1290. p73.TopSurface = 10
  1291. p74 = new("WedgePart", m4)
  1292. p74.BrickColor = BrickColor.new("Medium stone grey")
  1293. p74.Material = "SmoothPlastic"
  1294. p74.Name = "Wedge"
  1295. p74.FormFactor = 3
  1296. p74.Size = Vector3.new(0.400000006, 2.20000005, 0.799999952)
  1297. p74.CFrame = CFrame.new(-69.1999817, 1.59999597, 0.699998975, -0.999999285, -1.47023982e-009, 5.05212441e-008, 5.05212299e-008, 8.94068108e-008, 0.999998569, -1.4702447e-009, 0.999999285, -8.94069316e-008)
  1298. p74.BackSurface = 10
  1299. p74.BottomSurface = 10
  1300. p74.FrontSurface = 10
  1301. p74.LeftSurface = 10
  1302. p74.RightSurface = 10
  1303. p74.TopSurface = 10
  1304. p75 = new("Part", m4)
  1305. p75.BrickColor = BrickColor.new("Medium stone grey")
  1306. p75.Material = "SmoothPlastic"
  1307. p75.FormFactor = 3
  1308. p75.Size = Vector3.new(0.400000006, 2.20000005, 0.200000018)
  1309. p75.CFrame = CFrame.new(-69.1999893, 2.09999514, 0.69999969, 0.99999994, -1.04632987e-008, -2.52606451e-008, -2.52606469e-008, -2.98023224e-008, -0.999999881, 1.04632969e-008, 0.999999881, -2.98023224e-008)
  1310. p75.BackSurface = 10
  1311. p75.BottomSurface = 10
  1312. p75.FrontSurface = 10
  1313. p75.LeftSurface = 10
  1314. p75.RightSurface = 10
  1315. p75.TopSurface = 10
  1316. p76 = new("WedgePart", m4)
  1317. p76.BrickColor = BrickColor.new("Medium stone grey")
  1318. p76.Material = "SmoothPlastic"
  1319. p76.Name = "Wedge"
  1320. p76.FormFactor = 3
  1321. p76.Size = Vector3.new(0.400000006, 2.20000005, 0.799999952)
  1322. p76.CFrame = CFrame.new(-71.4000244, 1.60000086, 0.700000882, -0.999999285, -1.47023982e-009, 5.05212441e-008, 5.05212299e-008, 8.94068108e-008, 0.999998569, -1.4702447e-009, 0.999999285, -8.94069316e-008)
  1323. p76.BackSurface = 10
  1324. p76.BottomSurface = 10
  1325. p76.FrontSurface = 10
  1326. p76.LeftSurface = 10
  1327. p76.RightSurface = 10
  1328. p76.TopSurface = 10
  1329. p77 = new("Part", m4)
  1330. p77.BrickColor = BrickColor.new("Medium stone grey")
  1331. p77.Material = "SmoothPlastic"
  1332. p77.FormFactor = 3
  1333. p77.Size = Vector3.new(0.400000006, 2.20000005, 0.200000018)
  1334. p77.CFrame = CFrame.new(-71.4000244, 2.10000038, 0.700000405, 0.99999994, -1.04632987e-008, -2.52606451e-008, -2.52606469e-008, -2.98023224e-008, -0.999999881, 1.04632969e-008, 0.999999881, -2.98023224e-008)
  1335. p77.BackSurface = 10
  1336. p77.BottomSurface = 10
  1337. p77.FrontSurface = 10
  1338. p77.LeftSurface = 10
  1339. p77.RightSurface = 10
  1340. p77.TopSurface = 10
  1341. p78 = new("WedgePart", m4)
  1342. p78.BrickColor = BrickColor.new("Medium stone grey")
  1343. p78.Material = "SmoothPlastic"
  1344. p78.Name = "Wedge"
  1345. p78.FormFactor = 3
  1346. p78.Size = Vector3.new(1.79999995, 0.200000003, 0.999999881)
  1347. p78.CFrame = CFrame.new(-71.3000259, 2.70000005, 0.699999928, -7.61514318e-009, -1, 2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, 0.999999702, -7.61513697e-009, 5.96046448e-008)
  1348. p78.BackSurface = 10
  1349. p78.BottomSurface = 10
  1350. p78.FrontSurface = 10
  1351. p78.LeftSurface = 10
  1352. p78.RightSurface = 10
  1353. p78.TopSurface = 10
  1354. p79 = new("Part", m4)
  1355. p79.BrickColor = BrickColor.new("Medium stone grey")
  1356. p79.Material = "SmoothPlastic"
  1357. p79.FormFactor = 3
  1358. p79.Size = Vector3.new(1.79999995, 2, 0.200000018)
  1359. p79.CFrame = CFrame.new(-70.3000259, 1.79999995, 0.500000179, 1, 0, 0, 0, 0.70710659, -0.707106948, 0, 0.707106948, 0.70710659)
  1360. p79.BackSurface = 10
  1361. p79.BottomSurface = 10
  1362. p79.FrontSurface = 10
  1363. p79.LeftSurface = 10
  1364. p79.RightSurface = 10
  1365. p79.TopSurface = 10
  1366. p80 = new("Part", m4)
  1367. p80.BrickColor = BrickColor.new("Institutional white")
  1368. p80.Material = "SmoothPlastic"
  1369. p80.FormFactor = 3
  1370. p80.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003)
  1371. p80.CFrame = CFrame.new(-69.4999847, 2.09999967, -0.100000001, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1372. p80.BackSurface = 10
  1373. p80.BottomSurface = 10
  1374. p80.FrontSurface = 10
  1375. p80.LeftSurface = 10
  1376. p80.RightSurface = 10
  1377. p80.TopSurface = 10
  1378. p81 = new("WedgePart", m4)
  1379. p81.BrickColor = BrickColor.new("Medium stone grey")
  1380. p81.Material = "SmoothPlastic"
  1381. p81.Name = "Wedge"
  1382. p81.FormFactor = 3
  1383. p81.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  1384. p81.CFrame = CFrame.new(-70.8000412, 3.5, -0.300000012, -7.61514318e-009, -1, 2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, 0.999999702, -7.61513697e-009, 5.96046448e-008)
  1385. p81.BackSurface = 10
  1386. p81.BottomSurface = 10
  1387. p81.FrontSurface = 10
  1388. p81.LeftSurface = 10
  1389. p81.RightSurface = 10
  1390. p81.TopSurface = 10
  1391. p82 = new("Part", m4)
  1392. p82.BrickColor = BrickColor.new("Medium stone grey")
  1393. p82.Material = "SmoothPlastic"
  1394. p82.FormFactor = 3
  1395. p82.Size = Vector3.new(1.79999995, 0.200000003, 0.200000003)
  1396. p82.CFrame = CFrame.new(-70.3000412, 3.29999995, -0.300000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1397. p82.BackSurface = 10
  1398. p82.BottomSurface = 10
  1399. p82.FrontSurface = 10
  1400. p82.LeftSurface = 10
  1401. p82.RightSurface = 10
  1402. p82.TopSurface = 10
  1403. p83 = new("Part", m4)
  1404. p83.BrickColor = BrickColor.new("Medium stone grey")
  1405. p83.Material = "SmoothPlastic"
  1406. p83.FormFactor = 3
  1407. p83.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1408. p83.CFrame = CFrame.new(-70.3000412, 3.49999976, -0.300000042, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1409. p83.BackSurface = 10
  1410. p83.BottomSurface = 10
  1411. p83.FrontSurface = 10
  1412. p83.LeftSurface = 10
  1413. p83.RightSurface = 10
  1414. p83.TopSurface = 10
  1415. p84 = new("WedgePart", m4)
  1416. p84.BrickColor = BrickColor.new("Medium stone grey")
  1417. p84.Material = "SmoothPlastic"
  1418. p84.Name = "Wedge"
  1419. p84.FormFactor = 3
  1420. p84.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  1421. p84.CFrame = CFrame.new(-69.8000412, 3.49999905, -0.300000012, 7.61512897e-009, 0.999998808, -3.24887246e-008, 5.96045027e-008, -2.88746271e-008, -0.999997318, -0.99999851, 7.61512275e-009, -5.96045737e-008)
  1422. p84.BackSurface = 10
  1423. p84.BottomSurface = 10
  1424. p84.FrontSurface = 10
  1425. p84.LeftSurface = 10
  1426. p84.RightSurface = 10
  1427. p84.TopSurface = 10
  1428. p85 = new("Part", m4)
  1429. p85.BrickColor = BrickColor.new("Institutional white")
  1430. p85.Material = "SmoothPlastic"
  1431. p85.FormFactor = 3
  1432. p85.Size = Vector3.new(1.80000007, 1.5999999, 0.400000006)
  1433. p85.CFrame = CFrame.new(-70.2999954, 2.99999976, -0.199999988, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1434. p85.BackSurface = 10
  1435. p85.BottomSurface = 10
  1436. p85.FrontSurface = 10
  1437. p85.LeftSurface = 10
  1438. p85.RightSurface = 10
  1439. p85.TopSurface = 10
  1440. p86 = new("Part", m4)
  1441. p86.BrickColor = BrickColor.new("Institutional white")
  1442. p86.Material = "SmoothPlastic"
  1443. p86.FormFactor = 3
  1444. p86.Size = Vector3.new(0.200000003, 1.39999998, 0.200000003)
  1445. p86.CFrame = CFrame.new(-69.5000229, 2.5, -0.100000009, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1446. p86.BackSurface = 10
  1447. p86.BottomSurface = 10
  1448. p86.FrontSurface = 10
  1449. p86.LeftSurface = 10
  1450. p86.RightSurface = 10
  1451. p86.TopSurface = 10
  1452. p87 = new("WedgePart", m4)
  1453. p87.BrickColor = BrickColor.new("Medium stone grey")
  1454. p87.Material = "SmoothPlastic"
  1455. p87.Name = "Wedge"
  1456. p87.FormFactor = 3
  1457. p87.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993)
  1458. p87.CFrame = CFrame.new(-69.1999893, 2.79999495, -0.300000072, 7.61514318e-009, 1, -2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, -0.999999702, 7.61513697e-009, -5.96046448e-008)
  1459. p87.BackSurface = 10
  1460. p87.BottomSurface = 10
  1461. p87.FrontSurface = 10
  1462. p87.LeftSurface = 10
  1463. p87.RightSurface = 10
  1464. p87.TopSurface = 10
  1465. p88 = new("Part", m4)
  1466. p88.BrickColor = BrickColor.new("Institutional white")
  1467. p88.Material = "SmoothPlastic"
  1468. p88.FormFactor = 3
  1469. p88.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003)
  1470. p88.CFrame = CFrame.new(-71.0999985, 2.49999976, -0.300000012, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1471. p88.BackSurface = 10
  1472. p88.BottomSurface = 10
  1473. p88.FrontSurface = 10
  1474. p88.LeftSurface = 10
  1475. p88.RightSurface = 10
  1476. p88.TopSurface = 10
  1477. p89 = new("Part", m4)
  1478. p89.BrickColor = BrickColor.new("Institutional white")
  1479. p89.Material = "SmoothPlastic"
  1480. p89.FormFactor = 3
  1481. p89.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003)
  1482. p89.CFrame = CFrame.new(-71.0999985, 2.10000014, -0.100000024, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1483. p89.BackSurface = 10
  1484. p89.BottomSurface = 10
  1485. p89.FrontSurface = 10
  1486. p89.LeftSurface = 10
  1487. p89.RightSurface = 10
  1488. p89.TopSurface = 10
  1489. p90 = new("WedgePart", m4)
  1490. p90.BrickColor = BrickColor.new("Medium stone grey")
  1491. p90.Material = "SmoothPlastic"
  1492. p90.Name = "Wedge"
  1493. p90.FormFactor = 3
  1494. p90.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993)
  1495. p90.CFrame = CFrame.new(-71.4000244, 2.80000019, -0.299999833, -7.61514318e-009, -1, 2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, 0.999999702, -7.61513697e-009, 5.96046448e-008)
  1496. p90.BackSurface = 10
  1497. p90.BottomSurface = 10
  1498. p90.FrontSurface = 10
  1499. p90.LeftSurface = 10
  1500. p90.RightSurface = 10
  1501. p90.TopSurface = 10
  1502. p91 = new("Part", m4)
  1503. p91.BrickColor = BrickColor.new("Institutional white")
  1504. p91.Material = "SmoothPlastic"
  1505. p91.FormFactor = 3
  1506. p91.Size = Vector3.new(0.200000003, 1.39999998, 0.200000003)
  1507. p91.CFrame = CFrame.new(-71.0999985, 1.69999981, -0.299999982, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1508. p91.BackSurface = 10
  1509. p91.BottomSurface = 10
  1510. p91.FrontSurface = 10
  1511. p91.LeftSurface = 10
  1512. p91.RightSurface = 10
  1513. p91.TopSurface = 10
  1514. p92 = new("Part", m4)
  1515. p92.BrickColor = BrickColor.new("Institutional white")
  1516. p92.Material = "SmoothPlastic"
  1517. p92.FormFactor = 3
  1518. p92.Size = Vector3.new(0.200000003, 1.39999998, 0.200000003)
  1519. p92.CFrame = CFrame.new(-69.5000229, 1.70000005, -0.300000012, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1520. p92.BackSurface = 10
  1521. p92.BottomSurface = 10
  1522. p92.FrontSurface = 10
  1523. p92.LeftSurface = 10
  1524. p92.RightSurface = 10
  1525. p92.TopSurface = 10
  1526. p1 = Instance.new("Part", m1)
  1527. p1.BrickColor = BrickColor.new("Institutional white")
  1528. p1.Material = Enum.Material.Neon
  1529. p1.FormFactor = Enum.FormFactor.Custom
  1530. p1.Size = Vector3.new(0.800000012, 0.200000003, 0.600000024)
  1531. p1.CFrame = CFrame.new(-70.3000031, 1.80000007, -6.30000687, -2.40267752e-007, -2.98023224e-008, -0.999999642, 1, 6.37415951e-007, -2.40267809e-007, 6.37416065e-007, -0.999999642, 2.98023224e-008)
  1532. b1 = Instance.new("SpecialMesh", p1)
  1533. b1.MeshType = Enum.MeshType.Sphere
  1534. b1.Name = "Mesh"
  1535. b1.Scale = Vector3.new(1, 2, 1.25)
  1536. x1 = Instance.new("SpotLight", p1)
  1537. x1.Angle = 60
  1538. x1.Range = 60
  1539. x1.Face = "Top";
  1540. x1.Enabled = false;
  1541. x2 = Instance.new("PointLight", p1)
  1542. x2.Enabled = false;
  1543. m.Parent = char
  1544. m:MakeJoints()
  1545. WeldChildren(m);
  1546. Smoke.Enabled = false;
  1547. Seat.CFrame = torso.CFrame * CFrame.new(0, -1, 0)
  1548. WeldP(rootpart, Seat, CFrame.new(0, -1, -.75));
  1549. torso.CFrame = torso.CFrame * CFrame.new(0, 1, 0);
  1550. humanoid.Changed:connect(function()
  1551. if (humanoid.Jump) then
  1552. humanoid.Jump = false;
  1553. end
  1554. end)
  1555. local BodyPos = new("BodyPosition", rootpart);
  1556. BodyPos.position = Vector3.new(0, 5, 0);
  1557. BodyPos.maxForce = Vector3.new(0, 7e5, 0)
  1558. BodyPos.D = 120;
  1559. local BodyGyro = new("BodyGyro", rootpart)
  1560. BodyGyro.cframe = rootpart.CFrame;
  1561. BodyGyro.maxTorque = Vector3.new(7e5, 7e5, 7e5);
  1562. local BodyVelo = new("BodyVelocity", rootpart);
  1563. BodyVelo.maxForce = Vector3.new(7e5, 0, 7e5);
  1564. BodyVelo.velocity = Vector3.new();
  1565. local TORQUE, SPEED, ROTSPEED, CHARGE = 0, 0, 0, 0;
  1566. local MAXTORQUE = 1;
  1567. local MAXSPEED = 120;
  1568. local REPAIRMODE = false;
  1569. KEY_HOLD = {}
  1570. local MOUSE_DOWN;
  1571. local MOUSE_UP = true;
  1572. mouse.KeyDown:connect(function(k)
  1573. KEY_HOLD[tostring(k):lower()] = true;
  1574. if (k == "f") then
  1575. x1.Enabled = not x1.Enabled
  1576. x2.Enabled = not x2.Enabled
  1577. end
  1578. if (k == "h") then
  1579. REPAIRMODE = not REPAIRMODE
  1580. end
  1581. end)
  1582. mouse.KeyUp:connect(function(k)
  1583. KEY_HOLD[tostring(k):lower()] = false;
  1584. end)
  1585. mouse.Button1Down:connect(function()
  1586. MOUSE_DOWN = true;
  1587. MOUSE_UP = false;
  1588. end)
  1589. mouse.Button1Up:connect(function()
  1590. MOUSE_DOWN = false;
  1591. MOUSE_UP = true;
  1592. end)
  1593. local OnFire = new("Sound", Barrel);
  1594. OnFire.SoundId = "rbxassetid://10209257"
  1595. OnFire.Volume = .5
  1596. local OnMove = new("Sound", Seat);
  1597. OnMove.SoundId = "rbxassetid://148008221";
  1598. OnMove.Volume = 1
  1599. local Particlus = {}
  1600. for i = 1, 3 do
  1601. local Colors = {Color3.new(1,0,0), Color3.new(1,.5,0), Color3.new(1,.9,0);}
  1602. local Particle = new("ParticleEmitter", Smoke.Parent);
  1603. Particle.VelocitySpread = 30;
  1604. Particle.LightEmission = 200;
  1605. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.3, 0), NumberSequenceKeypoint.new(1, 0.9, 0)})
  1606. --Particle.Color = ColorSequence.new(Colors[i]);
  1607. Particle.Texture = "rbxassetid://262622448";
  1608. Particle.Rate = 100;
  1609. Particle.Speed = NumberRange.new(15);
  1610. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
  1611. Particle.Lifetime = NumberRange.new(2);
  1612. Particle.Acceleration = Vector3.new(0, 10 + i*5, 0)
  1613. --Particle.Rotation = NumberRange.new(0,90);
  1614. table.insert(Particlus, Particle);
  1615. end
  1616. function RayC(Part, speed, target)
  1617. coroutine.wrap(function()
  1618. local Visual = BasePart:clone();
  1619. Visual.FormFactor = "Custom";
  1620. Visual.BrickColor = BrickColor.Yellow();
  1621. Visual.Size = Vector3.new(.2, 6, .2);
  1622. Visual.CFrame = Part.CFrame * CFrame.new(0, -1, 0);
  1623. Visual.Anchored = true;
  1624. Visual.CanCollide = false;
  1625. Visual.Locked = true
  1626. Visual.Material = "Neon";
  1627. local shell = BasePart:clone()
  1628. shell.Transparency = 0
  1629. shell:ClearAllChildren()
  1630. shell.Anchored = false
  1631. shell.CFrame = Part.CFrame * CFrame.new(.2,0,0)
  1632. shell.Size = Vector3.new(.2,.5,.2)
  1633. shell.Parent = Storage
  1634. shell.BrickColor = BrickColor.new('Bright yellow')
  1635. shell.CanCollide = true
  1636. Instance.new('BlockMesh', shell).Scale = Vector3.new(.2,.4,.2)
  1637. game:service'Debris':AddItem(shell,5)
  1638. shell.Velocity = (Part.CFrame * CFrame.Angles(math.rad(math.random(-10,10)*8), -math.rad(40), math.rad(20))).lookVector * 15
  1639. --FIRE ANIMATION
  1640. --
  1641. local Particle = new("ParticleEmitter", Part);
  1642. Particle.VelocitySpread = 30;
  1643. Particle.LightEmission = 200;
  1644. local Colors = {Color3.new(1,0,0), Color3.new(1,.5,0), Color3.new(1,.9,0);}
  1645. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1, 0), NumberSequenceKeypoint.new(1, 0.25, 0)})
  1646. Particle.Color = ColorSequence.new(Colors[math.random(#Colors)]);
  1647. Particle.Texture = "rbxassetid://252350680";
  1648. Particle.Rotation = NumberRange.new(0,90);
  1649. Particle.Rate = 100;
  1650. Particle.Speed = NumberRange.new(15);
  1651. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
  1652. Particle.Lifetime = NumberRange.new(.1);
  1653. coroutine.wrap(function()
  1654. wait(.2)
  1655. Particle.Enabled = false;
  1656. wait(.4)
  1657. Particle:Destroy()
  1658. end)()
  1659. new("SpecialMesh", Visual).MeshType = "Sphere";
  1660. Visual.Mesh.Scale = Vector3.new(.5, 1, .5);
  1661. local bulletpos = Visual.Position
  1662. local bulletvelocity = (target - bulletpos).unit*speed
  1663. local lastbulletpos = Visual.Position
  1664. while game:service'RunService'.Stepped:wait() do
  1665. lastbulletpos = bulletpos
  1666. bulletpos = bulletpos + bulletvelocity
  1667. Visual.Parent = Storage;
  1668. local RayCast = Ray.new(lastbulletpos, (bulletpos - lastbulletpos))
  1669. local hit, hitpos, normal = workspace:FindPartOnRay(RayCast, char, false, true)
  1670. if (torso.Position - Visual.Position).magnitude > 2000 or Visual.Parent == nil then
  1671. Visual:Destroy();
  1672. break
  1673. end
  1674. Visual.Anchored = true
  1675. Visual.CFrame = CFrame.new(bulletpos, bulletpos+bulletvelocity) * CFrame.Angles(math.pi/2, 0, 0);
  1676. if hit then
  1677. if hit.Parent then
  1678. if hit.Parent.Parent:IsA'Model' then
  1679. for x,z in next, hit.Parent.Parent:children() do
  1680. if z:IsA'Humanoid' then
  1681. if (z.MaxHealth == math.huge) then
  1682. z.Parent:breakJoints();
  1683. end
  1684. z:TakeDamage(math.random(8,12));
  1685. Visual:Destroy();
  1686. break;
  1687. end
  1688. end
  1689. end
  1690. end
  1691. if hit.Parent:IsA'Model' then
  1692. for x,z in next, hit.Parent:children() do
  1693. if z:IsA'Humanoid' then
  1694. if (z.MaxHealth == math.huge) then
  1695. z.Parent:breakJoints();
  1696. end
  1697. z.Health = z.Health - (math.random(8,12));
  1698. Visual:Destroy();
  1699. break;
  1700. end
  1701. end
  1702. end
  1703. local BulletHole
  1704. local Dec
  1705. BulletHole = BasePart:clone()
  1706. BulletHole.Anchored = true
  1707. BulletHole.Transparency = 1
  1708. BulletHole.Size = Vector3.new(.8,.2,.8)
  1709. BulletHole.CFrame = CFrame.new(hitpos, hitpos+normal) * CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4), 0)
  1710. BulletHole.Parent = Storage
  1711. Dec = Instance.new("Decal",BulletHole)
  1712. Dec.Face = "Top"
  1713. Dec.Texture = "rbxassetid://64291977"
  1714. Particles.BulletholeParticles(BulletHole, hit)
  1715. if not hit.Anchored then
  1716. BulletHole.Anchored = false
  1717. local Bweld = Instance.new('Weld', BulletHole)
  1718. Bweld.Part0 = hit
  1719. Bweld.Part1 = BulletHole
  1720. Bweld.C0 = hit.CFrame:toObjectSpace(CFrame.new(hitpos, hitpos+normal)) * CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4),0)
  1721. end
  1722. game:service'Debris':AddItem(BulletHole, 25)
  1723. local sound = Instance.new('Sound', Visual)
  1724. if hit:IsA'BasePart' and hit.Transparency >= .1 then
  1725. local id = {176678459,176678487,176678351}
  1726. if Dec then
  1727. Dec.Texture = "rbxassetid://"..id[math.random(1,#id)]
  1728. end
  1729. if BulletHole then
  1730. Particles.BulletholeParticles(BulletHole, hit)
  1731. BulletHole.Size = Vector3.new(1.5,.2,1.5)
  1732. BulletHole.CFrame = CFrame.new(hitpos,hitpos+normal)*CFrame.new(0,0,.1)*CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4),0)
  1733. if not hit.Anchored then
  1734. BulletHole.Anchored = false
  1735. local Bweld = Instance.new('Weld', BulletHole)
  1736. Bweld.Part0 = hit
  1737. Bweld.Part1 = BulletHole
  1738. Bweld.C0 = hit.CFrame:toObjectSpace(CFrame.new(hitpos, hitpos+normal)) * CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4),0)
  1739. end
  1740. end
  1741. sound.SoundId = "rbxassetid://142082167"
  1742. else
  1743. sound.SoundId = "rbxassetid://170538363"
  1744. end
  1745. sound.Pitch = 1.2+math.random()/3
  1746. sound.Volume = .4
  1747. sound:play()
  1748. game:service'Debris':AddItem(sound,4)
  1749. Visual:Destroy();
  1750. break
  1751. end
  1752. end
  1753. end)()
  1754. end
  1755. local db
  1756. local DB2;
  1757. game:service'RunService'.RenderStepped:connect(function()
  1758. --//
  1759. --// BASE VALUES
  1760. --//
  1761. local rscf = rsc0
  1762. local lscf = lsc0
  1763. local rlcf = rlc0
  1764. local llcf = llc0
  1765. local rjcf = rootc0
  1766. local ncf = neckc0
  1767. local ray = Ray.new(rootpart.Position, Vector3.new(0, -9.5 - math.sin(tick()*2)*.15, 0))
  1768. local hitz, enz, norm = workspace:FindPartOnRay(ray, char)
  1769. --//
  1770. --// BODY OBJECTS
  1771. --//
  1772. BodyPos.D = 120;
  1773. BodyPos.maxForce = Vector3.new(0, 7e5, 0)
  1774. BodyGyro.maxTorque = Vector3.new(7e5, 7e5, 7e5);
  1775. BodyVelo.maxForce = Vector3.new(7e5, 0, 7e5);
  1776. if (hitz) then
  1777. BodyPos.position = Vector3.new(0, enz.y + 9.5 + math.sin(tick()*2)*.15 - CHARGE*6 , 0);
  1778. BodyPos.maxForce = Vector3.new(0, 9999e999, 0)
  1779. else
  1780. BodyPos.maxForce = Vector3.new();
  1781. end
  1782. if (norm ~= Vector3.new(0,0,0) and enz) then
  1783. --[[
  1784. THANK YOU ANTI FOR PROPER HACKY MATH WITH THE QUOTE OF...
  1785. "dis r propr vector maths you know!11"
  1786. --]]
  1787. local dir = (camera.CoordinateFrame.lookVector*Vector3.new(1,1,1)).unit
  1788. BodyGyro.cframe = CFrame.new(enz,enz+dir)*CFrame.Angles(-math.asin(dir:Dot(norm)),0,0)*CFrame.Angles(math.abs(TORQUE)*.35, 0, ROTSPEED*.005 + torso.RotVelocity.Y*.15)
  1789. end
  1790. --//
  1791. --// HOVERBIKE JUMPING
  1792. --//
  1793. if (KEY_HOLD[" "] and hitz) then
  1794. CHARGE = math_max(CHARGE + 0.015, 1);
  1795. else
  1796. if (CHARGE) > 0 then
  1797. local LASTCHARGE = CHARGE;
  1798. CHARGE = -0.15 - (LASTCHARGE*0.15);
  1799. Particles.AirRing(CFrame.new(enz.x, enz.y, enz.z)*CFrame.new(0,1,0), 5, Color3.new(255,255,255), 0.15, 0, 3)
  1800. wait()
  1801. CHARGE = 0;
  1802. end
  1803. end
  1804. --//
  1805. --// LOOP THIS TO PREVENT CHARACTERS FROM GETTING OFF.
  1806. --//
  1807. humanoid.Sit = true;
  1808. --//
  1809. --// ANIMATION
  1810. --//
  1811. rjcf = rootc0 * CFrame.Angles(-math.rad(25), 0, 0);
  1812. rscf = rsc0 * CFrame.new(-.1, 0, 0) * CFrame.Angles(math.pi/1.8, .05, -.1);
  1813. lscf = lsc0 * CFrame.new(.1, 0, 0) * CFrame.Angles(math.pi/1.8, -.05, .1);
  1814. rlcf = rlc0 * CFrame.new(0, .6, -.3) * CFrame.Angles(math.pi/3, 0, 0);
  1815. llcf = llc0 * CFrame.new(0, .6, -.3) * CFrame.Angles(math.pi/3, 0, 0);
  1816. --//
  1817. --// MOVEMENT
  1818. --//
  1819. if (KEY_HOLD["w"] == true and hitz) then
  1820. TORQUE = math_max(TORQUE + 1/25, MAXTORQUE);
  1821. SPEED = math_max(SPEED + 1, MAXSPEED);
  1822. end
  1823. if (KEY_HOLD["s"] == true and hitz) then
  1824. TORQUE = math_min(TORQUE - 1/50, -MAXTORQUE/2);
  1825. SPEED = math_max(SPEED + 1, MAXSPEED/2)
  1826. end
  1827. if (KEY_HOLD["a"] == true and hitz) then
  1828. ROTSPEED = math_max(ROTSPEED + 1, MAXSPEED/1.5);
  1829. end
  1830. if (KEY_HOLD["d"] == true and hitz) then
  1831. ROTSPEED = math_min(ROTSPEED - 1, -MAXSPEED/1.5);
  1832. end
  1833. if (SPEED > 0 or ROTSPEED ~= 0 or TORQUE > 0) then
  1834. if not OnMove.IsPlaying then
  1835. OnMove:play();
  1836. end
  1837. --Smoke.Enabled = true;
  1838. --Smoke.RiseVelocity = SPEED;
  1839. for _,v in next,Particlus do
  1840. v.Enabled = true;
  1841. end
  1842. else
  1843. OnMove:stop();
  1844. --Smoke.Enabled = false;
  1845. --Smoke.RiseVelocity = 0;
  1846. for _,v in next,Particlus do
  1847. v.Enabled = false;
  1848. end
  1849. end
  1850. BodyVelo.velocity = (Seat.CFrame).lookVector*(SPEED*TORQUE) + (Seat.CFrame*CFrame.Angles(0, math.pi/2, 0)).lookVector*ROTSPEED
  1851. if (not KEY_HOLD["w"] and not KEY_HOLD["s"] and hitz) then
  1852. if (TORQUE < 0) then
  1853. TORQUE = math_max(TORQUE + 1/25, 0)
  1854. end
  1855. if (TORQUE > 0) then
  1856. TORQUE = math_min(TORQUE - 1/25, 0)
  1857. end
  1858. if (SPEED < 0) then
  1859. SPEED = math_max(SPEED + 5, 0)
  1860. end
  1861. if (SPEED > 0) then
  1862. SPEED = math_min(SPEED - 5, 0)
  1863. end
  1864. end
  1865. if (not KEY_HOLD["a"] and not KEY_HOLD["d"] and hitz) then
  1866. if (ROTSPEED < 0) then
  1867. ROTSPEED = math_max(ROTSPEED + 1, 0)
  1868. end
  1869. if (ROTSPEED > 0) then
  1870. ROTSPEED = math_min(ROTSPEED - 1, 0)
  1871. end
  1872. end
  1873. --//
  1874. --// REPAIR MODE
  1875. --//
  1876. if (REPAIRMODE) then
  1877. DB2 = false;
  1878. BodyPos.D = 5000;
  1879. BodyGyro.maxTorque = Vector3.new();
  1880. BodyVelo.maxForce = Vector3.new();
  1881. if (hitz) then
  1882. BodyPos.position = Vector3.new(0, enz.y + 1 , 0);
  1883. BodyPos.maxForce = Vector3.new(0, 9999e999, 0)
  1884. else
  1885. BodyPos.maxForce = Vector3.new();
  1886. end
  1887. else
  1888. if (not REPAIRMODE and not DB2) then
  1889. DB2 = true;
  1890. Particles.AirRing(CFrame.new(enz.x, enz.y, enz.z)*CFrame.new(0,1,0), 5, Color3.new(255,255,255), 0.15, 0, 3)
  1891. end
  1892. end
  1893. --//
  1894. --// SHOOTING
  1895. --//
  1896. if (MOUSE_DOWN) then
  1897. if db then return end
  1898. db = true
  1899. wait(.1);
  1900. db = false
  1901. OnFire:play();
  1902. local PointLight = Instance.new("PointLight", Barrel);
  1903. PointLight.Color = Color3.new(1,.5,0)
  1904. PointLight.Brightness = 6;
  1905. game:service'Debris':AddItem(PointLight, .05);
  1906. RayC(Barrel, 25, mouse.Hit.p)
  1907. end
  1908. --//
  1909. --// SMOOTHLY SET TARGET CFRAME
  1910. --//
  1911. rm.C0 = clerp(rm.C0,rscf,speed)
  1912. lm.C0 = clerp(lm.C0,lscf,speed)
  1913. rj.C0 = clerp(rj.C0,rjcf,speed)
  1914. neck.C0 = clerp(neck.C0,ncf,speed)
  1915. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  1916. llegm.C0 = clerp(llegm.C0,llcf,speed)
  1917. end);

comments powered by Disqus