Advertisement
cuepointthekid

Untitled

Jun 16th, 2016
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.73 KB | None | 0 0
  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.  
  78. local plr = game:service'Players'.LocalPlayer
  79. local char = plr.Character
  80. local mouse = plr:GetMouse()
  81. local humanoid = char:findFirstChild("Humanoid")
  82. local torso = char:findFirstChild("Torso")
  83. local head = char.Head
  84. local ra = char:findFirstChild("Right Arm")
  85. local la = char:findFirstChild("Left Arm")
  86. local rl = char:findFirstChild("Right Leg")
  87. local ll = char:findFirstChild("Left Leg")
  88. local rs = torso:findFirstChild("Right Shoulder")
  89. local ls = torso:findFirstChild("Left Shoulder")
  90. local rh = torso:findFirstChild("Right Hip")
  91. local lh = torso:findFirstChild("Left Hip")
  92. local neck = torso:findFirstChild("Neck")
  93. local rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  94. local rootpart = char:findFirstChild("HumanoidRootPart")
  95. local camera = workspace.CurrentCamera
  96. local anim = char:findFirstChild("Animate")
  97.  
  98. if humanoid.Animator then
  99. humanoid.Animator:Destroy()
  100. end
  101.  
  102. local ABS = math.abs;
  103. local SIN = math.sin;
  104. local ASIN = math.asin;
  105. local COS = math.cos;
  106.  
  107. local new = Instance.new;
  108.  
  109. local rm = new('Weld', torso)
  110. rm.C0 = CFrame.new(1.5, 0.5, 0)
  111. rm.C1 = CFrame.new(0, 0.5, 0)
  112. rm.Part0 = torso
  113. rm.Part1 = ra
  114. rm.Name = 'Right Shoulder'
  115.  
  116. local lm = new("Weld", torso)
  117. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  118. lm.C1 = CFrame.new(0, 0.5, 0)
  119. lm.Part0 = torso
  120. lm.Part1 = la
  121. lm.Name = 'Left Shoulder'
  122.  
  123. local rlegm = new("Weld", torso)
  124. rlegm.C0 = CFrame.new(0.5, -1, 0)
  125. rlegm.C1 = CFrame.new(0, 1, 0)
  126. rlegm.Part0 = torso
  127. rlegm.Part1 = rl
  128.  
  129. local llegm = new("Weld", torso)
  130. llegm.C0 = CFrame.new(-0.5, -1, 0)
  131. llegm.C1 = CFrame.new(0, 1, 0)
  132. llegm.Part0 = torso
  133. llegm.Part1 = ll
  134.  
  135. rj.C0 = CFrame.new()
  136. rj.C1 = CFrame.new()
  137.  
  138. neck.C0 = CFrame.new(0, 1, 0)
  139. neck.C1 = CFrame.new(0, -0.5, 0)
  140.  
  141.  
  142. local speed = 0.3
  143. local angle = 0
  144. local anglespeed = 1
  145. rsc0 = rm.C0
  146. lsc0 = lm.C0
  147. llc0 = llegm.C0
  148. rlc0 = rlegm.C0
  149. rootc0 = rj.C0
  150. neckc0 = neck.C0
  151.  
  152. function math_pos(float)
  153. if float < 0 then float = 0 end
  154. return float
  155. end
  156. function math_neg(float)
  157. if float > 0 then float = 0 end
  158. return float
  159. end
  160. function math_max(float, max)
  161. if float > max then float = max end
  162. return float
  163. end
  164. function math_min(float, min)
  165. if float < min then float = min end
  166. return float
  167. end
  168.  
  169. function SharpSin(double_p1)
  170. return ASIN(SIN(double_p1));
  171. end
  172.  
  173.  
  174.  
  175. function WeldP(part0, part1, C0, C1)
  176. local W = new("Weld", char);
  177. W.Part0 = part0;
  178. W.Part1 = part1;
  179. W.C0 = C0 or CFrame.new();
  180. W.C1 = C1 or CFrame.new();
  181. return W;
  182. end
  183.  
  184. function Bevel(part, sizeV3)
  185. local BvlMesh = new("SpecialMesh", part)
  186. BvlMesh.MeshId = "rbxasset://fonts/torso.mesh";
  187. if (sizeV3 ~= nil) then
  188. BvlMesh.Scale = Vector3.new(sizeV3.x/2, sizeV3.y/2, sizeV3.z);
  189. else
  190. BvlMesh.Scale = Vector3.new(part.Size.x/2, part.Size.y/2, part.Size.z);
  191. end
  192. end
  193.  
  194. do
  195. local Possible_Colors = {"Lavender", "Bright blue", "White", "Really black", "Dusty Rose"};
  196. local parts,last = {};
  197. local ColorToPaint = Possible_Colors[math.random(#Possible_Colors)];
  198. function WeldChildren(parent)
  199. for _,v in pairs(parent:GetChildren()) do
  200. if (v:IsA("BasePart")) then
  201. v.Anchored = true
  202. if (v.BrickColor == BrickColor.new("Medium stone grey")) then
  203. v.BrickColor = BrickColor.new(ColorToPaint);
  204. end
  205. if (last) then
  206. local w = new("Weld")
  207. w.Name = ("%s_Weld"):format(v.Name)
  208. w.Part0,w.Part1 = last,v
  209. w.C0 = last.CFrame:inverse()
  210. w.C1 = v.CFrame:inverse()
  211. w.Parent = last
  212. end
  213. last = v
  214. table.insert(parts,v)
  215. end
  216. WeldChildren(v)
  217. end
  218. for _,v in pairs(parts) do
  219. v.Anchored = false
  220. v.Locked = true
  221. end
  222. end
  223. end
  224.  
  225.  
  226. local Particles = {
  227.  
  228. AirRing = function(CF, Distance, Color, Opac, Size, Velocity)
  229. local StoredParticles = {};
  230.  
  231. for Angle = 0, 360, 20 do
  232. local EffectDirection = new("Part", char);
  233. EffectDirection.Anchored = true;
  234. EffectDirection.CanCollide = false;
  235. EffectDirection.CFrame = CF
  236. * CFrame.Angles(math.pi/2, 0, 0)
  237. * CFrame.Angles(0, 0, math.rad(Angle))
  238. * CFrame.new(0, Distance, 0);
  239. EffectDirection.Transparency = 1;
  240. local Smoke = new("Smoke", EffectDirection);
  241. Smoke.Color = Color3.new(Color.r/255, Color.g/255, Color.b/255) or Color3.new(1,1,1);
  242. Smoke.Opacity = Opac or 0.05;
  243. Smoke.Size = Size or 0;
  244. Smoke.RiseVelocity = Velocity or 2;
  245. table.insert(StoredParticles, Smoke);
  246. game:service'Debris':AddItem(EffectDirection, 10);
  247. end
  248.  
  249. wait(.2);
  250.  
  251. for Index,Value in next,StoredParticles do
  252. if Value:IsA'Smoke' then
  253. Value.Enabled = false;
  254. end
  255. end
  256. end;
  257.  
  258. BulletholeParticles = function(Part, hitPart)
  259. do --material splash
  260. local Particle = new("ParticleEmitter", Part);
  261. Particle.VelocitySpread = 30;
  262. Particle.LightEmission = 200;
  263.  
  264.  
  265. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1, 0), NumberSequenceKeypoint.new(1, 0.25, 0)})
  266. Particle.Color = ColorSequence.new(Color3.new(hitPart.BrickColor.r, hitPart.BrickColor.g, hitPart.BrickColor.b));
  267. Particle.Texture = "rbxassetid://339632153";
  268. Particle.Rotation = NumberRange.new(0,90);
  269. Particle.Rate = 25;
  270. Particle.Acceleration = Vector3.new(0, -100, 0)
  271. Particle.Speed = NumberRange.new(35);
  272. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
  273. Particle.Lifetime = NumberRange.new(2);
  274. coroutine.wrap(function()
  275. wait(.2)
  276. Particle.Enabled = false;
  277. Particle.Rate = 0;
  278. wait(2)
  279. Particle:Destroy()
  280. end)()
  281. end
  282.  
  283. do --smoke effect
  284. local Particle = new("ParticleEmitter", Part);
  285. Particle.VelocitySpread = 10;
  286.  
  287.  
  288. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0), NumberSequenceKeypoint.new(1, 0.9, 0)})
  289.  
  290. Particle.Color = ColorSequence.new(Color3.new(hitPart.BrickColor.r, hitPart.BrickColor.g, hitPart.BrickColor.b));
  291. Particle.Texture = "rbxassetid://272031958"; -- replace id
  292. Particle.Rotation = NumberRange.new(0,90);
  293. Particle.Rate = 10;
  294. Particle.Acceleration = Vector3.new(0, -1, 0)
  295. Particle.Speed = NumberRange.new(5);
  296. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
  297. Particle.Lifetime = NumberRange.new(1);
  298. coroutine.wrap(function()
  299. wait(.2)
  300. Particle.Enabled = false;
  301. Particle.Rate = 0;
  302. wait(1)
  303. Particle:Destroy()
  304. end)()
  305. end
  306. end;
  307. };
  308.  
  309.  
  310. local Storage = new("Model", char);
  311.  
  312. local BasePart = new("Part");
  313. BasePart.FormFactor = "Custom";
  314. BasePart.TopSurface = 10;
  315. BasePart.BottomSurface = 10;
  316. BasePart.LeftSurface = 10;
  317. BasePart.RightSurface = 10;
  318. BasePart.FrontSurface = 10;
  319. BasePart.BackSurface = 10;
  320.  
  321. local CylPart = new("Part");
  322. CylPart.FormFactor = "Custom";
  323. CylPart.TopSurface = 10;
  324. CylPart.BottomSurface = 10;
  325. CylPart.LeftSurface = 10;
  326. CylPart.RightSurface = 10;
  327. CylPart.FrontSurface = 10;
  328. CylPart.BackSurface = 10;
  329. new("CylinderMesh", CylPart);
  330.  
  331. local m = new("Model")
  332. m.Name = "HOVERBIKE"
  333. Instance.new("Humanoid", m);
  334. m1 = new("Model")
  335. m1.Name = "Front"
  336. m1.Parent = m
  337. m2 = new("Model")
  338. m2.Name = "Middle"
  339. m2.Parent = m
  340. m3 = new("Model")
  341. m3.Name = "Pedals"
  342. m3.Parent = m2
  343. m4 = new("Model")
  344. m4.Name = "Back"
  345. m4.Parent = m
  346. p1 = new("Part", m1)
  347. p1.BrickColor = BrickColor.new("Institutional white")
  348. p1.Material = "SmoothPlastic"
  349. p1.FormFactor = 3
  350. p1.Size = Vector3.new(2.5999999, 2.4000001, 0.800000131)
  351. 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)
  352. p1.BackSurface = 10
  353. p1.BottomSurface = 10
  354. p1.FrontSurface = 10
  355. p1.LeftSurface = 10
  356. p1.RightSurface = 10
  357. p1.TopSurface = 10
  358. b1 = new("CylinderMesh", p1)
  359. b1.Name = "Mesh"
  360. p2 = new("Part", m1)
  361. p2.BrickColor = BrickColor.new("Institutional white")
  362. p2.Material = "SmoothPlastic"
  363. p2.FormFactor = 3
  364. p2.Size = Vector3.new(0.800000012, 1.00000012, 0.800000012)
  365. 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)
  366. p2.BackSurface = 10
  367. p2.BottomSurface = 10
  368. p2.FrontSurface = 10
  369. p2.LeftSurface = 10
  370. p2.RightSurface = 10
  371. p2.TopSurface = 10
  372. b2 = new("CylinderMesh", p2)
  373. b2.Name = "Mesh"
  374. p3 = new("Part", m1)
  375. p3.BrickColor = BrickColor.new("Medium stone grey")
  376. p3.Material = "SmoothPlastic"
  377. p3.FormFactor = 3
  378. p3.Size = Vector3.new(0.200000033, 1.80000007, 2.26000023)
  379. 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)
  380. p3.BackSurface = 10
  381. p3.BottomSurface = 10
  382. p3.FrontSurface = 10
  383. p3.LeftSurface = 10
  384. p3.RightSurface = 10
  385. p3.TopSurface = 10
  386. p4 = new("Part", m1)
  387. p4.BrickColor = BrickColor.new("Medium stone grey")
  388. p4.Material = "SmoothPlastic"
  389. p4.FormFactor = 3
  390. p4.Size = Vector3.new(1.80000007, 0.200000003, 2.31000018)
  391. 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)
  392. p4.BackSurface = 10
  393. p4.BottomSurface = 10
  394. p4.FrontSurface = 10
  395. p4.LeftSurface = 10
  396. p4.RightSurface = 10
  397. p4.TopSurface = 10
  398. p5 = new("Part", m1)
  399. p5.BrickColor = BrickColor.new("Medium stone grey")
  400. p5.Material = "SmoothPlastic"
  401. p5.FormFactor = 3
  402. p5.Size = Vector3.new(0.200000033, 0.570000052, 2.31000018)
  403. 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)
  404. p5.BackSurface = 10
  405. p5.BottomSurface = 10
  406. p5.FrontSurface = 10
  407. p5.LeftSurface = 10
  408. p5.RightSurface = 10
  409. p5.TopSurface = 10
  410. p6 = new("WedgePart", m1)
  411. p6.BrickColor = BrickColor.new("Dark stone grey")
  412. p6.Material = "SmoothPlastic"
  413. p6.Name = "Wedge"
  414. p6.FormFactor = 3
  415. p6.Size = Vector3.new(0.600000024, 1, 1.19999981)
  416. 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)
  417. p6.BackSurface = 10
  418. p6.BottomSurface = 10
  419. p6.FrontSurface = 10
  420. p6.LeftSurface = 10
  421. p6.RightSurface = 10
  422. p6.TopSurface = 10
  423. p7 = new("WedgePart", m1)
  424. p7.BrickColor = BrickColor.new("Dark stone grey")
  425. p7.Material = "SmoothPlastic"
  426. p7.Name = "Wedge"
  427. p7.FormFactor = 3
  428. p7.Size = Vector3.new(0.600000024, 1.9000001, 1.60000014)
  429. 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)
  430. p7.BackSurface = 10
  431. p7.BottomSurface = 10
  432. p7.FrontSurface = 10
  433. p7.LeftSurface = 10
  434. p7.RightSurface = 10
  435. p7.TopSurface = 10
  436. p8 = new("Part", m1)
  437. p8.BrickColor = BrickColor.new("Institutional white")
  438. p8.Material = "SmoothPlastic"
  439. p8.FormFactor = 3
  440. p8.Size = Vector3.new(0.200000003, 1.00000012, 2.46000028)
  441. p8.CFrame = CFrame.new(-70.6999893, 2.70000029, -5.36999369, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  442. p8.BackSurface = 10
  443. p8.BottomSurface = 10
  444. p8.FrontSurface = 10
  445. p8.LeftSurface = 10
  446. p8.RightSurface = 10
  447. p8.TopSurface = 10
  448. p9 = new("Part", m1)
  449. p9.BrickColor = BrickColor.new("Medium stone grey")
  450. p9.Material = "SmoothPlastic"
  451. p9.FormFactor = 3
  452. p9.Size = Vector3.new(0.200000033, 1, 2.24000001)
  453. 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)
  454. p9.BackSurface = 10
  455. p9.BottomSurface = 10
  456. p9.FrontSurface = 10
  457. p9.LeftSurface = 10
  458. p9.RightSurface = 10
  459. p9.TopSurface = 10
  460. p10 = new("Part", m1)
  461. p10.BrickColor = BrickColor.new("Institutional white")
  462. p10.Material = "SmoothPlastic"
  463. p10.FormFactor = 3
  464. p10.Size = Vector3.new(2.5999999, 2.20000005, 0.800000131)
  465. 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)
  466. p10.BackSurface = 10
  467. p10.BottomSurface = 10
  468. p10.FrontSurface = 10
  469. p10.LeftSurface = 10
  470. p10.RightSurface = 10
  471. p10.TopSurface = 10
  472. b3 = new("CylinderMesh", p10)
  473. b3.Name = "Mesh"
  474. p11 = new("Part", m1)
  475. p11.BrickColor = BrickColor.new("Medium stone grey")
  476. p11.Material = "SmoothPlastic"
  477. p11.FormFactor = 3
  478. p11.Size = Vector3.new(2.5999999, 1.60000002, 1.40000021)
  479. 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)
  480. p11.BackSurface = 10
  481. p11.BottomSurface = 10
  482. p11.FrontSurface = 10
  483. p11.LeftSurface = 10
  484. p11.RightSurface = 10
  485. p11.TopSurface = 10
  486. b4 = new("CylinderMesh", p11)
  487. b4.Name = "Mesh"
  488. p12 = new("Part", m1)
  489. p12.BrickColor = BrickColor.new("Institutional white")
  490. p12.Material = "SmoothPlastic"
  491. p12.FormFactor = 3
  492. p12.Size = Vector3.new(0.200000003, 1.00000012, 2.46000028)
  493. 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)
  494. p12.BackSurface = 10
  495. p12.BottomSurface = 10
  496. p12.FrontSurface = 10
  497. p12.LeftSurface = 10
  498. p12.RightSurface = 10
  499. p12.TopSurface = 10
  500. p13 = new("Part", m1)
  501. p13.BrickColor = BrickColor.new("Institutional white")
  502. p13.Material = "SmoothPlastic"
  503. p13.FormFactor = 3
  504. p13.Size = Vector3.new(0.800000012, 1.00000012, 0.800000012)
  505. 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)
  506. p13.BackSurface = 10
  507. p13.BottomSurface = 10
  508. p13.FrontSurface = 10
  509. p13.LeftSurface = 10
  510. p13.RightSurface = 10
  511. p13.TopSurface = 10
  512. b5 = new("CylinderMesh", p13)
  513. b5.Name = "Mesh"
  514. p14 = new("Part", m1)
  515. p14.BrickColor = BrickColor.new("Institutional white")
  516. p14.Material = "SmoothPlastic"
  517. p14.FormFactor = 3
  518. p14.Size = Vector3.new(1, 0.200000003, 2.66000032)
  519. 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)
  520. p14.BackSurface = 10
  521. p14.BottomSurface = 10
  522. p14.FrontSurface = 10
  523. p14.LeftSurface = 10
  524. p14.RightSurface = 10
  525. p14.TopSurface = 10
  526. p15 = new("Part", m1)
  527. p15.BrickColor = BrickColor.new("Medium stone grey")
  528. p15.Material = "SmoothPlastic"
  529. p15.FormFactor = 3
  530. p15.Size = Vector3.new(0.200000033, 0.600000024, 2.27000022)
  531. 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)
  532. p15.BackSurface = 10
  533. p15.BottomSurface = 10
  534. p15.FrontSurface = 10
  535. p15.LeftSurface = 10
  536. p15.RightSurface = 10
  537. p15.TopSurface = 10
  538. p16 = new("Part", m1)
  539. p16.BrickColor = BrickColor.new("Black")
  540. p16.Material = "SmoothPlastic"
  541. p16.FormFactor = 3
  542. p16.Size = Vector3.new(0.200000033, 1, 0.200000003)
  543. 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)
  544. p16.BackSurface = 10
  545. p16.BottomSurface = 10
  546. p16.FrontSurface = 10
  547. p16.LeftSurface = 10
  548. p16.RightSurface = 10
  549. p16.TopSurface = 10
  550. b6 = new("CylinderMesh", p16)
  551. b6.Name = "Mesh"
  552. p17 = new("WedgePart", m1)
  553. p17.BrickColor = BrickColor.new("Medium stone grey")
  554. p17.Material = "SmoothPlastic"
  555. p17.Name = "Wedge"
  556. p17.FormFactor = 3
  557. p17.Size = Vector3.new(0.600000024, 0.900000095, 0.200000033)
  558. 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)
  559. p17.BackSurface = 10
  560. p17.BottomSurface = 10
  561. p17.FrontSurface = 10
  562. p17.LeftSurface = 10
  563. p17.RightSurface = 10
  564. p17.TopSurface = 10
  565. p18 = new("Part", m1)
  566. p18.BrickColor = BrickColor.new("Institutional white")
  567. p18.Material = "SmoothPlastic"
  568. p18.FormFactor = 3
  569. p18.Size = Vector3.new(1.80000007, 1, 0.200000003)
  570. 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)
  571. p18.BackSurface = 10
  572. p18.BottomSurface = 10
  573. p18.FrontSurface = 10
  574. p18.LeftSurface = 10
  575. p18.RightSurface = 10
  576. p18.TopSurface = 10
  577. b7 = new("BlockMesh", p18)
  578. b7.Name = "Mesh"
  579. b7.Offset = Vector3.new(0, 0, 0.100000001)
  580. b7.Scale = Vector3.new(0.899999976, 0.899999976, 0.200000003)
  581. p19 = new("Part", m1)
  582. p19.BrickColor = BrickColor.new("Dark stone grey")
  583. p19.Material = "SmoothPlastic"
  584. p19.FormFactor = 3
  585. p19.Size = Vector3.new(0.200000003, 0.399999976, 0.200000003)
  586. p19.CFrame = CFrame.new(-70.3000259, 2.59999895, -3.9000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  587. p19.BackSurface = 10
  588. p19.BottomSurface = 10
  589. p19.FrontSurface = 10
  590. p19.LeftSurface = 10
  591. p19.RightSurface = 10
  592. p19.TopSurface = 10
  593. p20 = new("WedgePart", m1)
  594. p20.BrickColor = BrickColor.new("Institutional white")
  595. p20.Material = "SmoothPlastic"
  596. p20.Name = "Wedge"
  597. p20.FormFactor = 3
  598. p20.Size = Vector3.new(1.79999995, 0.699999988, 0.400000066)
  599. p20.CFrame = CFrame.new(-70.2999954, 1.75000012, -3.80001855, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  600. p20.BackSurface = 10
  601. p20.BottomSurface = 10
  602. p20.FrontSurface = 10
  603. p20.LeftSurface = 10
  604. p20.RightSurface = 10
  605. p20.TopSurface = 10
  606. p21 = new("WedgePart", m1)
  607. p21.BrickColor = BrickColor.new("Dark stone grey")
  608. p21.Material = "SmoothPlastic"
  609. p21.Name = "Wedge"
  610. p21.FormFactor = 3
  611. p21.Size = Vector3.new(0.600000024, 0.700000107, 0.600000024)
  612. 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)
  613. p21.BackSurface = 10
  614. p21.BottomSurface = 10
  615. p21.FrontSurface = 10
  616. p21.LeftSurface = 10
  617. p21.RightSurface = 10
  618. p21.TopSurface = 10
  619. p22 = new("Part", m1)
  620. p22.BrickColor = BrickColor.new("Black")
  621. p22.Material = "SmoothPlastic"
  622. p22.FormFactor = 3
  623. p22.Size = Vector3.new(0.200000033, 1, 0.200000003)
  624. 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)
  625. p22.BackSurface = 10
  626. p22.BottomSurface = 10
  627. p22.FrontSurface = 10
  628. p22.LeftSurface = 10
  629. p22.RightSurface = 10
  630. p22.TopSurface = 10
  631. b8 = new("CylinderMesh", p22)
  632. b8.Name = "Mesh"
  633. p23 = new("WedgePart", m1)
  634. p23.BrickColor = BrickColor.new("Medium stone grey")
  635. p23.Material = "SmoothPlastic"
  636. p23.Name = "Wedge"
  637. p23.FormFactor = 3
  638. p23.Size = Vector3.new(1.79999995, 1, 0.400000006)
  639. 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)
  640. p23.BackSurface = 10
  641. p23.BottomSurface = 10
  642. p23.FrontSurface = 10
  643. p23.LeftSurface = 10
  644. p23.RightSurface = 10
  645. p23.TopSurface = 10
  646. p24 = new("WedgePart", m1)
  647. p24.BrickColor = BrickColor.new("Dark stone grey")
  648. p24.Material = "SmoothPlastic"
  649. p24.Name = "Wedge"
  650. p24.FormFactor = 3
  651. p24.Size = Vector3.new(0.600000024, 0.700000107, 0.600000024)
  652. 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)
  653. p24.BackSurface = 10
  654. p24.BottomSurface = 10
  655. p24.FrontSurface = 10
  656. p24.LeftSurface = 10
  657. p24.RightSurface = 10
  658. p24.TopSurface = 10
  659. p25 = new("Part", m1)
  660. p25.BrickColor = BrickColor.new("Medium blue")
  661. p25.Material = "SmoothPlastic"
  662. p25.Transparency = 0.5
  663. p25.FormFactor = 3
  664. p25.Size = Vector3.new(0.600000024, 1.79999995, 0.400000006)
  665. 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)
  666. p25.BackSurface = 10
  667. p25.BottomSurface = 10
  668. p25.FrontSurface = 10
  669. p25.LeftSurface = 10
  670. p25.RightSurface = 10
  671. p25.TopSurface = 10
  672. b9 = new("BlockMesh", p25)
  673. b9.Name = "Mesh"
  674. b9.Scale = Vector3.new(1, 0.850000024, 0.0500000007)
  675. p26 = new("Part", m1)
  676. p26.BrickColor = BrickColor.new("Black")
  677. p26.Material = "SmoothPlastic"
  678. p26.FormFactor = 3
  679. p26.Size = Vector3.new(0.400000006, 0.200000003, 0.600000024)
  680. 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)
  681. p26.BackSurface = 10
  682. p26.BottomSurface = 10
  683. p26.FrontSurface = 10
  684. p26.LeftSurface = 10
  685. p26.RightSurface = 10
  686. p26.TopSurface = 10
  687. b10 = new("CylinderMesh", p26)
  688. b10.Name = "Mesh"
  689. b10.Offset = Vector3.new(0, -0.150000006, 0)
  690. p27 = new("Part", m1)
  691. p27.BrickColor = BrickColor.new("Black")
  692. p27.Material = "SmoothPlastic"
  693. p27.FormFactor = 3
  694. p27.Size = Vector3.new(0.200000033, 1, 0.200000003)
  695. 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)
  696. p27.BackSurface = 10
  697. p27.BottomSurface = 10
  698. p27.FrontSurface = 10
  699. p27.LeftSurface = 10
  700. p27.RightSurface = 10
  701. p27.TopSurface = 10
  702. b11 = new("CylinderMesh", p27)
  703. b11.Name = "Mesh"
  704. b11.Scale = Vector3.new(1.39999998, 1, 1.39999998)
  705. p28 = new("WedgePart", m1)
  706. p28.BrickColor = BrickColor.new("Medium stone grey")
  707. p28.Material = "SmoothPlastic"
  708. p28.Name = "Wedge"
  709. p28.FormFactor = 3
  710. p28.Size = Vector3.new(0.600000024, 0.900000095, 0.200000033)
  711. 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)
  712. p28.BackSurface = 10
  713. p28.BottomSurface = 10
  714. p28.FrontSurface = 10
  715. p28.LeftSurface = 10
  716. p28.RightSurface = 10
  717. p28.TopSurface = 10
  718. p29 = new("Part", m1)
  719. p29.BrickColor = BrickColor.new("Black")
  720. p29.Material = "SmoothPlastic"
  721. p29.FormFactor = 3
  722. p29.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  723. 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)
  724. p29.BackSurface = 10
  725. p29.BottomSurface = 10
  726. p29.FrontSurface = 10
  727. p29.LeftSurface = 10
  728. p29.RightSurface = 10
  729. p29.TopSurface = 10
  730. b12 = new("CylinderMesh", p29)
  731. b12.Name = "Mesh"
  732. b12.Offset = Vector3.new(0, -0.150000006, 0)
  733. p30 = new("Part", m1)
  734. p30.BrickColor = BrickColor.new("Black")
  735. p30.Material = "SmoothPlastic"
  736. p30.FormFactor = 3
  737. p30.Size = Vector3.new(0.600000024, 0.200000003, 0.200000003)
  738. 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)
  739. p30.BackSurface = 10
  740. p30.BottomSurface = 10
  741. p30.FrontSurface = 10
  742. p30.LeftSurface = 10
  743. p30.RightSurface = 10
  744. p30.TopSurface = 10
  745. b13 = new("CylinderMesh", p30)
  746. b13.Name = "Mesh"
  747.  
  748. Barrel = new("Part", m1)
  749. Barrel.BrickColor = BrickColor.new("Black")
  750. Barrel.FormFactor = Enum.FormFactor.Custom
  751. Barrel.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003)
  752. 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)
  753. Mb1 = new("CylinderMesh", Barrel)
  754. Mb1.Name = "Mesh"
  755. Mb1.Scale = Vector3.new(0.5, 1, 0.5)
  756. MainBarrel = new("Part", m1)
  757. MainBarrel.BrickColor = BrickColor.new("Black")
  758. MainBarrel.FormFactor = Enum.FormFactor.Custom
  759. MainBarrel.Size = Vector3.new(0.200000003, 2, 0.200000003)
  760. 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)
  761. Bb2 = new("CylinderMesh", MainBarrel)
  762. Bb2.Name = "Mesh"
  763.  
  764. p31 = new("Part", m2)
  765. p31.BrickColor = BrickColor.new("Dark stone grey")
  766. p31.Material = "SmoothPlastic"
  767. p31.FormFactor = 3
  768. p31.Size = Vector3.new(0.200000003, 0.689999938, 0.200000003)
  769. p31.CFrame = CFrame.new(-70.3000259, 2.56110811, -3.46110916, 1, 0, 0, 0, 0.70710659, 0.70710665, 0, -0.70710665, 0.70710659)
  770. p31.BackSurface = 10
  771. p31.BottomSurface = 10
  772. p31.FrontSurface = 10
  773. p31.LeftSurface = 10
  774. p31.RightSurface = 10
  775. p31.TopSurface = 10
  776. p32 = new("Part", m2)
  777. p32.BrickColor = BrickColor.new("White")
  778. p32.Material = "SmoothPlastic"
  779. p32.FormFactor = 3
  780. p32.Size = Vector3.new(0.600000024, 0.399999976, 0.50000006)
  781. p32.CFrame = CFrame.new(-69.8499985, 1.546, -3.71199989, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  782. p32.BackSurface = 10
  783. p32.BottomSurface = 10
  784. p32.FrontSurface = 10
  785. p32.LeftSurface = 10
  786. p32.RightSurface = 10
  787. p32.TopSurface = 10
  788. p33 = new("Part", m2)
  789. p33.BrickColor = BrickColor.new("Dark stone grey")
  790. p33.Material = "SmoothPlastic"
  791. p33.FormFactor = 3
  792. p33.Size = Vector3.new(0.200000003, 0.399999976, 0.200000003)
  793. p33.CFrame = CFrame.new(-70.3000259, 2.59999871, -3.0999999, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  794. p33.BackSurface = 10
  795. p33.BottomSurface = 10
  796. p33.FrontSurface = 10
  797. p33.LeftSurface = 10
  798. p33.RightSurface = 10
  799. p33.TopSurface = 10
  800.  
  801. Seat = new("Part", m2)
  802. Seat.BrickColor = BrickColor.new("Black")
  803. Seat.Material = "SmoothPlastic"
  804. Seat.FormFactor = 3
  805. Seat.Size = Vector3.new(0.600000024, 0.200000003, 2.20000005)
  806. 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)
  807. Seat.BackSurface = 10
  808. Seat.BottomSurface = 10
  809. Seat.FrontSurface = 10
  810. Seat.LeftSurface = 10
  811. Seat.RightSurface = 10
  812. Seat.TopSurface = 10
  813.  
  814. p35 = new("Part", m2)
  815. p35.BrickColor = BrickColor.new("Dark stone grey")
  816. p35.Material = "SmoothPlastic"
  817. p35.FormFactor = 3
  818. p35.Size = Vector3.new(0.200000003, 1, 3.20000005)
  819. p35.CFrame = CFrame.new(-70.3000259, 1.89999962, -2.4000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  820. p35.BackSurface = 10
  821. p35.BottomSurface = 10
  822. p35.FrontSurface = 10
  823. p35.LeftSurface = 10
  824. p35.RightSurface = 10
  825. p35.TopSurface = 10
  826. p36 = new("Part", m2)
  827. p36.BrickColor = BrickColor.new("Dark stone grey")
  828. p36.Material = "SmoothPlastic"
  829. p36.FormFactor = 3
  830. p36.Size = Vector3.new(0.200000003, 1.39999998, 2.80000019)
  831. p36.CFrame = CFrame.new(-70.3000259, 2.08612967, -2.02450442, 1, 0, 0, 0, 0.965925813, 0.258819044, 0, -0.258819044, 0.965925813)
  832. p36.BackSurface = 10
  833. p36.BottomSurface = 10
  834. p36.FrontSurface = 10
  835. p36.LeftSurface = 10
  836. p36.RightSurface = 10
  837. p36.TopSurface = 10
  838. p37 = new("Part", m2)
  839. p37.BrickColor = BrickColor.new("Medium stone grey")
  840. p37.Material = "SmoothPlastic"
  841. p37.FormFactor = 3
  842. p37.Size = Vector3.new(1.79999995, 0.400000006, 4)
  843. p37.CFrame = CFrame.new(-70.3000259, 1.19999993, -2, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  844. p37.BackSurface = 10
  845. p37.BottomSurface = 10
  846. p37.FrontSurface = 10
  847. p37.LeftSurface = 10
  848. p37.RightSurface = 10
  849. p37.TopSurface = 10
  850. p38 = new("Part", m2)
  851. p38.BrickColor = BrickColor.new("White")
  852. p38.Material = "SmoothPlastic"
  853. p38.Reflectance = 0.5
  854. p38.FormFactor = 3
  855. p38.Size = Vector3.new(1.79999995, 0.210000003, 4)
  856. p38.CFrame = CFrame.new(-70.3000259, 1.0999999, -2, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  857. p38.BackSurface = 10
  858. p38.BottomSurface = 10
  859. p38.FrontSurface = 10
  860. p38.LeftSurface = 10
  861. p38.RightSurface = 10
  862. p38.TopSurface = 10
  863. b14 = new("BlockMesh", p38)
  864. b14.Name = "Mesh"
  865. b14.Scale = Vector3.new(1.10000002, 1, 0.899999976)
  866. p39 = new("WedgePart", m2)
  867. p39.BrickColor = BrickColor.new("Institutional white")
  868. p39.Material = "SmoothPlastic"
  869. p39.Name = "Wedge"
  870. p39.FormFactor = 3
  871. p39.Size = Vector3.new(1.79999995, 1.5, 1.20000005)
  872. 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)
  873. p39.BackSurface = 10
  874. p39.BottomSurface = 10
  875. p39.FrontSurface = 10
  876. p39.LeftSurface = 10
  877. p39.RightSurface = 10
  878. p39.TopSurface = 10
  879. p40 = new("WedgePart", m2)
  880. p40.BrickColor = BrickColor.new("Institutional white")
  881. p40.Material = "SmoothPlastic"
  882. p40.Name = "Wedge"
  883. p40.FormFactor = 3
  884. p40.Size = Vector3.new(1.79999995, 1.79999995, 1.00000012)
  885. 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)
  886. p40.BackSurface = 10
  887. p40.BottomSurface = 10
  888. p40.FrontSurface = 10
  889. p40.LeftSurface = 10
  890. p40.RightSurface = 10
  891. p40.TopSurface = 10
  892. p41 = new("Part", m2)
  893. p41.BrickColor = BrickColor.new("Black")
  894. p41.Material = "SmoothPlastic"
  895. p41.FormFactor = 3
  896. p41.Size = Vector3.new(0.600000024, 0.200000003, 0.850000083)
  897. p41.CFrame = CFrame.new(-70.3000259, 2.94887185, -1.44207752, 1, 0, 0, 0, 0.965925574, 0.258818984, 0, -0.258818984, 0.965925574)
  898. p41.BackSurface = 10
  899. p41.BottomSurface = 10
  900. p41.FrontSurface = 10
  901. p41.LeftSurface = 10
  902. p41.RightSurface = 10
  903. p41.TopSurface = 10
  904. p42 = new("WedgePart", m2)
  905. p42.BrickColor = BrickColor.new("Medium stone grey")
  906. p42.Material = "SmoothPlastic"
  907. p42.Name = "Wedge"
  908. p42.FormFactor = 3
  909. p42.Size = Vector3.new(0.200000003, 0.399999976, 0.799999952)
  910. 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)
  911. p42.BackSurface = 10
  912. p42.BottomSurface = 10
  913. p42.FrontSurface = 10
  914. p42.LeftSurface = 10
  915. p42.RightSurface = 10
  916. p42.TopSurface = 10
  917. p43 = new("Part", m2)
  918. p43.BrickColor = BrickColor.new("Institutional white")
  919. p43.Material = "SmoothPlastic"
  920. p43.FormFactor = 3
  921. p43.Size = Vector3.new(1.79999995, 2, 0.600000083)
  922. p43.CFrame = CFrame.new(-70.3000259, 2.29946756, -1.05553186, 1, 0, 0, 0, 0.965925813, -0.258819044, 0, 0.258819044, 0.965925813)
  923. p43.BackSurface = 10
  924. p43.BottomSurface = 10
  925. p43.FrontSurface = 10
  926. p43.LeftSurface = 10
  927. p43.RightSurface = 10
  928. p43.TopSurface = 10
  929. p44 = new("WedgePart", m2)
  930. p44.BrickColor = BrickColor.new("Medium stone grey")
  931. p44.Material = "SmoothPlastic"
  932. p44.Name = "Wedge"
  933. p44.FormFactor = 3
  934. p44.Size = Vector3.new(0.200000003, 0.399999976, 0.799999952)
  935. 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)
  936. p44.BackSurface = 10
  937. p44.BottomSurface = 10
  938. p44.FrontSurface = 10
  939. p44.LeftSurface = 10
  940. p44.RightSurface = 10
  941. p44.TopSurface = 10
  942. p45 = new("Part", m2)
  943. p45.BrickColor = BrickColor.new("White")
  944. p45.Material = "SmoothPlastic"
  945. p45.FormFactor = 3
  946. p45.Size = Vector3.new(0.600000024, 0.399999976, 0.50000006)
  947. p45.CFrame = CFrame.new(-70.7500229, 1.54644656, -3.71213222, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  948. p45.BackSurface = 10
  949. p45.BottomSurface = 10
  950. p45.FrontSurface = 10
  951. p45.LeftSurface = 10
  952. p45.RightSurface = 10
  953. p45.TopSurface = 10
  954. p46 = new("Part", m3)
  955. p46.BrickColor = BrickColor.new("White")
  956. p46.Material = "SmoothPlastic"
  957. p46.FormFactor = 3
  958. p46.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006)
  959. p46.CFrame = CFrame.new(-70.7500229, 1.89999998, -3.21715736, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  960. p46.BackSurface = 10
  961. p46.BottomSurface = 10
  962. p46.FrontSurface = 10
  963. p46.LeftSurface = 10
  964. p46.RightSurface = 10
  965. p46.TopSurface = 10
  966. b15 = new("BlockMesh", p46)
  967. b15.Name = "Mesh"
  968. b15.Offset = Vector3.new(0.150000006, 0, 0)
  969. p47 = new("Part", m3)
  970. p47.BrickColor = BrickColor.new("White")
  971. p47.Material = "SmoothPlastic"
  972. p47.FormFactor = 3
  973. p47.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006)
  974. p47.CFrame = CFrame.new(-69.8499985, 2.18284273, -3.5, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  975. p47.BackSurface = 10
  976. p47.BottomSurface = 10
  977. p47.FrontSurface = 10
  978. p47.LeftSurface = 10
  979. p47.RightSurface = 10
  980. p47.TopSurface = 10
  981. b16 = new("BlockMesh", p47)
  982. b16.Name = "Mesh"
  983. b16.Offset = Vector3.new(0.150000006, 0, 0)
  984. p48 = new("Part", m3)
  985. p48.BrickColor = BrickColor.new("White")
  986. p48.Material = "SmoothPlastic"
  987. p48.FormFactor = 3
  988. p48.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006)
  989. p48.CFrame = CFrame.new(-70.7500229, 2.18284273, -3.5, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  990. p48.BackSurface = 10
  991. p48.BottomSurface = 10
  992. p48.FrontSurface = 10
  993. p48.LeftSurface = 10
  994. p48.RightSurface = 10
  995. p48.TopSurface = 10
  996. b17 = new("BlockMesh", p48)
  997. b17.Name = "Mesh"
  998. b17.Offset = Vector3.new(0.150000006, 0, 0)
  999. p49 = new("Part", m3)
  1000. p49.BrickColor = BrickColor.new("White")
  1001. p49.Material = "SmoothPlastic"
  1002. p49.FormFactor = 3
  1003. p49.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006)
  1004. p49.CFrame = CFrame.new(-69.8499985, 1.89999986, -3.21715689, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  1005. p49.BackSurface = 10
  1006. p49.BottomSurface = 10
  1007. p49.FrontSurface = 10
  1008. p49.LeftSurface = 10
  1009. p49.RightSurface = 10
  1010. p49.TopSurface = 10
  1011. b18 = new("BlockMesh", p49)
  1012. b18.Name = "Mesh"
  1013. b18.Offset = Vector3.new(0.150000006, 0, 0)
  1014. p50 = new("Part", m3)
  1015. p50.BrickColor = BrickColor.new("White")
  1016. p50.Material = "SmoothPlastic"
  1017. p50.FormFactor = 3
  1018. p50.Size = Vector3.new(0.200000003, 1, 0.700000048)
  1019. p50.CFrame = CFrame.new(-70.7500229, 1.89999998, -3.50000024, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  1020. p50.BackSurface = 10
  1021. p50.BottomSurface = 10
  1022. p50.FrontSurface = 10
  1023. p50.LeftSurface = 10
  1024. p50.RightSurface = 10
  1025. p50.TopSurface = 10
  1026. p51 = new("Part", m3)
  1027. p51.BrickColor = BrickColor.new("White")
  1028. p51.Material = "SmoothPlastic"
  1029. p51.FormFactor = 3
  1030. p51.Size = Vector3.new(0.200000003, 1, 0.700000048)
  1031. p51.CFrame = CFrame.new(-69.8499985, 1.89999998, -3.5, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0)
  1032. p51.BackSurface = 10
  1033. p51.BottomSurface = 10
  1034. p51.FrontSurface = 10
  1035. p51.LeftSurface = 10
  1036. p51.RightSurface = 10
  1037. p51.TopSurface = 10
  1038. p52 = new("WedgePart", m4)
  1039. p52.BrickColor = BrickColor.new("Medium stone grey")
  1040. p52.Material = "SmoothPlastic"
  1041. p52.Name = "Wedge"
  1042. p52.FormFactor = 3
  1043. p52.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  1044. 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)
  1045. p52.BackSurface = 10
  1046. p52.BottomSurface = 10
  1047. p52.FrontSurface = 10
  1048. p52.LeftSurface = 10
  1049. p52.RightSurface = 10
  1050. p52.TopSurface = 10
  1051. p53 = new("WedgePart", m4)
  1052. p53.BrickColor = BrickColor.new("Medium stone grey")
  1053. p53.Material = "SmoothPlastic"
  1054. p53.Name = "Wedge"
  1055. p53.FormFactor = 3
  1056. p53.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993)
  1057. 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)
  1058. p53.BackSurface = 10
  1059. p53.BottomSurface = 10
  1060. p53.FrontSurface = 10
  1061. p53.LeftSurface = 10
  1062. p53.RightSurface = 10
  1063. p53.TopSurface = 10
  1064. p54 = new("Part", m4)
  1065. p54.BrickColor = BrickColor.new("Really black")
  1066. p54.Material = "SmoothPlastic"
  1067. p54.FormFactor = 3
  1068. p54.Size = Vector3.new(1, 0.200000003, 1)
  1069. 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)
  1070. p54.BackSurface = 10
  1071. p54.BottomSurface = 10
  1072. p54.FrontSurface = 10
  1073. p54.LeftSurface = 10
  1074. p54.RightSurface = 10
  1075. p54.TopSurface = 10
  1076. b19 = new("CylinderMesh", p54)
  1077. b19.Name = "Mesh"
  1078. b19.Offset = Vector3.new(0, 0.189999998, 0)
  1079. b19.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  1080. p55 = new("Part", m4)
  1081. p55.BrickColor = BrickColor.new("Black")
  1082. p55.Material = "SmoothPlastic"
  1083. p55.Name = "SmokeDispenser"
  1084. p55.FormFactor = 3
  1085. p55.Size = Vector3.new(0.400000036, 0.200000018, 0.400000036)
  1086. 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)
  1087. p55.BackSurface = 10
  1088. p55.BottomSurface = 10
  1089. p55.FrontSurface = 10
  1090. p55.LeftSurface = 10
  1091. p55.RightSurface = 10
  1092. p55.TopSurface = 10
  1093. Smoke = new("Smoke", p55)
  1094. Smoke.RiseVelocity = 5
  1095. p56 = new("WedgePart", m4)
  1096. p56.BrickColor = BrickColor.new("Medium stone grey")
  1097. p56.Material = "SmoothPlastic"
  1098. p56.Name = "Wedge"
  1099. p56.FormFactor = 3
  1100. p56.Size = Vector3.new(0.200000003, 1, 0.600000024)
  1101. 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)
  1102. p56.BackSurface = 10
  1103. p56.BottomSurface = 10
  1104. p56.FrontSurface = 10
  1105. p56.LeftSurface = 10
  1106. p56.RightSurface = 10
  1107. p56.TopSurface = 10
  1108. p57 = new("WedgePart", m4)
  1109. p57.BrickColor = BrickColor.new("Medium stone grey")
  1110. p57.Material = "SmoothPlastic"
  1111. p57.Name = "Wedge"
  1112. p57.FormFactor = 3
  1113. p57.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  1114. 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)
  1115. p57.BackSurface = 10
  1116. p57.BottomSurface = 10
  1117. p57.FrontSurface = 10
  1118. p57.LeftSurface = 10
  1119. p57.RightSurface = 10
  1120. p57.TopSurface = 10
  1121. p58 = new("WedgePart", m4)
  1122. p58.BrickColor = BrickColor.new("Medium stone grey")
  1123. p58.Material = "SmoothPlastic"
  1124. p58.Name = "Wedge"
  1125. p58.FormFactor = 3
  1126. p58.Size = Vector3.new(0.200000003, 0.600000024, 1)
  1127. 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)
  1128. p58.BackSurface = 10
  1129. p58.BottomSurface = 10
  1130. p58.FrontSurface = 10
  1131. p58.LeftSurface = 10
  1132. p58.RightSurface = 10
  1133. p58.TopSurface = 10
  1134. p59 = new("Part", m4)
  1135. p59.BrickColor = BrickColor.new("Medium stone grey")
  1136. p59.Material = "SmoothPlastic"
  1137. p59.FormFactor = 3
  1138. p59.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1139. p59.CFrame = CFrame.new(-70.3000259, 3.49999976, 1.69999993, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1140. p59.BackSurface = 10
  1141. p59.BottomSurface = 10
  1142. p59.FrontSurface = 10
  1143. p59.LeftSurface = 10
  1144. p59.RightSurface = 10
  1145. p59.TopSurface = 10
  1146. p60 = new("Seat", m4)
  1147. p60.BrickColor = BrickColor.new("Medium stone grey")
  1148. p60.Material = "SmoothPlastic"
  1149. p60.FormFactor = 3
  1150. p60.Size = Vector3.new(1.79999995, 0.400000006, 0.200000003)
  1151. p60.CFrame = CFrame.new(-70.3000259, 3.20000005, 1.69999993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1152. p60.BackSurface = 10
  1153. p60.BottomSurface = 10
  1154. p60.FrontSurface = 10
  1155. p60.LeftSurface = 10
  1156. p60.RightSurface = 10
  1157. p60.TopSurface = 10
  1158. p61 = new("WedgePart", m4)
  1159. p61.BrickColor = BrickColor.new("Medium stone grey")
  1160. p61.Material = "SmoothPlastic"
  1161. p61.Name = "Wedge"
  1162. p61.FormFactor = 3
  1163. p61.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993)
  1164. 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)
  1165. p61.BackSurface = 10
  1166. p61.BottomSurface = 10
  1167. p61.FrontSurface = 10
  1168. p61.LeftSurface = 10
  1169. p61.RightSurface = 10
  1170. p61.TopSurface = 10
  1171. p62 = new("Part", m4)
  1172. p62.BrickColor = BrickColor.new("Light stone grey")
  1173. p62.Material = "SmoothPlastic"
  1174. p62.FormFactor = 3
  1175. p62.Size = Vector3.new(0.600000024, 1.19999993, 0.600000024)
  1176. 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)
  1177. p62.BackSurface = 10
  1178. p62.BottomSurface = 10
  1179. p62.FrontSurface = 10
  1180. p62.LeftSurface = 10
  1181. p62.RightSurface = 10
  1182. p62.TopSurface = 10
  1183. b20 = new("CylinderMesh", p62)
  1184. b20.Name = "Mesh"
  1185. p63 = new("Part", m4)
  1186. p63.BrickColor = BrickColor.new("Really black")
  1187. p63.Material = "SmoothPlastic"
  1188. p63.FormFactor = 3
  1189. p63.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  1190. 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)
  1191. p63.BackSurface = 10
  1192. p63.BottomSurface = 10
  1193. p63.FrontSurface = 10
  1194. p63.LeftSurface = 10
  1195. p63.RightSurface = 10
  1196. p63.TopSurface = 10
  1197. b21 = new("CylinderMesh", p63)
  1198. b21.Name = "Mesh"
  1199. b21.Offset = Vector3.new(0, 0.189999998, 0)
  1200. b21.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  1201. p64 = new("Part", m4)
  1202. p64.BrickColor = BrickColor.new("Light stone grey")
  1203. p64.Material = "SmoothPlastic"
  1204. p64.FormFactor = 3
  1205. p64.Size = Vector3.new(0.600000024, 1.19999993, 0.600000024)
  1206. 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)
  1207. p64.BackSurface = 10
  1208. p64.BottomSurface = 10
  1209. p64.FrontSurface = 10
  1210. p64.LeftSurface = 10
  1211. p64.RightSurface = 10
  1212. p64.TopSurface = 10
  1213. b22 = new("CylinderMesh", p64)
  1214. b22.Name = "Mesh"
  1215. p65 = new("Part", m4)
  1216. p65.BrickColor = BrickColor.new("Really black")
  1217. p65.Material = "SmoothPlastic"
  1218. p65.FormFactor = 3
  1219. p65.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
  1220. 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)
  1221. p65.BackSurface = 10
  1222. p65.BottomSurface = 10
  1223. p65.FrontSurface = 10
  1224. p65.LeftSurface = 10
  1225. p65.RightSurface = 10
  1226. p65.TopSurface = 10
  1227. b23 = new("CylinderMesh", p65)
  1228. b23.Name = "Mesh"
  1229. b23.Offset = Vector3.new(0, 0.189999998, 0)
  1230. b23.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  1231. p66 = new("Part", m4)
  1232. p66.BrickColor = BrickColor.new("Light stone grey")
  1233. p66.Material = "SmoothPlastic"
  1234. p66.FormFactor = 3
  1235. p66.Size = Vector3.new(1, 1.79999995, 1)
  1236. p66.CFrame = CFrame.new(-70.3000031, 2.5, 1.29999995, 1, 0, 0, 0, -0.258819014, -0.965925694, 0, 0.965925694, -0.258819014)
  1237. p66.BackSurface = 10
  1238. p66.BottomSurface = 10
  1239. p66.FrontSurface = 10
  1240. p66.LeftSurface = 10
  1241. p66.RightSurface = 10
  1242. p66.TopSurface = 10
  1243. b24 = new("CylinderMesh", p66)
  1244. b24.Name = "Mesh"
  1245. p67 = new("WedgePart", m4)
  1246. p67.BrickColor = BrickColor.new("Medium stone grey")
  1247. p67.Material = "SmoothPlastic"
  1248. p67.Name = "Wedge"
  1249. p67.FormFactor = 3
  1250. p67.Size = Vector3.new(1.79999995, 0.200000003, 0.799999893)
  1251. 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)
  1252. p67.BackSurface = 10
  1253. p67.BottomSurface = 10
  1254. p67.FrontSurface = 10
  1255. p67.LeftSurface = 10
  1256. p67.RightSurface = 10
  1257. p67.TopSurface = 10
  1258. p68 = new("Part", m4)
  1259. p68.BrickColor = BrickColor.new("Light stone grey")
  1260. p68.Material = "SmoothPlastic"
  1261. p68.FormFactor = 3
  1262. p68.Size = Vector3.new(0.400000036, 1.39999986, 0.200000003)
  1263. 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)
  1264. p68.BackSurface = 10
  1265. p68.BottomSurface = 10
  1266. p68.FrontSurface = 10
  1267. p68.LeftSurface = 10
  1268. p68.RightSurface = 10
  1269. p68.TopSurface = 10
  1270. p69 = new("Part", m4)
  1271. p69.BrickColor = BrickColor.new("Light stone grey")
  1272. p69.Material = "SmoothPlastic"
  1273. p69.FormFactor = 3
  1274. p69.Size = Vector3.new(0.200000003, 1.39999986, 0.600000024)
  1275. 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)
  1276. p69.BackSurface = 10
  1277. p69.BottomSurface = 10
  1278. p69.FrontSurface = 10
  1279. p69.LeftSurface = 10
  1280. p69.RightSurface = 10
  1281. p69.TopSurface = 10
  1282. p70 = new("Part", m4)
  1283. p70.BrickColor = BrickColor.new("Light stone grey")
  1284. p70.Material = "SmoothPlastic"
  1285. p70.FormFactor = 3
  1286. p70.Size = Vector3.new(0.200000003, 1.39999986, 0.600000024)
  1287. 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)
  1288. p70.BackSurface = 10
  1289. p70.BottomSurface = 10
  1290. p70.FrontSurface = 10
  1291. p70.LeftSurface = 10
  1292. p70.RightSurface = 10
  1293. p70.TopSurface = 10
  1294. p71 = new("WedgePart", m4)
  1295. p71.BrickColor = BrickColor.new("Medium stone grey")
  1296. p71.Material = "SmoothPlastic"
  1297. p71.Name = "Wedge"
  1298. p71.FormFactor = 3
  1299. p71.Size = Vector3.new(1.79999995, 0.200000003, 0.999999881)
  1300. 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)
  1301. p71.BackSurface = 10
  1302. p71.BottomSurface = 10
  1303. p71.FrontSurface = 10
  1304. p71.LeftSurface = 10
  1305. p71.RightSurface = 10
  1306. p71.TopSurface = 10
  1307. p72 = new("WedgePart", m4)
  1308. p72.BrickColor = BrickColor.new("Medium stone grey")
  1309. p72.Material = "SmoothPlastic"
  1310. p72.Name = "Wedge"
  1311. p72.FormFactor = 3
  1312. p72.Size = Vector3.new(1.79999995, 0.200000003, 0.799999893)
  1313. 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)
  1314. p72.BackSurface = 10
  1315. p72.BottomSurface = 10
  1316. p72.FrontSurface = 10
  1317. p72.LeftSurface = 10
  1318. p72.RightSurface = 10
  1319. p72.TopSurface = 10
  1320. p73 = new("Part", m4)
  1321. p73.BrickColor = BrickColor.new("Medium stone grey")
  1322. p73.Material = "SmoothPlastic"
  1323. p73.FormFactor = 3
  1324. p73.Size = Vector3.new(1.79999995, 0.200000003, 0.200000003)
  1325. p73.CFrame = CFrame.new(-70.3000259, 3.30000019, 0.699999928, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1326. p73.BackSurface = 10
  1327. p73.BottomSurface = 10
  1328. p73.FrontSurface = 10
  1329. p73.LeftSurface = 10
  1330. p73.RightSurface = 10
  1331. p73.TopSurface = 10
  1332. p74 = new("WedgePart", m4)
  1333. p74.BrickColor = BrickColor.new("Medium stone grey")
  1334. p74.Material = "SmoothPlastic"
  1335. p74.Name = "Wedge"
  1336. p74.FormFactor = 3
  1337. p74.Size = Vector3.new(0.400000006, 2.20000005, 0.799999952)
  1338. 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)
  1339. p74.BackSurface = 10
  1340. p74.BottomSurface = 10
  1341. p74.FrontSurface = 10
  1342. p74.LeftSurface = 10
  1343. p74.RightSurface = 10
  1344. p74.TopSurface = 10
  1345. p75 = new("Part", m4)
  1346. p75.BrickColor = BrickColor.new("Medium stone grey")
  1347. p75.Material = "SmoothPlastic"
  1348. p75.FormFactor = 3
  1349. p75.Size = Vector3.new(0.400000006, 2.20000005, 0.200000018)
  1350. 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)
  1351. p75.BackSurface = 10
  1352. p75.BottomSurface = 10
  1353. p75.FrontSurface = 10
  1354. p75.LeftSurface = 10
  1355. p75.RightSurface = 10
  1356. p75.TopSurface = 10
  1357. p76 = new("WedgePart", m4)
  1358. p76.BrickColor = BrickColor.new("Medium stone grey")
  1359. p76.Material = "SmoothPlastic"
  1360. p76.Name = "Wedge"
  1361. p76.FormFactor = 3
  1362. p76.Size = Vector3.new(0.400000006, 2.20000005, 0.799999952)
  1363. 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)
  1364. p76.BackSurface = 10
  1365. p76.BottomSurface = 10
  1366. p76.FrontSurface = 10
  1367. p76.LeftSurface = 10
  1368. p76.RightSurface = 10
  1369. p76.TopSurface = 10
  1370. p77 = new("Part", m4)
  1371. p77.BrickColor = BrickColor.new("Medium stone grey")
  1372. p77.Material = "SmoothPlastic"
  1373. p77.FormFactor = 3
  1374. p77.Size = Vector3.new(0.400000006, 2.20000005, 0.200000018)
  1375. 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)
  1376. p77.BackSurface = 10
  1377. p77.BottomSurface = 10
  1378. p77.FrontSurface = 10
  1379. p77.LeftSurface = 10
  1380. p77.RightSurface = 10
  1381. p77.TopSurface = 10
  1382. p78 = new("WedgePart", m4)
  1383. p78.BrickColor = BrickColor.new("Medium stone grey")
  1384. p78.Material = "SmoothPlastic"
  1385. p78.Name = "Wedge"
  1386. p78.FormFactor = 3
  1387. p78.Size = Vector3.new(1.79999995, 0.200000003, 0.999999881)
  1388. 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)
  1389. p78.BackSurface = 10
  1390. p78.BottomSurface = 10
  1391. p78.FrontSurface = 10
  1392. p78.LeftSurface = 10
  1393. p78.RightSurface = 10
  1394. p78.TopSurface = 10
  1395. p79 = new("Part", m4)
  1396. p79.BrickColor = BrickColor.new("Medium stone grey")
  1397. p79.Material = "SmoothPlastic"
  1398. p79.FormFactor = 3
  1399. p79.Size = Vector3.new(1.79999995, 2, 0.200000018)
  1400. p79.CFrame = CFrame.new(-70.3000259, 1.79999995, 0.500000179, 1, 0, 0, 0, 0.70710659, -0.707106948, 0, 0.707106948, 0.70710659)
  1401. p79.BackSurface = 10
  1402. p79.BottomSurface = 10
  1403. p79.FrontSurface = 10
  1404. p79.LeftSurface = 10
  1405. p79.RightSurface = 10
  1406. p79.TopSurface = 10
  1407. p80 = new("Part", m4)
  1408. p80.BrickColor = BrickColor.new("Institutional white")
  1409. p80.Material = "SmoothPlastic"
  1410. p80.FormFactor = 3
  1411. p80.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003)
  1412. p80.CFrame = CFrame.new(-69.4999847, 2.09999967, -0.100000001, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1413. p80.BackSurface = 10
  1414. p80.BottomSurface = 10
  1415. p80.FrontSurface = 10
  1416. p80.LeftSurface = 10
  1417. p80.RightSurface = 10
  1418. p80.TopSurface = 10
  1419. p81 = new("WedgePart", m4)
  1420. p81.BrickColor = BrickColor.new("Medium stone grey")
  1421. p81.Material = "SmoothPlastic"
  1422. p81.Name = "Wedge"
  1423. p81.FormFactor = 3
  1424. p81.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  1425. 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)
  1426. p81.BackSurface = 10
  1427. p81.BottomSurface = 10
  1428. p81.FrontSurface = 10
  1429. p81.LeftSurface = 10
  1430. p81.RightSurface = 10
  1431. p81.TopSurface = 10
  1432. p82 = new("Part", m4)
  1433. p82.BrickColor = BrickColor.new("Medium stone grey")
  1434. p82.Material = "SmoothPlastic"
  1435. p82.FormFactor = 3
  1436. p82.Size = Vector3.new(1.79999995, 0.200000003, 0.200000003)
  1437. p82.CFrame = CFrame.new(-70.3000412, 3.29999995, -0.300000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1438. p82.BackSurface = 10
  1439. p82.BottomSurface = 10
  1440. p82.FrontSurface = 10
  1441. p82.LeftSurface = 10
  1442. p82.RightSurface = 10
  1443. p82.TopSurface = 10
  1444. p83 = new("Part", m4)
  1445. p83.BrickColor = BrickColor.new("Medium stone grey")
  1446. p83.Material = "SmoothPlastic"
  1447. p83.FormFactor = 3
  1448. p83.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1449. p83.CFrame = CFrame.new(-70.3000412, 3.49999976, -0.300000042, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1450. p83.BackSurface = 10
  1451. p83.BottomSurface = 10
  1452. p83.FrontSurface = 10
  1453. p83.LeftSurface = 10
  1454. p83.RightSurface = 10
  1455. p83.TopSurface = 10
  1456. p84 = new("WedgePart", m4)
  1457. p84.BrickColor = BrickColor.new("Medium stone grey")
  1458. p84.Material = "SmoothPlastic"
  1459. p84.Name = "Wedge"
  1460. p84.FormFactor = 3
  1461. p84.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  1462. 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)
  1463. p84.BackSurface = 10
  1464. p84.BottomSurface = 10
  1465. p84.FrontSurface = 10
  1466. p84.LeftSurface = 10
  1467. p84.RightSurface = 10
  1468. p84.TopSurface = 10
  1469. p85 = new("Part", m4)
  1470. p85.BrickColor = BrickColor.new("Institutional white")
  1471. p85.Material = "SmoothPlastic"
  1472. p85.FormFactor = 3
  1473. p85.Size = Vector3.new(1.80000007, 1.5999999, 0.400000006)
  1474. p85.CFrame = CFrame.new(-70.2999954, 2.99999976, -0.199999988, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1475. p85.BackSurface = 10
  1476. p85.BottomSurface = 10
  1477. p85.FrontSurface = 10
  1478. p85.LeftSurface = 10
  1479. p85.RightSurface = 10
  1480. p85.TopSurface = 10
  1481. p86 = new("Part", m4)
  1482. p86.BrickColor = BrickColor.new("Institutional white")
  1483. p86.Material = "SmoothPlastic"
  1484. p86.FormFactor = 3
  1485. p86.Size = Vector3.new(0.200000003, 1.39999998, 0.200000003)
  1486. p86.CFrame = CFrame.new(-69.5000229, 2.5, -0.100000009, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1487. p86.BackSurface = 10
  1488. p86.BottomSurface = 10
  1489. p86.FrontSurface = 10
  1490. p86.LeftSurface = 10
  1491. p86.RightSurface = 10
  1492. p86.TopSurface = 10
  1493. p87 = new("WedgePart", m4)
  1494. p87.BrickColor = BrickColor.new("Medium stone grey")
  1495. p87.Material = "SmoothPlastic"
  1496. p87.Name = "Wedge"
  1497. p87.FormFactor = 3
  1498. p87.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993)
  1499. 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)
  1500. p87.BackSurface = 10
  1501. p87.BottomSurface = 10
  1502. p87.FrontSurface = 10
  1503. p87.LeftSurface = 10
  1504. p87.RightSurface = 10
  1505. p87.TopSurface = 10
  1506. p88 = new("Part", m4)
  1507. p88.BrickColor = BrickColor.new("Institutional white")
  1508. p88.Material = "SmoothPlastic"
  1509. p88.FormFactor = 3
  1510. p88.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003)
  1511. p88.CFrame = CFrame.new(-71.0999985, 2.49999976, -0.300000012, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1512. p88.BackSurface = 10
  1513. p88.BottomSurface = 10
  1514. p88.FrontSurface = 10
  1515. p88.LeftSurface = 10
  1516. p88.RightSurface = 10
  1517. p88.TopSurface = 10
  1518. p89 = new("Part", m4)
  1519. p89.BrickColor = BrickColor.new("Institutional white")
  1520. p89.Material = "SmoothPlastic"
  1521. p89.FormFactor = 3
  1522. p89.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003)
  1523. p89.CFrame = CFrame.new(-71.0999985, 2.10000014, -0.100000024, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1524. p89.BackSurface = 10
  1525. p89.BottomSurface = 10
  1526. p89.FrontSurface = 10
  1527. p89.LeftSurface = 10
  1528. p89.RightSurface = 10
  1529. p89.TopSurface = 10
  1530. p90 = new("WedgePart", m4)
  1531. p90.BrickColor = BrickColor.new("Medium stone grey")
  1532. p90.Material = "SmoothPlastic"
  1533. p90.Name = "Wedge"
  1534. p90.FormFactor = 3
  1535. p90.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993)
  1536. 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)
  1537. p90.BackSurface = 10
  1538. p90.BottomSurface = 10
  1539. p90.FrontSurface = 10
  1540. p90.LeftSurface = 10
  1541. p90.RightSurface = 10
  1542. p90.TopSurface = 10
  1543. p91 = new("Part", m4)
  1544. p91.BrickColor = BrickColor.new("Institutional white")
  1545. p91.Material = "SmoothPlastic"
  1546. p91.FormFactor = 3
  1547. p91.Size = Vector3.new(0.200000003, 1.39999998, 0.200000003)
  1548. p91.CFrame = CFrame.new(-71.0999985, 1.69999981, -0.299999982, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1549. p91.BackSurface = 10
  1550. p91.BottomSurface = 10
  1551. p91.FrontSurface = 10
  1552. p91.LeftSurface = 10
  1553. p91.RightSurface = 10
  1554. p91.TopSurface = 10
  1555. p92 = new("Part", m4)
  1556. p92.BrickColor = BrickColor.new("Institutional white")
  1557. p92.Material = "SmoothPlastic"
  1558. p92.FormFactor = 3
  1559. p92.Size = Vector3.new(0.200000003, 1.39999998, 0.200000003)
  1560. p92.CFrame = CFrame.new(-69.5000229, 1.70000005, -0.300000012, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1561. p92.BackSurface = 10
  1562. p92.BottomSurface = 10
  1563. p92.FrontSurface = 10
  1564. p92.LeftSurface = 10
  1565. p92.RightSurface = 10
  1566. p92.TopSurface = 10
  1567.  
  1568. p1 = Instance.new("Part", m1)
  1569. p1.BrickColor = BrickColor.new("Institutional white")
  1570. p1.Material = Enum.Material.Neon
  1571. p1.FormFactor = Enum.FormFactor.Custom
  1572. p1.Size = Vector3.new(0.800000012, 0.200000003, 0.600000024)
  1573. 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)
  1574. b1 = Instance.new("SpecialMesh", p1)
  1575. b1.MeshType = Enum.MeshType.Sphere
  1576. b1.Name = "Mesh"
  1577. b1.Scale = Vector3.new(1, 2, 1.25)
  1578. x1 = Instance.new("SpotLight", p1)
  1579. x1.Angle = 60
  1580. x1.Range = 60
  1581. x1.Face = "Top";
  1582. x1.Enabled = false;
  1583. x2 = Instance.new("PointLight", p1)
  1584. x2.Enabled = false;
  1585.  
  1586. m.Parent = char
  1587. m:MakeJoints()
  1588.  
  1589. WeldChildren(m);
  1590.  
  1591. Smoke.Enabled = false;
  1592. Seat.CFrame = torso.CFrame * CFrame.new(0, -1, 0)
  1593.  
  1594. WeldP(rootpart, Seat, CFrame.new(0, -1, -.75));
  1595.  
  1596. torso.CFrame = torso.CFrame * CFrame.new(0, 1, 0);
  1597. humanoid.Changed:connect(function()
  1598. if (humanoid.Jump) then
  1599. humanoid.Jump = false;
  1600. end
  1601. end)
  1602.  
  1603.  
  1604. local BodyPos = new("BodyPosition", rootpart);
  1605. BodyPos.position = Vector3.new(0, 5, 0);
  1606. BodyPos.maxForce = Vector3.new(0, 7e5, 0)
  1607. BodyPos.D = 120;
  1608.  
  1609. local BodyGyro = new("BodyGyro", rootpart)
  1610. BodyGyro.cframe = rootpart.CFrame;
  1611. BodyGyro.maxTorque = Vector3.new(7e5, 7e5, 7e5);
  1612.  
  1613. local BodyVelo = new("BodyVelocity", rootpart);
  1614. BodyVelo.maxForce = Vector3.new(7e5, 0, 7e5);
  1615. BodyVelo.velocity = Vector3.new();
  1616.  
  1617. local TORQUE, SPEED, ROTSPEED, CHARGE = 0, 0, 0, 0;
  1618. local MAXTORQUE = 1;
  1619. local MAXSPEED = 120;
  1620.  
  1621. local REPAIRMODE = false;
  1622.  
  1623.  
  1624.  
  1625.  
  1626. KEY_HOLD = {}
  1627.  
  1628. local MOUSE_DOWN;
  1629. local MOUSE_UP = true;
  1630.  
  1631. mouse.KeyDown:connect(function(k)
  1632. KEY_HOLD[tostring(k):lower()] = true;
  1633.  
  1634. if (k == "f") then
  1635. x1.Enabled = not x1.Enabled
  1636. x2.Enabled = not x2.Enabled
  1637. end
  1638. if (k == "h") then
  1639. REPAIRMODE = not REPAIRMODE
  1640. end
  1641. end)
  1642. mouse.KeyUp:connect(function(k)
  1643. KEY_HOLD[tostring(k):lower()] = false;
  1644. end)
  1645.  
  1646. mouse.Button1Down:connect(function()
  1647. MOUSE_DOWN = true;
  1648. MOUSE_UP = false;
  1649. end)
  1650. mouse.Button1Up:connect(function()
  1651. MOUSE_DOWN = false;
  1652. MOUSE_UP = true;
  1653. end)
  1654.  
  1655.  
  1656.  
  1657.  
  1658. local OnFire = new("Sound", Barrel);
  1659. OnFire.SoundId = "rbxassetid://10209257"
  1660. OnFire.Volume = .5
  1661.  
  1662. local OnMove = new("Sound", Seat);
  1663. OnMove.SoundId = "rbxassetid://000000";
  1664. OnMove.Volume = 1
  1665.  
  1666.  
  1667.  
  1668.  
  1669. local Particlus = {}
  1670. for i = 1, 3 do
  1671. local Colors = {Color3.new(1,0,0), Color3.new(1,.5,0), Color3.new(1,.9,0);}
  1672.  
  1673. local Particle = new("ParticleEmitter", Smoke.Parent);
  1674. Particle.VelocitySpread = 30;
  1675. Particle.LightEmission = 200;
  1676. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.3, 0), NumberSequenceKeypoint.new(1, 0.9, 0)})
  1677. --Particle.Color = ColorSequence.new(Colors[i]);
  1678. Particle.Texture = "rbxassetid://262622448";
  1679. Particle.Rate = 100;
  1680. Particle.Speed = NumberRange.new(15);
  1681. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
  1682. Particle.Lifetime = NumberRange.new(2);
  1683. Particle.Acceleration = Vector3.new(0, 10 + i*5, 0)
  1684. --Particle.Rotation = NumberRange.new(0,90);
  1685. table.insert(Particlus, Particle);
  1686. end
  1687.  
  1688.  
  1689.  
  1690. function RayC(Part, speed, target)
  1691. coroutine.wrap(function()
  1692. local Visual = BasePart:clone();
  1693. Visual.FormFactor = "Custom";
  1694. Visual.BrickColor = BrickColor.Yellow();
  1695. Visual.Size = Vector3.new(.2, 6, .2);
  1696. Visual.CFrame = Part.CFrame * CFrame.new(0, -1, 0);
  1697. Visual.Anchored = true;
  1698. Visual.CanCollide = false;
  1699. Visual.Locked = true
  1700. Visual.Material = "Neon";
  1701.  
  1702. local shell = BasePart:clone()
  1703. shell.Transparency = 0
  1704. shell:ClearAllChildren()
  1705. shell.Anchored = false
  1706. shell.CFrame = Part.CFrame * CFrame.new(.2,0,0)
  1707. shell.Size = Vector3.new(.2,.5,.2)
  1708. shell.Parent = Storage
  1709. shell.BrickColor = BrickColor.new('Bright yellow')
  1710. shell.CanCollide = true
  1711. Instance.new('BlockMesh', shell).Scale = Vector3.new(.2,.4,.2)
  1712. game:service'Debris':AddItem(shell,5)
  1713. shell.Velocity = (Part.CFrame * CFrame.Angles(math.rad(math.random(-10,10)*8), -math.rad(40), math.rad(20))).lookVector * 15
  1714.  
  1715.  
  1716. --FIRE ANIMATION
  1717. --
  1718. local Particle = new("ParticleEmitter", Part);
  1719. Particle.VelocitySpread = 30;
  1720. Particle.LightEmission = 200;
  1721.  
  1722. local Colors = {Color3.new(1,0,0), Color3.new(1,.5,0), Color3.new(1,.9,0);}
  1723.  
  1724. Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1, 0), NumberSequenceKeypoint.new(1, 0.25, 0)})
  1725.  
  1726. Particle.Color = ColorSequence.new(Colors[math.random(#Colors)]);
  1727. Particle.Texture = "rbxassetid://187720906";
  1728. Particle.Rotation = NumberRange.new(0,90);
  1729. Particle.Rate = 100;
  1730. Particle.Speed = NumberRange.new(15);
  1731. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
  1732. Particle.Lifetime = NumberRange.new(.1);
  1733. coroutine.wrap(function()
  1734. wait(.2)
  1735. Particle.Enabled = false;
  1736. wait(.4)
  1737. Particle:Destroy()
  1738. end)()
  1739.  
  1740.  
  1741.  
  1742. new("SpecialMesh", Visual).MeshType = "Sphere";
  1743. Visual.Mesh.Scale = Vector3.new(.5, 1, .5);
  1744.  
  1745. local bulletpos = Visual.Position
  1746. local bulletvelocity = (target - bulletpos).unit*speed
  1747. local lastbulletpos = Visual.Position
  1748. while game:service'RunService'.Stepped:wait() do
  1749. lastbulletpos = bulletpos
  1750. bulletpos = bulletpos + bulletvelocity
  1751. Visual.Parent = Storage;
  1752. local RayCast = Ray.new(lastbulletpos, (bulletpos - lastbulletpos))
  1753. local hit, hitpos, normal = workspace:FindPartOnRay(RayCast, char, false, true)
  1754. if (torso.Position - Visual.Position).magnitude > 2000 or Visual.Parent == nil then
  1755. Visual:Destroy();
  1756. break
  1757. end
  1758. Visual.Anchored = true
  1759. Visual.CFrame = CFrame.new(bulletpos, bulletpos+bulletvelocity) * CFrame.Angles(math.pi/2, 0, 0);
  1760. if hit then
  1761. if hit.Parent then
  1762. if hit.Parent.Parent:IsA'Model' then
  1763. for x,z in next, hit.Parent.Parent:children() do
  1764. if z:IsA'Humanoid' then
  1765. if (z.MaxHealth == math.huge) then
  1766. z.Parent:breakJoints();
  1767. end
  1768. z:TakeDamage(math.random(8,12));
  1769. Visual:Destroy();
  1770. break;
  1771. end
  1772. end
  1773. end
  1774. end
  1775. if hit.Parent:IsA'Model' then
  1776. for x,z in next, hit.Parent:children() do
  1777. if z:IsA'Humanoid' then
  1778. if (z.MaxHealth == math.huge) then
  1779. z.Parent:breakJoints();
  1780. end
  1781. z.Health = z.Health - (math.random(8,12));
  1782. Visual:Destroy();
  1783. break;
  1784. end
  1785. end
  1786. end
  1787. local BulletHole
  1788. local Dec
  1789. BulletHole = BasePart:clone()
  1790. BulletHole.Anchored = true
  1791. BulletHole.Transparency = 1
  1792. BulletHole.Size = Vector3.new(.8,.2,.8)
  1793. BulletHole.CFrame = CFrame.new(hitpos, hitpos+normal) * CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4), 0)
  1794. BulletHole.Parent = Storage
  1795. Dec = Instance.new("Decal",BulletHole)
  1796. Dec.Face = "Top"
  1797. Dec.Texture = "rbxassetid://339632153"
  1798. Particles.BulletholeParticles(BulletHole, hit)
  1799. if not hit.Anchored then
  1800. BulletHole.Anchored = false
  1801. local Bweld = Instance.new('Weld', BulletHole)
  1802. Bweld.Part0 = hit
  1803. Bweld.Part1 = BulletHole
  1804. Bweld.C0 = hit.CFrame:toObjectSpace(CFrame.new(hitpos, hitpos+normal)) * CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4),0)
  1805. end
  1806. game:service'Debris':AddItem(BulletHole, 25)
  1807. local sound = Instance.new('Sound', Visual)
  1808. if hit:IsA'BasePart' and hit.Transparency >= .1 then
  1809. local id = {176678459,176678487,176678351}
  1810. if Dec then
  1811. Dec.Texture = "rbxassetid://"..id[math.random(1,#id)]
  1812. end
  1813. if BulletHole then
  1814. Particles.BulletholeParticles(BulletHole, hit)
  1815. BulletHole.Size = Vector3.new(1.5,.2,1.5)
  1816. 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)
  1817. if not hit.Anchored then
  1818. BulletHole.Anchored = false
  1819. local Bweld = Instance.new('Weld', BulletHole)
  1820. Bweld.Part0 = hit
  1821. Bweld.Part1 = BulletHole
  1822. Bweld.C0 = hit.CFrame:toObjectSpace(CFrame.new(hitpos, hitpos+normal)) * CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4),0)
  1823. end
  1824. end
  1825. sound.SoundId = "rbxassetid://142082167"
  1826. else
  1827. sound.SoundId = "rbxassetid://170538363"
  1828. end
  1829. sound.Pitch = 1.2+math.random()/3
  1830. sound.Volume = .4
  1831. sound:play()
  1832. game:service'Debris':AddItem(sound,4)
  1833. Visual:Destroy();
  1834. break
  1835. end
  1836. end
  1837. end)()
  1838. end
  1839.  
  1840.  
  1841. local db
  1842. local DB2;
  1843.  
  1844.  
  1845. game:service'RunService'.RenderStepped:connect(function()
  1846.  
  1847. --//
  1848. --// BASE VALUES
  1849. --//
  1850. local rscf = rsc0
  1851. local lscf = lsc0
  1852. local rlcf = rlc0
  1853. local llcf = llc0
  1854. local rjcf = rootc0
  1855. local ncf = neckc0
  1856. local ray = Ray.new(rootpart.Position, Vector3.new(0, -9.5 - math.sin(tick()*2)*.15, 0))
  1857. local hitz, enz, norm = workspace:FindPartOnRay(ray, char)
  1858.  
  1859. --//
  1860. --// BODY OBJECTS
  1861. --//
  1862. BodyPos.D = 120;
  1863. BodyPos.maxForce = Vector3.new(0, 7e5, 0)
  1864. BodyGyro.maxTorque = Vector3.new(7e5, 7e5, 7e5);
  1865. BodyVelo.maxForce = Vector3.new(7e5, 0, 7e5);
  1866.  
  1867.  
  1868. if (hitz) then
  1869. BodyPos.position = Vector3.new(0, enz.y + 9.5 + math.sin(tick()*2)*.15 - CHARGE*6 , 0);
  1870. BodyPos.maxForce = Vector3.new(0, 9999e999, 0)
  1871. else
  1872. BodyPos.maxForce = Vector3.new();
  1873. end
  1874. if (norm ~= Vector3.new(0,0,0) and enz) then
  1875. --[[
  1876. THANK YOU ANTI FOR PROPER HACKY MATH WITH THE QUOTE OF...
  1877. "dis r propr vector maths you know!11"
  1878. --]]
  1879. local dir = (camera.CoordinateFrame.lookVector*Vector3.new(1,1,1)).unit
  1880. 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)
  1881. end
  1882.  
  1883. --//
  1884. --// HOVERBIKE JUMPING
  1885. --//
  1886. if (KEY_HOLD[" "] and hitz) then
  1887. CHARGE = math_max(CHARGE + 0.015, 1);
  1888. else
  1889. if (CHARGE) > 0 then
  1890. local LASTCHARGE = CHARGE;
  1891. CHARGE = -0.15 - (LASTCHARGE*0.15);
  1892. 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)
  1893. wait()
  1894. CHARGE = 0;
  1895. end
  1896. end
  1897.  
  1898. --//
  1899. --// LOOP THIS TO PREVENT CHARACTERS FROM GETTING OFF.
  1900. --//
  1901. humanoid.Sit = true;
  1902.  
  1903. --//
  1904. --// ANIMATION
  1905. --//
  1906. rjcf = rootc0 * CFrame.Angles(-math.rad(25), 0, 0);
  1907. rscf = rsc0 * CFrame.new(-.1, 0, 0) * CFrame.Angles(math.pi/1.8, .05, -.1);
  1908. lscf = lsc0 * CFrame.new(.1, 0, 0) * CFrame.Angles(math.pi/1.8, -.05, .1);
  1909. rlcf = rlc0 * CFrame.new(0, .6, -.3) * CFrame.Angles(math.pi/3, 0, 0);
  1910. llcf = llc0 * CFrame.new(0, .6, -.3) * CFrame.Angles(math.pi/3, 0, 0);
  1911.  
  1912.  
  1913.  
  1914. --//
  1915. --// MOVEMENT
  1916. --//
  1917. if (KEY_HOLD["w"] == true and hitz) then
  1918. TORQUE = math_max(TORQUE + 1/25, MAXTORQUE);
  1919. SPEED = math_max(SPEED + 1, MAXSPEED);
  1920. end
  1921. if (KEY_HOLD["s"] == true and hitz) then
  1922. TORQUE = math_min(TORQUE - 1/50, -MAXTORQUE/2);
  1923. SPEED = math_max(SPEED + 1, MAXSPEED/2)
  1924. end
  1925. if (KEY_HOLD["a"] == true and hitz) then
  1926. ROTSPEED = math_max(ROTSPEED + 1, MAXSPEED/1.5);
  1927. end
  1928. if (KEY_HOLD["d"] == true and hitz) then
  1929. ROTSPEED = math_min(ROTSPEED - 1, -MAXSPEED/1.5);
  1930. end
  1931.  
  1932. if (SPEED > 0 or ROTSPEED ~= 0 or TORQUE > 0) then
  1933. if not OnMove.IsPlaying then
  1934. OnMove:play();
  1935. end
  1936. --Smoke.Enabled = true;
  1937. --Smoke.RiseVelocity = SPEED;
  1938. for _,v in next,Particlus do
  1939. v.Enabled = true;
  1940. end
  1941. else
  1942. OnMove:stop();
  1943. --Smoke.Enabled = false;
  1944. --Smoke.RiseVelocity = 0;
  1945. for _,v in next,Particlus do
  1946. v.Enabled = false;
  1947. end
  1948. end
  1949. BodyVelo.velocity = (Seat.CFrame).lookVector*(SPEED*TORQUE) + (Seat.CFrame*CFrame.Angles(0, math.pi/2, 0)).lookVector*ROTSPEED
  1950.  
  1951. if (not KEY_HOLD["w"] and not KEY_HOLD["s"] and hitz) then
  1952. if (TORQUE < 0) then
  1953. TORQUE = math_max(TORQUE + 1/25, 0)
  1954. end
  1955. if (TORQUE > 0) then
  1956. TORQUE = math_min(TORQUE - 1/25, 0)
  1957. end
  1958. if (SPEED < 0) then
  1959. SPEED = math_max(SPEED + 5, 0)
  1960. end
  1961. if (SPEED > 0) then
  1962. SPEED = math_min(SPEED - 5, 0)
  1963. end
  1964. end
  1965. if (not KEY_HOLD["a"] and not KEY_HOLD["d"] and hitz) then
  1966. if (ROTSPEED < 0) then
  1967. ROTSPEED = math_max(ROTSPEED + 1, 0)
  1968. end
  1969. if (ROTSPEED > 0) then
  1970. ROTSPEED = math_min(ROTSPEED - 1, 0)
  1971. end
  1972. end
  1973.  
  1974. --//
  1975. --// REPAIR MODE
  1976. --//
  1977. if (REPAIRMODE) then
  1978. DB2 = false;
  1979. BodyPos.D = 5000;
  1980. BodyGyro.maxTorque = Vector3.new();
  1981. BodyVelo.maxForce = Vector3.new();
  1982. if (hitz) then
  1983. BodyPos.position = Vector3.new(0, enz.y + 1 , 0);
  1984. BodyPos.maxForce = Vector3.new(0, 9999e999, 0)
  1985. else
  1986. BodyPos.maxForce = Vector3.new();
  1987. end
  1988. else
  1989. if (not REPAIRMODE and not DB2) then
  1990. DB2 = true;
  1991. 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)
  1992. end
  1993. end
  1994.  
  1995.  
  1996.  
  1997. --//
  1998. --// SHOOTING
  1999. --//
  2000. if (MOUSE_DOWN) then
  2001. if db then return end
  2002. db = true
  2003. wait(.1);
  2004. db = false
  2005. OnFire:play();
  2006.  
  2007. local PointLight = Instance.new("PointLight", Barrel);
  2008. PointLight.Color = Color3.new(1,.5,0)
  2009. PointLight.Brightness = 6;
  2010. game:service'Debris':AddItem(PointLight, .05);
  2011.  
  2012.  
  2013.  
  2014. RayC(Barrel, 25, mouse.Hit.p)
  2015. end
  2016. --//
  2017. --// SMOOTHLY SET TARGET CFRAME
  2018. --//
  2019. rm.C0 = clerp(rm.C0,rscf,speed)
  2020. lm.C0 = clerp(lm.C0,lscf,speed)
  2021. rj.C0 = clerp(rj.C0,rjcf,speed)
  2022. neck.C0 = clerp(neck.C0,ncf,speed)
  2023. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  2024. llegm.C0 = clerp(llegm.C0,llcf,speed)
  2025.  
  2026. end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement