Advertisement
memberhero

Plasma Guns

Dec 1st, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 140.58 KB | None | 0 0
  1. wait(1)
  2. game.Players.LocalPlayer.Character.Animate.Disabled = true--i used stravants Beautifier so it might look a bit wonky
  3. Health = Instance.new("RemoteEvent")--Keep or this will break
  4. Health.Name = "HealthEvent"
  5. Health.Parent = game.ReplicatedStorage
  6. --------------------------------------------------------------------------------------------------------------
  7. --Reol Balance changes--5/10/2016--SvSniper-------------------------------------------------------------------
  8. --------------------------------------------------------------------------------------------------------------
  9. --Stamina regen now 5, down from 8
  10. --all attacks now cut movment speed in half
  11. --Orginal Damage restored(Idk what it got nerfed to but this is an older copy before it was made really low)
  12. --knockback restored
  13. --------------------------------------------------------------------------------------------------------------
  14. --Reol changes--5/21/2016--SvSniper---------------------------------------------------------------------------
  15. --------------------------------------------------------------------------------------------------------------
  16. --No longer uses a gyro for mouse following
  17. --all attacks have walking animations
  18. --------------------------------------------------------------------------------------------------------------
  19. --Reol changes--5/24/2016--SvSniper---------------------------------------------------------------------------
  20. --------------------------------------------------------------------------------------------------------------
  21. --Removed knockback on e attacks
  22. --Fixed dmg number exploit
  23. --added debris to dmg number billboard gui
  24. --------------------------------------------------------------------------------------------------------------
  25. --Reol changes--5/30/2016--SvSniper---------------------------------------------------------------------------
  26. --------------------------------------------------------------------------------------------------------------
  27. --Removed knockback from x and v ability
  28. --x and v ability are now rooted
  29. --c ability is rooted when first activated
  30. --Added torso color cosmetic to guns and attacks
  31. --------------------------------------------------------------------------------------------------------------
  32. ---TagService = require(game:GetService('ReplicatedStorage'):WaitForChild('TagService'))
  33. Meshes = {
  34. Blast = '20329976',
  35. Crown = '1323306',
  36. Ring = '3270017',
  37. Claw = '10681506',
  38. Crystal = '9756362',
  39. Coil = '9753878',
  40. Cloud = '1095708',
  41. }
  42. clangsounds = {
  43. '199149119',
  44. '199149109',
  45. '199149072',
  46. '199149025',
  47. '199148971'
  48. }
  49. hitsounds = {
  50. '199149137',
  51. '199149186',
  52. '199149221',
  53. '199149235',
  54. '199149269',
  55. '199149297'
  56. }
  57. blocksounds = {
  58. '199148933',
  59. '199148947'
  60. }
  61. armorsounds = {
  62. '199149321',
  63. '199149338',
  64. '199149367',
  65. '199149409',
  66. '199149452'
  67. }
  68. woosh = {
  69. Heavy1 = '320557353',
  70. Heavy2 = '320557382',
  71. Heavy3 = '320557453',
  72. Heavy4 = '199144226',
  73. Heavy5 = '203691447',
  74. Heavy6 = '203691467',
  75. Heavy7 = '203691492',
  76. Light1 = '320557413',
  77. Light2 = '320557487',
  78. Light3 = '199145095',
  79. Light4 = '199145146',
  80. Light5 = '199145887',
  81. Light6 = '199145913',
  82. Light7 = '199145841',
  83. Medium1 = '320557518',
  84. Medium2 = '320557537',
  85. Medium3 = '320557563',
  86. Medium4 = '199145204'
  87. }
  88. music = {--i like music a lot
  89. Breaking = '179281636',
  90. FinalReckoning = '357375770',
  91. NotDeadYet = '346175829',
  92. Intense = '151514610',
  93. JumpP1 = '160536628',
  94. JumpP2 = '60536666',
  95. SonsOfWar = '158929777',
  96. WrathOfSea = '165520893',
  97. ProtecTorsofEarth = '160542922',
  98. SkyTitans = '179282324',
  99. ArchAngel = '144043274',
  100. Anticipation = '168614529',
  101. TheMartyred = '186849544',
  102. AwakeP1 = '335631255',
  103. AwakeP2 = '335631297',
  104. ReadyAimFireP1 = '342455387',
  105. ReadyAimFireP2 = '342455399',
  106. DarkLordP1 = '209567483',
  107. DarkLordP2 = '209567529',
  108. BloodDrainP1 = '162914123',
  109. BloodDrainP2 = '162914203',
  110. DanceOfSwords = '320473062',
  111. Opal = '286415112',
  112. Calamity = '190454307',
  113. Hypnotica = '155968128',
  114. Nemisis = '160453802',
  115. Breathe = '276963903',
  116. GateToTheRift = '270655227',
  117. InfernalBeserking = '244143404',
  118. Trust = '246184492',
  119. AwakeningTheProject = '245121821',
  120. BloodPain = '242545577',
  121. Chaos = '247241693',
  122. NightmareFictionHighStake = '248062278',
  123. TheWhiteWeapon = '247236446',
  124. Gale = '256851659',
  125. ImperialCode = '256848383',
  126. Blitzkrieg = '306431437',
  127. RhapsodyRage = '348690251',
  128. TheGodFist = '348541501',
  129. BattleForSoul = '321185592',
  130. TheDarkColossus = '305976780',
  131. EmpireOfAngels = '302580452',
  132. Kronos = '302205297',
  133. Exorcist = '299796054',
  134. CrimsonFlames = '297799220',
  135. UltimatePower = '295753229',
  136. DrivingInTheDark = '295753229',
  137. AscendToPower = '293860654',
  138. GodOfTheSun = '293612495',
  139. DarkRider = '293861765',
  140. Vengeance = '293375555',
  141. SoundOfWar = '293376196',
  142. HellsCrusaders = '293012202',
  143. Legend = '293011823',
  144. RisingSouls = '290524959'
  145. }
  146. misc = {
  147. GroundSlam = '199145477',
  148. LaserSlash = '199145497',
  149. RailGunFire = '199145534',
  150. Charge1 = '199145659',
  151. Charge2 = '169380469',
  152. Charge3 = '169380479',
  153. EmptyGun = '203691822',
  154. GunShoot = '203691837',
  155. Stomp1 = '200632875',
  156. Stomp2 = '200632561',
  157. TelsaCannonCharge = '169445572',
  158. TelsaCannonShoot = '169445602',
  159. AncientHymm = '245313442'
  160. }
  161. wait(1 / 60)
  162. local Player = game.Players.localPlayer
  163. local Character = Player.Character
  164. local Humanoid = Character.Humanoid
  165. local mouse = Player:GetMouse()
  166. local m = Instance.new('Model', Character)
  167. m.Name = "WeaponModel"
  168. local Effects = {}
  169. local LeftArm = Character["Left Arm"]
  170. local RightArm = Character["Right Arm"]
  171. local LeftLeg = Character["Left Leg"]
  172. local RightLeg = Character["Right Leg"]
  173. local Head = Character.Head
  174. local Torso = Character.Torso
  175. local cam = game.Workspace.CurrentCamera
  176. local RootPart = Character.HumanoidRootPart
  177. local RootJoint = RootPart.RootJoint
  178. --cam.CameraSubject = Head
  179. local equipped = false
  180. local attack = false
  181. local Anim = 'Idle'
  182. local idle = 0
  183. local sprint = false
  184. local battlestance = false
  185. local attacktype = 1
  186. local state = 'none'
  187. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  188. local velocity = RootPart.Velocity.y
  189. local sine = 0
  190. local change = 1
  191. local on = false
  192. local grabbed = false
  193. local skill1 = false
  194. local skill2 = false
  195. local skill3 = false
  196. local skill4 = false
  197. local cooldown1 = 0
  198. local cooldown2 = 0
  199. local cooldown3 = 0
  200. local cooldown4 = 0
  201. local co1 = 10--how long it will take for skill to cooldown
  202. local co2 = 20
  203. local co3 = 30
  204. local co4 = 50
  205. local inputserv = game:GetService('UserInputService')
  206. local typing = false
  207. local crit = false
  208. local critchance = 2--critical chance percentage
  209. local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
  210. local critdamageaddmax = 7--maximum amount
  211. local maxstamina = 100--max amount of stamina
  212. local stamina = 1--stamina you start out with
  213. local skill1stam = 10--how much stamina is needed for a skill
  214. local skill2stam = 25
  215. local skill3stam = 50
  216. local skill4stam = 75
  217. local recoverEnergy = 5--how much Energy per second
  218. local defensevalue = 1--how much defense this character has
  219. local speedvalue = 1--how much speed this character has
  220. --speed is 16*speedvalue
  221. local mindamage = 5--self explanatory
  222. local maxdamage = 7--self explanatory
  223. local damagevalue = 1--how much damage this character has
  224. --damage is math.random(mindamage,maxdamage)*damagevalue
  225. --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
  226. --asd
  227. local aiming = false
  228. local cn = CFrame.new-- make things easier :)
  229. local mr = math.rad
  230. local v3 = Vector3.new
  231. local angles = CFrame.Angles
  232. local euler = CFrame.fromEulerAnglesXYZ
  233. local cos = math.cos
  234. local sin = math.sin
  235. local ud = UDim2.new
  236. local c3 = Color3.new
  237. local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
  238. --asd
  239. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  240. Humanoid.Animator:Destroy()
  241.  
  242.  
  243. --Angles For RootJoint `~`
  244. local RootCF = euler(-1.57, 0, 3.14)
  245. --Save Shoulders/Hips
  246. RSH, LSH = nil, nil
  247. RHS, LHS = nil, nil
  248. --Shoulders
  249. RW = Instance.new("Motor")
  250. LW = Instance.new("Motor")
  251. --Hips
  252. RH = Instance.new("Motor")
  253. LH = Instance.new("Motor")
  254. --
  255. Player = Player
  256. ch = Character
  257. LHS = Torso["Left Hip"]
  258. RHS = Torso["Right Hip"]
  259. RSH = ch.Torso["Right Shoulder"]
  260. LSH = ch.Torso["Left Shoulder"]
  261. --
  262. RSH.Parent = nil
  263. LSH.Parent = nil
  264. --
  265. LHS.Parent = nil
  266. RHS.Parent = nil
  267. --
  268. RW.Name = "RW"
  269. RW.Part0 = ch.Torso
  270. RW.C0 = cn(1.5, 0.5, 0)
  271. RW.C1 = cn(0, 0.5, 0)
  272. RW.Part1 = ch["Right Arm"]
  273. RW.Parent = ch.Torso
  274. --
  275. LW.Name = "LW"
  276. LW.Part0 = ch.Torso
  277. LW.C0 = cn(-1.5, 0.5, 0)
  278. LW.C1 = cn(0, 0.5, 0)
  279. LW.Part1 = ch["Left Arm"]
  280. LW.Parent = ch.Torso
  281. --
  282. LH.Name = "LH"
  283. LH.Part0 = ch.Torso
  284. LH.C0 = cn(-0.5, -2, 0)
  285. LH.Part1 = ch["Left Leg"]
  286. LH.Parent = ch.Torso
  287. --
  288. RH.Name = "RH"
  289. RH.Part0 = ch.Torso
  290. RH.C0 = cn(0.5, -2, 0)
  291. RH.Part1 = ch["Right Leg"]
  292. RH.Parent = ch.Torso
  293. if Humanoid:findFirstChild("Animator")then
  294. Humanoid:findFirstChild("Animator"):Destroy()
  295. end
  296.  
  297. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  298. function makeframe(par, trans, pos, size, color)
  299. local frame = Instance.new('Frame', par)
  300. frame.BackgroundTransparency = trans
  301. frame.BorderSizePixel = 0
  302. frame.Position = pos
  303. frame.Size = size
  304. frame.BackgroundColor3 = color
  305. return frame
  306. end
  307. function makelabel(par, text)
  308. local label = Instance.new('TextLabel', par)
  309. label.BackgroundTransparency = 1
  310. label.Size = ud(1, 0, 1, 0)
  311. label.Position = ud(0, 0, 0, 0)
  312. label.TextColor3 = c3(255, 255, 255)
  313. label.TextStrokeTransparency = 0
  314. label.FontSize = Enum.FontSize.Size32
  315. label.Font = Enum.Font.SourceSansBold
  316. label.BorderSizePixel = 0
  317. label.TextScaled = true
  318. label.Text = text
  319. end
  320. framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  321. framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  322. framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  323. framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  324. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  325. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  326. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  327. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  328. text1 = makelabel(framesk1, '[C] Reflex')
  329. text2 = makelabel(framesk2, '[V] Luxuriance')
  330. text3 = makelabel(framesk3, "[X] Lucent Scatter")
  331. text4 = makelabel(framesk4, '[Z] Echo Barrage')
  332. staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), BrickColor.new("Really black").Color)
  333. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), BrickColor.new("Institutional white").Color)
  334. staminatext = makelabel(staminabar, 'Photon Energy')
  335. healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
  336. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), BrickColor.new("Lime green").Color)
  337. healthtext = makelabel(healthbar, 'Health')
  338.  
  339. local stats = Instance.new('Folder', Character)
  340. stats.Name = 'Stats'
  341. local block = Instance.new('BoolValue', stats)
  342. block.Name = 'Block'
  343. block.Value = false
  344. local stun = Instance.new('BoolValue', stats)
  345. stun.Name = 'Stun'
  346. stun.Value = false
  347. local defense = Instance.new('NumberValue', stats)
  348. defense.Name = 'Defence'
  349. defense.Value = defensevalue
  350. local speed = Instance.new('NumberValue', stats)
  351. speed.Name = 'Speed'
  352. speed.Value = speedvalue
  353. local damagea = Instance.new('NumberValue', stats)
  354. damagea.Name = 'Damage'
  355. damagea.Value = damagevalue
  356. gyro = Instance.new("BodyGyro")
  357. gyro.Parent = nil
  358. gyro.P = 1e7
  359. gyro.D = 1e3
  360. gyro.MaxTorque = v3(0, 1e7, 0)
  361.  
  362. function atktype(s, e)
  363. coroutine.resume(coroutine.create(function()
  364. attacktype = e
  365. wait(1.5)
  366. attacktype = s
  367. end))
  368. end
  369.  
  370. function turncrit()
  371. coroutine.resume(coroutine.create(function()
  372. print'CRITICAL!'
  373. crit = true
  374. wait(.25)
  375. crit = false
  376. end))
  377. end
  378.  
  379. function subtractstamina(k)
  380. if stamina >= k then
  381. stamina = stamina - k
  382. end
  383. end
  384.  
  385. function clerp(a, b, t)
  386. local qa = {
  387. QuaternionFromCFrame(a)
  388. }
  389. local qb = {
  390. QuaternionFromCFrame(b)
  391. }
  392. local ax, ay, az = a.x, a.y, a.z
  393. local bx, by, bz = b.x, b.y, b.z
  394. local _t = 1 - t
  395. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  396. end
  397.  
  398. function QuaternionFromCFrame(cf)
  399. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  400. local trace = m00 + m11 + m22
  401. if trace > 0 then
  402. local s = math.sqrt(1 + trace)
  403. local recip = 0.5 / s
  404. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  405. else
  406. local i = 0
  407. if m11 > m00 then
  408. i = 1
  409. end
  410. if m22 > (i == 0 and m00 or m11) then
  411. i = 2
  412. end
  413. if i == 0 then
  414. local s = math.sqrt(m00 - m11 - m22 + 1)
  415. local recip = 0.5 / s
  416. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  417. elseif i == 1 then
  418. local s = math.sqrt(m11 - m22 - m00 + 1)
  419. local recip = 0.5 / s
  420. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  421. elseif i == 2 then
  422. local s = math.sqrt(m22 - m00 - m11 + 1)
  423. local recip = 0.5 / s
  424. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  425. end
  426. end
  427. end
  428.  
  429. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  430. local xs, ys, zs = x + x, y + y, z + z
  431. local wx, wy, wz = w * xs, w * ys, w * zs
  432. local xx = x * xs
  433. local xy = x * ys
  434. local xz = x * zs
  435. local yy = y * ys
  436. local yz = y * zs
  437. local zz = z * zs
  438. return cn(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  439. end
  440.  
  441. function QuaternionSlerp(a, b, t)
  442. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  443. local startInterp, finishInterp;
  444. if cosTheta >= 0.0001 then
  445. if (1 - cosTheta) > 0.0001 then
  446. local theta = math.acos(cosTheta)
  447. local invSinTheta = 1 / sin(theta)
  448. startInterp = sin((1 - t) * theta) * invSinTheta
  449. finishInterp = sin(t * theta) * invSinTheta
  450. else
  451. startInterp = 1 - t
  452. finishInterp = t
  453. end
  454. else
  455. if (1 + cosTheta) > 0.0001 then
  456. local theta = math.acos(-cosTheta)
  457. local invSinTheta = 1 / sin(theta)
  458. startInterp = sin((t - 1) * theta) * invSinTheta
  459. finishInterp = sin(t * theta) * invSinTheta
  460. else
  461. startInterp = t - 1
  462. finishInterp = t
  463. end
  464. end
  465. 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
  466. end
  467.  
  468. function randomizer(percent)
  469. local randomized = math.random(0, 100)
  470. if randomized <= percent then
  471. return true
  472. elseif randomized >= percent then
  473. return false
  474. end
  475. end
  476.  
  477. local RbxUtility = LoadLibrary("RbxUtility")
  478. local Create = RbxUtility.Create
  479.  
  480. function RemoveOutlines(part)
  481. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  482. end
  483.  
  484. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  485. local Part = Create("Part"){
  486. formFactor = FormFactor,
  487. Parent = Parent,
  488. Reflectance = Reflectance,
  489. Transparency = Transparency,
  490. CanCollide = false,
  491. Locked = true,
  492. BrickColor = BrickColor.new(tostring(BColor)),
  493. Name = Name,
  494. Size = Size,
  495. Material = Material,
  496. }
  497. RemoveOutlines(Part)
  498. return Part
  499. end
  500.  
  501. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  502. local Msh = Create(Mesh){
  503. Parent = Part,
  504. Offset = OffSet,
  505. Scale = Scale,
  506. }
  507. if Mesh == "SpecialMesh" then
  508. Msh.MeshType = MeshType
  509. Msh.MeshId = MeshId
  510. end
  511. return Msh
  512. end
  513.  
  514. function CreateWeld(Parent, Part0, Part1, C0, C1)
  515. local Weld = Create("Weld"){
  516. Parent = Parent,
  517. Part0 = Part0,
  518. Part1 = Part1,
  519. C0 = C0,
  520. C1 = C1,
  521. }
  522. return Weld
  523. end
  524.  
  525. function rayCast(pos, dir, maxl, ignore)
  526. return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
  527. end
  528. --Effects
  529. function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  530. local p = Instance.new('Part', par or workspace)
  531. p.CFrame = pos1
  532. p.Anchored = true
  533. p.Material = 'SmoothPlastic'
  534. p.CanCollide = false
  535. p.TopSurface = 0
  536. p.Size = v3(1, 1, 1)
  537. p.BottomSurface = 0
  538. p.Transparency = trans
  539. p.FormFactor = 'Custom'
  540. RemoveOutlines(p)
  541. local mesh = Instance.new('SpecialMesh', p)
  542. mesh.Scale = size
  543. if id ~= nil and type == nil then
  544. mesh.MeshId = 'rbxassetid://'..id
  545. elseif id == nil and type ~= nil then
  546. mesh.MeshType = type
  547. elseif id == nil and type == nil then
  548. mesh.MeshType = 'Brick'
  549. end
  550. coroutine.wrap(function()
  551. for i = 0, delay1, .1 do
  552. wait(1 / 60)
  553. p.CFrame = p.CFrame
  554. mesh.Scale = mesh.Scale + howmuch
  555. p.Transparency = p.Transparency + trans1
  556. end
  557. p:Destroy()
  558. end)()
  559. return p
  560. end
  561. function clangy(cframe)
  562. wait(1 / 60)
  563. local clang = {}
  564. local dis = 0
  565. local part = Instance.new('Part', nil)
  566. part.CFrame = cframe
  567. part.Anchored = true
  568. part.CanCollide = false
  569. part.BrickColor = BrickColor.new('New Yeller')
  570. part.FormFactor = 'Custom'
  571. part.Name = 'clanger'
  572. part.Size = v3(.2, .2, .2)
  573. part.TopSurface = 10
  574. part.BottomSurface = 10
  575. part.RightSurface = 10
  576. part.LeftSurface = 10
  577. part.BackSurface = 10
  578. part.FrontSurface = 10
  579. --part.Material='Neon'
  580. part:BreakJoints()
  581. local mesh = Instance.new('BlockMesh', part)
  582. coroutine.wrap(function()
  583. for i = 1, 7 do
  584. wait(1 / 60)
  585. dis = dis + .2
  586. local partc = part:clone()
  587. partc.Parent = workspace
  588. partc.CFrame = part.CFrame * euler(dis, 0, 0)
  589. partc.CFrame = partc.CFrame * cn(0, dis, 0)
  590. table.insert(clang, partc)
  591. end
  592. for i, v in pairs(clang) do
  593. coroutine.wrap(function()
  594. for i = 1, 10 do
  595. wait(.01)
  596. v.Transparency = v.Transparency + .1
  597. end
  598. v:destroy()
  599. end)()
  600. end
  601. end)()
  602. end
  603. --damage effects
  604. function circle(color, pos1)
  605. local p = Instance.new('Part', m)
  606. p.BrickColor = BrickColor.new(color)
  607. p.CFrame = pos1
  608. p.Anchored = true
  609. p.Material = 'Plastic'
  610. p.CanCollide = false
  611. p.TopSurface = 0
  612. p.Size = v3(1, 1, 1)
  613. p.BottomSurface = 0
  614. p.Transparency = 0.35
  615. p.FormFactor = 'Custom'
  616. local mesh = Instance.new('CylinderMesh', p)
  617. mesh.Scale = v3(0, 0, 0)
  618. coroutine.wrap(function()
  619. for i = 0, 5, .1 do
  620. wait(1 / 60)
  621. p.CFrame = p.CFrame
  622. mesh.Scale = mesh.Scale + v3(.5, 0, .5)
  623. p.Transparency = p.Transparency + .025
  624. end
  625. p:Destroy()
  626. end)()
  627. end
  628. function firespaz1(color, pos1)
  629. local p = Instance.new('Part', m)
  630. p.BrickColor = BrickColor.new(color)
  631. p.CFrame = pos1
  632. p.Anchored = true
  633. p.Material = 'Plastic'
  634. p.CanCollide = false
  635. p.TopSurface = 0
  636. p.Size = v3(1, 1, 1)
  637. p.BottomSurface = 0
  638. p.Transparency = 0.5
  639. p.FormFactor = 'Custom'
  640. local mesh = Instance.new('BlockMesh', p)
  641. mesh.Scale = v3(1, 1, 1)
  642. coroutine.wrap(function()
  643. for i = 0, 15, .1 do
  644. wait(1 / 30)
  645. p.CFrame = p.CFrame * cn(0, .1, 0)
  646. mesh.Scale = mesh.Scale - v3(.1, .1, .1)
  647. p.Transparency = p.Transparency + .025
  648. end
  649. p:Destroy()
  650. end)()
  651. end
  652.  
  653. function pickrandom(tablesa)
  654. local randomized = tablesa[math.random(1, #tablesa)]
  655. return randomized
  656. end
  657. function sound(id, pitch, volume, par, last)
  658. local s = Instance.new('Sound', par or Torso)
  659. s.SoundId = 'rbxassetid://'..id
  660. s.Pitch = pitch or 1
  661. s.Volume = volume or 1
  662. wait()
  663. s:play()
  664. game.Debris:AddItem(s, last or 120)
  665. end
  666. function clangy(cframe)
  667. wait(1 / 60)
  668. local clang = {}
  669. local dis = 0
  670. local part = Instance.new('Part', nil)
  671. part.CFrame = cframe
  672. part.Anchored = true
  673. part.CanCollide = false
  674. part.BrickColor = BrickColor.new('New Yeller')
  675. part.FormFactor = 'Custom'
  676. part.Name = 'clanger'
  677. part.Size = v3(.2, .2, .2)
  678. part.TopSurface = 10
  679. part.BottomSurface = 10
  680. part.RightSurface = 10
  681. part.LeftSurface = 10
  682. part.BackSurface = 10
  683. part.FrontSurface = 10
  684. --part.Material='Neon'
  685. part:BreakJoints()
  686. local mesh = Instance.new('BlockMesh', part)
  687. coroutine.wrap(function()
  688. for i = 1, 7 do
  689. wait(1 / 60)
  690. dis = dis + .2
  691. local partc = part:clone()
  692. partc.Parent = workspace
  693. partc.CFrame = part.CFrame * euler(dis, 0, 0)
  694. partc.CFrame = partc.CFrame * cn(0, dis, 0)
  695. table.insert(clang, partc)
  696. end
  697. for i, v in pairs(clang) do
  698. coroutine.wrap(function()
  699. for i = 1, 10 do
  700. wait(.01)
  701. v.Transparency = v.Transparency + .1
  702. end
  703. v:destroy()
  704. end)()
  705. end
  706. end)()
  707. end
  708. --damage effects
  709. --Effects
  710. so = function(id, par, vol, pit)
  711. coroutine.resume(coroutine.create(function()
  712. local sou = Instance.new("Sound", par or workspace)
  713. sou.Volume = vol
  714. sou.Pitch = pit or 1
  715. sou.SoundId = id
  716. wait()
  717. sou:play()
  718. game:GetService("Debris"):AddItem(sou, 6)
  719. end))
  720. end
  721.  
  722. local function getclosest(obj, distance)
  723. local last, lastx = distance + 1
  724. for i, v in pairs(workspace:GetChildren()) do
  725. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  726. local t = v.Torso
  727. local dist = (t.Position - obj.Position).magnitude
  728. if dist <= distance then
  729. if dist < last then
  730. last = dist
  731. lastx = v
  732. end
  733. end
  734. end
  735. end
  736. return lastx
  737. end
  738.  
  739. function makegui(cframe, text)
  740. local a = math.random(-10, 10) / 100
  741. local c = Instance.new("Part")
  742. c.Transparency = 1
  743. Instance.new("BodyGyro").Parent = c
  744. c.Parent = m
  745. c.CFrame = cn(cframe.p + v3(0, 1.5, 0))
  746. local f = Instance.new("BodyPosition")
  747. f.P = 2000
  748. f.D = 100
  749. f.maxForce = v3(math.huge, math.huge, math.huge)
  750. f.position = c.Position + v3(0, 3, 0)
  751. f.Parent = c
  752. game:GetService("Debris"):AddItem(c, .5 + 6)
  753. c.CanCollide = false
  754. c.CanCollide = false
  755. local bg = Instance.new('BillboardGui', m)
  756. game:GetService("Debris"):AddItem(bg, .5 + 6)
  757. bg.Adornee = c
  758. bg.Size = UDim2.new(1, 0, 1, 0)
  759. bg.StudsOffset = v3(0, 0, 0)
  760. bg.AlwaysOnTop = false
  761. local tl = Instance.new('TextLabel', bg)
  762. tl.BackgroundTransparency = 1
  763. tl.Size = UDim2.new(1, 0, 1, 0)
  764. tl.Text = text
  765. tl.Font = 'SourceSansBold'
  766. tl.FontSize = 'Size42'
  767. if crit == true then
  768. tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  769. else
  770. tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  771. end
  772. tl.TextStrokeTransparency = 0
  773. tl.TextScaled = true
  774. tl.TextWrapped = true
  775. coroutine.wrap(function()
  776. wait(2)
  777. for i = 1, 10 do
  778. wait()
  779. tl.TextTransparency = tl.TextTransparency + .1
  780. end
  781. end)()
  782. end
  783.  
  784. function tag(hum, Player)
  785. local creator = Instance.new('ObjectValue', hum)
  786. creator.Value = Player
  787. creator.Name = 'creator'
  788. end
  789. function untag(hum)
  790. if hum ~= nil then
  791. local tag = hum:findFirstChild("creator")
  792. if tag ~= nil then
  793. tag.Parent = nil
  794. end
  795. end
  796. end
  797.  
  798. function tagPlayer(h)
  799. coroutine.wrap(function()
  800. tag(h, Player)
  801. wait(1)
  802. untag(h)
  803. end)()
  804. end
  805.  
  806. function CheckClose(Obj, Dist)
  807. for _, v in pairs(workspace:GetChildren()) do
  808. if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Character then
  809. local DistFromTorso = (v.Torso.Position - Obj.Position).magnitude
  810. if DistFromTorso < Dist then
  811. return v
  812. end
  813. end
  814. end
  815. end
  816.  
  817. function damage(hit, mind, maxd, knock, type, prop)
  818. --[[
  819. to apply it to a Player directly, make the first arg go to the Players Torso
  820. 1 - normal type(damage and knockback)
  821. 2 - drain type(damage no knockback)
  822. 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
  823. 4 - heal(heals target)
  824. 5 - subtracts enemies defense
  825. 6 - subtracts enemies speed
  826. 7 -
  827. ]]
  828. if hit==nil then
  829. return
  830. end
  831. if hit.Parent == nil then
  832. return
  833. end
  834. local h = hit.Parent:FindFirstChild("Humanoid")
  835. for i, v in pairs(hit.Parent:children()) do
  836. if v:IsA("Humanoid") then
  837. h = v
  838. end
  839. end
  840. if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
  841. h = hit.Parent.Parent:FindFirstChild('Humanoid')
  842. end
  843. if hit.Parent:IsA('Hat') then
  844. hit = hit.Parent.Parent:findFirstChild('Head')
  845. end
  846. local D = math.random(mind, maxd) * damagea.Value
  847. if h and h.Parent:FindFirstChild'Stats' then
  848. D = D / h.Parent.Stats.Defence.Value
  849. else
  850. D = D
  851. end
  852. if h and h.Parent.Head then
  853. makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  854. ---TagService:NewTag(h.Parent, Player, 'Reol', D)
  855. end
  856.  
  857. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  858. if type == 1 then
  859. tagPlayer(h)
  860. local asd = randomizer(critchance)
  861. if asd == true then
  862. turncrit()
  863. end
  864. if crit == false then
  865. --h.Health = h.Health - D
  866. game.ReplicatedStorage.HealthEvent:FireServer(h, D, 1)
  867. else
  868. --h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  869. game.ReplicatedStorage.HealthEvent:FireServer(h, D + math.random(critdamageaddmin, critdamageaddmax), 1)
  870. end
  871. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  872. local vp = Instance.new('BodyVelocity')
  873. vp.P = 500
  874. vp.maxForce = v3(math.huge, 0, math.huge)
  875. vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
  876. if knock > 0 then
  877. vp.Parent = hit.Parent.Torso
  878. end
  879. game:GetService("Debris"):AddItem(vp, .5)
  880. elseif type == 2 then
  881. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  882. local asd = randomizer(critchance)
  883. if asd == true then
  884. turncrit()
  885. end
  886. if crit == false then
  887. --h.Health = h.Health - D
  888. game.ReplicatedStorage.HealthEvent:FireServer(h, D, 1)
  889. else
  890. --h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  891. game.ReplicatedStorage.HealthEvent:FireServer(h, D + math.random(critdamageaddmin, critdamageaddmax), 1)
  892. end
  893. tagPlayer(h)
  894. elseif type == 3 then
  895. tagPlayer(h)
  896. local asd = randomizer(critchance)
  897. if asd == true then
  898. turncrit()
  899. end
  900. if crit == false then
  901. --h.Health = h.Health - D
  902. game.ReplicatedStorage.HealthEvent:FireServer(h, D, 1)
  903. else
  904. --h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  905. game.ReplicatedStorage.HealthEvent:FireServer(h, D + math.random(critdamageaddmin, critdamageaddmax), 1)
  906. end
  907. Character.Humanoid.Health = Character.Humanoid.Health + D / 2
  908. so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
  909. for i = 1, 10 do
  910. firespaz1('Bright red', hit.CFrame * angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
  911. end
  912. elseif type == 4 then
  913. h.Health = h.Health + D
  914. so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
  915. circle('Dark green', h.Parent.Torso.CFrame * cn(0, -2.5, 0))
  916. end
  917. end
  918. end
  919.  
  920. function subtrackstamina(k)
  921. if stamina >= k then
  922. stamina = stamina - k
  923. end
  924. end
  925.  
  926. HandleA = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HandleA", v3(0.200000003, 0.256000012, 0.896000028))
  927. HandleAweld = CreateWeld(m, Character["Right Arm"], HandleA, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.969136477, -0.00157141685, 0.385794818, 1.8189894e-012, -0.999995947, 5.21540642e-007, 0.999999762, 1.81898897e-012, 9.74654385e-013, -7.32133104e-013, 5.21538425e-007, 1))
  928. CreateMesh("BlockMesh", HandleA, "", "", v3(0, 0, 0), v3(0.640000105, 1, 1))
  929. HandleB = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HandleB", v3(0.200000003, 0.256000012, 0.896000028))
  930. HandleBweld = CreateWeld(m, Character["Left Arm"], HandleB, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.969139576, -0.00157129765, 0.385794759, 1.81901087e-012, -0.999999881, 5.21546838e-007, 1, 1.8190113e-012, 1.20202969e-012, -1.20203066e-012, 5.21546781e-007, 1))
  931. CreateMesh("BlockMesh", HandleB, "", "", v3(0, 0, 0), v3(0.640000105, 1, 1))
  932. FakeHandleA = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "FakeHandleA", v3(0.200000003, 0.256000012, 0.496000051))
  933. FakeHandleAweld = CreateWeld(m, HandleA, FakeHandleA, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.66893005e-006, -1.1920929e-007, 0, 0.999992013, 7.55563563e-018, 4.206413e-012, 7.01353372e-018, 0.999999404, 2.42520739e-013, 4.32009983e-012, 2.42522365e-013, 1))
  934. CreateMesh("BlockMesh", FakeHandleA, "", "", v3(0, 0, 0), v3(0.640000105, 1, 1))
  935. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  936. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.46283865, -0.0531138182, -0.000952363014, -0.999995947, 1.00897567e-012, 5.21538198e-007, -5.21540414e-007, -5.79337901e-013, -1, -1.00897871e-012, -0.999999642, 3.36817813e-013))
  937. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  938. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  939. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000952482224, -0.446709782, -0.193131208, 2.83093277e-006, 0.999999642, -3.04522609e-006, -7.05200193e-007, -3.04522314e-006, -1, -0.999995947, 2.83094528e-006, 7.05190132e-007))
  940. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  941. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", v3(0.262439996, 0.200000003, 0.255879134))
  942. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.0690844059, -0.0718523264, 0.394913316, -0.707372546, 1.49017545e-008, -0.706838131, -7.89236623e-008, -0.999999642, 5.79014454e-008, -0.70683527, 9.67446709e-008, 0.707375348))
  943. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  944. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  945. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.22985673, 0.330393285, 0.128970504, -0.999995947, 2.91118395e-005, 0.000388933928, 0.000388931512, -2.88635401e-005, 1, 2.91229535e-005, 0.999999642, 2.88522242e-005))
  946. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", v3(0, 0, 0), v3(0.118097998, 0.118097998, 0.459269375))
  947. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  948. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.22985673, 0.330393285, 0.128970504, -0.999995947, 2.91118395e-005, 0.000388933928, 0.000388931512, -2.88635401e-005, 1, 2.91229535e-005, 0.999999642, 2.88522242e-005))
  949. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", v3(0, 0, 0), v3(0.0787319914, 0.0918539986, 0.459269375))
  950. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  951. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000954985619, 0.46309948, 0.577915907, 2.08608085e-007, 0.999999642, 4.43563515e-008, -0.999995947, 2.0860881e-007, 9.0896873e-007, 9.08969355e-007, -4.43562875e-008, 1))
  952. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  953. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  954. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000952601433, -0.46309948, -0.577939391, -5.96009748e-008, 0.999999642, 1.78326225e-008, 0.999995947, 5.96012093e-008, -7.89759383e-007, -7.8976052e-007, 1.78323258e-008, -1))
  955. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  956. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  957. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952720642, -0.72529912, 0.577960372, 3.77829451e-007, -0.999999642, -5.66733604e-007, 0.999995947, 3.77831128e-007, -5.21538368e-007, 5.21540812e-007, -5.66732922e-007, 1))
  958. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  959. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  960. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.0618202686, -0.57786119, -0.000952601433, -0.999995947, 2.76042605e-010, 5.21538198e-007, -5.21540414e-007, -4.75706585e-010, -1, -2.76041356e-010, -0.999999642, 4.7546439e-010))
  961. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  962. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", v3(0.262439996, 0.200000003, 0.255879134))
  963. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.394863844, -0.0697959661, -0.0693871975, -0.707371831, 1.49031312e-008, 0.706838787, -5.17638155e-009, 0.999999642, -2.62642939e-008, -0.706835926, -2.22377423e-008, -0.707374692))
  964. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  965. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  966. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.22960186, -0.325974345, 0.126894236, -0.999995947, -2.91118213e-005, -0.000387890788, 0.000387888373, 2.88337342e-005, -1, 2.91228953e-005, -0.999999642, -2.88224492e-005))
  967. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", v3(0, 0, 0), v3(0.0787319914, 0.0918539986, 0.459269375))
  968. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  969. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000954151154, 0.462881565, 0.0781461895, -4.01817232e-007, -0.999999642, 1.08038626e-006, -0.999990225, 4.0182158e-007, 5.21535412e-007, -5.21538084e-007, -1.08039217e-006, -0.999994278))
  970. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  971. Part = CreatePart(Enum.FormFactor.Symmetric, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.393659979, 0.524879932))
  972. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.659671783, -0.315543771, -0.000952482224, -0.999995947, -7.10575912e-013, 5.21538198e-007, -5.21540414e-007, -6.60076464e-012, -1, 7.10569624e-013, -0.999999642, 6.35824596e-012))
  973. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.524879932))
  974. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.64371943, -0.184356153, -0.000952720642, -0.999995947, -2.84785216e-014, 5.21538198e-007, -5.21540414e-007, -1.32740338e-011, -1, 2.84781049e-014, -0.999999642, 1.30315177e-011))
  975. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656100452, 0.656099916, 1))
  976. Part = CreatePart(Enum.FormFactor.Symmetric, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.787320077, 0.262439996, 0.524879932))
  977. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.18442535, -0.118758678, -0.000952601433, -0.999995947, 2.01786829e-012, 5.21538198e-007, -5.21540414e-007, -1.28376595e-012, -1, -2.01786721e-012, -0.999999642, 1.04124662e-012))
  978. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  979. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-1.7749244, -0.0646617413, 0.446767867, 0.999995947, -1.47525031e-006, -1.80021914e-007, 1.47524486e-006, 0.999999642, 1.47599106e-008, 1.80025495e-007, -1.47599293e-008, 1))
  980. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  981. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  982. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.00095307827, -0.0694081783, 0.577923179, -1.12560102e-007, -0.999999642, 4.43628316e-008, 0.999995947, -1.12560521e-007, -1.34108177e-007, 1.34111957e-007, 4.43630412e-008, 1))
  983. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  984. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  985. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.00095307827, -0.594094753, 0.0781440437, 4.17225039e-007, 0.999999642, -1.04824289e-006, 0.999990225, -4.17229472e-007, -5.03516958e-007, -5.03519686e-007, -1.04824858e-006, -0.999994278))
  986. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  987. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  988. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.22960186, -0.325974345, 0.126894236, -0.999995947, -2.91118213e-005, -0.000387890788, 0.000387888373, 2.88337342e-005, -1, 2.91228953e-005, -0.999999642, -2.88224492e-005))
  989. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", v3(0, 0, 0), v3(0.118097998, 0.118097998, 0.459269375))
  990. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.249317944, 0.262439966))
  991. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.0810444355, -0.13091433, -0.000957727432, 0.707103014, 1.57924467e-006, 0.707106233, -0.707106531, -3.81509017e-006, 0.707109034, 3.81435189e-006, -0.999999642, -1.58096839e-006))
  992. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.951344788, 1, 1))
  993. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.524879932, 0.200000003, 0.262439966))
  994. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000948548317, 0.0531208515, -0.65964818, 5.96030603e-008, 0.999999642, 1.09855229e-007, 5.97940073e-007, -1.0985498e-007, 1, 0.999995947, -5.96032166e-008, -5.97938197e-007))
  995. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  996. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  997. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000953316689, 0.0694112778, -0.577948451, 5.12384233e-008, -0.999999642, 1.78378254e-008, -0.999995947, -5.12386045e-008, 2.53317438e-007, -2.53320735e-007, -1.78380741e-008, -1))
  998. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  999. Part = CreatePart(Enum.FormFactor.Symmetric, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.524879932, 0.262439966))
  1000. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.381076962, -1.18433952, -0.000951886177, -4.61936025e-007, -4.84779994e-011, -1, 0.999995947, 7.64824488e-012, -4.61933581e-007, 7.64823274e-012, -0.999999642, 4.8235492e-011))
  1001. CreateMesh("CylinderMesh", Part, "", "", v3(0, 0, 0), v3(1, 1, 1))
  1002. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1003. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000945568085, -0.725336075, -0.0530678928, 1.03413649e-005, 0.999999642, -1.3563623e-006, 0.999995947, -1.0341404e-005, -5.8640012e-007, -5.86416093e-007, -1.35635605e-006, -1))
  1004. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1005. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1006. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.195877314, 0.315567017, 1.77494192, -2.13285796e-013, -0.999999642, -4.6366435e-007, 5.03123488e-007, -4.63663952e-007, 1, -0.999995947, -2.00015972e-014, 5.03121157e-007))
  1007. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1008. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.262439966, 0.262439966))
  1009. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.64357042, -0.381081522, -0.000952005386, -0.999995947, -2.84963025e-014, 5.21538198e-007, -5.21540414e-007, -1.368856e-010, -1, 2.85603552e-014, -0.999999642, 1.36643141e-010))
  1010. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 1, 1))
  1011. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.262439996, 0.262439966))
  1012. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.77479982, -0.381083727, -0.000951886177, -0.999995947, -2.85570179e-014, 5.21538198e-007, -5.21540414e-007, -1.45497003e-010, -1, 2.86255632e-014, -0.999999642, 1.45254545e-010))
  1013. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 1, 1))
  1014. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439996, 0.200000003, 0.200000003))
  1015. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.00095307827, 0.184345901, 1.77491713, -2.13323012e-013, -0.999999642, -4.63661678e-007, 5.03123488e-007, -4.6366128e-007, 1, -0.999995947, -1.99632164e-014, 5.03121157e-007))
  1016. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1017. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.262439966))
  1018. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.381089836, -0.856295109, -0.000952124596, -4.61936025e-007, -5.05883807e-011, -1, 0.999995947, 8.32963819e-012, -4.61933553e-007, 8.32962432e-012, -0.999999642, 5.03458698e-011))
  1019. CreateMesh("CylinderMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1020. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1021. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.77492106, -0.064658761, -0.31554234, -0.999995947, -1.22364965e-012, 5.39955295e-007, -9.5812659e-013, 0.999999642, 4.9172661e-007, -5.39957398e-007, 4.91726212e-007, -1))
  1022. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1023. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.524879932, 0.200000003, 0.200000003))
  1024. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952839851, 0.0531313121, 1.64369941, -2.13395951e-013, -0.999999642, -4.63665572e-007, 5.03123488e-007, -4.63665174e-007, 1, -0.999995947, -1.98925264e-014, 5.03121157e-007))
  1025. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1026. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1027. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952959061, -0.577950954, 0.19316268, 3.2544206e-012, -0.999999642, 4.63510275e-007, -5.03123886e-007, -4.63510332e-007, -1, 0.999995947, 3.02113716e-012, -5.03121612e-007))
  1028. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1029. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439996, 0.200000003, 0.262439966))
  1030. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.266271591, -0.577865899, -0.000952601433, -0.999995947, 4.89863532e-011, 5.21538198e-007, -5.21540414e-007, -1.56372887e-010, -1, -4.89860999e-011, -0.999999642, 1.56130456e-010))
  1031. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1032. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.465830922, 0.200000003, 0.262439966))
  1033. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.0548343658, -0.318395138, -0.000958204269, 0.707103014, 1.5792516e-006, 0.707106233, -0.707106531, -3.81508926e-006, 0.707109034, 3.81435621e-006, -0.999999642, -1.58096282e-006))
  1034. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1035. Part = CreatePart(Enum.FormFactor.Symmetric, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.656099856, 0.393659979, 0.262439966))
  1036. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.200451851, -0.315522313, -0.000952482224, -0.999995947, -3.1282919e-013, 5.21538198e-007, -5.21540414e-007, -6.28311465e-012, -1, 3.12824257e-013, -0.999999642, 6.04059554e-012))
  1037. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1038. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.7749095, -0.0665602684, 0.446766496, -0.999995947, 3.94417901e-011, 5.03121157e-007, -3.96749439e-011, -0.999999642, -4.63689446e-007, 5.03123431e-007, -4.63689048e-007, 1))
  1039. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1040. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.656099916, 0.262439966))
  1041. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.382884979, -0.0559492111, -0.000958323479, 0.707103789, 1.57925547e-006, 0.707107008, -0.707104146, -3.81507652e-006, 0.70710665, 3.81435484e-006, -0.999999642, -1.58096418e-006))
  1042. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.951344788, 1, 1))
  1043. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.918540061, 0.200000003, 0.200000003))
  1044. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.2500999, -0.315561235, -0.197781086, -0.999995947, -7.10677394e-013, 5.21538198e-007, -5.21540414e-007, -5.410158e-012, -1, 7.10670509e-013, -0.999999642, 5.16763889e-012))
  1045. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1046. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1047. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-1.77491331, -0.0665630102, -0.315546811, 0.999995947, 1.47522928e-006, -8.63054538e-007, 1.47522383e-006, -0.999999642, -5.96148269e-008, -8.63055448e-007, 5.96132921e-008, -1))
  1048. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1049. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1050. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.00095307827, -0.0692355633, -0.0530753136, 4.17208184e-007, 0.999999642, -1.24864869e-006, 0.999995947, -4.17210487e-007, -6.0446132e-007, -6.04463764e-007, -1.24864835e-006, -1))
  1051. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1052. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  1053. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.594289541, -0.577865899, -0.000952482224, -0.999995947, 4.85845982e-011, 5.21538198e-007, -5.21540414e-007, -1.55332233e-010, -1, -4.85843449e-011, -0.999999642, 1.55089802e-010))
  1054. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  1055. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1056. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952959061, -0.061965704, -0.0530880094, -4.01771786e-007, -0.999999642, 1.08025915e-006, -0.999995947, 4.01773832e-007, 5.21538254e-007, -5.21540869e-007, -1.08025893e-006, -1))
  1057. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1058. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.262439996))
  1059. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.324400663, -0.446751714, -0.000952601433, -0.999995947, -1.51789562e-012, 5.21538198e-007, -5.21540414e-007, 1.45567641e-010, -1, 1.51780715e-012, -0.999999642, -1.45810183e-010))
  1060. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  1061. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.262439966))
  1062. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.381086797, -1.51240134, -0.000951886177, -4.61936025e-007, -5.05883252e-011, -1, 0.999995947, 8.3296087e-012, -4.61933553e-007, 8.32959483e-012, -0.999999642, 5.03458178e-011))
  1063. CreateMesh("CylinderMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1064. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262440026, 0.200000003, 0.200000003))
  1065. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.70932698, -0.446754277, 0.195877552, -0.999995947, -2.85565842e-014, 5.21538198e-007, -5.21540414e-007, 3.59957689e-011, -1, 2.85304718e-014, -0.999999642, -3.62383006e-011))
  1066. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1067. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1068. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952839851, 0.331614971, -0.0531049073, -4.01787446e-007, -0.999999642, 1.0803011e-006, -0.999995947, 4.01789492e-007, 5.21538254e-007, -5.21540869e-007, -1.08030088e-006, -1))
  1069. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1070. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.918540061, 0.200000003, 0.200000003))
  1071. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.25009334, -0.315559089, 0.195877194, -0.999995947, -7.10700812e-013, 5.21538198e-007, -5.21540414e-007, -6.16940093e-012, -1, 7.10694307e-013, -0.999999642, 5.92688182e-012))
  1072. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1073. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1074. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.19778192, 0.315561116, 1.77493024, -2.13241344e-013, -0.999999642, -4.63686348e-007, 5.03123488e-007, -4.6368595e-007, 1, -0.999995947, -2.00571083e-014, 5.03121157e-007))
  1075. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1076. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1077. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000952363014, 0.446721375, 0.193159819, 4.75546358e-009, 0.999999642, -1.8624263e-006, 5.20043955e-007, 1.86242596e-006, 1, 0.999995947, -4.75644946e-009, -5.20041738e-007))
  1078. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1079. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.262439996))
  1080. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.193187475, -0.315557897, -0.000952601433, -0.999995947, -1.39693855e-012, 5.21538198e-007, -5.21540414e-007, 1.66943959e-011, -1, 1.39691752e-012, -0.999999642, -1.69369241e-011))
  1081. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  1082. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  1083. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.59407711, -0.0531000197, -0.000952363014, -0.999990225, -3.56847798e-014, 5.21535242e-007, -5.21537459e-007, -2.62820841e-012, -0.999994278, 7.82880772e-014, -0.999999642, 2.61816176e-012))
  1084. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  1085. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262440026, 0.200000003, 0.200000003))
  1086. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.70935547, -0.44676286, -0.197781682, -0.999995947, -2.85648241e-014, 5.21538198e-007, -5.21540414e-007, 4.92065971e-011, -1, 2.85318237e-014, -0.999999642, -4.94491323e-011))
  1087. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1088. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1089. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.381075412, -1.78140426, -0.00095307827, -4.61936025e-007, -4.94634819e-011, -1, 0.999995947, 8.18711939e-012, -4.61933581e-007, 8.18710464e-012, -0.999999642, 4.92209745e-011))
  1090. CreateMesh("CylinderMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1091. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.262439996))
  1092. Partweld = CreateWeld(m, FakeHandleA, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.258820057, -0.184331298, -0.000952601433, -0.999995947, -9.58359694e-013, 5.21538198e-007, -5.21540414e-007, 1.63497792e-011, -1, 9.58340612e-013, -0.999999642, -1.65923074e-011))
  1093. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1094. BarrelA = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "BarrelA", v3(0.200000003, 0.200000003, 0.512000024))
  1095. BarrelAweld = CreateWeld(m, FakeHandleA, BarrelA, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.00648152828, -0.375403494, -1.62293732, 4.16029834e-005, -0.999999523, 4.46679103e-008, 4.43538624e-007, -4.46531416e-008, -0.999999881, 0.999992251, 4.16032817e-005, 4.43546355e-007))
  1096. CreateMesh("SpecialMesh", BarrelA, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", v3(0, 0, 0), v3(0.153600022, 0.140799999, 0.447999448))
  1097. FakeHandleB = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "FakeHandleB", v3(0.200000003, 0.256000012, 0.496000051))
  1098. FakeHandleBweld = CreateWeld(m, HandleB, FakeHandleB, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0, 0, 0, 1, -2.36065456e-020, 0, -2.36065456e-020, 1, 0, 0, 0, 1))
  1099. CreateMesh("BlockMesh", FakeHandleB, "", "", v3(0, 0, 0), v3(0.640000105, 1, 1))
  1100. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  1101. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.462830544, -0.0531138182, -0.000952243805, -0.999992132, 1.09443888e-012, 5.21542518e-007, -5.21546724e-007, -1.02038245e-012, -1, -1.09444235e-012, -0.999999523, 4.35311509e-013))
  1102. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  1103. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1104. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000952363014, -0.446709752, -0.193128824, 2.83092186e-006, 0.999999523, -3.04522632e-006, -7.05205821e-007, -3.04522337e-006, -1, -0.999992132, 2.83094482e-006, 7.05194395e-007))
  1105. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1106. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", v3(0.262439996, 0.200000003, 0.255879134))
  1107. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.0690851212, -0.0718523264, 0.394912601, -0.707375407, 1.49016e-008, -0.706838131, -7.8923982e-008, -1, 5.79019144e-008, -0.706838131, 9.67448699e-008, 0.707375348))
  1108. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1109. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  1110. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.229856014, 0.330393344, 0.128970504, -1, 2.91118504e-005, 0.000388933928, 0.000388933084, -2.88635511e-005, 1, 2.91230717e-005, 1, 2.88522242e-005))
  1111. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", v3(0, 0, 0), v3(0.118097998, 0.118097998, 0.459269375))
  1112. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  1113. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.229856014, 0.330393344, 0.128970504, -1, 2.91118504e-005, 0.000388933928, 0.000388933084, -2.88635511e-005, 1, 2.91230717e-005, 1, 2.88522242e-005))
  1114. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", v3(0, 0, 0), v3(0.0787319914, 0.0918539986, 0.459269375))
  1115. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1116. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000954866409, 0.463091612, 0.577915788, 2.08607375e-007, 0.999999523, 4.4356252e-008, -0.999992132, 2.08608867e-007, 9.08972993e-007, 9.08974243e-007, -4.43558399e-008, 1))
  1117. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1118. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1119. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000952482224, -0.463091373, -0.577939391, -5.96006622e-008, 0.999999523, 1.78325248e-008, 0.999992132, 5.96011169e-008, -7.89763646e-007, -7.8976575e-007, 1.78318817e-008, -1))
  1120. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1121. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1122. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952601433, -0.725286722, 0.577960372, 3.77827917e-007, -0.999999523, -5.6673349e-007, 0.999992132, 3.77831014e-007, -5.21542631e-007, 5.21547122e-007, -5.6673241e-007, 1))
  1123. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1124. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  1125. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.0618202686, -0.57786119, -0.000952482224, -0.999992132, 2.76128037e-010, 5.21542518e-007, -5.21546781e-007, -4.76147566e-010, -1, -2.76125789e-010, -0.999999523, 4.75562811e-010))
  1126. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  1127. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", v3(0.262439996, 0.200000003, 0.255879134))
  1128. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.394863367, -0.0697958469, -0.0693879128, -0.707374692, 1.49032964e-008, 0.706838787, -5.17640242e-009, 1, -2.62647628e-008, -0.706838787, -2.22379111e-008, -0.707374692))
  1129. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1130. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  1131. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.229600906, -0.325974405, 0.126894355, -1, -2.91118322e-005, -0.000387890788, 0.000387889944, 2.88337451e-005, -1, 2.91230135e-005, -1, -2.88224492e-005))
  1132. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", v3(0, 0, 0), v3(0.0787319914, 0.0918539986, 0.459269375))
  1133. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1134. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000953912735, 0.46284461, 0.0781242549, -4.01818824e-007, -0.999999523, 1.08039103e-006, -0.999992132, 4.01822348e-007, 5.21542688e-007, -5.21547349e-007, -1.08039092e-006, -1))
  1135. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1136. Part = CreatePart(Enum.FormFactor.Symmetric, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.393659979, 0.524879932))
  1137. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.659660816, -0.315543771, -0.000952363014, -0.999992132, -6.25112375e-013, 5.21542461e-007, -5.21546724e-007, -7.04180898e-012, -1, 6.25099527e-013, -0.999999523, 6.45673966e-012))
  1138. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.524879932))
  1139. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.64369273, -0.184356153, -0.000952601433, -0.999992132, 5.69847988e-014, 5.21542461e-007, -5.21546724e-007, -1.37150759e-011, -1, -5.69892034e-014, -0.999999523, 1.31300101e-011))
  1140. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656100452, 0.656099916, 1))
  1141. Part = CreatePart(Enum.FormFactor.Symmetric, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.787320077, 0.262439996, 0.524879932))
  1142. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.18440604, -0.118758678, -0.000952482224, -0.999992132, 2.1033314e-012, 5.21542518e-007, -5.21546724e-007, -1.72481072e-012, -1, -2.10332684e-012, -0.999999523, 1.13974021e-012))
  1143. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1144. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-1.77489591, -0.0646619797, 0.446767896, 0.999992132, -1.47525031e-006, -1.80026205e-007, 1.4752394e-006, 0.999999523, 1.4759812e-008, 1.8003314e-007, -1.47594861e-008, 1))
  1145. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1146. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1147. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952959061, -0.069406271, 0.577923179, -1.12559754e-007, -0.999999523, 4.43629311e-008, 0.999992132, -1.12560592e-007, -1.3411244e-007, 1.34119745e-007, 4.43634747e-008, 1))
  1148. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1149. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1150. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000952959061, -0.594092369, 0.0781444907, 4.17223703e-007, 1, -1.04824346e-006, 1, -4.17224214e-007, -5.03528042e-007, -5.03528497e-007, -1.04824335e-006, -1))
  1151. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1152. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  1153. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.229600906, -0.325974405, 0.126894355, -1, -2.91118322e-005, -0.000387890788, 0.000387889944, 2.88337451e-005, -1, 2.91230135e-005, -1, -2.88224492e-005))
  1154. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", v3(0, 0, 0), v3(0.118097998, 0.118097998, 0.459269375))
  1155. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.249317944, 0.262439966))
  1156. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.0810451508, -0.130914927, -0.000957846642, 0.707105875, 1.57924535e-006, 0.707106233, -0.707109392, -3.81509153e-006, 0.707109034, 3.81436735e-006, -1, -1.58096793e-006))
  1157. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.951344788, 1, 1))
  1158. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.524879932, 0.200000003, 0.262439966))
  1159. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000948429108, 0.0531208515, -0.659636974, 5.96029182e-008, 0.999999523, 1.09855129e-007, 5.97946098e-007, -1.09854533e-007, 1, 0.999992132, -5.96032947e-008, -5.9794246e-007))
  1160. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1161. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1162. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000953197479, 0.0694093704, -0.577948451, 5.12381426e-008, -0.999999523, 1.78379249e-008, -0.999992132, -5.12385121e-008, 2.5332173e-007, -2.53328068e-007, -1.78385147e-008, -1))
  1163. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1164. Part = CreatePart(Enum.FormFactor.Symmetric, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.524879932, 0.262439966))
  1165. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.381076962, -1.18432021, -0.000951766968, -4.61942591e-007, -4.89190355e-011, -1, 0.999992132, 7.56278113e-012, -4.61937873e-007, 7.56273516e-012, -0.999999523, 4.83339826e-011))
  1166. CreateMesh("CylinderMesh", Part, "", "", v3(0, 0, 0), v3(1, 1, 1))
  1167. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1168. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000945448875, -0.725324035, -0.053067863, 1.03413258e-005, 0.999999523, -1.3563623e-006, 0.999992132, -1.03414031e-005, -5.86404383e-007, -5.86422175e-007, -1.35635628e-006, -1))
  1169. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1170. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1171. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.195877314, 0.315567106, 1.77491331, -2.98756218e-013, -0.999999523, -4.63664264e-007, 5.03129854e-007, -4.63663469e-007, 1, -0.999992132, 6.54619384e-014, 5.03125477e-007))
  1172. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1173. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.262439966, 0.262439966))
  1174. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.64354384, -0.381081581, -0.000951766968, -0.999992132, 5.69671263e-014, 5.21542518e-007, -5.21546724e-007, -1.37326636e-010, -1, -5.69069531e-014, -0.999999523, 1.36741632e-010))
  1175. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 1, 1))
  1176. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.262439996, 0.262439966))
  1177. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.77477098, -0.381083727, -0.000951647758, -0.999992132, 5.6906411e-014, 5.21542518e-007, -5.21546724e-007, -1.45938026e-010, -1, -5.68417451e-014, -0.999999523, 1.45353021e-010))
  1178. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 1, 1))
  1179. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439996, 0.200000003, 0.200000003))
  1180. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952959061, 0.184345931, 1.77488852, -2.98793217e-013, -0.999999523, -4.63661593e-007, 5.03129854e-007, -4.63660797e-007, 1, -0.999992132, 6.55001024e-014, 5.03125477e-007))
  1181. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1182. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.262439966))
  1183. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.381089836, -0.856280804, -0.000952005386, -4.61942562e-007, -5.10294133e-011, -1, 0.999992132, 8.24417357e-012, -4.61937844e-007, 8.244125e-012, -0.999999523, 5.0444364e-011))
  1184. CreateMesh("CylinderMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1185. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1186. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.77489245, -0.0646588802, -0.31554237, -0.999992132, -1.13818612e-012, 5.39959558e-007, -8.72651452e-013, 0.999999523, 4.91726496e-007, -5.39963651e-007, 4.917257e-007, -1))
  1187. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1188. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.524879932, 0.200000003, 0.200000003))
  1189. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952720642, 0.0531313121, 1.6436727, -2.98866156e-013, -0.999999523, -4.63665486e-007, 5.03129854e-007, -4.63664691e-007, 1, -0.999992132, 6.55707923e-014, 5.03125477e-007))
  1190. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1191. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1192. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952959061, -0.577952385, 0.193134546, 2.79130136e-010, -0.999999523, 4.63188996e-007, -5.03130252e-007, -4.63189366e-007, -1, 0.999992132, 2.78899154e-010, -5.03125875e-007))
  1193. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1194. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439996, 0.200000003, 0.262439966))
  1195. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.266266823, -0.577865839, -0.000952482224, -0.999992132, 4.90718091e-011, 5.21542461e-007, -5.21546724e-007, -1.56813909e-010, -1, -4.90713789e-011, -0.999999523, 1.56228946e-010))
  1196. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1197. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.465830922, 0.200000003, 0.262439966))
  1198. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.0548336506, -0.318395734, -0.000958323479, 0.707105875, 1.57925228e-006, 0.707106233, -0.707109392, -3.81509062e-006, 0.707109034, 3.81437167e-006, -1, -1.58096236e-006))
  1199. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1200. Part = CreatePart(Enum.FormFactor.Symmetric, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.656099856, 0.393659979, 0.262439966))
  1201. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.200448036, -0.315522313, -0.000952363014, -0.999992132, -2.27365869e-013, 5.21542461e-007, -5.21546724e-007, -6.72415856e-012, -1, 2.27355651e-013, -0.999999523, 6.13908924e-012))
  1202. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1203. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.77488089, -0.0665599108, 0.446766585, -0.999992132, 3.95272495e-011, 5.0312542e-007, -3.9760268e-011, -0.999999523, -4.63689361e-007, 5.03129854e-007, -4.63688565e-007, 1))
  1204. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1205. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.656099916, 0.262439966))
  1206. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.382884026, -0.0559498072, -0.000958442688, 0.70710665, 1.57925615e-006, 0.707107008, -0.707107008, -3.81507789e-006, 0.70710665, 3.8143703e-006, -1, -1.58096373e-006))
  1207. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.951344788, 1, 1))
  1208. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.918540061, 0.200000003, 0.200000003))
  1209. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.25007939, -0.315561235, -0.197780728, -0.999992132, -6.25213856e-013, 5.21542461e-007, -5.21546724e-007, -5.85120234e-012, -1, 6.25200358e-013, -0.999999523, 5.26613258e-012))
  1210. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1211. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1212. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-1.77488446, -0.0665627718, -0.315546811, 0.999992132, 1.47522906e-006, -8.63058801e-007, 1.47521814e-006, -0.999999523, -5.96147274e-008, -8.6306045e-007, 5.96128444e-008, -1))
  1213. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1214. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1215. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000952959061, -0.0692336559, -0.0530753434, 4.17206678e-007, 0.999999523, -1.24864869e-006, 0.999992132, -4.17210515e-007, -6.0446564e-007, -6.04469733e-007, -1.24864869e-006, -1))
  1216. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1217. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  1218. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.594279528, -0.577865899, -0.000952363014, -0.999992132, 4.86700541e-011, 5.21542461e-007, -5.21546724e-007, -1.55773255e-010, -1, -4.86696274e-011, -0.999999523, 1.55188293e-010))
  1219. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  1220. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1221. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952839851, -0.061965704, -0.0530880094, -4.01770336e-007, -0.999999523, 1.08025915e-006, -0.999992132, 4.0177386e-007, 5.21542518e-007, -5.21547179e-007, -1.08025915e-006, -1))
  1222. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1223. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.262439996))
  1224. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.324369669, -0.446746528, -0.000952601433, -0.999992132, -2.28737904e-010, 5.21542461e-007, -5.21546724e-007, 3.90042887e-010, -1, 2.28737695e-010, -0.999999523, -3.90628141e-010))
  1225. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  1226. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.262439966))
  1227. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.381086797, -1.51237679, -0.000951766968, -4.61942562e-007, -5.10293613e-011, -1, 0.999992132, 8.24414408e-012, -4.61937844e-007, 8.24409551e-012, -0.999999523, 5.04443119e-011))
  1228. CreateMesh("CylinderMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1229. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262440026, 0.200000003, 0.200000003))
  1230. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.70929945, -0.446754336, 0.195877552, -0.999992132, 5.69068447e-014, 5.21542461e-007, -5.21546724e-007, 3.55547189e-011, -1, -5.69368364e-014, -0.999999523, -3.61398099e-011))
  1231. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1232. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1233. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.000952720642, 0.331609011, -0.0531049073, -4.01785996e-007, -0.999999523, 1.0803011e-006, -0.999992132, 4.01789521e-007, 5.21542518e-007, -5.21547236e-007, -1.0803011e-006, -1))
  1234. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1235. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.918540061, 0.200000003, 0.200000003))
  1236. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.25007296, -0.315559149, 0.195877194, -0.999992132, -6.25237275e-013, 5.21542461e-007, -5.21546724e-007, -6.61044526e-012, -1, 6.25224156e-013, -0.999999523, 6.02537551e-012))
  1237. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1238. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1239. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.197781563, 0.315561146, 1.77490151, -2.98711766e-013, -0.999999523, -4.63686263e-007, 5.03129854e-007, -4.63685438e-007, 1, -0.999992132, 6.54063189e-014, 5.03125477e-007))
  1240. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1241. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262439966, 0.200000003, 0.200000003))
  1242. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.000952243805, 0.446721435, 0.193157434, 4.75553064e-009, 0.999999523, -1.86242642e-006, 5.20050321e-007, 1.86242619e-006, 1, 0.999992132, -4.75653428e-009, -5.20046058e-007))
  1243. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1244. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.262439996))
  1245. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.193185091, -0.315557897, -0.000952482224, -0.999992132, -1.3114748e-012, 5.21542461e-007, -5.21546724e-007, 1.62533511e-011, -1, 1.31144477e-012, -0.999999523, -1.683843e-011))
  1246. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  1247. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.200000003, 0.200000003, 0.262439966))
  1248. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(0.594074965, -0.0531003177, -0.000952243805, -1, 4.97786491e-014, 5.21546554e-007, -5.21546554e-007, -3.0692675e-012, -1, -4.97770262e-014, -1, 3.0692675e-012))
  1249. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 1))
  1250. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", v3(0.262440026, 0.200000003, 0.200000003))
  1251. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(1.70932782, -0.44676286, -0.197781324, -0.999992132, 5.68986048e-014, 5.21542461e-007, -5.21546724e-007, 4.87655437e-011, -1, -5.6935488e-014, -0.999999523, -4.93506416e-011))
  1252. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 0.656099916))
  1253. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", v3(0.200000003, 0.200000003, 0.200000003))
  1254. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.381075472, -1.78137565, -0.000952839851, -4.61942591e-007, -4.99045215e-011, -1, 0.999992132, 8.10165563e-012, -4.61937873e-007, 8.10160619e-012, -0.999999523, 4.93194721e-011))
  1255. CreateMesh("CylinderMesh", Part, "", "", v3(0, 0, 0), v3(0.656099916, 0.656099916, 0.656099916))
  1256. Part = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", v3(0.262439966, 0.200000003, 0.262439996))
  1257. Partweld = CreateWeld(m, FakeHandleB, Part, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.258816719, -0.184331298, -0.000952482224, -0.999992132, -8.72896373e-013, 5.21542461e-007, -5.21546724e-007, 1.59087344e-011, -1, 8.72869593e-013, -0.999999523, -1.64938133e-011))
  1258. CreateMesh("BlockMesh", Part, "", "", v3(0, 0, 0), v3(1, 0.656099916, 1))
  1259. BarrelB = CreatePart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "BarrelB", v3(0.200000003, 0.200000003, 0.512000024))
  1260. BarrelBweld = CreateWeld(m, FakeHandleB, BarrelB, cn(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), cn(-0.00648140907, -0.375403613, -1.62292969, 4.16028452e-005, -1, 4.46680346e-008, 4.43528563e-007, -4.46495818e-008, -1, 1, 4.16028452e-005, 4.43526744e-007))
  1261. CreateMesh("SpecialMesh", BarrelB, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", v3(0, 0, 0), v3(0.153600022, 0.140799999, 0.447999448))
  1262.  
  1263.  
  1264. local lasrs = {}
  1265. local lasrspd = 5
  1266. local maxTravelDistance = 300
  1267. local maxRebounds = 2
  1268.  
  1269. function RAY(pos, dir, collidedlist, startpos, endpos, distleft)
  1270. collidedlist = collidedlist or {
  1271. Character
  1272. }
  1273. startpos = startpos or pos
  1274. distleft = distleft or dir.unit * dir.magnitude
  1275. endpos = endpos or pos + distleft
  1276. local ray = Ray.new(pos, distleft)
  1277. local hitz, enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  1278. if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
  1279. if hitz.CanCollide == false then
  1280. table.insert(collidedlist, hitz)
  1281. local newpos = enz
  1282. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  1283. if newdistleft then
  1284. return RAY(newpos - (dir * 0.01), dir, collidedlist, startpos, endpos, newdistleft + (dir * 0.01))
  1285. end
  1286. end
  1287. end
  1288. return hitz, enz, ray
  1289. end
  1290.  
  1291. local fat = Instance.new("BindableEvent", script)
  1292. fat.Name = "Heartbeat"
  1293.  
  1294. local frame = 1 / 27
  1295. local tf = 0
  1296. local allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  1297. local tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  1298. local lastframe = tick()
  1299. local floor = math.floor
  1300. local Fire = fat.Fire
  1301. local FatEvent = fat.Event
  1302.  
  1303. local Loop = game:GetService("RunService").Heartbeat:connect(function(s) --herp derp
  1304. tf = tf + s
  1305. if tf >= frame then
  1306. -- if allowframeloss then
  1307. -- Fire(fat)
  1308. -- lastframe = tick()
  1309. -- else
  1310. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  1311. for i = 1, floor(tf / frame) do
  1312. Fire(fat)
  1313. end
  1314. lastframe = tick()
  1315. end
  1316. tf = (tossremainder and 0) or tf - frame * floor(tf / frame)
  1317. -- end
  1318. end)
  1319.  
  1320. function swait(num)
  1321. if num == 0 or num == nil then
  1322. FatEvent:wait()
  1323. else
  1324. for i = 0, num do
  1325. FatEvent:wait()
  1326. end
  1327. end
  1328. end
  1329.  
  1330.  
  1331. function FindSurface(part, position)
  1332. local obj = part.CFrame:pointToObjectSpace(position)
  1333. local siz = part.Size / 2
  1334. for i, v in pairs(Enum.NormalId:GetEnumItems()) do
  1335. local vec = Vector3.FromNormalId(v)
  1336. local wvec = part.CFrame:vectorToWorldSpace(vec)
  1337. local vz = (obj) / (siz * vec)
  1338. if (math.abs(vz.X - 1) < 0.001 or math.abs(vz.Y - 1) < 0.001 or math.abs(vz.Z - 1) < 0.001) then
  1339. return wvec, vec
  1340. end
  1341. end
  1342. if part.className == "WedgePart" then
  1343. local pos = (part.CFrame * cn(0, part.Size.y / 2, part.Size.z / 2)).p
  1344. local apos = (part.CFrame * angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y, part.CFrame:pointToObjectSpace(pos).z), 0, 0) * cn(0, 1, 0)).p
  1345. local wvec, vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos)
  1346. return wvec, vec
  1347. elseif part.className == "Part" and (part.Shape.Name == "Ball" or part.Shape.Name == "Cylinder") then
  1348. return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit)
  1349. end
  1350. end
  1351.  
  1352. function Reflect(direction, normal)
  1353. return direction - 2 * normal:Dot(direction) * normal
  1354. end
  1355.  
  1356. function ReflectShot(mouse, asd)
  1357. local dir = (mouse.Hit.p - Torso.Position).unit
  1358. local tabl
  1359. local tablnum = 0
  1360. for i, v in pairs(lasrs) do
  1361. if not v[1] then
  1362. tabl = v
  1363. tablnum = i
  1364. break
  1365. end
  1366. end
  1367. if not tabl then
  1368. tablnum = #lasrs + 1
  1369. tabl = {
  1370. false,
  1371. nil,
  1372. nil,
  1373. 0,
  1374. 0,
  1375. 1,
  1376. {},
  1377. {},
  1378. {},
  1379. {}
  1380. }
  1381. for i = 1, 2 do
  1382. for j = 1, 6 do
  1383. local p = Instance.new("Part")
  1384. p.FormFactor = "Custom"
  1385. p.CanCollide = false
  1386. p.Anchored = true
  1387. p.Locked = true
  1388. p.BrickColor = BarrelA.BrickColor
  1389. p.TopSurface = 10
  1390. p.BottomSurface = 10
  1391. p.RightSurface = 10
  1392. p.LeftSurface = 10
  1393. p.FrontSurface = 10
  1394. p.BackSurface = 10
  1395. p.Size = v3(.5, .5, .5)
  1396. p.Material = "Neon"
  1397. p.Transparency = i == 1 and 0 or 0.6
  1398. local mesh = Instance.new("CylinderMesh", p)
  1399. table.insert(tabl[6 + i], p)
  1400. table.insert(tabl[8 + i], mesh)
  1401. end
  1402. end
  1403. table.insert(lasrs, tabl)
  1404. end
  1405. -- isMoving,direction,lastPosition,rebounds,distance,recycleCount,middleLayer,outerLayer
  1406. tabl[4], tabl[5] = 0, 0
  1407. tabl[3] = asd.Position
  1408. tabl[2] = dir
  1409. tabl[1] = true
  1410.  
  1411. end
  1412.  
  1413. gun = false
  1414.  
  1415. shoot = false
  1416.  
  1417. gunidle = false
  1418.  
  1419. local GunA = true
  1420. local GunB = false
  1421.  
  1422. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1423. local prt = CreatePart(3, Character, "Neon", 0, 0, brickcolor, "Effect", v3(0.1, 0.1, 0.1))
  1424. prt.Anchored = true
  1425. prt.CFrame = cframe
  1426. local msh = CreateMesh("CylinderMesh", prt, "", "", v3(0, 0, 0), v3(x1, y1, z1))
  1427. game:GetService("Debris"):AddItem(prt, 5)
  1428. Effects[#Effects + 1] = {
  1429. prt,
  1430. "Cylinder",
  1431. delay,
  1432. x3,
  1433. y3,
  1434. z3
  1435. } --part, type, delay
  1436. end
  1437.  
  1438. function Shoot(min,max,asd, spread1, spread2)
  1439. local MainPos = asd.Position
  1440. local MainPos2 = mouse.Hit.p
  1441. local spread = v3((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
  1442. local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
  1443. num = 30
  1444. coroutine.resume(coroutine.create(function(Spreaded)
  1445. repeat
  1446. wait()
  1447. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 50, RootPart.Parent)
  1448. local TheHit = mouse.Hit.p
  1449. local mag = (MainPos - pos).magnitude
  1450. CylinderEffect(Torso.BrickColor, cn((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 1, .5, 0.2)
  1451. MainPos = MainPos + (MouseLook.lookVector * 50)
  1452. num = num - 1
  1453. if hit ~= nil and hit.Name ~= "Effect" and hit.Name ~= 'BillboardGui' then
  1454. local g=hit:FindFirstChild('BodyPosition')
  1455. if g == nil then
  1456. num = 0
  1457. local h=hit.Parent:FindFirstChild'Torso' or hit.Parent.Parent:FindFirstChild'Torso'
  1458. if h then
  1459. num = 0
  1460. damage(h,min,max, 5, 1, RootPart)
  1461. end
  1462. end
  1463. end
  1464. until num <= 0
  1465. end))
  1466. end
  1467.  
  1468. function Shoot2(min,max,asd, spread1, spread2)
  1469. local MainPos = asd.Position
  1470. local MainPos2 = mouse.Hit.p
  1471. local spread = v3((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
  1472. local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
  1473. num = 30
  1474. coroutine.resume(coroutine.create(function(Spreaded)
  1475. repeat
  1476. wait()
  1477. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 50, RootPart.Parent)
  1478. local TheHit = mouse.Hit.p
  1479. local mag = (MainPos - pos).magnitude
  1480. CylinderEffect(Torso.BrickColor, cn((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 1, .5, 0.2)
  1481. MainPos = MainPos + (MouseLook.lookVector * 50)
  1482. num = num - 1
  1483. if hit ~= nil and hit.Name ~= "Effect" and hit.Name ~= 'BillboardGui' then
  1484. local g=hit:FindFirstChild('BodyPosition')
  1485. if g == nil then
  1486. num = 0
  1487. local h=hit.Parent:FindFirstChild'Torso' or hit.Parent.Parent:FindFirstChild'Torso'
  1488. if h then
  1489. num = 0
  1490. damage(h,min,max, 0, 1, RootPart)
  1491. end
  1492. end
  1493. end
  1494. until num <= 0
  1495. end))
  1496. end
  1497.  
  1498. function Attackone()
  1499. attack = true
  1500. Con1 = LeftLeg.Touched:connect(function(hit)
  1501. damage(hit, math.random(3, 4), math.random(4,5 ), 1, 1, RootPart)
  1502. Con1:disconnect()
  1503. end)
  1504. for i = 0, 1, 0.2 do
  1505. swait()
  1506. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(30)), .3)
  1507. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(0), mr(-30)), .3)
  1508. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, 0) * angles(mr(20), mr(0), mr(20)), .3)
  1509. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, 0) * angles(mr(20), mr(0), mr(-20)), .3)
  1510. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(0), mr(-30), mr(5)), .3)
  1511. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(0), mr(-30), mr(-5)), .3)
  1512. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .4)
  1513. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .4)
  1514. end
  1515. so("http://roblox.com/asset/?id=320557413", LeftLeg, 1, 1)
  1516. for i = 0, 1, 0.15 do
  1517. swait()
  1518. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(-30), mr(0), mr(-30)), .5)
  1519. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(20), mr(10), mr(30)), .5)
  1520. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, 0) * angles(mr(-50), mr(0), mr(20)), .5)
  1521. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, 0) * angles(mr(-50), mr(0), mr(-20)), .5)
  1522. RH.C0 = clerp(RH.C0, cn(0.55, -2, .5) * angles(mr(-30), mr(30), mr(10)), .5)
  1523. LH.C0 = clerp(LH.C0, cn(-1.3, -1, -1.3) * angles(mr(80), mr(-10), mr(-30)), .5)
  1524. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .4)
  1525. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .4)
  1526. end
  1527. attack = false
  1528. Con1:disconnect()
  1529. end
  1530.  
  1531. function Attacktwo()
  1532. attack = true
  1533. Con1 = FakeHandleA.Touched:connect(function(hit)
  1534. damage(hit, math.random(3, 4), math.random(4,5 ), 1, 1, RootPart)
  1535. Con1:disconnect()
  1536. end)
  1537. for i = 0, 1, 0.2 do
  1538. swait()
  1539. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(-80)), .3)
  1540. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(10), mr(10), mr(50)), .3)
  1541. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, 0) * angles(mr(-50), mr(0), mr(20)), .3)
  1542. LW.C0 = clerp(LW.C0, cn(-1, 0.5, -.5) * angles(mr(0), mr(-150), mr(-90)), .3)
  1543. RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(mr(-10), mr(30), mr(10)), .3)
  1544. LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(mr(0), mr(30), mr(-10)), .3)
  1545. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .4)
  1546. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(mr(0), mr(70), mr(0)), .4)
  1547.  
  1548. if Torsovelocity > 2 then
  1549. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .25)
  1550. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .25)
  1551. end
  1552.  
  1553. end
  1554. so("http://roblox.com/asset/?id=320557413", LeftArm, 1, 1.2)
  1555. for i = 0, 1, 0.15 do
  1556. swait()
  1557. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(80)), .35)
  1558. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(10), mr(-5), mr(-80)), .35)
  1559. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, 0) * angles(mr(50), mr(20), mr(30)), .35)
  1560. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(0), mr(-10), mr(-90)), .35)
  1561. RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(mr(-10), mr(-40), mr(10)), .35)
  1562. LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(mr(-10), mr(-40), mr(-10)), .35)
  1563. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .4)
  1564. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-90), mr(0)), .3)
  1565.  
  1566. if Torsovelocity > 2 then
  1567. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .25)
  1568. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .25)
  1569. end
  1570.  
  1571. end
  1572. attack = false
  1573. Con1:disconnect()
  1574. end
  1575.  
  1576. function Attackthree()
  1577. attack = true
  1578. Con1 = FakeHandleB.Touched:connect(function(hit)
  1579. damage(hit, math.random(3, 4), math.random(4,5 ), 1, 1, RootPart)
  1580. Con1:disconnect()
  1581. end)
  1582. for i = 0, 1, 0.2 do
  1583. swait()
  1584. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(-70)), .3)
  1585. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(0), mr(70)), .3)
  1586. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, 0) * angles(mr(160), mr(0), mr(20)), .3)
  1587. LW.C0 = clerp(LW.C0, cn(-1.3, 0.5, -.5) * angles(mr(0), mr(-150), mr(-90)), .3)
  1588. RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(mr(0), mr(40), mr(7)), .3)
  1589. LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(mr(0), mr(40), mr(-7)), .3)
  1590. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, -.1) * angles(mr(0), mr(150), mr(0)), .4)
  1591. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .4)
  1592.  
  1593. if Torsovelocity > 2 then
  1594. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .25)
  1595. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .25)
  1596. end
  1597.  
  1598. end
  1599. so("http://roblox.com/asset/?id=320557413", RightArm, 1, 1.3)
  1600. for i = 0, 1, 0.13 do
  1601. swait()
  1602. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(70)), .35)
  1603. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(5), mr(-5), mr(-70)), .35)
  1604. RW.C0 = clerp(RW.C0, cn(1.4, 0.4, -.3) * angles(mr(30), mr(-50), mr(-20)), .35)
  1605. LW.C0 = clerp(LW.C0, cn(-1.3, 0.5, 0) * angles(mr(-30), mr(0), mr(-30)), .35)
  1606. RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(mr(0), mr(-40), mr(7)), .35)
  1607. LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(mr(0), mr(-40), mr(-7)), .35)
  1608. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .4)
  1609. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .4)
  1610.  
  1611. if Torsovelocity > 2 then
  1612. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .25)
  1613. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .25)
  1614. end
  1615.  
  1616. end
  1617. attack = false
  1618. Con1:disconnect()
  1619. end
  1620.  
  1621. function Attackfour()
  1622. attack = true
  1623. for i = 0, 1, 0.2 do
  1624. swait()
  1625. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(3), mr(0), mr(-70)), .3)
  1626. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(-3), mr(3), mr(70)), .3)
  1627. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(-50), mr(0), mr(30)), .3)
  1628. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.3) * angles(mr(120), mr(0), mr(40)), .3)
  1629. RH.C0 = clerp(RH.C0, cn(0.7, -2, .3) * angles(mr(3), mr(70), mr(5)), .3)
  1630. LH.C0 = clerp(LH.C0, cn(-0.7, -2, -.3) * angles(mr(3), mr(70), mr(-5)), .3)
  1631. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .7)
  1632. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(-130), mr(0)), .7)
  1633.  
  1634. if Torsovelocity > 2 then
  1635. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .25)
  1636. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .25)
  1637. end
  1638.  
  1639. end
  1640. so("http://roblox.com/asset/?id=320557413", LeftArm, 1, 0.9)
  1641. for i = 0, 1, 0.15 do
  1642. swait()
  1643. so("http://roblox.com/asset/?id=199145534", BarrelA, .5, math.random(150, 200) / 100)
  1644. OrbEffect(Torso.BrickColor, cn(BarrelA.Position), .3, .3, .3, .3, .3, .3, 0.1)
  1645. Shockwave(Torso.BrickColor, cn(BarrelA.Position), .3, .3, .3, .3, .3, .3, 0.1)
  1646. local target = CheckClose(BarrelA, 5)
  1647. if target then
  1648. damage(target.Torso, 1,1, 1, 1, RootPart)
  1649. end
  1650. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(3), mr(0), mr(100)), .35)
  1651. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(-3), mr(-3), mr(-100)), .35)
  1652. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(90), mr(60), mr(70)), .35)
  1653. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.3) * angles(mr(-20), mr(0), mr(-40)), .35)
  1654. RH.C0 = clerp(RH.C0, cn(0.58, -2, 0) * angles(mr(3), mr(0), mr(8)), .35)
  1655. LH.C0 = clerp(LH.C0, cn(-0.58, -2, 0) * angles(mr(3), mr(0), mr(-8)), .35)
  1656. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  1657. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(-130), mr(0)), .7)
  1658.  
  1659. if Torsovelocity > 2 then
  1660. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .25)
  1661. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .25)
  1662. end
  1663.  
  1664. end
  1665. attack = false
  1666. end
  1667.  
  1668. function GunStance()
  1669. attack = true
  1670. gun = true
  1671. speedvalue = .5
  1672. --gyro.Parent = RootPart
  1673. aiming = true
  1674. if GunA == true then
  1675. for i = 0, 1, 0.2 do
  1676. swait()
  1677. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(90)), .4)
  1678. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(0), mr(-90)), .4)
  1679. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(90), mr(0), mr(90)), .4)
  1680. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(30), mr(0), mr(-10)), .4)
  1681. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(mr(0), mr(0), mr(3)), .4)
  1682. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(mr(0), mr(0), mr(-3)), .4)
  1683. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .4)
  1684. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .4)
  1685. end
  1686. elseif GunB == true then
  1687. for i = 0, 1, 0.2 do
  1688. swait()
  1689. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(-90)), .4)
  1690. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(0), mr(90)), .4)
  1691. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(30), mr(0), mr(10)), .4)
  1692. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(90), mr(0), mr(-90)), .4)
  1693. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(mr(0), mr(0), mr(3)), .4)
  1694. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(mr(0), mr(0), mr(-3)), .4)
  1695. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .4)
  1696. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .4)
  1697. end
  1698. end
  1699. local offset = nil
  1700. gunidle = true
  1701. while gun == true do
  1702. swait()
  1703. local gunpos = v3(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
  1704. offset = (Torso.Position.y - mouse.Hit.p.y) / 60
  1705. local mag = (Torso.Position - mouse.Hit.p).magnitude / 80
  1706. offset = offset / mag
  1707. if GunA == true and GunB == false then
  1708. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(offset, 0, 0), .5)
  1709. elseif GunB == true and GunA == false then
  1710. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * euler(offset, 0, 0), .5)
  1711. end
  1712.  
  1713. if Torsovelocity > 2 then
  1714. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1715. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1716. elseif Torsovelocity <= 2 then
  1717. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(mr(0), mr(0), mr(3)), .4)
  1718. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(mr(0), mr(0), mr(-3)), .4)
  1719. end
  1720. end
  1721. if shoot == true then
  1722. gunidle = false
  1723. if GunA == true then
  1724. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  1725. ----so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  1726. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  1727. GunA = false
  1728. Shoot2(1,6,BarrelA, 0, 0)
  1729. for i = 0, 1, 0.15 do
  1730. swait()
  1731. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(80)), .3)
  1732. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(5), mr(-80)), .3)
  1733. RW.C0 = clerp(RW.C0, cn(1.5, 0.7, 0) * angles(mr(90), mr(60), mr(80)), .55)
  1734. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(50), mr(0), mr(-15)), .3)
  1735. RH.C0 = clerp(RH.C0, cn(0.6, -2, -.1) * angles(mr(5), mr(0), mr(3)), .25)
  1736. LH.C0 = clerp(LH.C0, cn(-0.6, -2, .1) * angles(mr(-5), mr(0), mr(-3)), .25)
  1737. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(20), mr(0)), .75)
  1738. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(30), mr(0)), .3)
  1739.  
  1740. if Torsovelocity > 2 then
  1741. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1742. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1743. end
  1744.  
  1745. end
  1746. GunB = true
  1747. elseif GunB == true then
  1748. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  1749. --so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  1750. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  1751. GunB = false
  1752. Shoot2(1,6,BarrelB, 0, 0)
  1753. for i = 0, 1, 0.15 do
  1754. swait()
  1755. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(-80)), .3)
  1756. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(-5), mr(80)), .3)
  1757. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(50), mr(0), mr(15)), .3)
  1758. LW.C0 = clerp(LW.C0, cn(-1.5, 0.7, 0) * angles(mr(90), mr(-60), mr(-80)), .55)
  1759. RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(mr(-5), mr(0), mr(3)), .25)
  1760. LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(mr(5), mr(0), mr(-3)), .25)
  1761. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(30), mr(0)), .3)
  1762. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(20), mr(0)), .75)
  1763.  
  1764. if Torsovelocity > 2 then
  1765. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1766. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1767. end
  1768.  
  1769. end
  1770. GunA = true
  1771. end
  1772. end
  1773. --gyro.Parent = nil
  1774. aiming = false
  1775. speedvalue = 1
  1776. gun = false
  1777. gunidle = false
  1778. shoot = false
  1779. attack = false
  1780. end
  1781.  
  1782. function EchoBarrage()
  1783. attack = true
  1784. --gyro.Parent = RootPart
  1785. aiming = true
  1786. speedvalue = .5
  1787. for i = 0, 1, 0.1 do
  1788. swait()
  1789. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(3), mr(0), mr(0)), .3)
  1790. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(-3), mr(0), mr(0)), .3)
  1791. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(80), mr(0), mr(10)), .3)
  1792. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(80), mr(0), mr(-10)), .3)
  1793. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(3), mr(0), mr(3)), .3)
  1794. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(3), mr(0), mr(-3)), .3)
  1795. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 10 * i, mr(0)), .7)
  1796. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), -10 * i, mr(0)), .7)
  1797.  
  1798. if Torsovelocity > 2 then
  1799. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1800. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1801. end
  1802.  
  1803. end
  1804. for i = 1, 2 do
  1805. for i = 0, 1, 0.3 do
  1806. swait()
  1807. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .3)
  1808. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(0), mr(0)), .3)
  1809. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, -.2) * angles(mr(90), mr(0), mr(0)), .3)
  1810. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.2) * angles(mr(90), mr(0), mr(0)), .3)
  1811. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(0), mr(0), mr(3)), .3)
  1812. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(0), mr(0), mr(-3)), .3)
  1813. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  1814. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  1815.  
  1816. if Torsovelocity > 2 then
  1817. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1818. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1819. end
  1820.  
  1821. end
  1822. Shoot(1,6,BarrelA, 0, 0)
  1823. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  1824. --so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  1825. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  1826. --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
  1827. for i = 0, 1, 0.35 do
  1828. swait()
  1829. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(-20)), .4)
  1830. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(5), mr(0), mr(20)), .4)
  1831. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, -.4) * angles(mr(150), mr(0), mr(-20)), .4)
  1832. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.4) * angles(mr(90), mr(0), mr(0)), .4)
  1833. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(0), mr(20), mr(3)), .4)
  1834. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(0), mr(20), mr(-3)), .4)
  1835. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  1836. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  1837.  
  1838. if Torsovelocity > 2 then
  1839. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1840. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1841. end
  1842.  
  1843. end
  1844. for i = 0, 1, 0.3 do
  1845. swait()
  1846. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .3)
  1847. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(0), mr(0)), .3)
  1848. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, -.2) * angles(mr(90), mr(0), mr(0)), .3)
  1849. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.2) * angles(mr(90), mr(0), mr(0)), .3)
  1850. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(0), mr(0), mr(3)), .3)
  1851. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(0), mr(0), mr(-3)), .3)
  1852. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  1853. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  1854.  
  1855. if Torsovelocity > 2 then
  1856. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1857. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1858. end
  1859.  
  1860. end
  1861. Shoot(1,4,BarrelB, 0, 0)
  1862. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  1863. --so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  1864. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  1865. --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
  1866. for i = 0, 1, 0.35 do
  1867. swait()
  1868. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(20)), .4)
  1869. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(5), mr(0), mr(-20)), .4)
  1870. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, -.4) * angles(mr(90), mr(0), mr(0)), .4)
  1871. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.4) * angles(mr(150), mr(0), mr(20)), .4)
  1872. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(0), mr(-20), mr(3)), .4)
  1873. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(0), mr(-20), mr(-3)), .4)
  1874. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  1875. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  1876.  
  1877. if Torsovelocity > 2 then
  1878. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1879. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1880. end
  1881.  
  1882. end
  1883. end
  1884. --gyro.Parent = nil
  1885. aiming = false
  1886. attack = false
  1887. speedvalue = 1
  1888. end
  1889.  
  1890. function LucentScatter()
  1891. attack = true
  1892. --gyro.Parent = RootPart
  1893. aiming = true
  1894. speedvalue = 0
  1895. for i = 0, 1, 0.1 do
  1896. swait()
  1897. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(3), mr(0), mr(-70)), .3)
  1898. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(-3), mr(0), mr(70)), .3)
  1899. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(-50), mr(0), mr(30)), .3)
  1900. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.3) * angles(mr(120), mr(0), mr(40)), .3)
  1901. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(3), mr(70), mr(3)), .3)
  1902. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(3), mr(70), mr(-3)), .3)
  1903. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), -10 * i, mr(0)), .7)
  1904. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(-130), mr(0)), .7)
  1905.  
  1906. if Torsovelocity > 2 then
  1907. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1908. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1909. end
  1910.  
  1911. end
  1912. for i = 0, 1, 0.2 do
  1913. swait()
  1914. Shoot2(2,4,BarrelA, 0, 0)
  1915. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  1916. --so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  1917. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  1918. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(3), mr(0), mr(100)), .3)
  1919. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(-3), mr(0), mr(-100)), .3)
  1920. RW.C0 = clerp(RW.C0, cn(1.3, 0.5, -.5) * angles(mr(130), mr(50), mr(30)), .2)
  1921. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.3) * angles(mr(-20), mr(0), mr(-40)), .3)
  1922. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(3), mr(-70), mr(3)), .3)
  1923. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(3), mr(-70), mr(-3)), .3)
  1924. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  1925. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(-130), mr(0)), .7)
  1926.  
  1927. if Torsovelocity > 2 then
  1928. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1929. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1930. end
  1931.  
  1932. end
  1933. for i = 0, 1, 0.3 do
  1934. swait()
  1935. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(-90)), .25)
  1936. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(0), mr(90)), .25)
  1937. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(30), mr(0), mr(10)), .25)
  1938. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(90), mr(0), mr(-90)), .25)
  1939. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(mr(0), mr(0), mr(3)), .25)
  1940. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(mr(0), mr(0), mr(-3)), .25)
  1941. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .3)
  1942. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .3)
  1943.  
  1944. if Torsovelocity > 2 then
  1945. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1946. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1947. end
  1948.  
  1949. end
  1950. for i = 1, 5 do
  1951. Shoot2(2,4,BarrelB, 0, 0)
  1952. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  1953. --so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  1954. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  1955. for i = 0, 1, 0.3 do
  1956. swait()
  1957. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(-80)), .5)
  1958. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(-5), mr(80)), .5)
  1959. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(50), mr(0), mr(15)), .5)
  1960. LW.C0 = clerp(LW.C0, cn(-1.5, 0.7, 0) * angles(mr(90), mr(-60), mr(-80)), .55)
  1961. RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(mr(-5), mr(0), mr(3)), .5)
  1962. LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(mr(5), mr(0), mr(-3)), .5)
  1963. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(30), mr(0)), .3)
  1964. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(20), mr(0)), .75)
  1965.  
  1966. if Torsovelocity > 2 then
  1967. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1968. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1969. end
  1970.  
  1971. end
  1972. for i = 0, 1, 0.3 do
  1973. swait()
  1974. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(-90)), .8)
  1975. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(0), mr(0), mr(90)), .5)
  1976. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(30), mr(0), mr(10)), .8)
  1977. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(90), mr(0), mr(-90)), .8)
  1978. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(mr(0), mr(0), mr(3)), .5)
  1979. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(mr(0), mr(0), mr(-3)), .5)
  1980. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .5)
  1981. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .5)
  1982.  
  1983. if Torsovelocity > 2 then
  1984. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  1985. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  1986. end
  1987.  
  1988. end
  1989. end
  1990. --gyro.Parent = nil
  1991. aiming = false
  1992. attack = false
  1993. speedvalue = 1
  1994. end
  1995.  
  1996. function OrbEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1997. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", v3(0.5, 0.5, 0.5))
  1998. prt.Anchored = true
  1999. prt.CanCollide = false
  2000. prt.CFrame = cframe * cn(0, -1, 0) * angles(mr(math.random(-90, 90)), mr(math.random(-90, 90)), mr(math.random(-90, 90)))
  2001. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", v3(0, 0, 0), v3(x1, y1, z1))
  2002. game:GetService("Debris"):AddItem(prt, 10)
  2003. coroutine.resume(coroutine.create(function(Part, Mesh)
  2004. for i = 0, 1, delay do
  2005. wait(0)
  2006. Part.CFrame = Part.CFrame
  2007. Part.Transparency = i
  2008. Mesh.Scale = Mesh.Scale + v3(x2, y2, z2)
  2009. end
  2010. Part.Parent = nil
  2011. end), prt, msh)
  2012. end
  2013.  
  2014. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2015. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", v3(0.5, 0.5, 0.5))
  2016. prt.Anchored = true
  2017. prt.CFrame = cframe * cn(0, -1, 0)
  2018. --prt.Material = "Neon"
  2019. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", v3(0, 0, 0), v3(x1, y1, z1))
  2020. game:GetService("Debris"):AddItem(prt, 10)
  2021. coroutine.resume(coroutine.create(function(Part, Mesh)
  2022. for i = 0, 1, delay do
  2023. wait(0)
  2024. Part.CFrame = Part.CFrame
  2025. Part.Transparency = i
  2026. Mesh.Scale = Mesh.Scale + v3(x3, y3, z3)
  2027. end
  2028. Part.Parent = nil
  2029. end), prt, msh)
  2030. end
  2031.  
  2032. function Reflex()
  2033. attack = true
  2034. --gyro.Parent = RootPart
  2035. aiming = true
  2036. speedvalue = 0
  2037. for i = 0, 1, 0.1 do
  2038. swait()
  2039. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.55) * angles(mr(5), mr(0), mr(0)), .3)
  2040. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(10), mr(0), mr(0)), .3)
  2041. RW.C0 = clerp(RW.C0, cn(1.3, 0.5, -.2) * angles(mr(0), mr(100), mr(50)), .3)
  2042. LW.C0 = clerp(LW.C0, cn(-1.3, 0.5, -.2) * angles(mr(0), mr(-100), mr(-50)), .3)
  2043. RH.C0 = clerp(RH.C0, cn(0.55, -1.5, .5) * angles(mr(-60), mr(0), mr(3)), .3)
  2044. LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(mr(-5), mr(0), mr(-3)), .3)
  2045. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  2046. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  2047.  
  2048. if Torsovelocity > 2 then
  2049. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  2050. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  2051. end
  2052.  
  2053. end
  2054. so("http://roblox.com/asset/?id=199145534", BarrelA, 1, math.random(150, 200) / 100)
  2055. for i = 1, math.random(3, 6) do
  2056. OrbEffect(Torso.BrickColor, cn(BarrelA.Position), 1, 1, 1, 1, 1, 1, 0.025)
  2057. Shockwave(Torso.BrickColor, cn(BarrelA.Position), 1, 1, 1, 1, 1, 1, 0.025)
  2058. end
  2059. speedvalue = 1
  2060. local target = CheckClose(BarrelA, 30)
  2061. if target then
  2062. damage(target.Torso, 5, 10,16, 1, RootPart)
  2063. end
  2064. Humanoid.Jump = true
  2065. Torso.Velocity = v3(0, 7.5, 0)
  2066. Torso.Velocity = RootPart.CFrame.lookVector * -100
  2067. Humanoid.WalkSpeed = 16 * speed.Value
  2068. for i = 0, 1, 0.1 do
  2069. swait()
  2070. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(-6 * i, mr(0), mr(0)), .4)
  2071. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(20), mr(0), mr(0)), .4)
  2072. RW.C0 = clerp(RW.C0, cn(1.5, 0.7, 0) * angles(mr(-30), mr(0), mr(130)), .4)
  2073. LW.C0 = clerp(LW.C0, cn(-1.5, 0.7, 0) * angles(mr(-30), mr(0), mr(-130)), .4)
  2074. RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(mr(0), mr(0), mr(5)), .4)
  2075. LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(mr(0), mr(0), mr(-5)), .4)
  2076. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-150), mr(0)), .25)
  2077. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-150), mr(0)), .25)
  2078. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), .3)
  2079. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), .3)
  2080. end
  2081. --gyro.Parent = nil
  2082. aiming = false
  2083. attack = false
  2084. speedvalue = 1
  2085. end
  2086.  
  2087. function Luxuriance()
  2088. attack = true
  2089. --gyro.Parent = RootPart
  2090. aiming = true
  2091. speedvalue = 0
  2092. for i = 0, 1, 0.1 do
  2093. swait()
  2094. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.5) * angles(mr(20), mr(0), mr(0)), .3)
  2095. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(10), mr(0), mr(0)), .3)
  2096. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(15), mr(0), mr(70)), .3)
  2097. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(15), mr(0), mr(-70)), .3)
  2098. RH.C0 = clerp(RH.C0, cn(0.55, -1.7, .4) * angles(mr(-20), mr(0), mr(3)), .3)
  2099. LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(mr(5), mr(0), mr(-3)), .3)
  2100. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 10 * i, mr(0)), .7)
  2101. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), -10 * i, mr(0)), .7)
  2102.  
  2103. if Torsovelocity > 2 then
  2104. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  2105. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  2106. end
  2107. end
  2108. for i = 0, 1, 0.3 do
  2109. swait()
  2110. Shoot2(1,5,BarrelA, 0, 0)
  2111. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  2112. --so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  2113. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  2114. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(3), mr(0), mr(100)), .3)
  2115. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(-3), mr(0), mr(-100)), .3)
  2116. RW.C0 = clerp(RW.C0, cn(1.3, 0.5, -.5) * angles(mr(130), mr(50), mr(30)), .2)
  2117. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.3) * angles(mr(-20), mr(0), mr(-40)), .3)
  2118. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(3), mr(-70), mr(3)), .3)
  2119. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(3), mr(-70), mr(-3)), .3)
  2120. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  2121. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(-130), mr(0)), .7)
  2122.  
  2123. if Torsovelocity > 2 then
  2124. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  2125. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  2126. end
  2127.  
  2128. end
  2129. for i = 0, 1, 0.2 do
  2130. swait()
  2131. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .3)
  2132. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(10), mr(0), mr(0)), .3)
  2133. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(15), mr(0), mr(70)), .3)
  2134. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(15), mr(0), mr(-70)), .3)
  2135. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(0), mr(0), mr(3)), .3)
  2136. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(0), mr(0), mr(-3)), .3)
  2137. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 10 * i, mr(0)), .7)
  2138. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), -10 * i, mr(0)), .7)
  2139.  
  2140. if Torsovelocity > 2 then
  2141. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  2142. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  2143. end
  2144.  
  2145. end
  2146. for i = 0, 1, 0.3 do
  2147. swait()
  2148. Shoot2(1,4,BarrelB, 0, 0)
  2149. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  2150. --so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  2151. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  2152. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(3), mr(0), mr(-100)), .3)
  2153. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(-3), mr(0), mr(100)), .3)
  2154. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, -.3) * angles(mr(-20), mr(0), mr(-40)), .2)
  2155. LW.C0 = clerp(LW.C0, cn(-1.3, 0.5, -.5) * angles(mr(130), mr(-50), mr(-30)), .3)
  2156. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(3), mr(70), mr(3)), .3)
  2157. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(3), mr(70), mr(-3)), .3)
  2158. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(-130), mr(0)), .7)
  2159. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .7)
  2160.  
  2161. if Torsovelocity > 2 then
  2162. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  2163. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  2164. end
  2165.  
  2166. end
  2167. for i = 0, 1, 0.1 do
  2168. swait()
  2169. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(3), mr(0), mr(0)), .3)
  2170. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(-3), mr(0), mr(0)), .3)
  2171. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(80), mr(0), mr(10)), .3)
  2172. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(80), mr(0), mr(-10)), .3)
  2173. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(3), mr(0), mr(3)), .3)
  2174. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(3), mr(0), mr(-3)), .3)
  2175. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 10 * i, mr(0)), .7)
  2176. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), -10 * i, mr(0)), .7)
  2177.  
  2178. if Torsovelocity > 2 then
  2179. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  2180. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  2181. end
  2182.  
  2183. end
  2184. for i = 1, 5 do
  2185. Shoot2(1,4,BarrelA, 0, 0)
  2186. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  2187. --so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  2188. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  2189. for i = 0, 1, 0.35 do
  2190. swait()
  2191. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(-20)), .4)
  2192. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(5), mr(0), mr(20)), .4)
  2193. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, -.4) * angles(mr(150), mr(0), mr(-20)), .4)
  2194. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.4) * angles(mr(90), mr(0), mr(0)), .4)
  2195. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(0), mr(20), mr(3)), .4)
  2196. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(0), mr(20), mr(-3)), .4)
  2197. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  2198. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  2199.  
  2200. if Torsovelocity > 2 then
  2201. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  2202. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  2203. end
  2204.  
  2205. end
  2206. Shoot2(1,2,BarrelB, 0, 0)
  2207. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  2208. --so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  2209. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  2210. for i = 0, 1, 0.35 do
  2211. wait()
  2212. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(20)), .4)
  2213. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(5), mr(0), mr(-20)), .4)
  2214. RW.C0 = clerp(RW.C0, cn(1.4, 0.5, -.4) * angles(mr(90), mr(0), mr(0)), .4)
  2215. LW.C0 = clerp(LW.C0, cn(-1.4, 0.5, -.4) * angles(mr(150), mr(0), mr(20)), .4)
  2216. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(mr(0), mr(-20), mr(3)), .4)
  2217. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(mr(0), mr(-20), mr(-3)), .4)
  2218. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  2219. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), 0, mr(0)), .7)
  2220.  
  2221. if Torsovelocity > 2 then
  2222. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .1)
  2223. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .1)
  2224. end
  2225.  
  2226. end
  2227. end
  2228. --gyro.Parent = nil
  2229. aiming = false
  2230. speedvalue = 1
  2231. attack = false
  2232. end
  2233.  
  2234. mouse.Button1Down:connect(function()
  2235. if gun == true and shoot == false and stamina >=10 then
  2236. shoot = true
  2237. gun = false
  2238. subtractstamina(5)
  2239. end
  2240. if attack == false and attacktype == 1 then
  2241. Attackone()
  2242. attacktype = 2
  2243. elseif attack == false and attacktype == 2 then
  2244. Attacktwo()
  2245. attacktype = 3
  2246. elseif attack == false and attacktype == 3 then
  2247. Attackthree()
  2248. attacktype = 4
  2249. elseif attack == false and attacktype == 4 then
  2250. Attackfour()
  2251. attacktype = 1
  2252. end
  2253. end)
  2254.  
  2255. mouse.KeyDown:connect(function(k)
  2256. k = k:lower()
  2257. if k == 'e' and gun == false and shoot == false and attack == false then
  2258. GunStance()
  2259. end
  2260. if k == 'e' and shoot == false then
  2261. if gun == true then
  2262. gun = false
  2263. end
  2264. end
  2265. if k == 'z' and gun == false and shoot == false and attack == false and cooldown1 >= co1 and stamina >= skill1stam then
  2266. cooldown1 = 0
  2267. subtractstamina(skill1stam)
  2268. EchoBarrage()
  2269. end
  2270. if k == 'x' and gun == false and shoot == false and attack == false and cooldown2 >= co2 and stamina >= skill2stam then
  2271. cooldown2 = 0
  2272. subtractstamina(skill2stam)
  2273. LucentScatter()
  2274. end
  2275. if k == 'c' and gun == false and shoot == false and attack == false and cooldown3 >= co3 and stamina >= skill3stam then
  2276. cooldown3 = 0
  2277. subtractstamina(skill3stam)
  2278. Reflex()
  2279. end
  2280. if k == 'v' and gun == false and shoot == false and attack == false and cooldown4 >= co4 and stamina >= skill4stam then
  2281. cooldown4 = 0
  2282. subtractstamina(skill4stam)
  2283. Luxuriance()
  2284. end
  2285. end)
  2286.  
  2287.  
  2288. inputserv.InputBegan:connect(function(k)
  2289. if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
  2290. elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
  2291. elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
  2292. elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
  2293. end
  2294. end)
  2295.  
  2296. inputserv.InputBegan:connect(function(k)
  2297. if k.KeyCode == Enum.KeyCode.Slash then
  2298. local fin = nil
  2299. typing = true
  2300. fin = inputserv.InputBegan:connect(function(k)
  2301. if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
  2302. typing = false
  2303. fin:disconnect()
  2304. end
  2305. end)
  2306. end
  2307. end)
  2308.  
  2309. local ReboundCount = 0
  2310.  
  2311. function updateskills()
  2312. if cooldown1 <= co1 then
  2313. cooldown1 = cooldown1 + 1 / 30
  2314. end
  2315. if cooldown2 <= co2 then
  2316. cooldown2 = cooldown2 + 1 / 30
  2317. end
  2318. if cooldown3 <= co3 then
  2319. cooldown3 = cooldown3 + 1 / 30
  2320. end
  2321. if cooldown4 <= co4 then
  2322. cooldown4 = cooldown4 + 1 / 30
  2323. end
  2324. if stamina<=skill1stam then
  2325. bar4.BackgroundColor3=c3(104/255,104/255,104/255)
  2326. else
  2327. bar4.BackgroundColor3=skillcolorscheme
  2328. end
  2329. if stamina<=skill2stam then
  2330. bar3.BackgroundColor3=c3(104/255,104/255,104/255)
  2331. else
  2332. bar3.BackgroundColor3=skillcolorscheme
  2333. end
  2334. if stamina<=skill3stam then
  2335. bar1.BackgroundColor3=c3(104/255,104/255,104/255)
  2336. else
  2337. bar1.BackgroundColor3=skillcolorscheme
  2338. end
  2339. if stamina<=skill4stam then
  2340. bar2.BackgroundColor3=c3(104/255,104/255,104/255)
  2341. else
  2342. bar2.BackgroundColor3=skillcolorscheme
  2343. end
  2344. if stamina <= maxstamina then
  2345. stamina = stamina + recoverEnergy / 30
  2346. end
  2347. end
  2348.  
  2349. for k, v in pairs(m:GetChildren()) do
  2350. if v.Name == 'Part' then
  2351. if v.Material == Enum.Material.Neon then
  2352. v.BrickColor = BrickColor.new(Torso.BrickColor.Color)
  2353. end
  2354. end
  2355. end
  2356.  
  2357. local atan2 = math.atan2
  2358. local deg = math.deg
  2359. local ts = healthcover.TweenSize
  2360.  
  2361. while true do
  2362. swait()
  2363. updateskills()
  2364. if aiming == true then
  2365. --gyro.CFrame = cn(v3(), (mouse.Hit.p - RootPart.CFrame.p).unit * 100)
  2366. local aim = cn(RootPart.Position,mouse.Hit.p)
  2367. local direction = aim.lookVector
  2368. local headingA = atan2(direction.x, direction.z)
  2369. headingA = deg(headingA)
  2370. Humanoid.AutoRotate = false
  2371. --Torso.CFrame = cn(Torso.Position) * angles(mr(0), mr(headingA-180), mr(0))
  2372. RootPart.CFrame = cn(RootPart.Position) * angles(mr(0), mr(headingA-180), mr(0))
  2373. else
  2374. Humanoid.AutoRotate = true
  2375. end
  2376. ts(healthcover, ud(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5)
  2377. ts(staminacover, ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5)
  2378. ts(bar4, ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
  2379. ts(bar3, ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
  2380. ts(bar1, ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
  2381. ts(bar2, ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
  2382. Torsovelocity = (RootPart.Velocity * v3(1, 0, 1)).magnitude
  2383. velocity = RootPart.Velocity.y
  2384. sine = sine + change
  2385. local hit, pos = rayCast(RootPart.Position, (cn(RootPart.Position, RootPart.Position - v3(0, 1, 0))).lookVector, 4, Character)
  2386. Character.Humanoid.WalkSpeed = 16 * speedvalue
  2387. if equipped == true or equipped == false then
  2388. if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
  2389. Anim = "Jump"
  2390. if attack == false then
  2391. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .25)
  2392. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(20), mr(0), mr(0)), .25)
  2393. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(-40), mr(0), mr(50)), .25)
  2394. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(-40), mr(0), mr(-50)), .25)
  2395. RH.C0 = clerp(RH.C0, cn(0.4, -1.5, -.5) * angles(mr(-20), mr(0), mr(-5)), .25)
  2396. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(mr(-10), mr(0), mr(5)), .25)
  2397. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .25)
  2398. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .25)
  2399. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), .3)
  2400. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), .3)
  2401. end
  2402. elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
  2403. Anim = "Fall"
  2404. if attack == false then
  2405. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .25)
  2406. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(20), mr(0), mr(0)), .25)
  2407. RW.C0 = clerp(RW.C0, cn(1.5, 0.5, 0) * angles(mr(-30), mr(0), mr(70)), .25)
  2408. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5, 0) * angles(mr(-30), mr(0), mr(-70)), .25)
  2409. RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(mr(0), mr(0), mr(5)), .25)
  2410. LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(mr(0), mr(0), mr(-5)), .25)
  2411. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .25)
  2412. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .25)
  2413. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), .3)
  2414. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), .3)
  2415. end
  2416. elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
  2417. Anim = "Idle"
  2418. if attack == false then
  2419. change = 1
  2420. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.1, -0.05 + 0.05 * cos(sine / 6)) * angles(mr(5 - 2.5 * cos(sine / 6)), mr(0), mr(-30)), .25)
  2421. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(5 + 2.5 * cos(sine / 6)) + -sin(sine / 6) / 18, mr(0), mr(30)), .25)
  2422. RW.C0 = clerp(RW.C0, cn(1.5, 0.5 + 0.025 * cos(sine / 6) + sin(sine / 6) / 12, 0) * angles(mr(30 + 2.5 * cos(sine / 6)) + sin(sine / 6) / 12, mr(0), mr(20 + 2.5 * cos(sine / 6))), .25)
  2423. LW.C0 = clerp(LW.C0, cn(-1.5, 0.5 + 0.025 * cos(sine / 6) + sin(sine / 6) / 12, 0) * angles(mr(30 + 2.5 * cos(sine / 6)) + sin(sine / 6) / 12, mr(0), mr(-20 - 2.5 * cos(sine / 6))), .25)
  2424. RH.C0 = clerp(RH.C0, cn(0.7, -1.95 - 0.05 * cos(sine / 6), 0.1 + 0.1 * cos(sine / 6)) * angles(mr(-15 - 5 * cos(sine / 6)), mr(0), mr(5)) * angles(mr(5), mr(0), mr(0)), .25)
  2425. LH.C0 = clerp(LH.C0, cn(-0.6 + 0.1 * cos(sine / 6), -1.95 - 0.05 * cos(sine / 6), -0.25 + 0.1 * cos(sine / 6)) * angles(mr(2.5 + 2.5 * cos(sine / 6)), mr(30), mr(-3 - 2.5 * cos(sine / 6))) * angles(mr(0), mr(0), mr(0)), .25)
  2426. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .25)
  2427. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(mr(0), mr(0), mr(0)), .25)
  2428. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), .3)
  2429. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), .3)
  2430. end
  2431. elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then
  2432. Anim = "Walk"
  2433. if attack == false then
  2434. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + 0.1 * cos(sine / 2.5)) * angles(mr(20 + 1 * cos(sine / 5)), mr(0), mr(5 * cos(sine / 4.5))), .25)
  2435. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(mr(-10), mr(0), mr(-5 * cos(sine / 4.5))), .25)
  2436. RW.C0 = clerp(RW.C0, cn(1.4, 0.45, 0) * angles(mr(-40), mr(0), mr(20 + 1 * cos(sine / 5))), .25)
  2437. LW.C0 = clerp(LW.C0, cn(-1.4, 0.45, 0) * angles(mr(-40), mr(0), mr(-20 + 1 * cos(sine / 5))), .25)
  2438. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0.8 * cos(sine / 2.5)) * angles(mr(-45 * cos(sine / 2.5)), mr(0), mr(3)), .25)
  2439. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -0.8 * cos(sine / 2.5)) * angles(mr(45 * cos(sine / 2.5)), mr(0), mr(-3)), .25)
  2440. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .25)
  2441. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(mr(0), mr(-170), mr(0)), .25)
  2442. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), .3)
  2443. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), .3)
  2444. end
  2445. end
  2446. end
  2447. if #Effects > 0 then
  2448. for e = 1, #Effects do
  2449. if Effects[e] ~= nil then
  2450. local Thing = Effects[e]
  2451. if Thing ~= nil then
  2452. local Part = Thing[1]
  2453. local Mode = Thing[2]
  2454. local Delay = Thing[3]
  2455. local IncX = Thing[4]
  2456. local IncY = Thing[5]
  2457. local IncZ = Thing[6]
  2458. if Thing[1].Transparency <= 1 then
  2459. if Thing[2] == "Block1" then
  2460. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2461. local Mesh = Thing[1].Mesh
  2462. Mesh.Scale = Mesh.Scale + v3(Thing[4], Thing[5], Thing[6])
  2463. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2464. elseif Thing[2] == "Cylinder" then
  2465. local Mesh = Thing[1].Mesh
  2466. Mesh.Scale = Mesh.Scale + v3(Thing[4], Thing[5], Thing[6])
  2467. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2468. elseif Thing[2] == "Blood" then
  2469. local Mesh = Thing[7]
  2470. Thing[1].CFrame = Thing[1].CFrame * cn(0, .5, 0)
  2471. Mesh.Scale = Mesh.Scale + v3(Thing[4], Thing[5], Thing[6])
  2472. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2473. elseif Thing[2] == "Elec" then
  2474. local Mesh = Thing[1].Mesh
  2475. Mesh.Scale = Mesh.Scale + v3(Thing[7], Thing[8], Thing[9])
  2476. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2477. elseif Thing[2] == "Disappear" then
  2478. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2479. end
  2480. else
  2481. Part.Parent = nil
  2482. table.remove(Effects, e)
  2483. end
  2484. end
  2485. end
  2486. end
  2487. end
  2488.  
  2489. for _, lasr in pairs(lasrs) do
  2490. for i, v in pairs(lasr[9]) do
  2491. if lasr[7][i].Parent then
  2492. v.Scale = v.Scale + v3(-0.1, 0, -0.1)
  2493. lasr[10][i].Scale = lasr[10][i].Scale + v3(-0.1, 0, -0.1)
  2494. if v.Scale.x < 0.1 then
  2495. lasr[7][i].Parent = nil
  2496. lasr[8][i].Parent = nil
  2497. end
  2498. end
  2499. end
  2500.  
  2501. if lasr[1] then
  2502. local hitz, enz = RAY(lasr[3], lasr[2] * lasrspd)
  2503. lasr[5] = lasr[5] + (lasr[3] - enz).magnitude
  2504.  
  2505. lasr[7][lasr[6]].Parent = m
  2506. lasr[7][lasr[6]].CFrame = cn((lasr[3] + enz) / 2, enz) * angles(math.pi / 2, 0, 0)
  2507. lasr[9][lasr[6]].Scale = v3(0.7, (lasr[3] - enz).magnitude * 5, 0.7)
  2508.  
  2509. lasr[8][lasr[6]].Parent = m
  2510. lasr[8][lasr[6]].CFrame = lasr[7][lasr[6]].CFrame
  2511. lasr[10][lasr[6]].Scale = v3(1.3, (lasr[3] - enz).magnitude * 5 + 0.02, 1.3)
  2512.  
  2513. lasr[3] = enz
  2514. lasr[6] = lasr[6] % #lasr[7] + 1
  2515.  
  2516. if hitz then
  2517. lasr[4] = lasr[4] + 1
  2518. local h=hitz.Parent:FindFirstChild'Torso' or hitz.Parent.Parent:FindFirstChild'Torso'
  2519. if lasr[4] == maxRebounds then
  2520. lasr[1] = false
  2521. --so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
  2522. damage(h, 3,5, 5, 1, RootPart)
  2523.  
  2524. else
  2525. local norm = FindSurface(hitz, enz)
  2526. lasr[2] = Reflect(lasr[2], norm)
  2527. --so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
  2528. damage(h, 3,5, 5, 1, RootPart)
  2529. end
  2530. end
  2531. if lasr[5] > maxTravelDistance then
  2532. lasr[1] = false
  2533. end
  2534. end
  2535. end
  2536. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement