Laith8888

Roblox Tracer Guns script

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