Advertisement
memberhero

working harute leaked forever

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