codemen

Pink dual lazer pistols script [roblox]

Nov 11th, 2017
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 132.82 KB | None | 0 0
  1. --[[NIGHTOWLACE_WEAPONRY]]--
  2.  
  3. --i used stravants Beautifier so it might look a bit wonky
  4. Meshes = {
  5. Blast = '20329976',
  6. Crown = '1323306',
  7. Ring = '3270017',
  8. Claw = '10681506',
  9. Crystal = '9756362',
  10. Coil = '9753878',
  11. Cloud = '1095708',
  12. }
  13. clangsounds = {
  14. '199149119',
  15. '199149109',
  16. '199149072',
  17. '199149025',
  18. '199148971'
  19. }
  20. hitsounds = {
  21. '199149137',
  22. '199149186',
  23. '199149221',
  24. '199149235',
  25. '199149269',
  26. '199149297'
  27. }
  28. blocksounds = {
  29. '199148933',
  30. '199148947'
  31. }
  32. armorsounds = {
  33. '199149321',
  34. '199149338',
  35. '199149367',
  36. '199149409',
  37. '199149452'
  38. }
  39. woosh = {
  40. Heavy1 = '320557353',
  41. Heavy2 = '320557382',
  42. Heavy3 = '320557453',
  43. Heavy4 = '199144226',
  44. Heavy5 = '203691447',
  45. Heavy6 = '203691467',
  46. Heavy7 = '203691492',
  47. Light1 = '320557413',
  48. Light2 = '320557487',
  49. Light3 = '199145095',
  50. Light4 = '199145146',
  51. Light5 = '199145887',
  52. Light6 = '199145913',
  53. Light7 = '199145841',
  54. Medium1 = '320557518',
  55. Medium2 = '320557537',
  56. Medium3 = '320557563',
  57. Medium4 = '199145204'
  58. }
  59. music = {--i like music a lot
  60. Breaking = '179281636',
  61. FinalReckoning = '357375770',
  62. NotDeadYet = '346175829',
  63. Intense = '151514610',
  64. JumpP1 = '160536628',
  65. JumpP2 = '60536666',
  66. SonsOfWar = '158929777',
  67. WrathOfSea = '165520893',
  68. ProtecTorsofEarth = '160542922',
  69. SkyTitans = '179282324',
  70. ArchAngel = '144043274',
  71. Anticipation = '168614529',
  72. TheMartyred = '186849544',
  73. AwakeP1 = '335631255',
  74. AwakeP2 = '335631297',
  75. ReadyAimFireP1 = '342455387',
  76. ReadyAimFireP2 = '342455399',
  77. DarkLordP1 = '209567483',
  78. DarkLordP2 = '209567529',
  79. BloodDrainP1 = '162914123',
  80. BloodDrainP2 = '162914203',
  81. DanceOfSwords = '320473062',
  82. Opal = '286415112',
  83. Calamity = '190454307',
  84. Hypnotica = '155968128',
  85. Nemisis = '160453802',
  86. Breathe = '276963903',
  87. GateToTheRift = '270655227',
  88. InfernalBeserking = '244143404',
  89. Trust = '246184492',
  90. AwakeningTheProject = '245121821',
  91. BloodPain = '242545577',
  92. Chaos = '247241693',
  93. NightmareFictionHighStake = '248062278',
  94. TheWhiteWeapon = '247236446',
  95. Gale = '256851659',
  96. ImperialCode = '256848383',
  97. Blitzkrieg = '306431437',
  98. RhapsodyRage = '348690251',
  99. TheGodFist = '348541501',
  100. BattleForSoul = '321185592',
  101. TheDarkColossus = '305976780',
  102. EmpireOfAngels = '302580452',
  103. Kronos = '302205297',
  104. Exorcist = '299796054',
  105. CrimsonFlames = '297799220',
  106. UltimatePower = '295753229',
  107. DrivingInTheDark = '295753229',
  108. AscendToPower = '293860654',
  109. GodOfTheSun = '293612495',
  110. DarkRider = '293861765',
  111. Vengeance = '293375555',
  112. SoundOfWar = '293376196',
  113. HellsCrusaders = '293012202',
  114. Legend = '293011823',
  115. RisingSouls = '290524959'
  116. }
  117. misc = {
  118. GroundSlam = '199145477',
  119. LaserSlash = '199145497',
  120. RailGunFire = '199145534',
  121. Charge1 = '199145659',
  122. Charge2 = '169380469',
  123. Charge3 = '169380479',
  124. EmptyGun = '203691822',
  125. GunShoot = '203691837',
  126. Stomp1 = '200632875',
  127. Stomp2 = '200632561',
  128. TelsaCannonCharge = '169445572',
  129. TelsaCannonShoot = '169445602',
  130. AncientHymm = '245313442'
  131. }
  132. wait()
  133. local Player = game.Players.localPlayer
  134. local Character = Player.Character
  135. local Humanoid = Character.Humanoid
  136. local mouse = Player:GetMouse()
  137. local m = Instance.new('Model', Character)
  138. m.Name = "WeaponModel"
  139. local Effects = {}
  140. local LeftArm = Character["Left Arm"]
  141. local RightArm = Character["Right Arm"]
  142. local LeftLeg = Character["Left Leg"]
  143. local RightLeg = Character["Right Leg"]
  144. local Head = Character.Head
  145. local Torso = Character.Torso
  146. local cam = game.Workspace.CurrentCamera
  147. local RootPart = Character.HumanoidRootPart
  148. local RootJoint = RootPart.RootJoint
  149. --cam.CameraSubject = Head
  150. local equipped = false
  151. local attack = false
  152. local Anim = 'Idle'
  153. local idle = 0
  154. local sprint = false
  155. local battlestance = false
  156. local attacktype = 1
  157. local state = 'none'
  158. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  159. local velocity = RootPart.Velocity.y
  160. local sine = 0
  161. local change = 1
  162. local on = false
  163. local grabbed = false
  164. local skill1 = false
  165. local skill2 = false
  166. local skill3 = false
  167. local skill4 = false
  168. local cooldown1 = 0
  169. local cooldown2 = 0
  170. local cooldown3 = 0
  171. local cooldown4 = 0
  172. local co1 = 10--how long it will take for skill to cooldown
  173. local co2 = 15
  174. local co3 = 15
  175. local co4 = 35
  176. local inputserv = game:GetService('UserInputService')
  177. local typing = false
  178. local crit = false
  179. local critchance = 9999999--critical chance percentage
  180. local critdamageaddmin = 9999999--minimum amount of critical damage being added to regular damage
  181. local critdamageaddmax = 9999999--maximum amount
  182. local maxstamina = 100--max amount of stamina
  183. local stamina = 0--stamina you start out with
  184. local skill1stam = 0--how much stamina is needed for a skill
  185. local skill2stam = 0
  186. local skill3stam = 0
  187. local skill4stam = 0
  188. local recoverEnergy = 9999999--how much Energy per second
  189. local defensevalue = 9999999--how much defense this character has
  190. local speedvalue = 1--how much speed this character has
  191. --speed is 16*speedvalue
  192. local mindamage = 9999999--self explanatory
  193. local maxdamage = 9999999--self explanatory
  194. local damagevalue = 999999--how much damage this character has
  195. --damage is math.random(mindamage,maxdamage)*damagevalue
  196. --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
  197. --asd
  198. local cn = CFrame.new-- make things easier :)
  199. local mr = math.rad
  200. local angles = CFrame.Angles
  201. local ud = UDim2.new
  202. local c3 = Color3.new
  203. local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
  204. --asd
  205. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  206. Humanoid.Animator:Destroy()
  207. Character.Animate:Destroy()
  208.  
  209. --Angles For RootJoint `~`
  210. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  211. --Save Shoulders/Hips
  212. RSH, LSH = nil, nil
  213. RHS, LHS = nil, nil
  214. --Shoulders
  215. RW = Instance.new("Weld")
  216. LW = Instance.new("Weld")
  217. --Hips
  218. RH = Instance.new("Weld")
  219. LH = Instance.new("Weld")
  220. --
  221. Player = Player
  222. ch = Character
  223. LHS = Torso["Left Hip"]
  224. RHS = Torso["Right Hip"]
  225. RSH = ch.Torso["Right Shoulder"]
  226. LSH = ch.Torso["Left Shoulder"]
  227. --
  228. RSH.Parent = nil
  229. LSH.Parent = nil
  230. --
  231. LHS.Parent = nil
  232. RHS.Parent = nil
  233. --
  234. RW.Name = "RW"
  235. RW.Part0 = ch.Torso
  236. RW.C0 = cn(1.5, 0.5, 0)
  237. RW.C1 = cn(0, 0.5, 0)
  238. RW.Part1 = ch["Right Arm"]
  239. RW.Parent = ch.Torso
  240. --
  241. LW.Name = "LW"
  242. LW.Part0 = ch.Torso
  243. LW.C0 = cn(-1.5, 0.5, 0)
  244. LW.C1 = cn(0, 0.5, 0)
  245. LW.Part1 = ch["Left Arm"]
  246. LW.Parent = ch.Torso
  247. --
  248. LH.Name = "LH"
  249. LH.Part0 = ch.Torso
  250. LH.C0 = cn(-0.5, -2, 0)
  251. LH.Part1 = ch["Left Leg"]
  252. LH.Parent = ch.Torso
  253. --
  254. RH.Name = "RH"
  255. RH.Part0 = ch.Torso
  256. RH.C0 = cn(0.5, -2, 0)
  257. RH.Part1 = ch["Right Leg"]
  258. RH.Parent = ch.Torso
  259.  
  260. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  261. function makeframe(par, trans, pos, size, color)
  262. local frame = Instance.new('Frame', par)
  263. frame.BackgroundTransparency = trans
  264. frame.BorderSizePixel = 0
  265. frame.Position = pos
  266. frame.Size = size
  267. frame.BackgroundColor3 = color
  268. return frame
  269. end
  270. function makelabel(par, text)
  271. local label = Instance.new('TextLabel', par)
  272. label.BackgroundTransparency = 1
  273. label.Size = ud(1, 0, 1, 0)
  274. label.Position = ud(0, 0, 0, 0)
  275. label.TextColor3 = c3(255, 255, 255)
  276. label.TextStrokeTransparency = 0
  277. label.FontSize = Enum.FontSize.Size32
  278. label.Font = Enum.Font.SourceSansBold
  279. label.BorderSizePixel = 0
  280. label.TextScaled = true
  281. label.Text = text
  282. end
  283. framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  284. framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  285. framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  286. framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  287. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  288. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  289. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  290. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  291. text1 = makelabel(framesk1, '[t] Reflex')
  292. text2 = makelabel(framesk2, '[f] Luxuriance')
  293. text3 = makelabel(framesk3, "[r] Lucent Scatter")
  294. text4 = makelabel(framesk4, '[q] Echo Barrage')
  295. staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), BrickColor.new("Really black").Color)
  296. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), BrickColor.new("Hot pink").Color)
  297. staminatext = makelabel(staminabar, 'Photon Energy')
  298. healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
  299. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), BrickColor.new("Lime green").Color)
  300. healthtext = makelabel(healthbar, 'Health')
  301.  
  302. local stats = Instance.new('Folder', Character)
  303. stats.Name = 'Stats'
  304. local block = Instance.new('BoolValue', stats)
  305. block.Name = 'Block'
  306. block.Value = false
  307. local stun = Instance.new('BoolValue', stats)
  308. stun.Name = 'Stun'
  309. stun.Value = false
  310. local defense = Instance.new('NumberValue', stats)
  311. defense.Name = 'Defence'
  312. defense.Value = defensevalue
  313. local speed = Instance.new('NumberValue', stats)
  314. speed.Name = 'Speed'
  315. speed.Value = speedvalue
  316. local damagea = Instance.new('NumberValue', stats)
  317. damagea.Name = 'Damage'
  318. damagea.Value = damagevalue
  319. gyro = Instance.new("BodyGyro")
  320. gyro.Parent = nil
  321. gyro.P = 1e7
  322. gyro.D = 1e3
  323. gyro.MaxTorque = Vector3.new(0,1e7,0)
  324.  
  325. function atktype(s, e)
  326. coroutine.resume(coroutine.create(function()
  327. attacktype = e
  328. wait()
  329. attacktype = s
  330. end))
  331. end
  332.  
  333. function turncrit()
  334. coroutine.resume(coroutine.create(function()
  335. print'CRITICAL!'
  336. crit = true
  337. wait()
  338. crit = false
  339. end))
  340. end
  341.  
  342. function subtractstamina(k)
  343. if stamina >= k then
  344. stamina = stamina - k
  345. end
  346. end
  347.  
  348. function clerp(a, b, t)
  349. return a:lerp(b, t)
  350. end
  351.  
  352. function randomizer(percent)
  353. local randomized = math.random(0, 100)
  354. if randomized <= percent then
  355. return true
  356. elseif randomized >= percent then
  357. return false
  358. end
  359. end
  360.  
  361. local RbxUtility = LoadLibrary("RbxUtility")
  362. local Create = RbxUtility.Create
  363.  
  364. function RemoveOutlines(part)
  365. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  366. end
  367.  
  368. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  369. local Part = Create("Part"){
  370. formFactor = FormFactor,
  371. Parent = Parent,
  372. Reflectance = Reflectance,
  373. Transparency = Transparency,
  374. CanCollide = false,
  375. Locked = true,
  376. BrickColor = BrickColor.new(tostring(BColor)),
  377. Name = Name,
  378. Size = Size,
  379. Material = Material,
  380. }
  381. RemoveOutlines(Part)
  382. return Part
  383. end
  384.  
  385. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  386. local Msh = Create(Mesh){
  387. Parent = Part,
  388. Offset = OffSet,
  389. Scale = Scale,
  390. }
  391. if Mesh == "SpecialMesh" then
  392. Msh.MeshType = MeshType
  393. Msh.MeshId = MeshId
  394. end
  395. return Msh
  396. end
  397.  
  398. function CreateWeld(Parent, Part0, Part1, C0, C1)
  399. local Weld = Create("Weld"){
  400. Parent = Parent,
  401. Part0 = Part0,
  402. Part1 = Part1,
  403. C0 = C0,
  404. C1 = C1,
  405. }
  406. return Weld
  407. end
  408.  
  409. function rayCast(pos, dir, maxl, ignore)
  410. return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
  411. end
  412. --Effects
  413. function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  414. local p = Instance.new('Part', par or workspace)
  415. p.CFrame = pos1
  416. p.Anchored = true
  417. p.Material = 'SmoothPlastic'
  418. p.CanCollide = false
  419. p.TopSurface = 0
  420. p.Size = Vector3.new(1, 1, 1)
  421. p.BottomSurface = 0
  422. p.Transparency = trans
  423. p.FormFactor = 'Custom'
  424. RemoveOutlines(p)
  425. local mesh = Instance.new('SpecialMesh', p)
  426. mesh.Scale = size
  427. if id ~= nil and type == nil then
  428. mesh.MeshId = 'rbxassetid://'..id
  429. elseif id == nil and type ~= nil then
  430. mesh.MeshType = type
  431. elseif id == nil and type == nil then
  432. mesh.MeshType = 'Brick'
  433. end
  434. coroutine.wrap(function()
  435. for i = 0, delay1, .1 do
  436. wait()
  437. p.CFrame = p.CFrame
  438. mesh.Scale = mesh.Scale + howmuch
  439. p.Transparency = p.Transparency + trans1
  440. end
  441. p:Destroy()
  442. end)()
  443. return p
  444. end
  445. function clangy(cframe)
  446. wait()
  447. local clang = {}
  448. local dis = 0
  449. local part = Instance.new('Part', nil)
  450. part.CFrame = cframe
  451. part.Anchored = true
  452. part.CanCollide = false
  453. part.BrickColor = BrickColor.new('New Yeller')
  454. part.FormFactor = 'Custom'
  455. part.Name = 'clanger'
  456. part.Size = Vector3.new(.2, .2, .2)
  457. part.TopSurface = 10
  458. part.BottomSurface = 10
  459. part.RightSurface = 10
  460. part.LeftSurface = 10
  461. part.BackSurface = 10
  462. part.FrontSurface = 10
  463. --part.Material='Neon'
  464. part:BreakJoints()
  465. local mesh = Instance.new('BlockMesh', part)
  466. coroutine.wrap(function()
  467. for i = 1, 7 do
  468. wait()
  469. dis = dis + .2
  470. local partc = part:clone()
  471. partc.Parent = workspace
  472. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  473. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  474. table.insert(clang, partc)
  475. end
  476. for i, v in pairs(clang) do
  477. coroutine.wrap(function()
  478. for i = 1, 10 do
  479. wait()
  480. v.Transparency = v.Transparency + .1
  481. end
  482. v:destroy()
  483. end)()
  484. end
  485. end)()
  486. end
  487. --damage effects
  488. function circle(color, pos1)
  489. local p = Instance.new('Part', m)
  490. p.BrickColor = BrickColor.new(color)
  491. p.CFrame = pos1
  492. p.Anchored = true
  493. p.Material = 'Plastic'
  494. p.CanCollide = false
  495. p.TopSurface = 0
  496. p.Size = Vector3.new(1, 1, 1)
  497. p.BottomSurface = 0
  498. p.Transparency = 0.35
  499. p.FormFactor = 'Custom'
  500. local mesh = Instance.new('CylinderMesh', p)
  501. mesh.Scale = Vector3.new(0, 0, 0)
  502. coroutine.wrap(function()
  503. for i = 0, 5, .1 do
  504. wait()
  505. p.CFrame = p.CFrame
  506. mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
  507. p.Transparency = p.Transparency + .025
  508. end
  509. p:Destroy()
  510. end)()
  511. end
  512. function firespaz1(color, pos1)
  513. local p = Instance.new('Part', m)
  514. p.BrickColor = BrickColor.new(color)
  515. p.CFrame = pos1
  516. p.Anchored = true
  517. p.Material = 'Plastic'
  518. p.CanCollide = false
  519. p.TopSurface = 0
  520. p.Size = Vector3.new(1, 1, 1)
  521. p.BottomSurface = 0
  522. p.Transparency = 0.5
  523. p.FormFactor = 'Custom'
  524. local mesh = Instance.new('BlockMesh', p)
  525. mesh.Scale = Vector3.new(1, 1, 1)
  526. coroutine.wrap(function()
  527. for i = 0, 15, .1 do
  528. wait()
  529. p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
  530. mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
  531. p.Transparency = p.Transparency + .025
  532. end
  533. p:Destroy()
  534. end)()
  535. end
  536.  
  537. function pickrandom(tablesa)
  538. local randomized = tablesa[math.random(1, #tablesa)]
  539. return randomized
  540. end
  541. function sound(id, pitch, volume, par, last)
  542. local s = Instance.new('Sound', par or Torso)
  543. s.SoundId = 'rbxassetid://'..id
  544. s.Pitch = pitch or 1
  545. s.Volume = volume or 1
  546. wait()
  547. s:play()
  548. game.Debris:AddItem(s, last or 120)
  549. end
  550. function clangy(cframe)
  551. wait()
  552. local clang = {}
  553. local dis = 0
  554. local part = Instance.new('Part', nil)
  555. part.CFrame = cframe
  556. part.Anchored = true
  557. part.CanCollide = false
  558. part.BrickColor = BrickColor.new('New Yeller')
  559. part.FormFactor = 'Custom'
  560. part.Name = 'clanger'
  561. part.Size = Vector3.new(.2, .2, .2)
  562. part.TopSurface = 10
  563. part.BottomSurface = 10
  564. part.RightSurface = 10
  565. part.LeftSurface = 10
  566. part.BackSurface = 10
  567. part.FrontSurface = 10
  568. --part.Material='Neon'
  569. part:BreakJoints()
  570. local mesh = Instance.new('BlockMesh', part)
  571. coroutine.wrap(function()
  572. for i = 1, 7 do
  573. wait()
  574. dis = dis + .2
  575. local partc = part:clone()
  576. partc.Parent = workspace
  577. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  578. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  579. table.insert(clang, partc)
  580. end
  581. for i, v in pairs(clang) do
  582. coroutine.wrap(function()
  583. for i = 1, 10 do
  584. wait()
  585. v.Transparency = v.Transparency + .1
  586. end
  587. v:destroy()
  588. end)()
  589. end
  590. end)()
  591. end
  592. --damage effects
  593. --Effects
  594. so = function(id, par, vol, pit)
  595. coroutine.resume(coroutine.create(function()
  596. local sou = Instance.new("Sound", par or workspace)
  597. sou.Volume = vol
  598. sou.Pitch = pit or 1
  599. sou.SoundId = id
  600. wait()
  601. sou:play()
  602. game:GetService("Debris"):AddItem(sou, 6)
  603. end))
  604. end
  605.  
  606. local function getclosest(obj, distance)
  607. local last, lastx = distance + 1
  608. for i, v in pairs(workspace:GetChildren()) do
  609. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  610. local t = v.Torso
  611. local dist = (t.Position - obj.Position).magnitude
  612. if dist <= distance then
  613. if dist < last then
  614. last = dist
  615. lastx = v
  616. end
  617. end
  618. end
  619. end
  620. return lastx
  621. end
  622.  
  623. function makegui(cframe, text)
  624. local a = math.random(-10, 10) / 100
  625. local c = Instance.new("Part")
  626. c.Transparency = 1
  627. Instance.new("BodyGyro").Parent = c
  628. c.Parent = m
  629. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  630. local f = Instance.new("BodyPosition")
  631. f.P = 2000
  632. f.D = 100
  633. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  634. f.position = c.Position + Vector3.new(0, 3, 0)
  635. f.Parent = c
  636. game:GetService("Debris"):AddItem(c, .5 + 6)
  637. c.CanCollide = false
  638. c.CanCollide = false
  639. local bg = Instance.new('BillboardGui', m)
  640. bg.Adornee = c
  641. bg.Size = UDim2.new(1, 0, 1, 0)
  642. bg.StudsOffset = Vector3.new(0, 0, 0)
  643. bg.AlwaysOnTop = false
  644. local tl = Instance.new('TextLabel', bg)
  645. tl.BackgroundTransparency = 1
  646. tl.Size = UDim2.new(1, 0, 1, 0)
  647. tl.Text = text
  648. tl.Font = 'SourceSansBold'
  649. tl.FontSize = 'Size42'
  650. if crit == true then
  651. tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  652. else
  653. tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  654. end
  655. tl.TextStrokeTransparency = 0
  656. tl.TextScaled = true
  657. tl.TextWrapped = true
  658. coroutine.wrap(function()
  659. wait()
  660. for i = 1, 10 do
  661. wait()
  662. tl.TextTransparency = tl.TextTransparency + .1
  663. end
  664. end)()
  665. end
  666.  
  667. function tag(hum, Player)
  668. local creator = Instance.new('ObjectValue', hum)
  669. creator.Value = Player
  670. creator.Name = 'creator'
  671. end
  672. function untag(hum)
  673. if hum ~= nil then
  674. local tag = hum:findFirstChild("creator")
  675. if tag ~= nil then
  676. tag.Parent = nil
  677. end
  678. end
  679. end
  680.  
  681. function tagPlayer(h)
  682. coroutine.wrap(function()
  683. tag(h, Player)
  684. wait()
  685. untag(h)
  686. end)()
  687. end
  688.  
  689. function CheckClose(Obj,Dist)
  690. for _,v in pairs(workspace:GetChildren()) do
  691. if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Character then
  692. local DistFromTorso = (v.Torso.Position - Obj.Position).magnitude
  693. if DistFromTorso < Dist then
  694. return v
  695. end
  696. end
  697. end
  698. end
  699.  
  700. function damage(hit, mind, maxd, knock, type, prop)
  701. --[[
  702. to apply it to a Player directly, make the first arg go to the Players Torso
  703. 1 - normal type(damage and knockback)
  704. 2 - drain type(damage no knockback)
  705. 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
  706. 4 - heal(heals target)
  707. 5 - subtracts enemies defense
  708. 6 - subtracts enemies speed
  709. 7 -
  710. ]]
  711. if hit.Name:lower() == 'Hitbox' then
  712. local pos = CFrame.new(0, 1, -1)
  713. sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6)
  714. coroutine.wrap(function()
  715. for i = 1, 4 do
  716. clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
  717. end
  718. end)()
  719. end
  720. if hit.Parent == nil then
  721. return
  722. end
  723. local h = hit.Parent:FindFirstChild("Humanoid")
  724. for i, v in pairs(hit.Parent:children()) do
  725. if v:IsA("Humanoid") then
  726. h = v
  727. end
  728. end
  729. if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
  730. h = hit.Parent.Parent:FindFirstChild('Humanoid')
  731. end
  732. if hit.Parent:IsA('Hat') then
  733. hit = hit.Parent.Parent:findFirstChild('Head')
  734. end
  735. local D = math.random(mind, maxd) * damagea.Value
  736. if h then
  737. if h.Parent:FindFirstChild('Stats') then
  738. D=D/h.Parent:FindFirstChild('Stats').Defence.Value
  739. elseif not h.Parent:FindFirstChild('Stats') then
  740. D=D
  741. end
  742. end
  743. if h then
  744. makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  745. end
  746. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  747. if type == 1 then
  748. tagPlayer(h)
  749. local asd = randomizer(critchance)
  750. if asd == true then
  751. turncrit()
  752. end
  753. if crit == false then
  754. h.Health = h.Health - D
  755. else
  756. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  757. end
  758. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  759. local vp = Instance.new('BodyVelocity')
  760. vp.P = 500
  761. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  762. vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
  763. if knock > 0 then
  764. vp.Parent = hit.Parent.Torso
  765. end
  766. game:GetService("Debris"):AddItem(vp, .5)
  767. elseif type == 2 then
  768. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  769. local asd = randomizer(critchance)
  770. if asd == true then
  771. turncrit()
  772. end
  773. if crit == false then
  774. h.Health = h.Health - D
  775. else
  776. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  777. end
  778. tagPlayer(h)
  779. elseif type == 3 then
  780. tagPlayer(h)
  781. local asd = randomizer(critchance)
  782. if asd == true then
  783. turncrit()
  784. end
  785. if crit == false then
  786. h.Health = h.Health - D
  787. else
  788. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  789. end
  790. Character.Humanoid.Health = Character.Humanoid.Health + D / 2
  791. so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
  792. for i = 1, 10 do
  793. firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
  794. end
  795. elseif type == 4 then
  796. h.Health = h.Health + D
  797. so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
  798. circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
  799. end
  800. end
  801. end
  802.  
  803. function subtrackstamina(k)
  804. if stamina >= k then
  805. stamina = stamina - k
  806. end
  807. end
  808.  
  809. HandleA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleA",Vector3.new(0.200000003, 0.256000012, 0.896000028))
  810. HandleAweld=CreateWeld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  811. CreateMesh("BlockMesh",HandleA,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1))
  812. HandleB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleB",Vector3.new(0.200000003, 0.256000012, 0.896000028))
  813. HandleBweld=CreateWeld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  814. CreateMesh("BlockMesh",HandleB,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1))
  815. FakeHandleA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","FakeHandleA",Vector3.new(0.200000003, 0.256000012, 0.496000051))
  816. FakeHandleAweld=CreateWeld(m,HandleA,FakeHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  817. CreateMesh("BlockMesh",FakeHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1))
  818. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  819. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  820. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  821. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  822. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  823. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  824. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134))
  825. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  826. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  827. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  828. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  829. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375))
  830. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  831. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  832. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375))
  833. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  834. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  835. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  836. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  837. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  838. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  839. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  840. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  841. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  842. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  843. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  844. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  845. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134))
  846. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  847. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  848. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  849. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  850. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375))
  851. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  852. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  853. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  854. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.393659979, 0.524879932))
  855. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  856. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.524879932))
  857. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  858. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656100452, 0.656099916, 1))
  859. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.787320077, 0.262439996, 0.524879932))
  860. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  861. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  862. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  863. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  864. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  865. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  866. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  867. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  868. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  869. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  870. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  871. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  872. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375))
  873. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.249317944, 0.262439966))
  874. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  875. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1))
  876. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.262439966))
  877. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  878. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  879. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  880. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  881. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  882. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.524879932, 0.262439966))
  883. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  884. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  885. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  886. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  887. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  888. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  889. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  890. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  891. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439966, 0.262439966))
  892. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  893. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1))
  894. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439996, 0.262439966))
  895. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  896. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1))
  897. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.200000003))
  898. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  899. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  900. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966))
  901. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  902. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  903. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  904. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  905. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  906. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.200000003))
  907. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  908. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  909. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  910. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  911. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  912. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.262439966))
  913. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  914. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  915. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.465830922, 0.200000003, 0.262439966))
  916. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  917. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  918. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.656099856, 0.393659979, 0.262439966))
  919. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  920. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  921. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  922. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  923. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.656099916, 0.262439966))
  924. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  925. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1))
  926. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003))
  927. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  928. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  929. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  930. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  931. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  932. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  933. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  934. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  935. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  936. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  937. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  938. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  939. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  940. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  941. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996))
  942. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  943. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  944. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966))
  945. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  946. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  947. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003))
  948. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  949. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  950. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  951. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  952. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  953. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003))
  954. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  955. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  956. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  957. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  958. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  959. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  960. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  961. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  962. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996))
  963. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  964. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  965. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  966. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  967. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  968. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003))
  969. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  970. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  971. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  972. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  973. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  974. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439996))
  975. Partweld=CreateWeld(m,FakeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  976. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  977. BarrelA=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Hot pink","BarrelA",Vector3.new(0.200000003, 0.200000003, 0.512000024))
  978. BarrelAweld=CreateWeld(m,FakeHandleA,BarrelA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  979. CreateMesh("SpecialMesh",BarrelA,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.153600022, 0.140799999, 0.447999448))
  980. FakeHandleB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","FakeHandleB",Vector3.new(0.200000003, 0.256000012, 0.496000051))
  981. FakeHandleBweld=CreateWeld(m,HandleB,FakeHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, -2.36065456e-020, 0, -2.36065456e-020, 1, 0, 0, 0, 1))
  982. CreateMesh("BlockMesh",FakeHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(0.640000105, 1, 1))
  983. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  984. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  985. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  986. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  987. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  988. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  989. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134))
  990. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  991. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  992. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  993. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  994. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375))
  995. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  996. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  997. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375))
  998. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  999. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1000. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1001. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1002. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1003. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1004. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1005. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1006. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1007. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  1008. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1009. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  1010. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.262439996, 0.200000003, 0.255879134))
  1011. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1012. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  1013. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  1014. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1015. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.0787319914, 0.0918539986, 0.459269375))
  1016. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1017. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1018. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1019. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.393659979, 0.524879932))
  1020. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1021. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.524879932))
  1022. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1023. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656100452, 0.656099916, 1))
  1024. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.787320077, 0.262439996, 0.524879932))
  1025. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1026. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1027. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1028. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  1029. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1030. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1031. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1032. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1033. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1034. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1035. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  1036. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1037. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375))
  1038. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.249317944, 0.262439966))
  1039. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1040. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1))
  1041. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.262439966))
  1042. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1043. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  1044. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1045. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1046. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1047. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.524879932, 0.262439966))
  1048. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1049. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1050. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1051. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1052. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1053. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1054. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1055. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  1056. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439966, 0.262439966))
  1057. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1058. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1))
  1059. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439996, 0.262439966))
  1060. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1061. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1))
  1062. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.200000003))
  1063. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1064. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1065. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966))
  1066. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1067. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  1068. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1069. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1070. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  1071. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.200000003))
  1072. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1073. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1074. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1075. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1076. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1077. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.262439966))
  1078. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1079. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  1080. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.465830922, 0.200000003, 0.262439966))
  1081. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1082. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  1083. Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.656099856, 0.393659979, 0.262439966))
  1084. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1085. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1086. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1087. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  1088. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.656099916, 0.262439966))
  1089. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1090. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1))
  1091. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003))
  1092. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1093. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1094. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1095. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1096. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  1097. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1098. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1099. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1100. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  1101. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1102. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  1103. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1104. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1105. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1106. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996))
  1107. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1108. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  1109. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966))
  1110. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1111. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  1112. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003))
  1113. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1114. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1115. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1116. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1117. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1118. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003))
  1119. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1120. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1121. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1122. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1123. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  1124. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
  1125. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1126. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1127. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996))
  1128. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1129. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  1130. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
  1131. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1132. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
  1133. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003))
  1134. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  1135. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
  1136. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1137. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1138. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
  1139. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439996))
  1140. Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1141. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
  1142. BarrelB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Hot pink","BarrelB",Vector3.new(0.200000003, 0.200000003, 0.512000024))
  1143. BarrelBweld=CreateWeld(m,FakeHandleB,BarrelB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-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))
  1144. CreateMesh("SpecialMesh",BarrelB,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.153600022, 0.140799999, 0.447999448))
  1145.  
  1146. local lasrs = {}
  1147. local lasrspd = 5
  1148. local maxTravelDistance = 300
  1149. local maxRebounds = 2
  1150.  
  1151. function RAY(pos, dir, collidedlist, startpos, endpos, distleft)
  1152. collidedlist = collidedlist or {Character}
  1153. startpos = startpos or pos
  1154. distleft = distleft or dir.unit * dir.magnitude
  1155. endpos = endpos or pos + distleft
  1156. local ray = Ray.new(pos, distleft)
  1157. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  1158. if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
  1159. if hitz.CanCollide == false then
  1160. table.insert(collidedlist, hitz)
  1161. local newpos = enz
  1162. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  1163. if newdistleft then
  1164. return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01))
  1165. end
  1166. end
  1167. end
  1168. return hitz, enz, ray
  1169. end
  1170.  
  1171. function FindSurface(part, position)
  1172. local obj = part.CFrame:pointToObjectSpace(position)
  1173. local siz = part.Size/2
  1174. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  1175. local vec = Vector3.FromNormalId(v)
  1176. local wvec = part.CFrame:vectorToWorldSpace(vec)
  1177. local vz = (obj)/(siz*vec)
  1178. 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
  1179. return wvec,vec
  1180. end
  1181. end
  1182. if part.className == "WedgePart" then
  1183. local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p
  1184. local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p
  1185. local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos)
  1186. return wvec,vec
  1187. elseif part.className == "Part" and (part.Shape.Name == "Ball" or part.Shape.Name == "Cylinder") then
  1188. return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit)
  1189. end
  1190. end
  1191.  
  1192. function Reflect(direction, normal)
  1193. return direction - 2 * normal:Dot(direction) * normal
  1194. end
  1195.  
  1196. function ReflectShot(mouse,asd)
  1197. local dir = (mouse.Hit.p - Torso.Position).unit
  1198. local tabl
  1199. local tablnum = 0
  1200. for i, v in pairs(lasrs) do
  1201. if not v[1] then
  1202. tabl = v
  1203. tablnum = i
  1204. break
  1205. end
  1206. end
  1207. if not tabl then
  1208. tablnum = #lasrs + 1
  1209. tabl = {false,nil,nil,0,0,1,{},{},{},{}}
  1210. for i = 1, 2 do
  1211. for j = 1, 6 do
  1212. local p = Instance.new("Part")
  1213. p.FormFactor = "Custom"
  1214. p.CanCollide = false
  1215. p.Anchored = true
  1216. p.Locked = true
  1217. p.BrickColor = BarrelA.BrickColor
  1218. p.TopSurface = 10
  1219. p.BottomSurface = 10
  1220. p.RightSurface = 10
  1221. p.LeftSurface = 10
  1222. p.FrontSurface = 10
  1223. p.BackSurface = 10
  1224. p.Size = Vector3.new(.5,.5,.5)
  1225. p.Material = "Neon"
  1226. p.Transparency = i == 1 and 0 or 0.6
  1227. local mesh = Instance.new("CylinderMesh",p)
  1228. table.insert(tabl[6+i],p)
  1229. table.insert(tabl[8+i],mesh)
  1230. end
  1231. end
  1232. table.insert(lasrs,tabl)
  1233. end
  1234. -- isMoving,direction,lastPosition,rebounds,distance,recycleCount,middleLayer,outerLayer
  1235. tabl[4],tabl[5] = 0,0
  1236. tabl[3] = asd.Position
  1237. tabl[2] = dir
  1238. tabl[1] = true
  1239.  
  1240. end
  1241.  
  1242. gun = false
  1243.  
  1244. shoot = false
  1245.  
  1246. gunidle = false
  1247.  
  1248. local GunA = true
  1249. local GunB = false
  1250.  
  1251. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1252. local prt = CreatePart(3, Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.1, 0.1, 0.1))
  1253. prt.Anchored = true
  1254. prt.CFrame = cframe
  1255. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1256. game:GetService("Debris"):AddItem(prt, 5)
  1257. Effects[#Effects + 1] = {
  1258. prt,
  1259. "Cylinder",
  1260. delay,
  1261. x3,
  1262. y3,
  1263. z3
  1264. } --part, type, delay
  1265. end
  1266.  
  1267. function Shoot(asd, spread1, spread2)
  1268. local MainPos = asd.Position
  1269. local MainPos2 = mouse.Hit.p
  1270. local spread = Vector3.new((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
  1271. local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
  1272. num = 30
  1273. coroutine.resume(coroutine.create(function(Spreaded)
  1274. repeat
  1275. wait()
  1276. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RootPart.Parent)
  1277. local TheHit = mouse.Hit.p
  1278. local mag = (MainPos - pos).magnitude
  1279. CylinderEffect(BrickColor.new(asd.BrickColor.Color), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1)
  1280. MainPos = MainPos + (MouseLook.lookVector * 10)
  1281. num = num - 1
  1282. if hit ~= nil then
  1283. num = 0
  1284. damage(hit.Parent:WaitForChild("Torso"), math.random(5,8), math.random(8,10), 5, 1, RootPart)
  1285. end
  1286. until num <= 0
  1287. end))
  1288. end
  1289.  
  1290. function Attackone()
  1291. attack = true
  1292. Con1 = LeftLeg.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end)
  1293. for i = 0,1,0.2 do
  1294. wait()
  1295. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), .3)
  1296. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1297. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), .3)
  1298. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)), .3)
  1299. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-30), math.rad(5)), .3)
  1300. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-30), math.rad(-5)), .3)
  1301. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
  1302. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
  1303. end
  1304. so("http://roblox.com/asset/?id=320557413",LeftLeg,1,1)
  1305. for i = 0,1,0.15 do
  1306. wait()
  1307. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), .5)
  1308. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(30)), .5)
  1309. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), .5)
  1310. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-20)), .5)
  1311. RH.C0 = clerp(RH.C0, cn(0.55, -2, .5) * angles(math.rad(-30), math.rad(30), math.rad(10)), .5)
  1312. LH.C0 = clerp(LH.C0, cn(-1.3, -1, -1.3) * angles(math.rad(80), math.rad(-10), math.rad(-30)), .5)
  1313. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
  1314. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
  1315. end
  1316. attack = false
  1317. Con1:disconnect()
  1318. end
  1319.  
  1320. function Attacktwo()
  1321. attack = true
  1322. Con1 = LeftArm.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end)
  1323. for i = 0,1,0.2 do
  1324. wait()
  1325. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3)
  1326. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(10), math.rad(50)), .3)
  1327. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), .3)
  1328. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .3)
  1329. RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(math.rad(-10), math.rad(30), math.rad(10)), .3)
  1330. LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(math.rad(0), math.rad(30), math.rad(-10)), .3)
  1331. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
  1332. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(70), math.rad(0)), .4)
  1333. end
  1334. so("http://roblox.com/asset/?id=320557413",LeftArm,1,1.2)
  1335. for i = 0,1,0.15 do
  1336. wait()
  1337. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .35)
  1338. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-5), math.rad(-80)), .35)
  1339. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(50), math.rad(20), math.rad(30)), .35)
  1340. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(-90)), .35)
  1341. RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(math.rad(-10), math.rad(-40), math.rad(10)), .35)
  1342. LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(math.rad(-10), math.rad(-40), math.rad(-10)), .35)
  1343. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
  1344. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-90), math.rad(0)), .3)
  1345. end
  1346. attack = false
  1347. Con1:disconnect()
  1348. end
  1349.  
  1350. function Attackthree()
  1351. attack = true
  1352. Con1 = RightArm.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end)
  1353. for i = 0,1,0.2 do
  1354. wait()
  1355. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), .3)
  1356. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(70)), .3)
  1357. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(20)), .3)
  1358. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .3)
  1359. RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(math.rad(0), math.rad(40), math.rad(7)), .3)
  1360. LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(math.rad(0), math.rad(40), math.rad(-7)), .3)
  1361. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, -.1) * angles(math.rad(0), math.rad(150), math.rad(0)), .4)
  1362. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
  1363. end
  1364. so("http://roblox.com/asset/?id=320557413",RightArm,1,1.3)
  1365. for i = 0,1,0.13 do
  1366. wait()
  1367. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .35)
  1368. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-70)), .35)
  1369. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.3) * angles(math.rad(30), math.rad(-50), math.rad(-20)), .35)
  1370. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), .35)
  1371. RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(math.rad(0), math.rad(-40), math.rad(7)), .35)
  1372. LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-7)), .35)
  1373. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  1374. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
  1375. end
  1376. attack = false
  1377. Con1:disconnect()
  1378. end
  1379.  
  1380. function Attackfour()
  1381. attack = true
  1382. for i = 0,1,0.2 do
  1383. wait()
  1384. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-70)), .3)
  1385. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(3), math.rad(70)), .3)
  1386. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), .3)
  1387. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(120), math.rad(0), math.rad(40)), .3)
  1388. RH.C0 = clerp(RH.C0, cn(0.7, -2, .3) * angles(math.rad(3), math.rad(70), math.rad(5)), .3)
  1389. LH.C0 = clerp(LH.C0, cn(-0.7, -2, -.3) * angles(math.rad(3), math.rad(70), math.rad(-5)), .3)
  1390. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .7)
  1391. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
  1392. end
  1393. so("http://roblox.com/asset/?id=320557413",LeftArm,1,0.9)
  1394. for i = 0,1,0.15 do
  1395. wait()
  1396. so("http://roblox.com/asset/?id=199145534",BarrelA,.5,math.random(150,200)/100)
  1397. OrbEffect(BarrelA.BrickColor,cn(BarrelA.Position),.3,.3,.3,.3,.3,.3,0.1)
  1398. Shockwave(BarrelA.BrickColor,cn(BarrelA.Position),.3,.3,.3,.3,.3,.3,0.1)
  1399. local target=CheckClose(BarrelA,5)
  1400. if target then
  1401. damage(target.Torso, math.random(1,2), math.random(2,3), 1, 1, RootPart)
  1402. end
  1403. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .35)
  1404. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(-3), math.rad(-100)), .35)
  1405. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(60), math.rad(70)), .35)
  1406. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .35)
  1407. RH.C0 = clerp(RH.C0, cn(0.58, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(8)), .35)
  1408. LH.C0 = clerp(LH.C0, cn(-0.58, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-8)), .35)
  1409. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1410. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
  1411. end
  1412. attack = false
  1413. end
  1414.  
  1415. function GunStance()
  1416. attack=true
  1417. gun=true
  1418. speedvalue = 1
  1419. gyro.Parent = RootPart
  1420. if GunA == true then
  1421. for i=0,1,0.2 do
  1422. wait()
  1423. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
  1424. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-90)), .25)
  1425. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(30), math.rad(90)), .25)
  1426. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), .25)
  1427. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
  1428. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
  1429. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75)
  1430. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1431. end
  1432. for i=0,1,0.1 do
  1433. wait()
  1434. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
  1435. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
  1436. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), .25)
  1437. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-10)), .25)
  1438. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
  1439. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
  1440. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1441. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1442. end
  1443. elseif GunB == true then
  1444. for i=0,1,0.2 do
  1445. wait()
  1446. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
  1447. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(90)), .25)
  1448. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(10)), .25)
  1449. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(-30), math.rad(-90)), .25)
  1450. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
  1451. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
  1452. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1453. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75)
  1454. end
  1455. for i=0,1,0.1 do
  1456. wait()
  1457. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
  1458. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
  1459. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25)
  1460. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25)
  1461. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
  1462. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
  1463. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1464. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1465. end
  1466. end
  1467. local offset = nil
  1468. gunidle=true
  1469. while gun==true do
  1470. wait()
  1471. local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
  1472. offset = (Torso.Position.y - mouse.Hit.p.y) / 60
  1473. local mag = (Torso.Position - mouse.Hit.p).magnitude / 80
  1474. offset = offset / mag
  1475. if GunA == true and GunB == false then
  1476. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5)
  1477. elseif GunB == true and GunA == false then
  1478. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5)
  1479. end
  1480. end
  1481. if shoot==true then
  1482. gunidle=false
  1483. if GunA == true then
  1484. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  1485. so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  1486. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  1487. GunA = false
  1488. Shoot(BarrelA, 0, 0)
  1489. for i=0,1,0.15 do
  1490. wait()
  1491. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .3)
  1492. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-80)), .3)
  1493. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(90), math.rad(60), math.rad(80)), .55)
  1494. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-15)), .3)
  1495. RH.C0 = clerp(RH.C0, cn(0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(3)), .25)
  1496. LH.C0 = clerp(LH.C0, cn(-0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .25)
  1497. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75)
  1498. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
  1499. end
  1500. GunB = true
  1501. elseif GunB == true then
  1502. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  1503. so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  1504. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  1505. GunB = false
  1506. Shoot(BarrelB, 0, 0)
  1507. for i=0,1,0.15 do
  1508. wait()
  1509. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3)
  1510. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .3)
  1511. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .3)
  1512. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55)
  1513. RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .25)
  1514. LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .25)
  1515. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
  1516. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75)
  1517. end
  1518. GunA = true
  1519. end
  1520. end
  1521. gyro.Parent = nil
  1522. speedvalue = 2.5
  1523. gun=false
  1524. gunidle=false
  1525. shoot=false
  1526. attack=false
  1527. end
  1528.  
  1529. function EchoBarrage()
  1530. attack = true
  1531. gyro.Parent = RootPart
  1532. speedvalue = 1
  1533. for i = 0,1,0.1 do
  1534. wait()
  1535. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3)
  1536. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  1537. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(10)), .3)
  1538. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3)
  1539. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3)
  1540. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3)
  1541. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7)
  1542. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
  1543. end
  1544. for i = 1,2 do
  1545. for i = 0,1,0.3 do
  1546. wait()
  1547. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1548. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1549. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1550. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1551. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3)
  1552. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3)
  1553. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1554. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1555. end
  1556. ReflectShot(mouse,BarrelA)
  1557. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  1558. so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  1559. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  1560. --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
  1561. for i = 0,1,0.35 do
  1562. wait()
  1563. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4)
  1564. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4)
  1565. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4)
  1566. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
  1567. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4)
  1568. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4)
  1569. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1570. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1571. end
  1572. for i = 0,1,0.3 do
  1573. wait()
  1574. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1575. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1576. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1577. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  1578. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3)
  1579. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3)
  1580. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1581. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1582. end
  1583. ReflectShot(mouse,BarrelB)
  1584. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  1585. so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  1586. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  1587. --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
  1588. for i = 0,1,0.35 do
  1589. wait()
  1590. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4)
  1591. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4)
  1592. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
  1593. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4)
  1594. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4)
  1595. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4)
  1596. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1597. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1598. end
  1599. end
  1600. gyro.Parent = nil
  1601. attack = false
  1602. speedvalue = 2.5
  1603. end
  1604.  
  1605. function LucentScatter()
  1606. attack = true
  1607. gyro.Parent = RootPart
  1608. speedvalue = 1
  1609. for i = 0,1,0.1 do
  1610. wait()
  1611. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-70)), .3)
  1612. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(70)), .3)
  1613. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), .3)
  1614. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(120), math.rad(0), math.rad(40)), .3)
  1615. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(3)), .3)
  1616. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(-3)), .3)
  1617. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
  1618. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
  1619. end
  1620. for i = 0,1,0.2 do
  1621. wait()
  1622. Shoot(BarrelA, 0, 0)
  1623. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  1624. so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  1625. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  1626. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .3)
  1627. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-100)), .3)
  1628. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(130), math.rad(50), math.rad(30)), .2)
  1629. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .3)
  1630. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(3)), .3)
  1631. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(-3)), .3)
  1632. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1633. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
  1634. end
  1635. for i=0,1,0.3 do
  1636. wait()
  1637. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
  1638. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
  1639. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25)
  1640. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25)
  1641. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
  1642. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
  1643. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1644. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1645. end
  1646. for i = 1,5 do
  1647. Shoot(BarrelB, 0, 0)
  1648. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  1649. so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  1650. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  1651. for i=0,1,0.3 do
  1652. wait()
  1653. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .5)
  1654. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .5)
  1655. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .5)
  1656. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55)
  1657. RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .5)
  1658. LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .5)
  1659. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
  1660. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75)
  1661. end
  1662. for i=0,1,0.3 do
  1663. wait()
  1664. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .8)
  1665. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
  1666. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .8)
  1667. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .8)
  1668. RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .5)
  1669. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .5)
  1670. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5)
  1671. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5)
  1672. end
  1673. end
  1674. gyro.Parent = nil
  1675. attack = false
  1676. speedvalue = 2.5
  1677. end
  1678.  
  1679. function OrbEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1680. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1681. prt.Anchored = true
  1682. prt.CanCollide=false
  1683. prt.CFrame = cframe*cn(0,-1,0)*angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90)))
  1684. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1685. game:GetService("Debris"):AddItem(prt, 10)
  1686. coroutine.resume(coroutine.create(function(Part, Mesh)
  1687. for i = 0, 1, delay do
  1688. wait(0)
  1689. Part.CFrame = Part.CFrame
  1690. Part.Transparency = i
  1691. Mesh.Scale = Mesh.Scale + Vector3.new(x2, y2, z2)
  1692. end
  1693. Part.Parent = nil
  1694. end), prt, msh)
  1695. end
  1696.  
  1697. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1698. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1699. prt.Anchored = true
  1700. prt.CFrame = cframe*cn(0,-1,0)
  1701. --prt.Material = "Neon"
  1702. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1703. game:GetService("Debris"):AddItem(prt, 10)
  1704. coroutine.resume(coroutine.create(function(Part, Mesh)
  1705. for i = 0, 1, delay do
  1706. wait(0)
  1707. Part.CFrame = Part.CFrame
  1708. Part.Transparency = i
  1709. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1710. end
  1711. Part.Parent = nil
  1712. end), prt, msh)
  1713. end
  1714.  
  1715. function Reflex()
  1716. attack = true
  1717. gyro.Parent = RootPart
  1718. speedvalue = 1
  1719. for i = 0,1,0.1 do
  1720. wait()
  1721. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.55) * angles(math.rad(5), math.rad(0), math.rad(0)), .3)
  1722. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
  1723. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.2) * angles(math.rad(0), math.rad(100), math.rad(50)), .3)
  1724. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.2) * angles(math.rad(0), math.rad(-100), math.rad(-50)), .3)
  1725. RH.C0 = clerp(RH.C0, cn(0.55, -1.5, .5) * angles(math.rad(-60), math.rad(0), math.rad(3)), .3)
  1726. LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .3)
  1727. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1728. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1729. end
  1730. so("http://roblox.com/asset/?id=199145534",BarrelA,1,math.random(150,200)/100)
  1731. for i=1,math.random(3,6) do
  1732. OrbEffect(BarrelA.BrickColor,cn(BarrelA.Position),1,1,1,1,1,1,0.025)
  1733. Shockwave(BarrelA.BrickColor,cn(BarrelA.Position),1,1,1,1,1,1,0.025)
  1734. end
  1735. local target=CheckClose(BarrelA,30)
  1736. if target then
  1737. damage(target.Torso, 5, math.random(15,20), math.random(15,16), 1, RootPart)
  1738. end
  1739. Humanoid.Jump=true
  1740. Torso.Velocity=Vector3.new(0,7.5,0)
  1741. Torso.Velocity=RootPart.CFrame.lookVector*-100
  1742. Humanoid.WalkSpeed = 16*speed.Value
  1743. for i = 0,1,0.1 do
  1744. wait()
  1745. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(-6*i, math.rad(0), math.rad(0)), .4)
  1746. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .4)
  1747. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(-30), math.rad(0), math.rad(130)), .4)
  1748. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(-30), math.rad(0), math.rad(-130)), .4)
  1749. RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .4)
  1750. LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .4)
  1751. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-150), math.rad(0)), .25)
  1752. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-150), math.rad(0)), .25)
  1753. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1754. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1755. end
  1756. gyro.Parent = nil
  1757. attack = false
  1758. speedvalue = 2.5
  1759. end
  1760.  
  1761. function Luxuriance()
  1762. attack = true
  1763. gyro.Parent = RootPart
  1764. for i = 0,1,0.1 do
  1765. wait()
  1766. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.5) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1767. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
  1768. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(70)), .3)
  1769. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-70)), .3)
  1770. RH.C0 = clerp(RH.C0, cn(0.55, -1.7, .4) * angles(math.rad(-20), math.rad(0), math.rad(3)), .3)
  1771. LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(math.rad(5), math.rad(0), math.rad(-3)), .3)
  1772. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7)
  1773. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
  1774. end
  1775. for i = 0,1,0.3 do
  1776. wait()
  1777. ReflectShot(mouse,BarrelA)
  1778. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  1779. so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  1780. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  1781. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .3)
  1782. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-100)), .3)
  1783. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(130), math.rad(50), math.rad(30)), .2)
  1784. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .3)
  1785. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(3)), .3)
  1786. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(-3)), .3)
  1787. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1788. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
  1789. end
  1790. for i = 0,1,0.2 do
  1791. wait()
  1792. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1793. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
  1794. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(70)), .3)
  1795. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-70)), .3)
  1796. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3)
  1797. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3)
  1798. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7)
  1799. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
  1800. end
  1801. for i = 0,1,0.3 do
  1802. wait()
  1803. ReflectShot(mouse,BarrelB)
  1804. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  1805. so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  1806. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  1807. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-100)), .3)
  1808. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(100)), .3)
  1809. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .2)
  1810. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(130), math.rad(-50), math.rad(-30)), .3)
  1811. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(3)), .3)
  1812. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(-3)), .3)
  1813. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
  1814. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .7)
  1815. end
  1816. for i = 0,1,0.1 do
  1817. wait()
  1818. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3)
  1819. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  1820. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(10)), .3)
  1821. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3)
  1822. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3)
  1823. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3)
  1824. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7)
  1825. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
  1826. end
  1827. for i = 1,5 do
  1828. Shoot(BarrelA, 0, 0)
  1829. so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
  1830. so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
  1831. so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
  1832. for i = 0,1,0.35 do
  1833. wait()
  1834. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4)
  1835. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4)
  1836. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4)
  1837. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
  1838. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4)
  1839. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4)
  1840. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1841. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1842. end
  1843. Shoot(BarrelB, 0, 0)
  1844. so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
  1845. so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
  1846. so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
  1847. for i = 0,1,0.35 do
  1848. wait()
  1849. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4)
  1850. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4)
  1851. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
  1852. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4)
  1853. RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4)
  1854. LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4)
  1855. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1856. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
  1857. end
  1858. end
  1859. gyro.Parent = nil
  1860. attack = false
  1861. end
  1862.  
  1863. mouse.Button1Down:connect(function()
  1864. if gun==true and shoot==false then
  1865. shoot=true
  1866. gun=false
  1867. end
  1868. if attack == false and attacktype == 1 then
  1869. Attackone()
  1870. attacktype = 2
  1871. elseif attack == false and attacktype == 2 then
  1872. Attacktwo()
  1873. attacktype = 3
  1874. elseif attack == false and attacktype == 3 then
  1875. Attackthree()
  1876. attacktype = 4
  1877. elseif attack == false and attacktype == 4 then
  1878. Attackfour()
  1879. attacktype = 1
  1880. end
  1881. end)
  1882.  
  1883. mouse.KeyDown:connect(function(k)
  1884. k = k:lower()
  1885. if k=='e' and gun==false and shoot==false and attack==false then
  1886. GunStance()
  1887. end
  1888. if k=='e'and shoot==false then
  1889. if gun==true then
  1890. gun=false
  1891. end
  1892. end
  1893. if k=='q' and gun==false and shoot==false and attack==false and cooldown1 >= co1 and stamina>=skill1stam then
  1894. cooldown1=0
  1895. subtractstamina(skill1stam)
  1896. EchoBarrage()
  1897. end
  1898. if k=='r' and gun==false and shoot==false and attack==false and cooldown2 >= co2 and stamina>=skill2stam then
  1899. cooldown2=0
  1900. subtractstamina(skill2stam)
  1901. LucentScatter()
  1902. end
  1903. if k=='t' and gun==false and shoot==false and attack==false and cooldown3 >= co3 and stamina>=skill3stam then
  1904. cooldown3=0
  1905. subtractstamina(skill3stam)
  1906. Reflex()
  1907. end
  1908. if k=='f' and gun==false and shoot==false and attack==false and cooldown4 >= co4 and stamina>=skill4stam then
  1909. cooldown4=0
  1910. subtractstamina(skill4stam)
  1911. Luxuriance()
  1912. end
  1913. end)
  1914.  
  1915.  
  1916. inputserv.InputBegan:connect(function(k)
  1917. if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
  1918. elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
  1919. elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
  1920. elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
  1921. end
  1922. end)
  1923.  
  1924. inputserv.InputBegan:connect(function(k)
  1925. if k.KeyCode == Enum.KeyCode.Slash then
  1926. local fin = nil
  1927. typing = true
  1928. fin = inputserv.InputBegan:connect(function(k)
  1929. if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
  1930. typing = false
  1931. fin:disconnect()
  1932. end
  1933. end)
  1934. end
  1935. end)
  1936.  
  1937. local ReboundCount = 0
  1938.  
  1939. function updateskills()
  1940. if cooldown1 <= co1 then
  1941. cooldown1 = cooldown1 + 1
  1942. end
  1943. if cooldown2 <= co2 then
  1944. cooldown2 = cooldown2 + 1
  1945. end
  1946. if cooldown3 <= co3 then
  1947. cooldown3 = cooldown3 + 1
  1948. end
  1949. if cooldown4 <= co4 then
  1950. cooldown4 = cooldown4 + 1
  1951. end
  1952. if stamina <= maxstamina then
  1953. stamina = stamina + recoverEnergy
  1954. end
  1955. end
  1956.  
  1957. game:GetService'RunService'.Heartbeat:connect(function()
  1958. updateskills()
  1959. gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RootPart.CFrame.p).unit * 100)
  1960. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5)
  1961. staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5)
  1962. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
  1963. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
  1964. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
  1965. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
  1966. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1967. velocity = RootPart.Velocity.y
  1968. sine = sine + change
  1969. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1970. Character.Humanoid.WalkSpeed = 16 * speed.Value
  1971. if equipped == true or equipped == false then
  1972. if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
  1973. Anim = "Jump"
  1974. if attack == false then
  1975. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .25)
  1976. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25)
  1977. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(50)), .25)
  1978. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-50)), .25)
  1979. RH.C0 = clerp(RH.C0, cn(0.4, -1.5, -.5) * angles(math.rad(-20), math.rad(0), math.rad(-5)), .25)
  1980. LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), .25)
  1981. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  1982. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  1983. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1984. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1985. end
  1986. elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
  1987. Anim = "Fall"
  1988. if attack == false then
  1989. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), .25)
  1990. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25)
  1991. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(70)), .25)
  1992. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-70)), .25)
  1993. RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .25)
  1994. LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .25)
  1995. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  1996. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  1997. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1998. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  1999. end
  2000. elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
  2001. Anim = "Idle"
  2002. if attack == false then
  2003. change = 1
  2004. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.1+0.1*math.cos(sine/25), -0.1+0.05*math.cos(sine/25)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .25)
  2005. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10+5*math.cos(sine/25)), math.rad(0), math.rad(30)), .25)
  2006. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(10)), .25)
  2007. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(-10)), .25)
  2008. RH.C0 = clerp(RH.C0, cn(0.7, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(5))* angles(math.rad(-5+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25)
  2009. LH.C0 = clerp(LH.C0, cn(-0.6, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(-3))* angles(math.rad(-3+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25)
  2010. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  2011. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  2012. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  2013. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  2014. end
  2015. elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then
  2016. Anim = "Walk"
  2017. if attack == false then
  2018. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20+1*math.cos(sine/5)), math.rad(0), math.rad(5*math.cos(sine/4.5))), .25)
  2019. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-5*math.cos(sine/4.5))), .25)
  2020. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(20+1*math.cos(sine/5))), .25)
  2021. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20+1*math.cos(sine/5))), .25)
  2022. RH.C0 = clerp(RH.C0, cn(0.55, -2, 1*math.cos(sine/4.5)) * angles(math.rad(-50*math.cos(sine/4.5)), math.rad(0), math.rad(3)), .25)
  2023. LH.C0 = clerp(LH.C0, cn(-0.55, -2, -1*math.cos(sine/4.5)) * angles(math.rad(50*math.cos(sine/4.5)), math.rad(0), math.rad(-3)), .25)
  2024. FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  2025. FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
  2026. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  2027. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  2028. end
  2029. elseif stun.Value == true then
  2030. if attack == false then
  2031. Character.Humanoid.WalkSpeed = 0
  2032. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  2033. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  2034. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  2035. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  2036. RH.C0 = clerp(RH.C0, cn(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  2037. LH.C0 = clerp(LH.C0, cn(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
  2038. RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  2039. LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
  2040. end
  2041. end
  2042. end
  2043. if #Effects > 0 then
  2044. for e = 1, #Effects do
  2045. if Effects[e] ~= nil then
  2046. local Thing = Effects[e]
  2047. if Thing ~= nil then
  2048. local Part = Thing[1]
  2049. local Mode = Thing[2]
  2050. local Delay = Thing[3]
  2051. local IncX = Thing[4]
  2052. local IncY = Thing[5]
  2053. local IncZ = Thing[6]
  2054. if Thing[1].Transparency <= 1 then
  2055. if Thing[2] == "Block1" then
  2056. Thing[1].CFrame = Thing[1].CFrame * CFrame.FromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2057. local Mesh = Thing[1].Mesh
  2058. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2059. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2060. elseif Thing[2] == "Cylinder" then
  2061. local Mesh = Thing[1].Mesh
  2062. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2063. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2064. elseif Thing[2] == "Blood" then
  2065. local Mesh = Thing[7]
  2066. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0)
  2067. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2068. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2069. elseif Thing[2] == "Elec" then
  2070. local Mesh = Thing[1].Mesh
  2071. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2072. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2073. elseif Thing[2] == "Disappear" then
  2074. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2075. end
  2076. else
  2077. Part.Parent = nil
  2078. table.remove(Effects, e)
  2079. end
  2080. end
  2081. end
  2082. end
  2083. end
  2084. for _, lasr in pairs(lasrs) do
  2085. for i, v in pairs(lasr[9]) do
  2086. if lasr[7][i].Parent then
  2087. v.Scale = v.Scale + Vector3.new(-0.1,0,-0.1)
  2088. lasr[10][i].Scale = lasr[10][i].Scale + Vector3.new(-0.1,0,-0.1)
  2089. if v.Scale.x < 0.1 then
  2090. lasr[7][i].Parent = nil
  2091. lasr[8][i].Parent = nil
  2092. end
  2093. end
  2094. end
  2095.  
  2096. if lasr[1] then
  2097. local hitz, enz = RAY(lasr[3],lasr[2]*lasrspd)
  2098. lasr[5] = lasr[5] + (lasr[3] - enz).magnitude
  2099.  
  2100. lasr[7][lasr[6]].Parent = m
  2101. lasr[7][lasr[6]].CFrame = CFrame.new((lasr[3] + enz)/2,enz) * CFrame.Angles(math.pi/2,0,0)
  2102. lasr[9][lasr[6]].Scale = Vector3.new(0.7,(lasr[3] - enz).magnitude*5,0.7)
  2103.  
  2104. lasr[8][lasr[6]].Parent = m
  2105. lasr[8][lasr[6]].CFrame = lasr[7][lasr[6]].CFrame
  2106. lasr[10][lasr[6]].Scale = Vector3.new(1.3,(lasr[3] - enz).magnitude*5 + 0.02,1.3)
  2107.  
  2108. lasr[3] = enz
  2109. lasr[6] = lasr[6]%#lasr[7] + 1
  2110.  
  2111. if hitz then
  2112. lasr[4] = lasr[4] + 1
  2113. if lasr[4] == maxRebounds then
  2114. lasr[1] = false
  2115. so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
  2116. damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart)
  2117. print(ReboundCount)
  2118. else
  2119. local norm = FindSurface(hitz,enz)
  2120. lasr[2] = Reflect(lasr[2],norm)
  2121. so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
  2122. damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart)
  2123. print(ReboundCount)
  2124. end
  2125. end
  2126. if lasr[5] > maxTravelDistance then
  2127. lasr[1] = false
  2128. end
  2129. end
  2130. end
  2131. end)
Add Comment
Please, Sign In to add comment