Advertisement
memberhero

Harute

Jan 27th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.00 KB | None | 0 0
  1. --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and put your name where it says "YOUR NAME HERE"
  2.  
  3. Player = game.Players.LocalPlayer
  4. Character = Player.Character
  5. PlayerGui = Player.PlayerGui
  6. Backpack = Player.Backpack
  7. Torso = Character.Torso
  8. Head = Character.Head
  9. LeftArm = Character["Left Arm"]
  10. LeftLeg = Character["Left Leg"]
  11. RightArm = Character["Right Arm"]
  12. RightLeg = Character["Right Leg"]
  13. LS = Torso["Left Shoulder"]
  14. LH = Torso["Left Hip"]
  15. RS = Torso["Right Shoulder"]
  16. RH = Torso["Right Hip"]
  17. attack = false
  18. attackdebounce = false
  19. combo = 0
  20. mana = 800
  21. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  22. comboing = false
  23. --player
  24. player = nil
  25. --save shoulders
  26. RSH, LSH = nil, nil
  27. --welds
  28. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  29. --what anim
  30. anim = "none"
  31. if Character:findFirstChild("Harute",true) ~= nil then
  32. Character:findFirstChild("Harute",true).Parent = nil
  33. end
  34. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  35. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  36. end
  37. local modelzorz = Instance.new("Model")
  38. modelzorz.Name = "Harute"
  39. modelzorz.Parent = Character
  40. local prt1 = Instance.new("Part")
  41. prt1.formFactor = 1
  42. prt1.Parent = modelzorz
  43. prt1.CanCollide = false
  44. prt1.BrickColor = BrickColor.new("Really black")
  45. prt1.Name = "Part1"
  46. prt1.Transparency = 0.4
  47. prt1.Size = Vector3.new(1,1,1)
  48. prt1.Position = Torso.Position
  49. local prt2 = Instance.new("Part")
  50. prt2.formFactor = 1
  51. prt2.Parent = modelzorz
  52. prt2.CanCollide = false
  53. prt2.BrickColor = BrickColor.new("Bright red")
  54. prt2.Name = "Part2"
  55. prt2.Transparency = 0.4
  56. prt2.Size = Vector3.new(1,1,1)
  57. prt2.Position = Torso.Position
  58. local prt3 = Instance.new("Part")
  59. prt3.formFactor = 1
  60. prt3.Parent = modelzorz
  61. prt3.CanCollide = false
  62. prt3.BrickColor = BrickColor.new("Really black")
  63. prt3.Name = "Part3"
  64. prt3.Transparency = 0.4
  65. prt3.Size = Vector3.new(1,1,1)
  66. prt3.Position = Torso.Position
  67. local prt4 = Instance.new("Part")
  68. prt4.formFactor = 1
  69. prt4.Parent = modelzorz
  70. prt4.CanCollide = false
  71. prt4.BrickColor = BrickColor.new("Bright red")
  72. prt4.Name = "Part4"
  73. prt4.Transparency = 0.4
  74. prt4.Size = Vector3.new(1,1,1)
  75. prt4.Position = Torso.Position
  76. local prt5 = Instance.new("Part")
  77. prt5.formFactor = 1
  78. prt5.Parent = modelzorz
  79. prt5.CanCollide = false
  80. prt5.BrickColor = BrickColor.new("Really black")
  81. prt5.Name = "Part5"
  82. prt5.Transparency = 0.4
  83. prt5.Size = Vector3.new(1,1,1)
  84. prt5.Position = Torso.Position
  85. local prt6 = Instance.new("Part")
  86. prt6.formFactor = 1
  87. prt6.Parent = modelzorz
  88. prt6.CanCollide = false
  89. prt6.BrickColor = BrickColor.new("Bright red")
  90. prt6.Name = "Part6"
  91. prt6.Transparency = 0.4
  92. prt6.Size = Vector3.new(1,1,1)
  93. prt6.Position = Torso.Position
  94. local prt7 = Instance.new("Part")
  95. prt7.formFactor = 1
  96. prt7.Parent = modelzorz
  97. prt7.CanCollide = false
  98. prt7.BrickColor = BrickColor.new("Really black")
  99. prt7.Name = "Part7"
  100. prt7.Transparency = 0.4
  101. prt7.Size = Vector3.new(1,1,1)
  102. prt7.Position = Torso.Position
  103. local prt8 = Instance.new("Part")
  104. prt8.formFactor = 1
  105. prt8.Parent = modelzorz
  106. prt8.CanCollide = false
  107. prt8.BrickColor = BrickColor.new("Bright red")
  108. prt8.Name = "Part8"
  109. prt8.Transparency = 0.4
  110. prt8.Size = Vector3.new(1,1,1)
  111. prt8.Position = Torso.Position
  112. local msh1 = Instance.new("BlockMesh")
  113. msh1.Parent = prt1
  114. msh1.Scale = Vector3.new(0.5,1,0.5)
  115. local msh2 = Instance.new("BlockMesh")
  116. msh2.Parent = prt2
  117. msh2.Scale = Vector3.new(0.5,1,0.5)
  118. local msh3 = Instance.new("BlockMesh")
  119. msh3.Parent = prt3
  120. msh3.Scale = Vector3.new(0.5,1,0.5)
  121. local msh4 = Instance.new("BlockMesh")
  122. msh4.Parent = prt4
  123. msh4.Scale = Vector3.new(0.5,1,0.5)
  124. local msh5 = Instance.new("BlockMesh")
  125. msh5.Parent = prt5
  126. msh5.Scale = Vector3.new(0.5,1,0.5)
  127. local msh6 = Instance.new("BlockMesh")
  128. msh6.Parent = prt6
  129. msh6.Scale = Vector3.new(0.5,1,0.5)
  130. local msh7 = Instance.new("BlockMesh")
  131. msh7.Parent = prt7
  132. msh7.Scale = Vector3.new(0.5,1,0.5)
  133. local msh8 = Instance.new("BlockMesh")
  134. msh8.Parent = prt8
  135. msh8.Scale = Vector3.new(0.5,1,0.5)
  136. local wld1 = Instance.new("Weld")
  137. wld1.Parent = prt1
  138. wld1.Part0 = prt1
  139. wld1.Part1 = Torso
  140. wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0)
  141. local wld2 = Instance.new("Weld")
  142. wld2.Parent = prt2
  143. wld2.Part0 = prt2
  144. wld2.Part1 = Torso
  145. wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  146. local wld3 = Instance.new("Weld")
  147. wld3.Parent = prt3
  148. wld3.Part0 = prt3
  149. wld3.Part1 = Torso
  150. wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  151. local wld4 = Instance.new("Weld")
  152. wld4.Parent = prt4
  153. wld4.Part0 = prt4
  154. wld4.Part1 = Torso
  155. wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  156. local wld5 = Instance.new("Weld")
  157. wld5.Parent = prt5
  158. wld5.Part0 = prt5
  159. wld5.Part1 = Torso
  160. wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  161. local wld6 = Instance.new("Weld")
  162. wld6.Parent = prt6
  163. wld6.Part0 = prt6
  164. wld6.Part1 = Torso
  165. wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  166. local wld7 = Instance.new("Weld")
  167. wld7.Parent = prt7
  168. wld7.Part0 = prt7
  169. wld7.Part1 = Torso
  170. wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  171. local wld8 = Instance.new("Weld")
  172. wld8.Parent = prt8
  173. wld8.Part0 = prt8
  174. wld8.Part1 = Torso
  175. wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  176. local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL
  177. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  178. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  179. SlashSound.Parent = modelzorz
  180. SlashSound.Volume = .7
  181. SlashSound.Pitch = 1
  182. local SlashSound = Instance.new("Sound")
  183. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  184. SlashSound.Parent = workspace
  185. SlashSound.Volume = .5
  186. SlashSound.Pitch = 1
  187. local SlashSound = Instance.new("Sound")
  188. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  189. SlashSound.Parent = workspace
  190. SlashSound.Volume = .7
  191. SlashSound.Pitch = 1
  192. local SlashSound = Instance.new("Sound")
  193. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  194. SlashSound.Parent = workspace
  195. SlashSound.Volume = .7
  196. SlashSound.Pitch = 1
  197. local fengui = Instance.new("GuiMain")
  198. fengui.Parent = Player.PlayerGui
  199. fengui.Name = "manaGUI"
  200. local fenframe = Instance.new("Frame")
  201. fenframe.Parent = fengui
  202. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  203. fenframe.BackgroundTransparency = 1
  204. fenframe.BorderColor3 = Color3.new(17,17,17)
  205. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  206. local fentext = Instance.new("TextLabel")
  207. fentext.Parent = fenframe
  208. fentext.Text = "Energy("..mana..")"
  209. fentext.BackgroundTransparency = 1
  210. fentext.SizeConstraint = "RelativeXY"
  211. fentext.TextXAlignment = "Center"
  212. fentext.TextYAlignment = "Center"
  213. fentext.Position = UDim2.new(0,80,1,200)
  214. local fentext2 = Instance.new("TextLabel")
  215. fentext2.Parent = fenframe
  216. fentext2.Text = " "
  217. fentext2.BackgroundTransparency = 0
  218. fentext2.BackgroundColor3 = Color3.new(0,0,0)
  219. fentext2.SizeConstraint = "RelativeXY"
  220. fentext2.TextXAlignment = "Center"
  221. fentext2.TextYAlignment = "Center"
  222. fentext2.Position = UDim2.new(0,10,1,170)
  223. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  224. local fentext3 = Instance.new("TextLabel")
  225. fentext3.Parent = fenframe
  226. fentext3.Text = " "
  227. fentext3.BackgroundTransparency = 0
  228. fentext3.BackgroundColor3 = Color3.new(1,1,0)
  229. fentext3.SizeConstraint = "RelativeXY"
  230. fentext3.TextXAlignment = "Center"
  231. fentext3.TextYAlignment = "Center"
  232. fentext3.Position = UDim2.new(0,10,1,170)
  233. fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  234. --2.9000001, 0}, {0.450000018, 0}
  235. local gairo = Instance.new("BodyGyro")
  236. gairo.Parent = nil
  237. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  238. gairo.P = 20e+003
  239. if (script.Parent.className ~= "HopperBin") then
  240. Tool = Instance.new("HopperBin")
  241. Tool.Parent = Backpack
  242. Tool.Name = "Harute"
  243. script.Parent = Tool
  244. end
  245. Bin = script.Parent
  246. function hideanim()
  247. end
  248. function equipanim()
  249. end
  250. function onehit()
  251. if mana >= 0 then
  252. attack = true
  253. comboing = true
  254. for i = 0,1,0.1 do
  255. wait()
  256. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  257. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  258. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  259. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  260. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  261. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  262. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  263. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  264. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  265. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  266. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  267. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  268. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  269. end
  270. wait(0.1)
  271. gairo.Parent = Head
  272. gairo.cframe = Head.CFrame
  273. for i = 0,1,0.1 do
  274. wait()
  275. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1*i)
  276. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5*i)
  277. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  278. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  279. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  280. --[[wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  281. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  282. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) ]]
  283. wld4.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)
  284. wld5.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)
  285. --[[wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  286. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  287. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) ]]
  288. end
  289. wait(0.1)
  290. if mana >= 0 then
  291. mana = mana - 10
  292. else
  293. mana = 0
  294. end
  295. lasersound(4)
  296. lasersound(4)
  297. Laser(prt4,math.random(20,40))
  298. Laser(prt5,math.random(20,40))
  299. attack = false
  300. end
  301. end
  302. function twohit()
  303. if mana >= 0 then
  304. attack = true
  305. for i = 0,1,0.1 do
  306. wait()
  307. wld4.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)
  308. wld5.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)
  309. wld6.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)
  310. wld7.C0 = CFrame.new(-1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,4.71)
  311. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1-2*i)
  312. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5-0.5*i)
  313. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  314. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5*i)
  315. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  316. end
  317. wait(0.1)
  318. if mana >= 0 then
  319. mana = mana - 5
  320. else
  321. mana = 0
  322. end
  323. lasersound(4)
  324. lasersound(4)
  325. Laser(prt6,math.random(20,40))
  326. Laser(prt7,math.random(20,40))
  327. wait(0.1)
  328. attack = false
  329. end
  330. end
  331. function threehit()
  332. if mana >= 0 then
  333. attack = true
  334. for i = 0,1,0.1 do
  335. wait()
  336. wld6.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)
  337. wld7.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)
  338. wld8.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,5.495-5.495*i)
  339. wld1.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  340. wld2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,0.785-0.785*i)
  341. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1-2+1*i)
  342. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  343. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  344. 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)
  345. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  346. end
  347. wait(0.1)
  348. if mana >= 0 then
  349. mana = mana - 8
  350. else
  351. mana = 0
  352. end
  353. lasersound(4)
  354. lasersound(4)
  355. lasersound(4)
  356. Laser(prt8,math.random(20,40))
  357. Laser(prt1,math.random(20,40))
  358. Laser(prt2,math.random(20,40))
  359. wait(0.1)
  360. attack = false
  361. end
  362. end
  363. function fourhit()
  364. if mana >= 0 then
  365. attack = true
  366. for i = 0,1,0.1 do
  367. wait()
  368. wld8.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)
  369. wld1.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28)
  370. wld2.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)
  371. wld3.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5*i)
  372. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i)
  373. 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)
  374. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  375. 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)
  376. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  377. end
  378. wait(0.1)
  379. for i = 0,1,0.1 do
  380. wait()
  381. wld3.C0 = CFrame.new(0,1.6+3,-1+1) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5-0.8*i)
  382. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57)
  383. 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)
  384. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0)
  385. 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)
  386. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  387. if mana >= 0 then
  388. mana = mana - 1
  389. else
  390. mana = 0
  391. end
  392. lasersound(4)
  393. Laser(prt3,math.random(5,15))
  394. end
  395. wait(0.1)
  396. attack = false
  397. end
  398. end
  399. function LaserWave()
  400. if mana >= 0 then
  401. attack = true
  402. for i = 0,1,0.1 do
  403. wait()
  404. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  405. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  406. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  407. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  408. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  409. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  410. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  411. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  412. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  413. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  414. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  415. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  416. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  417. end
  418. wait(0.1)
  419. for i = 0,1,0.1 do
  420. wait()
  421. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  422. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  423. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  424. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  425. wld1.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  426. wld3.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57)
  427. wld5.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14)
  428. wld7.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71)
  429. end
  430. if mana >= 0 then
  431. mana = mana - 20
  432. else
  433. mana = 0
  434. end
  435. lasersound(4)
  436. lasersound(4)
  437. lasersound(4)
  438. lasersound(4)
  439. Laser(prt1,math.random(10,20))
  440. Laser(prt3,math.random(10,20))
  441. Laser(prt5,math.random(10,20))
  442. Laser(prt7,math.random(10,20))
  443. wait(0.1)
  444. for i = 0,1,0.1 do
  445. wait()
  446. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i)
  447. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  448. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i)
  449. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  450. wld1.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)
  451. wld3.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57)
  452. wld5.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)
  453. wld7.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71)
  454. end
  455. for i = 0,1,0.1 do
  456. wait()
  457. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  458. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  459. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  460. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  461. wld2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.97*i,0,0.785-0.785*i)
  462. wld4.C0 = CFrame.new(0,1.6+3,-1+1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77*i,0,2.355-2.355*i)
  463. wld6.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i)
  464. wld8.C0 = CFrame.new(0,1.6+3,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37*i,0,5.495-5.495*i)
  465. end
  466. if mana >= 0 then
  467. mana = mana - 20
  468. else
  469. mana = 0
  470. end
  471. lasersound(4)
  472. lasersound(4)
  473. lasersound(4)
  474. lasersound(4)
  475. Laser(prt2,math.random(10,20))
  476. Laser(prt4,math.random(10,20))
  477. Laser(prt6,math.random(10,20))
  478. Laser(prt8,math.random(10,20))
  479. wait(0.1)
  480. for i = 0,1,0.1 do
  481. wait()
  482. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i)
  483. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  484. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i)
  485. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  486. wld2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.97+1.97*i,0,-0.785*i)
  487. wld4.C0 = CFrame.new(0,1.6+3,-1+1.5-1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77+1.77*i,0,-2.355*i)
  488. wld6.C0 = CFrame.new(0,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,-3.925*i)
  489. wld8.C0 = CFrame.new(0,1.6+3,-1+0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37+1.37*i,0,-5.495*i)
  490. end
  491. wait(0.1)
  492. attack = false
  493. end
  494. end
  495. function OverBlast()
  496. if mana >= 0 then
  497. attack = true
  498. for i = 0,1,0.1 do
  499. wait()
  500. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  501. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  502. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  503. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  504. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  505. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  506. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  507. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  508. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  509. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  510. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  511. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  512. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  513. end
  514. for i = 0,1.05,0.05 do
  515. wait()
  516. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  517. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i)
  518. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  519. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i)
  520. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  521. wld1.C0 = CFrame.new(-1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,6.28)
  522. wld2.C0 = CFrame.new(-1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.3*i,0.785+5.495*i)
  523. wld3.C0 = CFrame.new(1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.3*i,1.57+4.71*i)
  524. wld4.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)
  525. wld5.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)
  526. wld6.C0 = CFrame.new(-0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i)
  527. wld7.C0 = CFrame.new(0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0,4.71-4.71*i)
  528. wld8.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)
  529. end
  530. if mana >= 0 then
  531. mana = mana - 50
  532. else
  533. mana = 0
  534. end
  535. lasersound(4)
  536. lasersound(4)
  537. lasersound(4)
  538. lasersound(4)
  539. lasersound(4)
  540. lasersound(4)
  541. lasersound(4)
  542. lasersound(4)
  543. Laser(prt1,math.random(5,15))
  544. Laser(prt2,math.random(5,15))
  545. Laser(prt3,math.random(5,15))
  546. Laser(prt4,math.random(5,15))
  547. Laser(prt5,math.random(5,15))
  548. Laser(prt6,math.random(5,15))
  549. Laser(prt7,math.random(5,15))
  550. Laser(prt8,math.random(5,15))
  551. wait(0.2)
  552. for i = 0,1.05,0.05 do
  553. wait()
  554. wld1.C0 = CFrame.new(-1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.5-0.5*i,6.28)
  555. wld2.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)
  556. wld3.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)
  557. wld4.C0 = CFrame.new(1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.5+0.5*i,2.355+3.925)
  558. wld5.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)
  559. wld6.C0 = CFrame.new(-0.6+0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,3.925-3.925)
  560. wld7.C0 = CFrame.new(0.6-0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,4.71-4.71)
  561. wld8.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)
  562. end
  563. if mana >= 0 then
  564. mana = mana - 50
  565. else
  566. mana = 0
  567. end
  568. lasersound(4)
  569. lasersound(4)
  570. lasersound(4)
  571. lasersound(4)
  572. lasersound(4)
  573. lasersound(4)
  574. lasersound(4)
  575. lasersound(4)
  576. Laser(prt1,math.random(5,15))
  577. Laser(prt2,math.random(5,15))
  578. Laser(prt3,math.random(5,15))
  579. Laser(prt4,math.random(5,15))
  580. Laser(prt5,math.random(5,15))
  581. Laser(prt6,math.random(5,15))
  582. Laser(prt7,math.random(5,15))
  583. Laser(prt8,math.random(5,15))
  584. wait(0.5)
  585. attack = false
  586. end
  587. end
  588. function SpinBeam()
  589. if mana >= 0 then
  590. attack = true
  591. for i = 0,1,0.1 do
  592. wait()
  593. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  594. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  595. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  596. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  597. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  598. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  599. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  600. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  601. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  602. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  603. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  604. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  605. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  606. end
  607. for i = 0,1,0.1 do
  608. wait()
  609. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  610. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  611. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  612. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  613. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  614. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  615. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  616. wld3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  617. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  618. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  619. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  620. wld7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  621. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  622. end
  623. gairo.Parent = Head
  624. gairo.cframe = Head.CFrame
  625. CF = Torso.CFrame
  626. for i = 0,1,0.1 do
  627. wait(0.1)
  628. gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  629. if mana >= 0 then
  630. mana = mana - 5
  631. else
  632. mana = 0
  633. end
  634. lasersound(4)
  635. lasersound(4)
  636. Laser(prt3,math.random(10,20))
  637. Laser(prt7,math.random(10,20))
  638. end
  639. wait(0.2)
  640. gairo.Parent = nil
  641. attack = false
  642. end
  643. end
  644. function DodgeTheLaser()
  645. if mana >= 0 then
  646. attack = true
  647. for i = 0,1,0.1 do
  648. wait()
  649. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  650. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  651. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  652. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  653. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  654. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  655. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  656. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  657. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  658. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  659. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  660. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  661. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  662. end
  663. for i = 0,1,0.1 do
  664. wait()
  665. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  666. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  667. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  668. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  669. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  670. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  671. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  672. wld3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  673. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  674. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  675. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  676. wld7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  677. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  678. end
  679. gairo.Parent = Head
  680. gairo.cframe = Head.CFrame
  681. CF = Torso.CFrame
  682. for i = 0,1,0.01 do
  683. wait(0.1)
  684. gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
  685. if mana >= 0 then
  686. mana = mana - 5
  687. else
  688. mana = 0
  689. end
  690. lasersound(4)
  691. lasersound(4)
  692. Laser(prt3,math.random(10,20))
  693. Laser(prt7,math.random(10,20))
  694. end
  695. wait()
  696. gairo.Parent = nil
  697. attack = false
  698. end
  699. end
  700. function LaserBarrage()
  701. if mana >= 0 then
  702. attack = true
  703. for i = 0,1,0.1 do
  704. wait()
  705. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  706. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  707. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  708. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  709. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  710. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  711. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  712. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  713. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  714. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  715. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  716. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  717. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  718. end
  719. for i = 0,1,0.2 do
  720. wait()
  721. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  722. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i)
  723. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  724. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,1.57-1.77*i)
  725. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  726. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28)
  727. end
  728. if mana >= 0 then
  729. mana = mana - 1
  730. else
  731. mana = 0
  732. end
  733. lasersound(4)
  734. Laser(prt1,math.random(10,20))
  735. for i = 0,1,0.2 do
  736. wait()
  737. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  738. 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)
  739. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  740. 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)
  741. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  742. wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28)
  743. end
  744. for i = 0,1,0.2 do
  745. wait()
  746. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  747. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i)
  748. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  749. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  750. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  751. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,0.785)
  752. end
  753. if mana >= 0 then
  754. mana = mana - 1
  755. else
  756. mana = 0
  757. end
  758. lasersound(4)
  759. Laser(prt2,math.random(10,20))
  760. for i = 0,1,0.2 do
  761. wait()
  762. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  763. 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)
  764. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  765. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  766. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  767. wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,0.785)
  768. end
  769. for i = 0,1,0.2 do
  770. wait()
  771. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  772. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3*i,0,-1.57+1.77*i)
  773. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  774. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  775. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  776. wld3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57)
  777. end
  778. if mana >= 0 then
  779. mana = mana - 1
  780. else
  781. mana = 0
  782. end
  783. lasersound(4)
  784. Laser(prt3,math.random(10,20))
  785. for i = 0,1,0.2 do
  786. wait()
  787. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  788. 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)
  789. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  790. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  791. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  792. wld3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57)
  793. end
  794. for i = 0,1,0.2 do
  795. wait()
  796. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  797. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,-1.57+1.77*i)
  798. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  799. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  800. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  801. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,2.355)
  802. end
  803. if mana >= 0 then
  804. mana = mana - 1
  805. else
  806. mana = 0
  807. end
  808. lasersound(4)
  809. Laser(prt4,math.random(10,20))
  810. for i = 0,1,0.2 do
  811. wait()
  812. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  813. 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)
  814. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  815. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  816. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  817. wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,2.355)
  818. end
  819. for i = 0,1,0.2 do
  820. wait()
  821. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  822. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,-1.57+1.77*i)
  823. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  824. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i)
  825. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  826. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14)
  827. end
  828. if mana >= 0 then
  829. mana = mana - 1
  830. else
  831. mana = 0
  832. end
  833. lasersound(4)
  834. Laser(prt5,math.random(10,20))
  835. for i = 0,1,0.2 do
  836. wait()
  837. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  838. 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)
  839. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  840. 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)
  841. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  842. wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14)
  843. end
  844. for i = 0,1,0.2 do
  845. wait()
  846. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  847. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  848. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  849. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i)
  850. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  851. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925)
  852. end
  853. if mana >= 0 then
  854. mana = mana - 1
  855. else
  856. mana = 0
  857. end
  858. lasersound(4)
  859. Laser(prt6,math.random(10,20))
  860. for i = 0,1,0.2 do
  861. wait()
  862. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  863. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  864. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  865. 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)
  866. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  867. wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.925)
  868. end
  869. for i = 0,1,0.2 do
  870. wait()
  871. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  872. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  873. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  874. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i)
  875. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  876. wld7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71)
  877. end
  878. if mana >= 0 then
  879. mana = mana - 1
  880. else
  881. mana = 0
  882. end
  883. lasersound(4)
  884. Laser(prt7,math.random(10,20))
  885. for i = 0,1,0.2 do
  886. wait()
  887. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  888. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  889. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  890. 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)
  891. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  892. wld7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71)
  893. end
  894. for i = 0,1,0.2 do
  895. wait()
  896. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  897. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  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.3*i,0,1.57-1.77*i)
  900. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  901. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,5.495)
  902. end
  903. if mana >= 0 then
  904. mana = mana - 1
  905. else
  906. mana = 0
  907. end
  908. lasersound(4)
  909. Laser(prt8,math.random(10,20))
  910. for i = 0,1,0.2 do
  911. wait()
  912. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  913. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  914. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  915. 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)
  916. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  917. wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,5.495)
  918. end
  919. wait(0.5)
  920. attack = false
  921. end
  922. end
  923. function CloseRangedFire()
  924. if mana >= 0 then
  925. attack = true
  926. for i = 0,1,0.1 do
  927. wait()
  928. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  929. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  930. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  931. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  932. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  933. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  934. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  935. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  936. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  937. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  938. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  939. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  940. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  941. end
  942. for i = 0,1,0.1 do
  943. wait()
  944. wld1.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,6.28)
  945. wld2.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,0.785)
  946. wld3.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,1.57)
  947. wld4.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,2.355)
  948. wld5.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.14)
  949. wld6.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.925)
  950. wld7.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,4.71)
  951. wld8.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,5.495)
  952. end
  953. if mana >= 0 then
  954. mana = mana - 50
  955. else
  956. mana = 0
  957. end
  958. lasersound(4)
  959. lasersound(4)
  960. lasersound(4)
  961. lasersound(4)
  962. lasersound(4)
  963. lasersound(4)
  964. lasersound(4)
  965. lasersound(4)
  966. Laser(prt1,math.random(5,10))
  967. Laser(prt2,math.random(5,10))
  968. Laser(prt3,math.random(5,10))
  969. Laser(prt4,math.random(5,10))
  970. Laser(prt5,math.random(5,10))
  971. Laser(prt6,math.random(5,10))
  972. Laser(prt7,math.random(5,10))
  973. Laser(prt8,math.random(5,10))
  974. wait(1)
  975. attack = false
  976. end
  977. end
  978. function Implosion()
  979. if mana >= 0 then
  980. attack = true
  981. for i = 0,1,0.1 do
  982. wait()
  983. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  984. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  985. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  986. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  987. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  988. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  989. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  990. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  991. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  992. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  993. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  994. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  995. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  996. end
  997. for i = 0,1,0.1 do
  998. wait()
  999. wld1.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i)
  1000. wld2.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i)
  1001. wld3.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i)
  1002. wld4.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i)
  1003. wld5.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i)
  1004. wld6.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i)
  1005. wld7.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i)
  1006. wld8.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i)
  1007. end
  1008. if mana >= 0 then
  1009. mana = mana - 50
  1010. else
  1011. mana = 0
  1012. end
  1013. lasersound(4)
  1014. lasersound(4)
  1015. lasersound(4)
  1016. lasersound(4)
  1017. lasersound(4)
  1018. lasersound(4)
  1019. lasersound(4)
  1020. lasersound(4)
  1021. Laser(prt1,math.random(5,10))
  1022. Laser(prt2,math.random(5,10))
  1023. Laser(prt3,math.random(5,10))
  1024. Laser(prt4,math.random(5,10))
  1025. Laser(prt5,math.random(5,10))
  1026. Laser(prt6,math.random(5,10))
  1027. Laser(prt7,math.random(5,10))
  1028. Laser(prt8,math.random(5,10))
  1029. for i = 0,1,0.1 do
  1030. wait()
  1031. wld1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28)
  1032. wld2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785)
  1033. wld3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57)
  1034. wld4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355)
  1035. wld5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14)
  1036. wld6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925)
  1037. wld7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71)
  1038. wld8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495)
  1039. end
  1040. if mana >= 0 then
  1041. mana = mana - 50
  1042. else
  1043. mana = 0
  1044. end
  1045. lasersound(4)
  1046. lasersound(4)
  1047. lasersound(4)
  1048. lasersound(4)
  1049. lasersound(4)
  1050. lasersound(4)
  1051. lasersound(4)
  1052. lasersound(4)
  1053. Laser(prt1,math.random(5,10))
  1054. Laser(prt2,math.random(5,10))
  1055. Laser(prt3,math.random(5,10))
  1056. Laser(prt4,math.random(5,10))
  1057. Laser(prt5,math.random(5,10))
  1058. Laser(prt6,math.random(5,10))
  1059. Laser(prt7,math.random(5,10))
  1060. Laser(prt8,math.random(5,10))
  1061. for i = 0,1,0.1 do
  1062. wait()
  1063. wld1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0+0.5,6.28-6.28)
  1064. wld2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0.785+0.5,0.785-0.785)
  1065. wld3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,1.57+0.5,1.57-1.57)
  1066. wld4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,2.355+0.5,2.355-2.355)
  1067. wld5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.14+0.5,3.14-3.14)
  1068. wld6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.925+0.5,3.925-3.925)
  1069. wld7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,4.71+0.5,4.71-4.71)
  1070. wld8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,5.495+0.5,5.495-5.495)
  1071. end
  1072. if mana >= 0 then
  1073. mana = mana - 50
  1074. else
  1075. mana = 0
  1076. end
  1077. lasersound(4)
  1078. lasersound(4)
  1079. lasersound(4)
  1080. lasersound(4)
  1081. lasersound(4)
  1082. lasersound(4)
  1083. lasersound(4)
  1084. lasersound(4)
  1085. Laser(prt1,math.random(5,10))
  1086. Laser(prt2,math.random(5,10))
  1087. Laser(prt3,math.random(5,10))
  1088. Laser(prt4,math.random(5,10))
  1089. Laser(prt5,math.random(5,10))
  1090. Laser(prt6,math.random(5,10))
  1091. Laser(prt7,math.random(5,10))
  1092. Laser(prt8,math.random(5,10))
  1093. wait(1)
  1094. attack = false
  1095. end
  1096. end
  1097. function SpinLaser()
  1098. if mana >= 0 then
  1099. attack = true
  1100. for i = 0,1,0.1 do
  1101. wait()
  1102. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1103. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1104. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1105. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1106. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1107. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1108. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1109. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1110. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1111. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1112. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1113. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1114. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1115. end
  1116. for i = 0,1,0.1 do
  1117. wait()
  1118. wld1.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i)
  1119. wld2.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i)
  1120. wld3.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i)
  1121. wld4.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i)
  1122. wld5.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i)
  1123. wld6.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i)
  1124. wld7.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i)
  1125. wld8.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i)
  1126. end
  1127. lasersound(4)
  1128. lasersound(4)
  1129. lasersound(4)
  1130. lasersound(4)
  1131. lasersound(4)
  1132. lasersound(4)
  1133. lasersound(4)
  1134. lasersound(4)
  1135. Laser(prt1,math.random(10,20))
  1136. Laser(prt2,math.random(10,20))
  1137. Laser(prt3,math.random(10,20))
  1138. Laser(prt4,math.random(10,20))
  1139. Laser(prt5,math.random(10,20))
  1140. Laser(prt6,math.random(10,20))
  1141. Laser(prt7,math.random(10,20))
  1142. Laser(prt8,math.random(10,20))
  1143. for i = 0,1,0.1 do
  1144. wait()
  1145. wld1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28)
  1146. wld2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785)
  1147. wld3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57)
  1148. wld4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355)
  1149. wld5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14)
  1150. wld6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925)
  1151. wld7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71)
  1152. wld8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495)
  1153. end
  1154. lasersound(4)
  1155. lasersound(4)
  1156. lasersound(4)
  1157. lasersound(4)
  1158. lasersound(4)
  1159. lasersound(4)
  1160. lasersound(4)
  1161. lasersound(4)
  1162. Laser(prt1,math.random(10,20))
  1163. Laser(prt2,math.random(10,20))
  1164. Laser(prt3,math.random(10,20))
  1165. Laser(prt4,math.random(10,20))
  1166. Laser(prt5,math.random(10,20))
  1167. Laser(prt6,math.random(10,20))
  1168. Laser(prt7,math.random(10,20))
  1169. Laser(prt8,math.random(10,20))
  1170. for i = 0,1,0.1 do
  1171. wait()
  1172. wld1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5+0.5*i,6.28-6.28)
  1173. wld2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5+0.5*i,0.785-0.785)
  1174. wld3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5+0.5*i,1.57-1.57)
  1175. wld4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5+0.5*i,2.355-2.355)
  1176. wld5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5+0.5*i,3.14-3.14)
  1177. wld6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5+0.5*i,3.925-3.925)
  1178. wld7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5+0.5*i,4.71-4.71)
  1179. wld8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5+0.5*i,5.495-5.495)
  1180. end
  1181. lasersound(4)
  1182. lasersound(4)
  1183. lasersound(4)
  1184. lasersound(4)
  1185. lasersound(4)
  1186. lasersound(4)
  1187. lasersound(4)
  1188. lasersound(4)
  1189. Laser(prt1,math.random(10,20))
  1190. Laser(prt2,math.random(10,20))
  1191. Laser(prt3,math.random(10,20))
  1192. Laser(prt4,math.random(10,20))
  1193. Laser(prt5,math.random(10,20))
  1194. Laser(prt6,math.random(10,20))
  1195. Laser(prt7,math.random(10,20))
  1196. Laser(prt8,math.random(10,20))
  1197. wait(1)
  1198. attack = false
  1199. end
  1200. end
  1201. function LaserPillars()
  1202. if mana >= 0 then
  1203. attack = true
  1204. for i = 0,1,0.1 do
  1205. wait()
  1206. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1207. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1208. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1209. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1210. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1211. wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28)
  1212. wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785)
  1213. wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57)
  1214. wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355)
  1215. wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14)
  1216. wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925)
  1217. wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71)
  1218. wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495)
  1219. end
  1220. for i = 0,1,0.1 do
  1221. wait()
  1222. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1223. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1224. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1225. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1226. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1227. wld1.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0,6.28-6.28*i)
  1228. wld2.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0.785*i,0.785-0.785*i)
  1229. wld3.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,1.57*i,1.57-1.57*i)
  1230. wld4.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,2.355*i,2.355-2.355*i)
  1231. wld5.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.14*i,3.14-3.14*i)
  1232. wld6.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.925*i,3.925-3.925*i)
  1233. wld7.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,4.71*i,4.71-4.71*i)
  1234. wld8.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,5.495*i,5.495-5.495*i)
  1235. end
  1236. lasersound(4)
  1237. lasersound(4)
  1238. lasersound(4)
  1239. lasersound(4)
  1240. lasersound(4)
  1241. lasersound(4)
  1242. lasersound(4)
  1243. lasersound(4)
  1244. Laser(prt1,math.random(20,40))
  1245. Laser(prt2,math.random(20,40))
  1246. Laser(prt3,math.random(20,40))
  1247. Laser(prt4,math.random(20,40))
  1248. Laser(prt5,math.random(20,40))
  1249. Laser(prt6,math.random(20,40))
  1250. Laser(prt7,math.random(20,40))
  1251. Laser(prt8,math.random(20,40))
  1252. hur = 0
  1253. for i = 0,1,0.1 do
  1254. wait(0.1)
  1255. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1256. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  1257. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1258. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57)
  1259. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1260. wld1.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0+2.5*i,6.28-6.28)
  1261. wld2.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0.785+2.5*i,0.785-0.785)
  1262. wld3.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,1.57+2.5*i,1.57-1.57)
  1263. wld4.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,2.355+2.5*i,2.355-2.355)
  1264. wld5.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.14+2.5*i,3.14-3.14)
  1265. wld6.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.925+2.5*i,3.925-3.925)
  1266. wld7.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,4.71+2.5*i,4.71-4.71)
  1267. wld8.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,5.495+2.5*i,5.495-5.495)
  1268. if hur == 1 then
  1269. lasersound(4)
  1270. lasersound(4)
  1271. lasersound(4)
  1272. lasersound(4)
  1273. lasersound(4)
  1274. lasersound(4)
  1275. lasersound(4)
  1276. lasersound(4)
  1277. Laser(prt1,math.random(20,40))
  1278. Laser(prt2,math.random(20,40))
  1279. Laser(prt3,math.random(20,40))
  1280. Laser(prt4,math.random(20,40))
  1281. Laser(prt5,math.random(20,40))
  1282. Laser(prt6,math.random(20,40))
  1283. Laser(prt7,math.random(20,40))
  1284. Laser(prt8,math.random(20,40))
  1285. hur = 0
  1286. end
  1287. hur = hur + 1
  1288. end
  1289. wait(1)
  1290. attack = false
  1291. end
  1292. end
  1293. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1294. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1295. end
  1296. function Laser(Part,Dmg)
  1297. sp = Part.Position
  1298. dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,0)
  1299. local hit,pos = rayCast(sp,dirr.lookVector,500,Character)
  1300. local las=Instance.new("Part",Character)
  1301. las.Anchored=true
  1302. las.Locked=true
  1303. las.CanCollide=false
  1304. las.TopSurface=0
  1305. las.BottomSurface=0
  1306. las.FormFactor = "Custom"
  1307. las.BrickColor=BrickColor.new("Bright red")
  1308. las.Size=Vector3.new(1,1,1)
  1309. las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  1310. local msh=Instance.new("SpecialMesh",las)
  1311. mag = (Part.Position-pos).magnitude
  1312. msh.Scale=Vector3.new(0.1,mag,0.1)
  1313. coroutine.resume(coroutine.create(function(Part,Mesh)
  1314. for i = 0,1,0.1 do
  1315. wait()
  1316. Part.Transparency = Part.Transparency + 0.1
  1317. Mesh.Scale = Mesh.Scale + Vector3.new(0.15,0.7,0.15)
  1318. end
  1319. Part.Parent = nil
  1320. end),las,msh)
  1321. local las=Instance.new("Part",Character)
  1322. las.Anchored=true
  1323. las.Locked=true
  1324. las.CanCollide=false
  1325. las.TopSurface=0
  1326. las.BottomSurface=0
  1327. las.FormFactor = "Custom"
  1328. las.BrickColor=BrickColor.new("Really black")
  1329. las.Size=Vector3.new(1,1,1)
  1330. las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  1331. local msh=Instance.new("SpecialMesh",las)
  1332. mag = (Part.Position-pos).magnitude
  1333. msh.Scale=Vector3.new(0.1,mag,0.1)
  1334. coroutine.resume(coroutine.create(function(Part,Mesh)
  1335. for i = 0,1,0.1 do
  1336. wait()
  1337. Part.Transparency = Part.Transparency + 0.1
  1338. Mesh.Scale = Mesh.Scale + Vector3.new(-0.05,0.7,-0.05)
  1339. end
  1340. Part.Parent = nil
  1341. end),las,msh)
  1342. if pos ~= nil then
  1343. local las2=Instance.new("Part",Character)
  1344. las2.Anchored=true
  1345. las2.Locked=true
  1346. las2.CanCollide=false
  1347. las2.TopSurface=0
  1348. las2.BottomSurface=0
  1349. las2.FormFactor = "Custom"
  1350. las2.BrickColor=BrickColor.new("Bright red")
  1351. las2.Size=Vector3.new(1,1,1)
  1352. --las2.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0)
  1353. las2.CFrame=CFrame.new(pos) *CFrame.Angles(math.rad(90),0,0)
  1354. local msh=Instance.new("BlockMesh",las2)
  1355. mag = (Part.Position-pos).magnitude
  1356. msh.Scale=Vector3.new(0.1,0.1,0.1)
  1357. coroutine.resume(coroutine.create(function(Part,Mesh)
  1358. --wait(10)
  1359. for i = 0,1,0.1 do
  1360. wait()
  1361. Part.Transparency = Part.Transparency + 0.1
  1362. Mesh.Scale = Mesh.Scale + Vector3.new(0.5,0,0.5)
  1363. end
  1364. Part.Parent = nil
  1365. end),las2,msh)
  1366. end
  1367. if hit ~= nil and pos ~= nil then
  1368. if hit.Parent.className == "Hat" then
  1369. hit:BreakJoints()
  1370. hit.Velocity = Vector3.new(math.random(-5,5),20,math.random(-5,5))
  1371. end
  1372. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  1373. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  1374. hit.Parent.Humanoid:TakeDamage(Dmg)
  1375. showDamage(hit.Parent,Dmg,.5)
  1376. end
  1377. end
  1378. --[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then
  1379. end ]]
  1380. end
  1381. end
  1382. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1383. local msh1 = Instance.new("BlockMesh")
  1384. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1385. S=Instance.new("Part")
  1386. S.Name="Effect"
  1387. S.formFactor=0
  1388. S.Size=Vector3.new(x1,y1,z1)
  1389. S.BrickColor=color
  1390. S.Reflectance = 0
  1391. S.TopSurface=0
  1392. S.BottomSurface=0
  1393. S.Transparency=0
  1394. S.Anchored=true
  1395. S.CanCollide=false
  1396. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1397. S.Parent=Character
  1398. msh1.Parent = S
  1399. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1400. end
  1401. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1402. local msh1 = Instance.new("BlockMesh")
  1403. msh1.Scale = Vector3.new(x1,y1,z1)
  1404. S=Instance.new("Part")
  1405. S.Name="Effect"
  1406. S.formFactor=0
  1407. S.Size=Vector3.new(1,1,1)
  1408. S.BrickColor=color
  1409. S.Reflectance = 0
  1410. S.TopSurface=0
  1411. S.BottomSurface=0
  1412. S.Transparency=0
  1413. S.Anchored=true
  1414. S.CanCollide=false
  1415. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1416. S.Parent=Character
  1417. msh1.Parent = S
  1418. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1419. end
  1420. function MOREMAGIX(part,cframe,x,y,z,color)
  1421. p2=Instance.new("Part")
  1422. p2.Name="Blast"
  1423. p2.TopSurface=0
  1424. p2.BottomSurface=0
  1425. p2.CanCollide=false
  1426. p2.Anchored=true
  1427. p2.BrickColor=color
  1428. p2.Size=Vector3.new(x,y,z)
  1429. p2.formFactor="Symmetric"
  1430. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  1431. p2.Parent=workspace
  1432. m=Instance.new("BlockMesh")
  1433. m.Parent=p2
  1434. m.Name="BlastMesh"
  1435. coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
  1436. end
  1437. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1438. local msh1 = Instance.new("SpecialMesh")
  1439. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1440. msh1.MeshType = "Sphere"
  1441. S=Instance.new("Part")
  1442. S.Name="Effect"
  1443. S.formFactor=0
  1444. S.Size=Vector3.new(x1,y1,z1)
  1445. S.BrickColor=color
  1446. if Style == "WingBlade" and element == "Dark" then
  1447. S.BrickColor=BrickColor.new("Black")
  1448. end
  1449. S.Reflectance = 0
  1450. S.TopSurface=0
  1451. S.BottomSurface=0
  1452. S.Transparency=0
  1453. S.Anchored=true
  1454. S.CanCollide=false
  1455. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1456. S.Parent=Character
  1457. msh1.Parent = S
  1458. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1459. end
  1460. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1461. local msh1 = Instance.new("SpecialMesh")
  1462. msh1.Scale = Vector3.new(x1,y1,z1)
  1463. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1464. S=Instance.new("Part")
  1465. S.Name="Effect"
  1466. S.formFactor=0
  1467. S.Size=Vector3.new(1,1,1)
  1468. S.BrickColor=color
  1469. S.Reflectance = 0
  1470. S.TopSurface=0
  1471. S.BottomSurface=0
  1472. S.Transparency=0
  1473. S.Anchored=true
  1474. S.CanCollide=false
  1475. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1476. S.Parent=Character
  1477. msh1.Parent = S
  1478. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1479. end
  1480. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1481. local msh1 = Instance.new("SpecialMesh")
  1482. msh1.Scale = Vector3.new(x1,y1,z1)
  1483. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1484. S=Instance.new("Part")
  1485. S.Name="Effect"
  1486. S.formFactor=0
  1487. S.Size=Vector3.new(1,1,1)
  1488. S.BrickColor=color
  1489. S.Reflectance = 0
  1490. S.TopSurface=0
  1491. S.BottomSurface=0
  1492. S.Transparency=0
  1493. S.Anchored=true
  1494. S.CanCollide=false
  1495. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1496. S.Parent=Character
  1497. msh1.Parent = S
  1498. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1499. end
  1500. function ss(pitch)
  1501. local SlashSound = Instance.new("Sound")
  1502. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1503. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  1504. SlashSound.Parent = workspace
  1505. SlashSound.Volume = .7
  1506. SlashSound.Pitch = pitch
  1507. SlashSound.PlayOnRemove = true
  1508. coroutine.resume(coroutine.create(function()
  1509. wait(0)
  1510. SlashSound.Parent = nil
  1511. end))
  1512. end
  1513. function equipsound(pitch)
  1514. local SlashSound = Instance.new("Sound")
  1515. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1516. SlashSound.Parent = workspace
  1517. SlashSound.Volume = .5
  1518. SlashSound.Pitch = pitch
  1519. SlashSound.PlayOnRemove = true
  1520. coroutine.resume(coroutine.create(function()
  1521. wait(0)
  1522. SlashSound.Parent = nil
  1523. end))
  1524. end
  1525. function magicsound(pitch)
  1526. local SlashSound = Instance.new("Sound")
  1527. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1528. SlashSound.Parent = workspace
  1529. SlashSound.Volume = .5
  1530. SlashSound.Pitch = pitch
  1531. SlashSound.PlayOnRemove = true
  1532. coroutine.resume(coroutine.create(function()
  1533. wait(0)
  1534. SlashSound.Parent = nil
  1535. end))
  1536. end
  1537. function critsound(pitch)
  1538. local SlashSound = Instance.new("Sound")
  1539. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  1540. SlashSound.Parent = workspace
  1541. SlashSound.Volume = .7
  1542. SlashSound.Pitch = pitch
  1543. SlashSound.PlayOnRemove = true
  1544. coroutine.resume(coroutine.create(function()
  1545. wait(0)
  1546. SlashSound.Parent = nil
  1547. end))
  1548. end
  1549. function spikesound(pitch)
  1550. local SlashSound = Instance.new("Sound")
  1551. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  1552. SlashSound.Parent = workspace
  1553. SlashSound.Volume = .7
  1554. SlashSound.Pitch = pitch
  1555. SlashSound.PlayOnRemove = true
  1556. coroutine.resume(coroutine.create(function()
  1557. wait(0)
  1558. SlashSound.Parent = nil
  1559. end))
  1560. end
  1561. function lasersound(pitch)
  1562. local SlashSound = Instance.new("Sound")
  1563. SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav"
  1564. SlashSound.Parent = workspace
  1565. SlashSound.Volume = .5
  1566. SlashSound.Pitch = pitch
  1567. SlashSound.PlayOnRemove = true
  1568. coroutine.resume(coroutine.create(function()
  1569. wait(0)
  1570. SlashSound.Parent = nil
  1571. end))
  1572. end
  1573. --rbxasset://sounds/Launching rocket.wav
  1574. Damagefunc1=function(hit,Damage,Knockback)
  1575. if attackdebounce == false then
  1576. attackdebounce = true
  1577. coroutine.resume(coroutine.create(function()
  1578. wait(0.1)
  1579. attackdebounce = false
  1580. end))
  1581. if hit.Parent==nil then
  1582. return
  1583. end
  1584. CPlayer=Bin
  1585. h=hit.Parent:FindFirstChild("Humanoid")
  1586. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1587. if mana < 800 then
  1588. mana = mana + math.random(10,20)
  1589. end
  1590. if mana > 800 then
  1591. mana = 800
  1592. end
  1593. Damage=Damage
  1594. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1595. return
  1596. end]]
  1597. c=Instance.new("ObjectValue")
  1598. c.Name="creator"
  1599. c.Value=game.Players.LocalPlayer
  1600. c.Parent=h
  1601. game:GetService("Debris"):AddItem(c,.5)
  1602. -- print(c.Value)
  1603. if math.random(0,99)+math.random()<=5 then
  1604. CRIT=true
  1605. Damage=Damage*1.5
  1606. --[[ Knockback=Knockback*2
  1607. r=Instance.new("BodyAngularVelocity")
  1608. r.P=3000
  1609. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1610. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1611. r.Parent=hit.Parent.Torso]]
  1612. critsound(2)
  1613. end
  1614. Damage=Damage+math.random(0,10)
  1615. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1616. h:TakeDamage(Damage)
  1617. showDamage(hit.Parent,Damage,.5)
  1618. vp=Instance.new("BodyVelocity")
  1619. vp.P=500
  1620. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1621. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1622. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1623. if Knockback>0 then
  1624. vp.Parent=hit.Parent.Torso
  1625. end
  1626. game:GetService("Debris"):AddItem(vp,.25)
  1627. --[[ r=Instance.new("BodyAngularVelocity")
  1628. r.P=3000
  1629. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1630. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1631. r.Parent=hit.Parent.Torso]]
  1632. game:GetService("Debris"):AddItem(r,.5)
  1633. c=Instance.new("ObjectValue")
  1634. c.Name="creator"
  1635. c.Value=Player
  1636. c.Parent=h
  1637. game:GetService("Debris"):AddItem(c,.5)
  1638. CRIT=false
  1639. hitDeb=true
  1640. AttackPos=6
  1641. end
  1642. end
  1643. end
  1644. showDamage=function(Char,Dealt,du)
  1645. m=Instance.new("Model")
  1646. m.Name=tostring(Dealt)
  1647. h=Instance.new("Humanoid")
  1648. h.Health=0
  1649. h.MaxHealth=0
  1650. h.Parent=m
  1651. c=Instance.new("Part")
  1652. c.Transparency=0
  1653. c.BrickColor=BrickColor:Red()
  1654. if CRIT==true then
  1655. c.BrickColor=BrickColor.new("Really red")
  1656. end
  1657. c.Name="Head"
  1658. c.TopSurface=0
  1659. c.BottomSurface=0
  1660. c.formFactor="Plate"
  1661. c.Size=Vector3.new(1,.4,1)
  1662. ms=Instance.new("CylinderMesh")
  1663.  
  1664. ms.Scale=Vector3.new(.8,.8,.8)
  1665. if CRIT==true then
  1666. ms.Scale=Vector3.new(1.25,1.5,1.25)
  1667.  
  1668. end
  1669. ms.Parent=c
  1670. c.Reflectance=0
  1671. Instance.new("BodyGyro").Parent=c
  1672. c.Parent=m
  1673. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1674. f=Instance.new("BodyPosition")
  1675. f.P=2000
  1676. f.D=100
  1677. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1678. f.position=c.Position+Vector3.new(0,3,0)
  1679. f.Parent=c
  1680. game:GetService("Debris"):AddItem(m,.5+du)
  1681. c.CanCollide=false
  1682. m.Parent=workspace
  1683. c.CanCollide=false
  1684. end
  1685. hold = false
  1686. function ob1d(mouse)
  1687. if attack == true then return end
  1688. if stancing == true then return end
  1689. hold = true
  1690. if combo == 0 then
  1691. combo = 1
  1692. onehit()
  1693. coroutine.resume(coroutine.create(function()
  1694. wait(0.5)
  1695. if attack == false then
  1696. combo = 0
  1697. comboing = false
  1698. gairo.Parent = nil
  1699. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1700. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1701. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1702. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1703. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1704. end
  1705. end))
  1706. elseif combo == 1 then
  1707. combo = 2
  1708. twohit()
  1709. coroutine.resume(coroutine.create(function()
  1710. wait(0.5)
  1711. if attack == false then
  1712. combo = 0
  1713. comboing = false
  1714. gairo.Parent = nil
  1715. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1716. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1717. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1718. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1719. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1720. end
  1721. end))
  1722. elseif combo == 2 then
  1723. combo = 3
  1724. threehit()
  1725. coroutine.resume(coroutine.create(function()
  1726. wait(0.5)
  1727. if attack == false then
  1728. combo = 0
  1729. comboing = false
  1730. gairo.Parent = nil
  1731. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1732. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1733. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1734. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1735. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1736. end
  1737. end))
  1738. elseif combo == 3 then
  1739. combo = 4
  1740. fourhit()
  1741. wait(0.5)
  1742. combo = 0
  1743. comboing = false
  1744. gairo.Parent = nil
  1745. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1746. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1747. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1748. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1749. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1750. end
  1751. end
  1752. function ob1u(mouse)
  1753. hold = false
  1754. end
  1755. buttonhold = false
  1756. function key(key)
  1757. if attack == true then return end
  1758. if key == "q" then
  1759. LaserWave()
  1760. end
  1761. if key == "e" then
  1762. OverBlast()
  1763. end
  1764. if key == "r" then
  1765. SpinBeam()
  1766. end
  1767. if key == "t" then
  1768. LaserBarrage()
  1769. end
  1770. if key == "y" then
  1771. CloseRangedFire()
  1772. end
  1773. if key == "u" then
  1774. SpinLaser()
  1775. end
  1776. if key == "x" then
  1777. Implosion()
  1778. end
  1779. if key == "c" then
  1780. LaserPillars()
  1781. end
  1782. if key == "z" then
  1783. DodgeTheLaser()
  1784. end
  1785. end
  1786. function key2(key)
  1787. end
  1788. function s(mouse)
  1789. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1790. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1791. mouse.KeyDown:connect(key)
  1792. mouse.KeyUp:connect(key2)
  1793. player = Player
  1794. ch = Character
  1795. RSH = ch.Torso["Right Shoulder"]
  1796. LSH = ch.Torso["Left Shoulder"]
  1797. --
  1798. RW.Part0 = ch.Torso
  1799. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1800. RW.C1 = CFrame.new(0, 0.5, 0)
  1801. RW.Part1 = ch["Right Arm"]
  1802. RW.Parent = ch.Torso
  1803. --_G.R = RW
  1804. --
  1805. LW.Part0 = ch.Torso
  1806. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1807. LW.C1 = CFrame.new(0, 0.5, 0)
  1808. LW.Part1 = ch["Left Arm"]
  1809. LW.Parent = ch.Torso
  1810. --_G.L = LW
  1811. --
  1812. equipanim()
  1813. end
  1814. function ds(mouse)
  1815. hideanim()
  1816. RW.Parent = nil
  1817. LW.Parent = nil
  1818. RSH.Parent = player.Character.Torso
  1819. LSH.Parent = player.Character.Torso
  1820. end
  1821. Bin.Selected:connect(s)
  1822. Bin.Deselected:connect(ds)
  1823. function onRunning(speed)
  1824. if attack == true then return end
  1825. if speed>0 then
  1826. walking = true
  1827. for i = 0,1,0.1 do
  1828. wait()
  1829. if attack == false and comboing == false then
  1830. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1831. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1832. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1833. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1834. end
  1835. end
  1836. else
  1837. walking = false
  1838. for i = 0,1,0.1 do
  1839. wait()
  1840. if attack == false and comboing == false then
  1841. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1842. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1843. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1844. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1845. end
  1846. end
  1847. end
  1848. end
  1849. Character.Humanoid.Running:connect(onRunning)
  1850. coroutine.resume(coroutine.create(function()
  1851. while true do
  1852. wait(0)
  1853. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  1854. fentext.Text = "Energy("..mana..")"
  1855. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  1856. end
  1857. end))
  1858. coroutine.resume(coroutine.create(function()
  1859. while true do
  1860. wait(0.1)
  1861. if mana <= 0 and attack == false then
  1862. attack = true
  1863. while mana <= 800 do
  1864. wait(0.1)
  1865. mana = mana + 5
  1866. end
  1867. attack = false
  1868. end
  1869. if mana < 800 and attack == false then
  1870. mana = mana + 2
  1871. end
  1872. end
  1873. end))
  1874. coroutine.resume(coroutine.create(function()
  1875. while true do
  1876. wait()
  1877. for i = 0,1,0.01 do
  1878. wait(0)
  1879. if attack == false and comboing == false then
  1880. wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1881. wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1882. wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1883. wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1884. wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1885. wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1886. wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1887. wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1888. end
  1889. end
  1890. end
  1891. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement