Advertisement
Blueisim

Technomancer

Aug 30th, 2016
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.19 KB | None | 0 0
  1. --[[
  2. Technomancer MiniBoss ]]
  3.  
  4. ModelName = "Exavior (Ranged)"
  5. attack = false
  6. attacktype = 1
  7. Hitdeb = 0
  8. Hitdeb2 = 0
  9. name = "COOLBRAYDENNOOB"
  10. ----------------------------
  11. --Customize mediafire
  12. booster1 = false
  13. booster2 = false
  14. booster3 = false
  15. booster4 = false
  16. booster5 = false
  17. booster6 = false
  18. booster7 = false
  19. booster8 = false
  20. booster9 = false
  21. time1 = false
  22. time2 = false
  23. time3 = false
  24. time4 = false
  25. time5 = false
  26. time6 = false
  27. time7 = false
  28. time8 = false
  29. time9 = false
  30. clocker = 0
  31. Rage = 0
  32. Rage = 200
  33. mindamage = 5
  34. maxdamage = 40
  35. crtmaxdamage = 40
  36. combo = 0
  37. omindamage = mindamage
  38. omaxdamage = maxdamage
  39. ocrtmaxdamage = crtmaxdamage
  40. crtrate = 100/5
  41. HP = 2000
  42. WS = 8
  43. jump = 50
  44. --100%/critpercentage
  45. attack = false
  46. comboing = false
  47. oblkbrkr = 3
  48. blockbreaker = oblkbrkr
  49. timer = 0
  50. handlecolor = BrickColor.new("Black")
  51. bcolor = BrickColor.new("White")
  52. gemcolor = BrickColor.new("Black")
  53.  
  54.  
  55.  
  56. -------------------------------------------------------------------------------------------------------------------------------------
  57.  
  58.  
  59.  
  60.  
  61.  
  62. if game.Workspace:findFirstChild(ModelName,true) ~= nil then
  63. game.Workspace:findFirstChild(ModelName,true).Parent = nil
  64. end
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. local bodyholder = Instance.new("Model")
  72. bodyholder.Name = ModelName
  73. bodyholder.Parent = game.Workspace
  74. Character = bodyholder
  75.  
  76. ev = Instance.new("BoolValue",bodyholder)
  77. ev.Name = "EquippedVal"
  78. ev.Value = false
  79. blk = Instance.new("BoolValue",bodyholder)
  80. blk.Name = "Block"
  81. blk.Value = false
  82. blkc = Instance.new("IntValue",blk)
  83. blkc.Name = "BlockPower"
  84. blkc.Value = blockpower
  85. SpawnPos = Instance.new("Vector3Value",script)
  86. SpawnPos.Name = "SpawnPos"
  87. SpawnPos.Value = game.Workspace[name].Head.Position--Vector3.new(20,10,0)
  88.  
  89. local Head = Instance.new("Part")
  90. Head.formFactor = 3
  91. Head.CanCollide = true
  92. Head.Name = "Head"
  93. Head.Locked = true
  94. Head.Size = Vector3.new(2,1,1)
  95. Head.Parent = bodyholder
  96. Head.BrickColor = BrickColor.new("Mid gray")
  97. local smh = Instance.new("SpecialMesh",Head)
  98. smh.Scale = Vector3.new(1.25,1.25,1.25)
  99. local Torso = Instance.new("Part")
  100. Torso.formFactor = 3
  101. Torso.CanCollide = true
  102. Torso.Name = "Torso"
  103. Torso.Locked = true
  104. Torso.Size = Vector3.new(2,2,1)
  105. Torso.Parent = bodyholder
  106. Torso.BrickColor = BrickColor.new("Mid gray")
  107. Torso.Reflectance = 0.1
  108. Torso.CFrame = CFrame.new(SpawnPos.Value)
  109. local RightArm = Instance.new("Part")
  110. RightArm.formFactor = 3
  111. RightArm.CanCollide = true
  112. RightArm.Name = "Right Arm"
  113. RightArm.Locked = true
  114. RightArm.Size = Vector3.new(1,2,1)
  115. RightArm.Parent = bodyholder
  116. RightArm.BrickColor = BrickColor.new("Mid gray")
  117. local LeftArm = Instance.new("Part")
  118. LeftArm.formFactor = 3
  119. LeftArm.CanCollide = true
  120. LeftArm.Name = "Left Arm"
  121. LeftArm.Locked = true
  122. LeftArm.Size = Vector3.new(1,2,1)
  123. LeftArm.Parent = bodyholder
  124. LeftArm.BrickColor = BrickColor.new("Mid gray")
  125. local RightLeg = Instance.new("Part")
  126. RightLeg.formFactor = 3
  127. RightLeg.CanCollide = true
  128. RightLeg.Name = "Right Leg"
  129. RightLeg.Locked = true
  130. RightLeg.Size = Vector3.new(1,2,1)
  131. RightLeg.Parent = bodyholder
  132. RightLeg.BrickColor = BrickColor.new("Mid gray")
  133. local LeftLeg = Instance.new("Part")
  134. LeftLeg.formFactor = 3
  135. LeftLeg.CanCollide = true
  136. LeftLeg.Name = "Left Leg"
  137. LeftLeg.Locked = true
  138. LeftLeg.Size = Vector3.new(1,2,1)
  139. LeftLeg.Parent = bodyholder
  140. LeftLeg.BrickColor = BrickColor.new("Mid gray")
  141.  
  142. local hair = Instance.new("Part")
  143. hair.BrickColor = BrickColor.new("Really black")
  144. hair.formFactor = "Symmetric"
  145. hair.CanCollide = false
  146. hair.Locked = true
  147. hair.Size = Vector3.new(1, 1, 1)
  148. hair.Parent = bodyholder
  149. local hm = Instance.new("SpecialMesh")
  150. hm.Parent = hair
  151. hm.MeshType = "FileMesh"
  152. hm.MeshId = "http://www.roblox.com/asset/?id=62246019"
  153. --hm.TextureId = "http://www.roblox.com/asset/?id=77354289"
  154. hm.Scale = Vector3.new(1, 1, 1)
  155. local wh = Instance.new("Weld")
  156. wh.Parent = hair
  157. wh.Part0 = hair
  158. wh.Part1 = Head
  159. wh.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0.1, -.20,-0.2)
  160. wh.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  161.  
  162. Faic = Instance.new("Decal")
  163. Faic.Texture = "http://www.roblox.com/asset/?id=110287983"
  164. Faic.Face = "Front"
  165. Faic.Parent = Head
  166.  
  167. Shirt = Instance.new("Shirt")
  168. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=59751157"
  169. Shirt.Parent = bodyholder
  170.  
  171. Pants = Instance.new("Pants")
  172. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=59751577"
  173. Pants.Parent = bodyholder
  174. local LAmsh = Instance.new("CharacterMesh")
  175.  
  176. --[[LAmsh.MeshId = "111777907"
  177. LAmsh.OverlayTextureId = "111778050"
  178. LAmsh.BodyPart = "LeftArm"
  179. LAmsh.Parent = bodyholder
  180.  
  181. --[[local LLmsh = Instance.new("CharacterMesh")
  182. LLmsh.MeshId = "111777942"
  183. LLmsh.OverlayTextureId = "111778050"
  184. LLmsh.BodyPart = "LeftLeg"
  185. LLmsh.Parent = bodyholder
  186.  
  187. local RAmsh = Instance.new("CharacterMesh")
  188. RAmsh.MeshId = "111777972"
  189. RAmsh.OverlayTextureId = "111778050"
  190. RAmsh.BodyPart = "RightArm"
  191. RAmsh.Parent = bodyholder
  192.  
  193. local RLmsh = Instance.new("CharacterMesh")
  194. RLmsh.MeshId = "111778023"
  195. RLmsh.OverlayTextureId = "111778050"
  196. RLmsh.BodyPart = "RightLeg"
  197. RLmsh.Parent = bodyholder
  198.  
  199. local Tmsh = Instance.new("CharacterMesh")
  200. Tmsh.MeshId = "111777866"
  201. Tmsh.OverlayTextureId = "111778050"
  202. Tmsh.BodyPart = "Torso"
  203. Tmsh.Parent = bodyholder]]
  204. --player
  205. player = nil
  206. --welds
  207. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  208. --what anim
  209. anim = "none"
  210. --save shoulders
  211. AoETrue = {}
  212. Neck = Instance.new("Motor")
  213.  
  214.  
  215.  
  216.  
  217. --derp
  218. RW.Part0 = Character.Torso
  219. RW.Part1 = Character["Right Arm"]
  220. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  221. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  222. RW.Parent = bodyholder
  223. --
  224. LW.Part0 = Character.Torso
  225. LW.Part1 = Character["Left Arm"]
  226. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  227. LW.C1 = CFrame.new(0, 0.5, 0)
  228. LW.Parent = bodyholder
  229. --
  230. RWL.Part0 = Character.Torso
  231. RWL.Part1 = Character["Right Leg"]
  232. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
  233. RWL.C1 = CFrame.new(0.5, 1, 0)
  234. RWL.Parent = bodyholder
  235. --
  236. LWL.Part0 = Character.Torso
  237. LWL.Part1 = Character["Left Leg"]
  238. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
  239. LWL.C1 = CFrame.new(-0.5, 1, 0)
  240. LWL.Parent = bodyholder
  241. --
  242. Neck.Part0 = Character.Torso
  243. Neck.Part1 = Character.Head
  244. Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0)
  245. Neck.C1 = CFrame.new(0, -0.5, 0)
  246. Neck.Parent = bodyholder
  247. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  248. ----
  249.  
  250. --
  251.  
  252. RAP = Instance.new("Part")
  253. RAP.formFactor = 0
  254. RAP.CanCollide = false
  255. RAP.Name = "RAPart"
  256. RAP.Locked = true
  257. RAP.Size = Vector3.new(1,1,1)
  258. RAP.Parent = bodyholder
  259. RAP.Transparency = 1
  260. w = Instance.new("Weld")
  261. w.Parent = RAP
  262. w.Part0 = RAP
  263. w.Part1 = RightArm
  264. w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  265. w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 2, 0)
  266. LAP = Instance.new("Part")
  267. LAP.formFactor = 0
  268. LAP.CanCollide = false
  269. LAP.Name = "LAPart"
  270. LAP.Locked = true
  271. LAP.Size = Vector3.new(1,1,1)
  272. LAP.Parent = bodyholder
  273. LAP.Transparency = 1
  274. wl = Instance.new("Weld")
  275. wl.Parent = LAP
  276. wl.Part0 = LAP
  277. wl.Part1 = LeftArm
  278. wl.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  279. wl.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 2, 0)
  280.  
  281. swordholder = Instance.new("Model")
  282. swordholder.Name = "Weapon"
  283. swordholder.Parent = bodyholder
  284.  
  285. local prt1 = Instance.new("Part")
  286. prt1.formFactor = 1
  287. prt1.Parent = swordholder
  288. prt1.CanCollide = false
  289. prt1.BrickColor = BrickColor.new("Really black")
  290. prt1.Name = "Part1"
  291. prt1.Transparency = 0.4
  292. prt1.Size = Vector3.new(1,1,1)
  293. prt1.Position = Torso.Position
  294. local prt2 = Instance.new("Part")
  295. prt2.formFactor = 1
  296. prt2.Parent = swordholder
  297. prt2.CanCollide = false
  298. prt2.BrickColor = BrickColor.new("Bright red")
  299. prt2.Name = "Part2"
  300. prt2.Transparency = 0.4
  301. prt2.Size = Vector3.new(1,1,1)
  302. prt2.Position = Torso.Position
  303. local prt3 = Instance.new("Part")
  304. prt3.formFactor = 1
  305. prt3.Parent = swordholder
  306. prt3.CanCollide = false
  307. prt3.BrickColor = BrickColor.new("Really black")
  308. prt3.Name = "Part3"
  309. prt3.Transparency = 0.4
  310. prt3.Size = Vector3.new(1,1,1)
  311. prt3.Position = Torso.Position
  312. local prt4 = Instance.new("Part")
  313. prt4.formFactor = 1
  314. prt4.Parent = swordholder
  315. prt4.CanCollide = false
  316. prt4.BrickColor = BrickColor.new("Bright red")
  317. prt4.Name = "Part4"
  318. prt4.Transparency = 0.4
  319. prt4.Size = Vector3.new(1,1,1)
  320. prt4.Position = Torso.Position
  321. local prt5 = Instance.new("Part")
  322. prt5.formFactor = 1
  323. prt5.Parent = swordholder
  324. prt5.CanCollide = false
  325. prt5.BrickColor = BrickColor.new("Really black")
  326. prt5.Name = "Part5"
  327. prt5.Transparency = 0.4
  328. prt5.Size = Vector3.new(1,1,1)
  329. prt5.Position = Torso.Position
  330. local prt6 = Instance.new("Part")
  331. prt6.formFactor = 1
  332. prt6.Parent = swordholder
  333. prt6.CanCollide = false
  334. prt6.BrickColor = BrickColor.new("Bright red")
  335. prt6.Name = "Part6"
  336. prt6.Transparency = 0.4
  337. prt6.Size = Vector3.new(1,1,1)
  338. prt6.Position = Torso.Position
  339. local prt7 = Instance.new("Part")
  340. prt7.formFactor = 1
  341. prt7.Parent = swordholder
  342. prt7.CanCollide = false
  343. prt7.BrickColor = BrickColor.new("Really black")
  344. prt7.Name = "Part7"
  345. prt7.Transparency = 0.4
  346. prt7.Size = Vector3.new(1,1,1)
  347. prt7.Position = Torso.Position
  348. local prt8 = Instance.new("Part")
  349. prt8.formFactor = 1
  350. prt8.Parent = swordholder
  351. prt8.CanCollide = false
  352. prt8.BrickColor = BrickColor.new("Bright red")
  353. prt8.Name = "Part8"
  354. prt8.Transparency = 0.4
  355. prt8.Size = Vector3.new(1,1,1)
  356. prt8.Position = Torso.Position
  357. swordholder:BreakJoints()
  358.  
  359. local msh1 = Instance.new("BlockMesh")
  360. msh1.Parent = prt1
  361. msh1.Scale = Vector3.new(0.5,1,0.5)
  362. local msh2 = Instance.new("BlockMesh")
  363. msh2.Parent = prt2
  364. msh2.Scale = Vector3.new(0.5,1,0.5)
  365. local msh3 = Instance.new("BlockMesh")
  366. msh3.Parent = prt3
  367. msh3.Scale = Vector3.new(0.5,1,0.5)
  368. local msh4 = Instance.new("BlockMesh")
  369. msh4.Parent = prt4
  370. msh4.Scale = Vector3.new(0.5,1,0.5)
  371. local msh5 = Instance.new("BlockMesh")
  372. msh5.Parent = prt5
  373. msh5.Scale = Vector3.new(0.5,1,0.5)
  374. local msh6 = Instance.new("BlockMesh")
  375. msh6.Parent = prt6
  376. msh6.Scale = Vector3.new(0.5,1,0.5)
  377. local msh7 = Instance.new("BlockMesh")
  378. msh7.Parent = prt7
  379. msh7.Scale = Vector3.new(0.5,1,0.5)
  380. local msh8 = Instance.new("BlockMesh")
  381. msh8.Parent = prt8
  382. msh8.Scale = Vector3.new(0.5,1,0.5)
  383. local w1 = Instance.new("Weld")
  384. w1.Parent = prt1
  385. w1.Part0 = prt1
  386. w1.Part1 = Torso
  387. w1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0)
  388. local w2 = Instance.new("Weld")
  389. w2.Parent = prt2
  390. w2.Part0 = prt2
  391. w2.Part1 = Torso
  392. w2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  393. local w3 = Instance.new("Weld")
  394. w3.Parent = prt3
  395. w3.Part0 = prt3
  396. w3.Part1 = Torso
  397. w3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  398. local w4 = Instance.new("Weld")
  399. w4.Parent = prt4
  400. w4.Part0 = prt4
  401. w4.Part1 = Torso
  402. w4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  403. local w5 = Instance.new("Weld")
  404. w5.Parent = prt5
  405. w5.Part0 = prt5
  406. w5.Part1 = Torso
  407. w5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  408. local w6 = Instance.new("Weld")
  409. w6.Parent = prt6
  410. w6.Part0 = prt6
  411. w6.Part1 = Torso
  412. w6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  413. local w7 = Instance.new("Weld")
  414. w7.Parent = prt7
  415. w7.Part0 = prt7
  416. w7.Part1 = Torso
  417. w7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  418. local w8 = Instance.new("Weld")
  419. w8.Parent = prt8
  420. w8.Part0 = prt8
  421. w8.Part1 = Torso
  422. w8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  423. local gairo = Instance.new("BodyGyro")
  424. gairo.Parent = nil
  425. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  426. gairo.P = 20e+003
  427. function unequipweld()
  428.  
  429. end
  430.  
  431. unequipweld()
  432.  
  433.  
  434.  
  435. function equipweld()
  436.  
  437.  
  438. end
  439.  
  440.  
  441. function ss(parent,p) --Slash
  442.  
  443. local SlashSound = Instance.new("Sound")
  444. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  445. SlashSound.Parent = parent
  446. SlashSound.Volume = .7
  447. SlashSound.Pitch = p
  448. SlashSound.PlayOnRemove = true
  449. coroutine.resume(coroutine.create(function()
  450. wait()
  451. SlashSound.Parent = nil
  452. end))
  453. end
  454. function uss(parent,p) --unsheath
  455.  
  456. local SlashSound = Instance.new("Sound")
  457. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  458. SlashSound.Parent = parent
  459. SlashSound.Volume = .7
  460. SlashSound.Pitch = p
  461. SlashSound.PlayOnRemove = true
  462. coroutine.resume(coroutine.create(function()
  463. wait()
  464. SlashSound.Parent = nil
  465. end))
  466. end
  467. function ms(parent,p) --Metal Cling Sound
  468.  
  469. local SlashSound = Instance.new("Sound")
  470. SlashSound.SoundId = "rbxasset://sounds\\metal.ogg"
  471. SlashSound.Parent = parent
  472. SlashSound.Volume = 1
  473. SlashSound.Pitch = p
  474. SlashSound.PlayOnRemove = true
  475. coroutine.resume(coroutine.create(function()
  476. wait()
  477. SlashSound.Parent = nil
  478. end))
  479. end
  480.  
  481. --
  482. --
  483.  
  484. function returndmg()
  485. mindamage = omindamage
  486. maxdamage = omaxdamage
  487. crtmaxdamage = ocrtmaxdamage
  488. end
  489.  
  490. function subdmg(sub)
  491. mindamage = omindamage - sub
  492. maxdamage = omaxdamage - sub
  493. crtmaxdamage = ocrtmaxdamage - sub
  494. end
  495.  
  496. function prcntdmg(sub)
  497. mindamage = math.floor(omindamage - (omindamage*(sub/100)))
  498. maxdamage = math.floor(omaxdamage - (omaxdamage*(sub/100)))
  499. crtmaxdamage = math.floor(ocrtmaxdamage - (ocrtmaxdamage*(sub/100)))
  500. end
  501.  
  502. function tagHumanoid(humanoid, player)
  503. local creator_tag = Instance.new("ObjectValue")
  504. creator_tag.Value = player
  505. creator_tag.Name = "creator"
  506. creator_tag.Parent = humanoid
  507. end
  508.  
  509. function untagHumanoid(humanoid)
  510. if humanoid ~= nil then
  511. local tag = humanoid:findFirstChild("creator")
  512. if tag ~= nil then
  513. tag.Parent = nil
  514. end
  515. end
  516. end
  517.  
  518. local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  519. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  520. end
  521.  
  522.  
  523.  
  524. function equipanim()
  525.  
  526. end
  527.  
  528.  
  529. function damagesplat(dmg,hit,crit,blocked)
  530. local mo = Instance.new("Model")
  531. mo.Name = dmg
  532. local pa = Instance.new("Part",mo)
  533. pa.formFactor = 3
  534. pa.Size = Vector3.new(0.8,0.3,0.8)
  535. if crit then
  536. pa.BrickColor = BrickColor.new("Bright yellow")
  537. elseif not crit then
  538. pa.BrickColor = BrickColor.new("Bright red")
  539. end
  540. if blocked then pa.BrickColor = BrickColor.new("Bright blue") end
  541. pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
  542. pa.Name = "Head"
  543. local hah = Instance.new("Humanoid")
  544. hah.Parent = mo
  545. hah.MaxHealth = 0
  546. hah.Health = 0
  547. local bp = Instance.new("BodyPosition")
  548. bp.P = 14000
  549. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  550. bp.position = hit.Position + Vector3.new(0, 5, 0)
  551. coroutine.resume(coroutine.create(function()
  552. wait()
  553. mo.Parent = Character
  554. bp.Parent = pa
  555. wait(1.4)
  556. mo:remove()
  557. end))
  558. return pa
  559. end
  560.  
  561. function damage(hum,dmg,critornot)
  562. local pa = damagesplat(dmg,hum.Torso,critornot)
  563. hum:TakeDamage(dmg)
  564. coroutine.resume(coroutine.create(function()
  565. tagHumanoid(hum,Player)
  566. wait(1)
  567. untagHumanoid(hum)
  568. end))
  569. return pa
  570.  
  571. end
  572.  
  573. function lasersound(pitch)
  574. local SlashSound = Instance.new("Sound")
  575. SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav"
  576. SlashSound.Parent = workspace
  577. SlashSound.Volume = .5
  578. SlashSound.Pitch = pitch
  579. SlashSound.PlayOnRemove = true
  580. coroutine.resume(coroutine.create(function()
  581. wait(0)
  582. SlashSound.Parent = nil
  583. end))
  584. end
  585.  
  586.  
  587. function AoE(p,magnitude)
  588. local c = game.Workspace:GetChildren();
  589. for i = 1, #c do
  590. local hum = c[i]:findFirstChild("Humanoid")
  591. if hum ~= nil and hum.Health ~= 0 then
  592. local head = c[i]:findFirstChild("Head");
  593. if head ~= nil then
  594. local mag = (head.Position - p).magnitude;
  595. if mag <= magnitude and c[i].Name ~= Character.Name then
  596. local foundd = false
  597. for ii = 1 , #AoETrue do
  598. if AoETrue[ii] == c[i].Name then
  599.  
  600. foundd = true
  601. end
  602. end
  603. if foundd then
  604.  
  605. end
  606. --
  607. if not foundd then
  608. local critrandomizer = math.random(crtrate)
  609. if critrandomizer ~= 1 then
  610. local rndmdamage = math.random(mindamage,maxdamage)
  611. damage(hum,rndmdamage,false)
  612. elseif critrandomizer == 1 then
  613. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  614. damage(hum,rndmdamage,true)
  615. end
  616. table.insert(AoETrue,c[i].Name)
  617. end
  618. end
  619. end
  620. end
  621. end
  622. for ii = 1 , #AoETrue do
  623. table.remove(AoETrue,#AoETrue)
  624. end
  625. end
  626.  
  627. --
  628.  
  629.  
  630. --
  631.  
  632. function effect(Color,Ref,LP,P1)
  633. local effectsmsh = Instance.new("BlockMesh")
  634. effectsmsh.Scale = Vector3.new(1,1,1)
  635. effectsmsh.Name = "Mesh"
  636. local effectsg = Instance.new("Part")
  637. effectsg.formFactor = 3
  638. effectsg.CanCollide = false
  639. effectsg.Name = "Eff"
  640. effectsg.Locked = true
  641. effectsg.Anchored = true
  642. effectsg.Size = Vector3.new(0.2,1,0.2)
  643. effectsg.Parent = bodyholder
  644. effectsmsh.Parent = effectsg
  645. effectsg.BrickColor = BrickColor.new(Color)
  646. effectsg.Reflectance = Ref
  647. local point1 = P1
  648. local mg = (LP.p - point1.p).magnitude
  649. effectsg.Size = Vector3.new(0.2,mg,0.2)
  650. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  651. coroutine.resume(coroutine.create(function()
  652. for i = 0 , 1 , 0.1 do
  653. wait()
  654. effectsg.Transparency = 1*i
  655. effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i)
  656. end
  657. wait()
  658. effectsg.Parent = nil
  659. end))
  660. end
  661. --
  662.  
  663.  
  664. con,con2,con3 = nil,nil,nil
  665. conn,conn2,conn3 = nil,nil,nil
  666.  
  667. function dmg1cnnct()
  668. if con ~= nil then
  669. con:disconnect()
  670. Hitdeb = 0
  671. end
  672. con = prt4.Touched:connect(OT)
  673. con2 = prt5.Touched:connect(OT)
  674. end
  675.  
  676. function dmg1dc()
  677. if con ~= nil then
  678. con:disconnect()
  679. Hitdeb = 0
  680. end
  681. if con2 ~= nil then
  682. con2:disconnect()
  683. Hitdeb = 0
  684. end
  685. end
  686.  
  687. function dmg2cnnct()
  688. if con ~= nil then
  689. con:disconnect()
  690. Hitdeb = 0
  691. end
  692. conn = prt14.Touched:connect(OT2)
  693. conn2 = prt15.Touched:connect(OT2)
  694. conn3 = prt16.Touched:connect(OT2)
  695. end
  696.  
  697. function dmg2dc()
  698. if conn ~= nil then
  699. conn:disconnect()
  700. Hitdeb2 = 0
  701. end
  702. if conn2 ~= nil then
  703. conn2:disconnect()
  704. Hitdeb2 = 0
  705. end
  706. if conn3 ~= nil then
  707. conn3:disconnect()
  708. Hitdeb2 = 0
  709. end
  710. end
  711.  
  712. function rptddmg(value,des,inc)
  713. coroutine.resume(coroutine.create(function()
  714. repeat
  715. wait(inc)
  716. Hitdeb = 0
  717. until value == des
  718. end))
  719. end
  720.  
  721. function atktype(s,e)
  722. coroutine.resume(coroutine.create(function ()
  723. attacktype = e
  724. wait(0.25)
  725. attacktype = s
  726. end))
  727. end
  728.  
  729. walking = false
  730. jumping = false
  731. Target = nil
  732.  
  733. function Walk()
  734. if walking then return end
  735. end
  736.  
  737. function Jump()
  738. if jumping then return end
  739. jumping = true
  740. local vel = Instance.new("BodyVelocity",Torso)
  741. vel.maxForce = Vector3.new(0,1,0) * math.huge
  742. vel.P = vel.P * 5
  743. vel.velocity = Vector3.new(0,jump,0)
  744. coroutine.resume(coroutine.create(function()
  745. wait() wait() wait() wait()
  746. vel.Parent=nil
  747. end))
  748. for i = 0.1 , 1 , 0.1 do
  749. wait()
  750. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-20+200*i), 0, math.rad(0))
  751. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  752. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20+200*i), 0, math.rad(0))
  753. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  754. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10*i), 0, math.rad(0))
  755. RWL.C1 = CFrame.new(0.5, 1, 0)
  756. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-10*i), 0, math.rad(0))
  757. LWL.C1 = CFrame.new(-0.5, 1, 0)
  758. end
  759. wait(1)
  760. for i = 0.1 , 1 , 0.1 do
  761. wait()
  762. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(180-200*i), 0, math.rad(0))
  763. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  764. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(180-200*i), 0, math.rad(0))
  765. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  766. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10+10*i), 0, math.rad(0))
  767. RWL.C1 = CFrame.new(0.5, 1, 0)
  768. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-10+10*i), 0, math.rad(0))
  769. LWL.C1 = CFrame.new(-0.5, 1, 0)
  770. end
  771. jumping = false
  772. end
  773.  
  774. function returnwelds()
  775. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  776. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  777. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  778. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  779. end
  780. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  781. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  782. end
  783. function Laser(Part,Dmg)
  784. sp = Part.Position
  785. dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,0)
  786. local hit,pos = rayCast(sp,dirr.lookVector,500,Character)
  787. local las=Instance.new("Part",Character)
  788. las.Anchored=true
  789. las.Locked=true
  790. las.CanCollide=false
  791. las.TopSurface=0
  792. las.BottomSurface=0
  793. las.FormFactor = "Custom"
  794. las.BrickColor=BrickColor.new("Bright red")
  795. las.Size=Vector3.new(1,1,1)
  796. las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  797. local msh=Instance.new("SpecialMesh",las)
  798. mag = (Part.Position-pos).magnitude
  799. msh.Scale=Vector3.new(0.1,mag,0.1)
  800. coroutine.resume(coroutine.create(function(Part,Mesh)
  801. for i = 0,1,0.1 do
  802. wait()
  803. Part.Transparency = Part.Transparency + 0.1
  804. Mesh.Scale = Mesh.Scale + Vector3.new(0.15,0.7,0.15)
  805. end
  806. Part.Parent = nil
  807. end),las,msh)
  808. local las=Instance.new("Part",Character)
  809. las.Anchored=true
  810. las.Locked=true
  811. las.CanCollide=false
  812. las.TopSurface=0
  813. las.BottomSurface=0
  814. las.FormFactor = "Custom"
  815. las.BrickColor=BrickColor.new("Really black")
  816. las.Size=Vector3.new(1,1,1)
  817. las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  818. local msh=Instance.new("SpecialMesh",las)
  819. mag = (Part.Position-pos).magnitude
  820. msh.Scale=Vector3.new(0.1,mag,0.1)
  821. coroutine.resume(coroutine.create(function(Part,Mesh)
  822. for i = 0,1,0.1 do
  823. wait()
  824. Part.Transparency = Part.Transparency + 0.1
  825. Mesh.Scale = Mesh.Scale + Vector3.new(-0.05,0.7,-0.05)
  826. end
  827. Part.Parent = nil
  828. end),las,msh)
  829. if pos ~= nil then
  830. local las2=Instance.new("Part",Character)
  831. las2.Anchored=true
  832. las2.Locked=true
  833. las2.CanCollide=false
  834. las2.TopSurface=0
  835. las2.BottomSurface=0
  836. las2.FormFactor = "Custom"
  837. las2.BrickColor=BrickColor.new("Bright red")
  838. las2.Size=Vector3.new(1,1,1)
  839. --las2.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  840. las2.CFrame=CFrame.new(pos) *CFrame.Angles(math.rad(90),0,0)
  841. local msh=Instance.new("BlockMesh",las2)
  842. mag = (Part.Position-pos).magnitude
  843. msh.Scale=Vector3.new(0.1,0.1,0.1)
  844. coroutine.resume(coroutine.create(function(Part,Mesh)
  845. --wait(10)
  846. for i = 0,1,0.1 do
  847. wait()
  848. Part.Transparency = Part.Transparency + 0.1
  849. Mesh.Scale = Mesh.Scale + Vector3.new(0.5,0,0.5)
  850. end
  851. Part.Parent = nil
  852. end),las2,msh)
  853. end
  854. if hit ~= nil and pos ~= nil then
  855. if hit.Parent.className == "Hat" then
  856. if(hit.Parent.Parent:findFirstChild("Humanoid")~= nil)then
  857. if hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Parent.Name ~= Character.Name then
  858. hit.Parent.Parent.Humanoid:TakeDamage(Dmg)
  859. end
  860. end
  861. end
  862. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  863. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Character.Name then
  864. hit.Parent.Humanoid:TakeDamage(Dmg)
  865. end
  866. end
  867. --[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then
  868. hit.Parent.Humanoid:TakeDamage(Dmg)
  869. end]]--
  870. end
  871. end
  872. function onehit()
  873. attack = true
  874. comboing = true
  875. for i = 0,1,0.1 do
  876. wait()
  877. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  878. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  879. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  880. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  881. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  882. w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  883. w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  884. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  885. w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  886. w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  887. w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  888. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  889. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  890. end
  891. wait(0.1)
  892. gairo.Parent = Head
  893. gairo.cframe = Head.CFrame
  894. for i = 0,1,0.1 do
  895. wait()
  896. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180)+1*i,0)
  897. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5*i)
  898. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  899. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  900. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  901. --[[w1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  902. w2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  903. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) ]]
  904. w4.C0 = CFrame.new(1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,2.355-0.785*i)
  905. w5.C0 = CFrame.new(-0.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,3.14-1.57*i)
  906. --[[w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  907. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  908. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) ]]
  909. end
  910. wait(0.1)
  911. combo = 1
  912. Laser(prt4,math.random(20,40))
  913. Laser(prt5,math.random(20,40))
  914. attack = false
  915. end
  916. function twohit()
  917. attack = true
  918. for i = 0,1,0.1 do
  919. wait()
  920. w4.C0 = CFrame.new(1.3-1.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,2.355-0.785+0.785*i)
  921. w5.C0 = CFrame.new(-0.3+0.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,3.14-1.57+1.57*i)
  922. w6.C0 = CFrame.new(0.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,3.925+0.785*i)
  923. w7.C0 = CFrame.new(-1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,4.71)
  924. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180)+1-2*i,0)
  925. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5-0.5*i)
  926. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  927. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5*i)
  928. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  929. end
  930. wait(0.1)
  931. Laser(prt6,math.random(20,40))
  932. Laser(prt7,math.random(20,40))
  933. wait(0.1)
  934. attack = false
  935. combo = 2
  936. end
  937. function threehit()
  938. attack = true
  939. for i = 0,1,0.1 do
  940. wait()
  941. w6.C0 = CFrame.new(0.3-0.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,3.925+0.785-0.785*i)
  942. w7.C0 = CFrame.new(-1.3+1.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,4.71)
  943. w8.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,5.495-5.495*i)
  944. w1.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  945. w2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,0.785-0.785*i)
  946. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180)+1-2+1*i,0)
  947. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  948. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  949. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5-1.27*i)
  950. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  951. end
  952. wait(0.1)
  953. Laser(prt8,math.random(20,40))
  954. Laser(prt1,math.random(20,40))
  955. Laser(prt2,math.random(20,40))
  956. wait(0.1)
  957. attack = false
  958. combo = 3
  959. end
  960. function fourhit()
  961. attack = true
  962. for i = 0,1,0.1 do
  963. wait()
  964. w8.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0.5*i,5.495-5.495+5.495*i)
  965. w1.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28)
  966. w2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,-0.5*i,0.785-0.785+0.785*i)
  967. w3.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5*i)
  968. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180)+math.rad(90)*i,0)
  969. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,0.2-1.77*i)
  970. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  971. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,1.57-0.5-1.27+1*i)
  972. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  973. end
  974. wait(0.1)
  975. for i = 0,1,0.1 do
  976. wait()
  977. w3.C0 = CFrame.new(0,1.6+3,-1+1) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5-0.8*i)
  978. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(270),0)
  979. LW.C0 = CFrame.new(-1.5+0.5-0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1.57,0,0.2-1.77)
  980. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0)
  981. RW.C0 = CFrame.new(1.5-0.5+0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1.57-1.57,0,1.57-0.5-1.27+1)
  982. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  983. Laser(prt3,math.random(5,15))
  984. end
  985. wait(0.1)
  986. attack = false
  987. combo = 0
  988. end
  989. function LaserWave()
  990. attack = true
  991. for i = 0,1,0.1 do
  992. wait()
  993. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  994. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  995. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  996. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  997. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  998. w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  999. w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1000. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1001. w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1002. w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1003. w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1004. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1005. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1006. end
  1007. wait(0.1)
  1008. for i = 0,1,0.1 do
  1009. wait()
  1010. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  1011. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1012. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  1013. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1014. w1.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  1015. w3.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57)
  1016. w5.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14)
  1017. w7.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71)
  1018. end
  1019. Laser(prt1,math.random(10,20))
  1020. Laser(prt3,math.random(10,20))
  1021. Laser(prt5,math.random(10,20))
  1022. Laser(prt7,math.random(10,20))
  1023. wait(0.1)
  1024. for i = 0,1,0.1 do
  1025. wait()
  1026. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i)
  1027. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1028. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i)
  1029. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1030. w1.C0 = CFrame.new(0.5-0.5*i,1.6+3,-1+1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28)
  1031. w3.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57)
  1032. w5.C0 = CFrame.new(0.5-0.5*i,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14)
  1033. w7.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71)
  1034. end
  1035. for i = 0,1,0.1 do
  1036. wait()
  1037. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  1038. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1039. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  1040. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1041. w2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.97*i,0,0.785-0.785*i)
  1042. w4.C0 = CFrame.new(0,1.6+3,-1+1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77*i,0,2.355-2.355*i)
  1043. w6.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i)
  1044. w8.C0 = CFrame.new(0,1.6+3,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37*i,0,5.495-5.495*i)
  1045. end
  1046. Laser(prt2,math.random(10,20))
  1047. Laser(prt4,math.random(10,20))
  1048. Laser(prt6,math.random(10,20))
  1049. Laser(prt8,math.random(10,20))
  1050. wait(0.1)
  1051. for i = 0,1,0.1 do
  1052. wait()
  1053. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i)
  1054. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1055. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i)
  1056. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1057. w2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.97+1.97*i,0,-0.785*i)
  1058. w4.C0 = CFrame.new(0,1.6+3,-1+1.5-1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77+1.77*i,0,-2.355*i)
  1059. w6.C0 = CFrame.new(0,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,-3.925*i)
  1060. w8.C0 = CFrame.new(0,1.6+3,-1+0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37+1.37*i,0,-5.495*i)
  1061. end
  1062. wait(0.1)
  1063. attack = false
  1064. end
  1065. function OverBlast()
  1066. attack = true
  1067. for i = 0,1,0.1 do
  1068. wait()
  1069. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1070. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1071. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1072. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1073. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1074. w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1075. w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1076. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1077. w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1078. w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1079. w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1080. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1081. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1082. end
  1083. for i = 0,1.05,0.05 do
  1084. wait()
  1085. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1086. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  1087. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1088. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  1089. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1090. w1.C0 = CFrame.new(-1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,6.28)
  1091. w2.C0 = CFrame.new(-1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.3*i,0.785+5.495*i)
  1092. w3.C0 = CFrame.new(1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.3*i,1.57+4.71*i)
  1093. w4.C0 = CFrame.new(1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,2.355+3.925*i)
  1094. w5.C0 = CFrame.new(-1.1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.1*i,3.14-3.14*i)
  1095. w6.C0 = CFrame.new(-0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i)
  1096. w7.C0 = CFrame.new(0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0,4.71-4.71*i)
  1097. w8.C0 = CFrame.new(1.1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.1*i,5.495-5.495*i)
  1098. end
  1099. Laser(prt1,math.random(5,15))
  1100. Laser(prt2,math.random(5,15))
  1101. Laser(prt3,math.random(5,15))
  1102. Laser(prt4,math.random(5,15))
  1103. Laser(prt5,math.random(5,15))
  1104. Laser(prt6,math.random(5,15))
  1105. Laser(prt7,math.random(5,15))
  1106. Laser(prt8,math.random(5,15))
  1107. wait(0.2)
  1108. for i = 0,1.05,0.05 do
  1109. wait()
  1110. w1.C0 = CFrame.new(-1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.5-0.5*i,6.28)
  1111. w2.C0 = CFrame.new(-1+0.5*i,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.3-0.3*i,0.785+5.495)
  1112. w3.C0 = CFrame.new(1-0.5*i,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.3+0.3*i,1.57+4.71)
  1113. w4.C0 = CFrame.new(1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.5+0.5*i,2.355+3.925)
  1114. w5.C0 = CFrame.new(-1.1-0.4*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.1-0.1*i,3.14-3.14)
  1115. w6.C0 = CFrame.new(-0.6+0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,3.925-3.925)
  1116. w7.C0 = CFrame.new(0.6-0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,4.71-4.71)
  1117. w8.C0 = CFrame.new(1.1+0.4*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.1+0.1*i,5.495-5.495)
  1118. end
  1119. Laser(prt1,math.random(5,15))
  1120. Laser(prt2,math.random(5,15))
  1121. Laser(prt3,math.random(5,15))
  1122. Laser(prt4,math.random(5,15))
  1123. Laser(prt5,math.random(5,15))
  1124. Laser(prt6,math.random(5,15))
  1125. Laser(prt7,math.random(5,15))
  1126. Laser(prt8,math.random(5,15))
  1127. wait(0.5)
  1128. attack = false
  1129. end
  1130. function SpinBeam()
  1131. attack = true
  1132. for i = 0,1,0.1 do
  1133. wait()
  1134. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1135. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1136. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1137. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1138. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1139. w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1140. w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1141. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1142. w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1143. w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1144. w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1145. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1146. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1147. end
  1148. for i = 0,1,0.1 do
  1149. wait()
  1150. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1151. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1152. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1153. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1154. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1155. w1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1156. w2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1157. w3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1158. w4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1159. w5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1160. w6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1161. w7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1162. w8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1163. end
  1164. gairo.Parent = Head
  1165. gairo.cframe = Head.CFrame
  1166. CF = Torso.CFrame
  1167. for i = 0,1,0.1 do
  1168. wait(0.1)
  1169. gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  1170. Laser(prt3,math.random(10,20))
  1171. Laser(prt7,math.random(10,20))
  1172. end
  1173. wait(0.2)
  1174. gairo.Parent = nil
  1175. attack = false
  1176. end
  1177. function LaserBarrage()
  1178. attack = true
  1179. for i = 0,1,0.1 do
  1180. wait()
  1181. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1182. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1183. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1184. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1185. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1186. w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1187. w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1188. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1189. w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1190. w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1191. w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1192. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1193. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1194. end
  1195. for i = 0,1,0.2 do
  1196. wait()
  1197. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1198. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i)
  1199. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1200. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,1.57-1.77*i)
  1201. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1202. w1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  1203. end
  1204. Laser(prt1,math.random(10,20))
  1205. for i = 0,1,0.2 do
  1206. wait()
  1207. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1208. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,-1.57+1.77-1.77*i)
  1209. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1210. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,1.57-1.77-1.77*i)
  1211. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1212. w1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28)
  1213. end
  1214. for i = 0,1,0.2 do
  1215. wait()
  1216. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1217. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i)
  1218. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1219. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1220. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1221. w2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,0.785)
  1222. end
  1223. Laser(prt2,math.random(10,20))
  1224. for i = 0,1,0.2 do
  1225. wait()
  1226. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1227. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,-1.57+1.77-1.77*i)
  1228. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1229. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1230. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1231. w2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,0.785)
  1232. end
  1233. for i = 0,1,0.2 do
  1234. wait()
  1235. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1236. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3*i,0,-1.57+1.77*i)
  1237. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1238. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1239. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1240. w3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57)
  1241. end
  1242. Laser(prt3,math.random(10,20))
  1243. for i = 0,1,0.2 do
  1244. wait()
  1245. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1246. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3+0.3*i,0,-1.57+1.77-1.77*i)
  1247. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1248. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1249. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1250. w3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57)
  1251. end
  1252. for i = 0,1,0.2 do
  1253. wait()
  1254. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1255. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,-1.57+1.77*i)
  1256. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1257. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1258. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1259. w4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,2.355)
  1260. end
  1261. Laser(prt4,math.random(10,20))
  1262. for i = 0,1,0.2 do
  1263. wait()
  1264. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1265. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,-1.57+1.77-1.77*i)
  1266. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1267. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1268. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1269. w4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,2.355)
  1270. end
  1271. for i = 0,1,0.2 do
  1272. wait()
  1273. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1274. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,-1.57+1.77*i)
  1275. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1276. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i)
  1277. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1278. w5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14)
  1279. end
  1280. Laser(prt5,math.random(10,20))
  1281. for i = 0,1,0.2 do
  1282. wait()
  1283. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1284. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,-1.57+1.77-1.77*i)
  1285. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1286. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57-1.77+1.77*i)
  1287. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1288. w5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14)
  1289. end
  1290. for i = 0,1,0.2 do
  1291. wait()
  1292. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1293. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1294. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1295. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i)
  1296. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1297. w6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925)
  1298. end
  1299. Laser(prt6,math.random(10,20))
  1300. for i = 0,1,0.2 do
  1301. wait()
  1302. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1303. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1304. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1305. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57-1.77+1.77*i)
  1306. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1307. w6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.925)
  1308. end
  1309. for i = 0,1,0.2 do
  1310. wait()
  1311. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1312. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1313. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1314. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i)
  1315. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1316. w7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71)
  1317. end
  1318. Laser(prt7,math.random(10,20))
  1319. for i = 0,1,0.2 do
  1320. wait()
  1321. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1322. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1323. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1324. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,1.57-1.77+1.77*i)
  1325. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1326. w7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71)
  1327. end
  1328. for i = 0,1,0.2 do
  1329. wait()
  1330. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1331. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1332. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1333. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i)
  1334. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1335. w8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,5.495)
  1336. end
  1337. Laser(prt8,math.random(10,20))
  1338. for i = 0,1,0.2 do
  1339. wait()
  1340. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1341. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1342. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1343. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,1.57-1.77+1.77*i)
  1344. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1345. w8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,5.495)
  1346. end
  1347. wait(0.5)
  1348. attack = false
  1349. end
  1350. function CloseRangedFire()
  1351. attack = true
  1352. for i = 0,1,0.1 do
  1353. wait()
  1354. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1355. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1356. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1357. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1358. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1359. w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1360. w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1361. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1362. w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1363. w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1364. w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1365. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1366. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1367. end
  1368. for i = 0,1,0.1 do
  1369. wait()
  1370. w1.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,6.28)
  1371. w2.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,0.785)
  1372. w3.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,1.57)
  1373. w4.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,2.355)
  1374. w5.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.14)
  1375. w6.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.925)
  1376. w7.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,4.71)
  1377. w8.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,5.495)
  1378. end
  1379. Laser(prt1,math.random(5,10))
  1380. Laser(prt2,math.random(5,10))
  1381. Laser(prt3,math.random(5,10))
  1382. Laser(prt4,math.random(5,10))
  1383. Laser(prt5,math.random(5,10))
  1384. Laser(prt6,math.random(5,10))
  1385. Laser(prt7,math.random(5,10))
  1386. Laser(prt8,math.random(5,10))
  1387. wait(1)
  1388. attack = false
  1389. end
  1390. function SpinLaser()
  1391. attack = true
  1392. for i = 0,1,0.1 do
  1393. wait()
  1394. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1395. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1396. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1397. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1398. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1399. w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1400. w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1401. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1402. w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1403. w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1404. w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1405. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1406. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1407. end
  1408. for i = 0,1,0.1 do
  1409. wait()
  1410. w1.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i)
  1411. w2.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i)
  1412. w3.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i)
  1413. w4.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i)
  1414. w5.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i)
  1415. w6.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i)
  1416. w7.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i)
  1417. w8.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i)
  1418. end
  1419. Laser(prt1,math.random(10,20))
  1420. Laser(prt2,math.random(10,20))
  1421. Laser(prt3,math.random(10,20))
  1422. Laser(prt4,math.random(10,20))
  1423. Laser(prt5,math.random(10,20))
  1424. Laser(prt6,math.random(10,20))
  1425. Laser(prt7,math.random(10,20))
  1426. Laser(prt8,math.random(10,20))
  1427. for i = 0,1,0.1 do
  1428. wait()
  1429. w1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28)
  1430. w2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785)
  1431. w3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57)
  1432. w4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355)
  1433. w5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14)
  1434. w6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925)
  1435. w7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71)
  1436. w8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495)
  1437. end
  1438. Laser(prt1,math.random(10,20))
  1439. Laser(prt2,math.random(10,20))
  1440. Laser(prt3,math.random(10,20))
  1441. Laser(prt4,math.random(10,20))
  1442. Laser(prt5,math.random(10,20))
  1443. Laser(prt6,math.random(10,20))
  1444. Laser(prt7,math.random(10,20))
  1445. Laser(prt8,math.random(10,20))
  1446. for i = 0,1,0.1 do
  1447. wait()
  1448. w1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5+0.5*i,6.28-6.28)
  1449. w2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5+0.5*i,0.785-0.785)
  1450. w3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5+0.5*i,1.57-1.57)
  1451. w4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5+0.5*i,2.355-2.355)
  1452. w5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5+0.5*i,3.14-3.14)
  1453. w6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5+0.5*i,3.925-3.925)
  1454. w7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5+0.5*i,4.71-4.71)
  1455. w8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5+0.5*i,5.495-5.495)
  1456. end
  1457. Laser(prt1,math.random(10,20))
  1458. Laser(prt2,math.random(10,20))
  1459. Laser(prt3,math.random(10,20))
  1460. Laser(prt4,math.random(10,20))
  1461. Laser(prt5,math.random(10,20))
  1462. Laser(prt6,math.random(10,20))
  1463. Laser(prt7,math.random(10,20))
  1464. Laser(prt8,math.random(10,20))
  1465. wait(1)
  1466. attack = false
  1467. end
  1468. function Implosion()
  1469. attack = true
  1470. for i = 0,1,0.1 do
  1471. wait()
  1472. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1473. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1474. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1475. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1476. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1477. w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1478. w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1479. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1480. w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1481. w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1482. w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1483. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1484. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1485. end
  1486. for i = 0,1,0.1 do
  1487. wait()
  1488. w1.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i)
  1489. w2.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i)
  1490. w3.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i)
  1491. w4.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i)
  1492. w5.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i)
  1493. w6.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i)
  1494. w7.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i)
  1495. w8.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i)
  1496. end
  1497. Laser(prt1,math.random(5,10))
  1498. Laser(prt2,math.random(5,10))
  1499. Laser(prt3,math.random(5,10))
  1500. Laser(prt4,math.random(5,10))
  1501. Laser(prt5,math.random(5,10))
  1502. Laser(prt6,math.random(5,10))
  1503. Laser(prt7,math.random(5,10))
  1504. Laser(prt8,math.random(5,10))
  1505. for i = 0,1,0.1 do
  1506. wait()
  1507. w1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28)
  1508. w2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785)
  1509. w3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57)
  1510. w4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355)
  1511. w5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14)
  1512. w6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925)
  1513. w7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71)
  1514. w8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495)
  1515. end
  1516. Laser(prt1,math.random(5,10))
  1517. Laser(prt2,math.random(5,10))
  1518. Laser(prt3,math.random(5,10))
  1519. Laser(prt4,math.random(5,10))
  1520. Laser(prt5,math.random(5,10))
  1521. Laser(prt6,math.random(5,10))
  1522. Laser(prt7,math.random(5,10))
  1523. Laser(prt8,math.random(5,10))
  1524. for i = 0,1,0.1 do
  1525. wait()
  1526. w1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0+0.5,6.28-6.28)
  1527. w2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0.785+0.5,0.785-0.785)
  1528. w3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,1.57+0.5,1.57-1.57)
  1529. w4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,2.355+0.5,2.355-2.355)
  1530. w5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.14+0.5,3.14-3.14)
  1531. w6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.925+0.5,3.925-3.925)
  1532. w7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,4.71+0.5,4.71-4.71)
  1533. w8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,5.495+0.5,5.495-5.495)
  1534. end
  1535. Laser(prt1,math.random(5,10))
  1536. Laser(prt2,math.random(5,10))
  1537. Laser(prt3,math.random(5,10))
  1538. Laser(prt4,math.random(5,10))
  1539. Laser(prt5,math.random(5,10))
  1540. Laser(prt6,math.random(5,10))
  1541. Laser(prt7,math.random(5,10))
  1542. Laser(prt8,math.random(5,10))
  1543. wait(1)
  1544. attack = false
  1545. end
  1546. function LaserPillars()
  1547. attack = true
  1548. for i = 0,1,0.1 do
  1549. wait()
  1550. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1551. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1552. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1553. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1554. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1555. w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1556. w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1557. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1558. w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1559. w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1560. w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1561. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1562. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1563. end
  1564. for i = 0,1,0.1 do
  1565. wait()
  1566. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1567. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1568. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1569. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1570. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1571. w1.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0,6.28-6.28*i)
  1572. w2.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0.785*i,0.785-0.785*i)
  1573. w3.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,1.57*i,1.57-1.57*i)
  1574. w4.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,2.355*i,2.355-2.355*i)
  1575. w5.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.14*i,3.14-3.14*i)
  1576. w6.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.925*i,3.925-3.925*i)
  1577. w7.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,4.71*i,4.71-4.71*i)
  1578. w8.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,5.495*i,5.495-5.495*i)
  1579. end
  1580. Laser(prt1,math.random(20,40))
  1581. Laser(prt2,math.random(20,40))
  1582. Laser(prt3,math.random(20,40))
  1583. Laser(prt4,math.random(20,40))
  1584. Laser(prt5,math.random(20,40))
  1585. Laser(prt6,math.random(20,40))
  1586. Laser(prt7,math.random(20,40))
  1587. Laser(prt8,math.random(20,40))
  1588. hur = 0
  1589. for i = 0,1,0.1 do
  1590. wait(0.1)
  1591. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1592. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1593. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1594. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1595. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1596. w1.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0+2.5*i,6.28-6.28)
  1597. w2.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0.785+2.5*i,0.785-0.785)
  1598. w3.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,1.57+2.5*i,1.57-1.57)
  1599. w4.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,2.355+2.5*i,2.355-2.355)
  1600. w5.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.14+2.5*i,3.14-3.14)
  1601. w6.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.925+2.5*i,3.925-3.925)
  1602. w7.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,4.71+2.5*i,4.71-4.71)
  1603. w8.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,5.495+2.5*i,5.495-5.495)
  1604. if hur == 1 then
  1605. Laser(prt1,math.random(20,40))
  1606. Laser(prt2,math.random(20,40))
  1607. Laser(prt3,math.random(20,40))
  1608. Laser(prt4,math.random(20,40))
  1609. Laser(prt5,math.random(20,40))
  1610. Laser(prt6,math.random(20,40))
  1611. Laser(prt7,math.random(20,40))
  1612. Laser(prt8,math.random(20,40))
  1613. hur = 0
  1614. end
  1615. hur = hur + 1
  1616. end
  1617. wait(1)
  1618. attack = false
  1619. end
  1620. function DodgeTheLaser()
  1621. attack = true
  1622. for i = 0,1,0.1 do
  1623. wait()
  1624. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1625. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1626. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1627. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1628. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1629. w1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1630. w2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1631. w3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1632. w4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1633. w5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1634. w6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1635. w7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1636. w8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1637. end
  1638. for i = 0,1,0.1 do
  1639. wait()
  1640. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1641. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1642. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1643. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1644. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1645. w1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1646. w2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1647. w3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1648. w4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1649. w5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1650. w6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1651. w7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1652. w8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1653. end
  1654. game:GetService("Chat"):Chat(Head,"DODGE THIS!",2)
  1655. gairo.Parent = Head
  1656. gairo.cframe = Head.CFrame
  1657. CF = Torso.CFrame
  1658. for i = 0,1,0.01 do
  1659. wait(0.1)
  1660. gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  1661. Laser(prt3,math.random(10,20))
  1662. Laser(prt7,math.random(10,20))
  1663. end
  1664. wait()
  1665. gairo.Parent = nil
  1666. attack = false
  1667. end
  1668. function Attackk(mag)
  1669. if attack then return end
  1670. if mag <= 100 then
  1671. local rndm = math.random(1,10)
  1672. if rndm == 1 then
  1673. coroutine.resume(coroutine.create(function()
  1674. if combo == 0 and comboing == false then
  1675. onehit()
  1676. elseif combo == 1 then
  1677. twohit()
  1678. elseif combo == 2 then
  1679. threehit()
  1680. elseif combo == 3 then
  1681. fourhit()
  1682. gairo.Parent = nil
  1683. Neck.C0=necko*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),0)
  1684. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1685. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1686. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1687. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1688. wait(1)
  1689. comboing = false
  1690. end
  1691. end))
  1692. elseif rndm == 2 and combo == 0 and timer >= 40 then
  1693. coroutine.resume(coroutine.create(function()
  1694. LaserWave()
  1695. end))
  1696. elseif rndm == 3 and combo == 0 and timer >= 60 then
  1697. coroutine.resume(coroutine.create(function()
  1698. OverBlast()
  1699. end))
  1700. elseif rndm == 4 and combo == 0 and timer >= 90 then
  1701. coroutine.resume(coroutine.create(function()
  1702. SpinBeam()
  1703. end))
  1704. elseif rndm == 5 and combo == 0 and timer >= 135 then
  1705. coroutine.resume(coroutine.create(function()
  1706. LaserBarrage()
  1707. end))
  1708. elseif rndm == 6 and combo == 0 and timer >= 202 then
  1709. coroutine.resume(coroutine.create(function()
  1710. CloseRangedFire()
  1711. end))
  1712. elseif rndm == 7 and combo == 0 and timer >= 303 then
  1713. coroutine.resume(coroutine.create(function()
  1714. SpinLaser()
  1715. end))
  1716. elseif rndm == 8 and combo == 0 and timer >= 454 then
  1717. coroutine.resume(coroutine.create(function()
  1718. Implosion()
  1719. end))
  1720. elseif rndm == 9 and combo == 0 and timer >= 681 then
  1721. coroutine.resume(coroutine.create(function()
  1722. LaserPillars()
  1723. end))
  1724. elseif rndm == 10 and combo == 0 and timer >= 1000 then
  1725. coroutine.resume(coroutine.create(function()
  1726. DodgeTheLaser()
  1727. end))
  1728. end
  1729. end
  1730. coroutine.resume(coroutine.create(function()
  1731. wait(1)
  1732. if clocker == 0 then
  1733. timer = timer + 1
  1734. elseif clocker == 1 then
  1735. timer = timer + 2
  1736. elseif clocker == 2 then
  1737. timer = timer + 3
  1738. elseif clocker == 3 then
  1739. timer = timer + 4
  1740. elseif clocker == 4 then
  1741. timer = timer + 5
  1742. elseif clocker == 5 then
  1743. timer = timer + 6
  1744. elseif clocker == 6 then
  1745. timer = timer + 7
  1746. elseif clocker == 7 then
  1747. timer = timer + 8
  1748. elseif clocker == 8 then
  1749. timer = timer + 9
  1750. elseif clocker == 9 then
  1751. timer = timer + 10
  1752. end
  1753. if Character.Humanoid.Health < Character.Humanoid.MaxHealth*9/10 and booster1 == false then
  1754. booster1 = true
  1755. clocker = clocker + 1
  1756. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2
  1757. local parchat = math.random(1,2)
  1758. if parchat == 1 then
  1759. game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2)
  1760. elseif parchat == 2 then
  1761. game:GetService("Chat"):Chat(Head,"Overclocking.",2)
  1762. end
  1763. end
  1764. if Character.Humanoid.Health < Character.Humanoid.MaxHealth*8/10 and booster2 == false then
  1765. booster2 = true
  1766. clocker = clocker + 1
  1767. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2
  1768. local parchat = math.random(1,2)
  1769. if parchat == 1 then
  1770. game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2)
  1771. elseif parchat == 2 then
  1772. game:GetService("Chat"):Chat(Head,"Overclocking.",2)
  1773. end
  1774. end
  1775. if Character.Humanoid.Health < Character.Humanoid.MaxHealth*7/10 and booster3 == false then
  1776. booster3 = true
  1777. clocker = clocker + 1
  1778. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2
  1779. local parchat = math.random(1,2)
  1780. if parchat == 1 then
  1781. game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2)
  1782. elseif parchat == 2 then
  1783. game:GetService("Chat"):Chat(Head,"Overclocking.",2)
  1784. end
  1785. end
  1786. if Character.Humanoid.Health < Character.Humanoid.MaxHealth*6/10 and booster4 == false then
  1787. booster4 = true
  1788. clocker = clocker + 1
  1789. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2
  1790. local parchat = math.random(1,2)
  1791. if parchat == 1 then
  1792. game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2)
  1793. elseif parchat == 2 then
  1794. game:GetService("Chat"):Chat(Head,"Overclocking.",2)
  1795. end
  1796. end
  1797. if Character.Humanoid.Health < Character.Humanoid.MaxHealth*5/10 and booster5 == false then
  1798. booster5 = true
  1799. clocker = clocker + 1
  1800. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2
  1801. local parchat = math.random(1,2)
  1802. if parchat == 1 then
  1803. game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2)
  1804. elseif parchat == 2 then
  1805. game:GetService("Chat"):Chat(Head,"Overclocking.",2)
  1806. end
  1807. end
  1808. if Character.Humanoid.Health < Character.Humanoid.MaxHealth*4/10 and booster6 == false then
  1809. booster6 = true
  1810. clocker = clocker + 1
  1811. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed * 2
  1812. local parchat = math.random(1,2)
  1813. if parchat == 1 then
  1814. game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2)
  1815. elseif parchat == 2 then
  1816. game:GetService("Chat"):Chat(Head,"Overclocking.",2)
  1817. end
  1818. end
  1819. if Character.Humanoid.Health < Character.Humanoid.MaxHealth*3/10 and booster7 == false then
  1820. booster7 = true
  1821. clocker = clocker + 1
  1822. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2
  1823. local parchat = math.random(1,2)
  1824. if parchat == 1 then
  1825. game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2)
  1826. elseif parchat == 2 then
  1827. game:GetService("Chat"):Chat(Head,"Overclocking.",2)
  1828. end
  1829. end
  1830. if Character.Humanoid.Health < Character.Humanoid.MaxHealth*2/10 and booster8 == false then
  1831. booster8 = true
  1832. clocker = clocker + 1
  1833. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2
  1834. local parchat = math.random(1,2)
  1835. if parchat == 1 then
  1836. game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2)
  1837. elseif parchat == 2 then
  1838. game:GetService("Chat"):Chat(Head,"Overclocking.",2)
  1839. end
  1840. end
  1841. if Character.Humanoid.Health < Character.Humanoid.MaxHealth*1/10 and booster9 == false then
  1842. booster9 = true
  1843. clocker = clocker + 1
  1844. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 2
  1845. local parchat = math.random(1,2)
  1846. if parchat == 1 then
  1847. game:GetService("Chat"):Chat(Head,"Increasing System Speed.",2)
  1848. elseif parchat == 2 then
  1849. game:GetService("Chat"):Chat(Head,"Overclocking.",2)
  1850. end
  1851. end
  1852. end))
  1853. if time1 == false and timer >= 40 then
  1854. time1 = true
  1855. local parchat = math.random(1,3)
  1856. if parchat == 1 then
  1857. game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2)
  1858. elseif parchat == 2 then
  1859. game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2)
  1860. elseif parchat == 3 then
  1861. game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2)
  1862. end
  1863. end
  1864. if time2 == false and timer >= 60 then
  1865. time2 = true
  1866. local parchat = math.random(1,3)
  1867. if parchat == 1 then
  1868. game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2)
  1869. elseif parchat == 2 then
  1870. game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2)
  1871. elseif parchat == 3 then
  1872. game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2)
  1873. end
  1874. end
  1875. if time3 == false and timer >= 90 then
  1876. time3 = true
  1877. local parchat = math.random(1,3)
  1878. if parchat == 1 then
  1879. game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2)
  1880. elseif parchat == 2 then
  1881. game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2)
  1882. elseif parchat == 3 then
  1883. game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2)
  1884. end
  1885. end
  1886. if time4 == false and timer >= 135 then
  1887. time4 = true
  1888. local parchat = math.random(1,3)
  1889. if parchat == 1 then
  1890. game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2)
  1891. elseif parchat == 2 then
  1892. game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2)
  1893. elseif parchat == 3 then
  1894. game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2)
  1895. end
  1896. end
  1897. if time5 == false and timer >= 202 then
  1898. time5 = true
  1899. local parchat = math.random(1,3)
  1900. if parchat == 1 then
  1901. game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2)
  1902. elseif parchat == 2 then
  1903. game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2)
  1904. elseif parchat == 3 then
  1905. game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2)
  1906. end
  1907. end
  1908. if time6 == false and timer >= 303 then
  1909. time6 = true
  1910. local parchat = math.random(1,3)
  1911. if parchat == 1 then
  1912. game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2)
  1913. elseif parchat == 2 then
  1914. game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2)
  1915. elseif parchat == 3 then
  1916. game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2)
  1917. end
  1918. end
  1919. if time7 == false and timer >= 454 then
  1920. time7 = true
  1921. local parchat = math.random(1,3)
  1922. if parchat == 1 then
  1923. game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2)
  1924. elseif parchat == 2 then
  1925. game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2)
  1926. elseif parchat == 3 then
  1927. game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2)
  1928. end
  1929. end
  1930. if time8 == false and timer >= 681 then
  1931. time8 = true
  1932. local parchat = math.random(1,3)
  1933. if parchat == 1 then
  1934. game:GetService("Chat"):Chat(Head,"Ajusting Parameters.",2)
  1935. elseif parchat == 2 then
  1936. game:GetService("Chat"):Chat(Head,"Modifying Battle Program.",2)
  1937. elseif parchat == 3 then
  1938. game:GetService("Chat"):Chat(Head,"Gaining new Attacking Software.",2)
  1939. end
  1940. end
  1941. if time9 == false and timer >= 1000 then
  1942. time9 = true
  1943. local parchat = math.random(1,1)
  1944. if parchat == 1 then
  1945. game:GetService("Chat"):Chat(Head,"Overdrive Attack Enabaled.",2)
  1946. end
  1947. end
  1948. end
  1949. local BG = Instance.new("BodyGyro",Torso)
  1950. BG.cframe = Torso.CFrame
  1951. BG.maxTorque = Vector3.new(0, math.huge,0)
  1952. BGSpin = 0
  1953.  
  1954. function FindTarget()
  1955. local c = game.Workspace:GetChildren();
  1956. local nearestmag = 1500
  1957. local nearestprsn = nil
  1958. for i = 1, #c do
  1959. local hum = c[i]:findFirstChild("Humanoid")
  1960. if hum ~= nil and hum.Health ~= 0 then
  1961. local head = c[i]:findFirstChild("Head");
  1962. if head ~= nil then
  1963. local mag = (head.Position - Torso.Position).magnitude;
  1964. if mag <= 1500 and c[i].Name ~= Character.Name then
  1965. if mag < nearestmag then
  1966. nearestmag = mag
  1967. nearestprsn = c[i]
  1968. end
  1969. end
  1970. end
  1971. end
  1972. end
  1973. Target = nearestprsn
  1974. end
  1975.  
  1976.  
  1977.  
  1978.  
  1979. local Humanoid = Instance.new("Humanoid",bodyholder)
  1980. Humanoid.MaxHealth = HP
  1981.  
  1982. equipanim()
  1983. wait(1)
  1984. bodyholder:MakeJoints()
  1985. Humanoid.Health = HP
  1986. Humanoid.WalkSpeed = WS
  1987. wait(1)
  1988. bodyholder.Torso.CFrame = CFrame.new(SpawnPos.Value)
  1989. Humanoid.Health = HP
  1990. script.Parent = Character
  1991.  
  1992.  
  1993.  
  1994. repeat
  1995. wait(0.1)
  1996. FindTarget()
  1997. if Target ~= nil then
  1998. BG.cframe = CFrame.new(Torso.Position,Target.Torso.Position) * CFrame.Angles(0,math.rad(BGSpin),0)
  1999. local mag = (Torso.Position-Target.Torso.Position).magnitude
  2000. if mag <= 400 then
  2001. Attackk(mag)
  2002. end
  2003. --
  2004. pcall(function()
  2005. Humanoid:MoveTo(Target.Torso.Position + CFrame.new(Torso.Position,Target.Torso.Position).lookVector * -25,Target.Torso)
  2006. end)
  2007. if Target.Torso.Position.y > Torso.Position.y+5 then
  2008. coroutine.resume(coroutine.create(Jump))
  2009. end
  2010. --
  2011. else
  2012. BG.cframe = Torso.cframe
  2013. Humanoid:MoveTo(Torso.Position,Torso)
  2014. end
  2015. if true then
  2016. if (Torso.Velocity * Vector3.new(1,0,1)).magnitude > 2 then
  2017. coroutine.resume(coroutine.create(Walk))
  2018. walking = true
  2019. elseif (Torso.Velocity * Vector3.new(1,0,1)).magnitude < 2 then
  2020. walking = false
  2021. end
  2022. else
  2023. walking = false
  2024. end
  2025. until Humanoid.Health <= 0
  2026. wait(5)
  2027. Character.Parent = nil
  2028. --mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement