Advertisement
KnightZoro

Harute

Apr 25th, 2015
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.92 KB | None | 0 0
  1. Player = game:GetService("Players").Zororion
  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("Really black")
  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("Bright red")
  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("Really black")
  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("Bright red")
  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("Really black")
  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("Bright red")
  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("Really black")
  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("Bright red")
  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("Bright red")
  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("Really black")
  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("Bright red")
  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. showDamage(hit.Parent,Dmg,.5)
  1374. end
  1375. end
  1376. --[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then
  1377. end ]]
  1378. end
  1379. end
  1380. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1381. local msh1 = Instance.new("BlockMesh")
  1382. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1383. S=Instance.new("Part")
  1384. S.Name="Effect"
  1385. S.formFactor=0
  1386. S.Size=Vector3.new(x1,y1,z1)
  1387. S.BrickColor=color
  1388. S.Reflectance = 0
  1389. S.TopSurface=0
  1390. S.BottomSurface=0
  1391. S.Transparency=0
  1392. S.Anchored=true
  1393. S.CanCollide=false
  1394. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1395. S.Parent=Character
  1396. msh1.Parent = S
  1397. 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)
  1398. end
  1399. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1400. local msh1 = Instance.new("BlockMesh")
  1401. msh1.Scale = Vector3.new(x1,y1,z1)
  1402. S=Instance.new("Part")
  1403. S.Name="Effect"
  1404. S.formFactor=0
  1405. S.Size=Vector3.new(1,1,1)
  1406. S.BrickColor=color
  1407. S.Reflectance = 0
  1408. S.TopSurface=0
  1409. S.BottomSurface=0
  1410. S.Transparency=0
  1411. S.Anchored=true
  1412. S.CanCollide=false
  1413. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1414. S.Parent=Character
  1415. msh1.Parent = S
  1416. 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)
  1417. end
  1418. function MOREMAGIX(part,cframe,x,y,z,color)
  1419. p2=Instance.new("Part")
  1420. p2.Name="Blast"
  1421. p2.TopSurface=0
  1422. p2.BottomSurface=0
  1423. p2.CanCollide=false
  1424. p2.Anchored=true
  1425. p2.BrickColor=color
  1426. p2.Size=Vector3.new(x,y,z)
  1427. p2.formFactor="Symmetric"
  1428. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  1429. p2.Parent=workspace
  1430. m=Instance.new("BlockMesh")
  1431. m.Parent=p2
  1432. m.Name="BlastMesh"
  1433. 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))
  1434. end
  1435. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1436. local msh1 = Instance.new("SpecialMesh")
  1437. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1438. msh1.MeshType = "Sphere"
  1439. S=Instance.new("Part")
  1440. S.Name="Effect"
  1441. S.formFactor=0
  1442. S.Size=Vector3.new(x1,y1,z1)
  1443. S.BrickColor=color
  1444. if Style == "WingBlade" and element == "Dark" then
  1445. S.BrickColor=BrickColor.new("Black")
  1446. end
  1447. S.Reflectance = 0
  1448. S.TopSurface=0
  1449. S.BottomSurface=0
  1450. S.Transparency=0
  1451. S.Anchored=true
  1452. S.CanCollide=false
  1453. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1454. S.Parent=Character
  1455. msh1.Parent = S
  1456. 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)
  1457. end
  1458. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1459. local msh1 = Instance.new("SpecialMesh")
  1460. msh1.Scale = Vector3.new(x1,y1,z1)
  1461. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1462. S=Instance.new("Part")
  1463. S.Name="Effect"
  1464. S.formFactor=0
  1465. S.Size=Vector3.new(1,1,1)
  1466. S.BrickColor=color
  1467. S.Reflectance = 0
  1468. S.TopSurface=0
  1469. S.BottomSurface=0
  1470. S.Transparency=0
  1471. S.Anchored=true
  1472. S.CanCollide=false
  1473. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1474. S.Parent=Character
  1475. msh1.Parent = S
  1476. 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)
  1477. end
  1478. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1479. local msh1 = Instance.new("SpecialMesh")
  1480. msh1.Scale = Vector3.new(x1,y1,z1)
  1481. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1482. S=Instance.new("Part")
  1483. S.Name="Effect"
  1484. S.formFactor=0
  1485. S.Size=Vector3.new(1,1,1)
  1486. S.BrickColor=color
  1487. S.Reflectance = 0
  1488. S.TopSurface=0
  1489. S.BottomSurface=0
  1490. S.Transparency=0
  1491. S.Anchored=true
  1492. S.CanCollide=false
  1493. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1494. S.Parent=Character
  1495. msh1.Parent = S
  1496. 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)
  1497. end
  1498. function ss(pitch)
  1499. local SlashSound = Instance.new("Sound")
  1500. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1501. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  1502. SlashSound.Parent = workspace
  1503. SlashSound.Volume = .7
  1504. SlashSound.Pitch = pitch
  1505. SlashSound.PlayOnRemove = true
  1506. coroutine.resume(coroutine.create(function()
  1507. wait(0)
  1508. SlashSound.Parent = nil
  1509. end))
  1510. end
  1511. function equipsound(pitch)
  1512. local SlashSound = Instance.new("Sound")
  1513. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1514. SlashSound.Parent = workspace
  1515. SlashSound.Volume = .5
  1516. SlashSound.Pitch = pitch
  1517. SlashSound.PlayOnRemove = true
  1518. coroutine.resume(coroutine.create(function()
  1519. wait(0)
  1520. SlashSound.Parent = nil
  1521. end))
  1522. end
  1523. function magicsound(pitch)
  1524. local SlashSound = Instance.new("Sound")
  1525. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1526. SlashSound.Parent = workspace
  1527. SlashSound.Volume = .5
  1528. SlashSound.Pitch = pitch
  1529. SlashSound.PlayOnRemove = true
  1530. coroutine.resume(coroutine.create(function()
  1531. wait(0)
  1532. SlashSound.Parent = nil
  1533. end))
  1534. end
  1535. function critsound(pitch)
  1536. local SlashSound = Instance.new("Sound")
  1537. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  1538. SlashSound.Parent = workspace
  1539. SlashSound.Volume = .7
  1540. SlashSound.Pitch = pitch
  1541. SlashSound.PlayOnRemove = true
  1542. coroutine.resume(coroutine.create(function()
  1543. wait(0)
  1544. SlashSound.Parent = nil
  1545. end))
  1546. end
  1547. function spikesound(pitch)
  1548. local SlashSound = Instance.new("Sound")
  1549. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  1550. SlashSound.Parent = workspace
  1551. SlashSound.Volume = .7
  1552. SlashSound.Pitch = pitch
  1553. SlashSound.PlayOnRemove = true
  1554. coroutine.resume(coroutine.create(function()
  1555. wait(0)
  1556. SlashSound.Parent = nil
  1557. end))
  1558. end
  1559. function lasersound(pitch)
  1560. local SlashSound = Instance.new("Sound")
  1561. SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav"
  1562. SlashSound.Parent = workspace
  1563. SlashSound.Volume = .5
  1564. SlashSound.Pitch = pitch
  1565. SlashSound.PlayOnRemove = true
  1566. coroutine.resume(coroutine.create(function()
  1567. wait(0)
  1568. SlashSound.Parent = nil
  1569. end))
  1570. end
  1571. --rbxasset://sounds/Launching rocket.wav
  1572. Damagefunc1=function(hit,Damage,Knockback)
  1573. if attackdebounce == false then
  1574. attackdebounce = true
  1575. coroutine.resume(coroutine.create(function()
  1576. wait(0.1)
  1577. attackdebounce = false
  1578. end))
  1579. if hit.Parent==nil then
  1580. return
  1581. end
  1582. CPlayer=Bin
  1583. h=hit.Parent:FindFirstChild("Humanoid")
  1584. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1585. if mana < 800 then
  1586. mana = mana + math.random(10,20)
  1587. end
  1588. if mana > 800 then
  1589. mana = 800
  1590. end
  1591. Damage=Damage
  1592. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1593. return
  1594. end]]
  1595. c=Instance.new("ObjectValue")
  1596. c.Name="creator"
  1597. c.Value=game.Players.LocalPlayer
  1598. c.Parent=h
  1599. game:GetService("Debris"):AddItem(c,.5)
  1600. -- print(c.Value)
  1601. if math.random(0,99)+math.random()<=5 then
  1602. CRIT=true
  1603. Damage=Damage*1.5
  1604. --[[ Knockback=Knockback*2
  1605. r=Instance.new("BodyAngularVelocity")
  1606. r.P=3000
  1607. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1608. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1609. r.Parent=hit.Parent.Torso]]
  1610. critsound(2)
  1611. end
  1612. Damage=Damage+math.random(0,10)
  1613. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1614. h:TakeDamage(Damage)
  1615. showDamage(hit.Parent,Damage,.5)
  1616. vp=Instance.new("BodyVelocity")
  1617. vp.P=500
  1618. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1619. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1620. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1621. if Knockback>0 then
  1622. vp.Parent=hit.Parent.Torso
  1623. end
  1624. game:GetService("Debris"):AddItem(vp,.25)
  1625. --[[ r=Instance.new("BodyAngularVelocity")
  1626. r.P=3000
  1627. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1628. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1629. r.Parent=hit.Parent.Torso]]
  1630. game:GetService("Debris"):AddItem(r,.5)
  1631. c=Instance.new("ObjectValue")
  1632. c.Name="creator"
  1633. c.Value=Player
  1634. c.Parent=h
  1635. game:GetService("Debris"):AddItem(c,.5)
  1636. CRIT=false
  1637. hitDeb=true
  1638. AttackPos=6
  1639. end
  1640. end
  1641. end
  1642. showDamage=function(Char,Dealt,du)
  1643. m=Instance.new("Model")
  1644. m.Name=tostring(Dealt)
  1645. h=Instance.new("Humanoid")
  1646. h.Health=0
  1647. h.MaxHealth=0
  1648. h.Parent=m
  1649. c=Instance.new("Part")
  1650. c.Transparency=0
  1651. c.BrickColor=BrickColor:Red()
  1652. if CRIT==true then
  1653. c.BrickColor=BrickColor.new("Really red")
  1654. end
  1655. c.Name="Head"
  1656. c.TopSurface=0
  1657. c.BottomSurface=0
  1658. c.formFactor="Plate"
  1659. c.Size=Vector3.new(1,.4,1)
  1660. ms=Instance.new("CylinderMesh")
  1661. ms.Bevel=.1
  1662. ms.Scale=Vector3.new(.8,.8,.8)
  1663. if CRIT==true then
  1664. ms.Scale=Vector3.new(1.25,1.5,1.25)
  1665. ms.Bevel=.2
  1666. end
  1667. ms.Parent=c
  1668. c.Reflectance=0
  1669. Instance.new("BodyGyro").Parent=c
  1670. c.Parent=m
  1671. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1672. f=Instance.new("BodyPosition")
  1673. f.P=2000
  1674. f.D=100
  1675. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1676. f.position=c.Position+Vector3.new(0,3,0)
  1677. f.Parent=c
  1678. game:GetService("Debris"):AddItem(m,.5+du)
  1679. c.CanCollide=false
  1680. m.Parent=workspace
  1681. c.CanCollide=false
  1682. end
  1683. hold = false
  1684. function ob1d(mouse)
  1685. if attack == true then return end
  1686. if stancing == true then return end
  1687. hold = true
  1688. if combo == 0 then
  1689. combo = 1
  1690. onehit()
  1691. coroutine.resume(coroutine.create(function()
  1692. wait(0.5)
  1693. if attack == false then
  1694. combo = 0
  1695. comboing = false
  1696. gairo.Parent = nil
  1697. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1698. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1699. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1700. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1701. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1702. end
  1703. end))
  1704. elseif combo == 1 then
  1705. combo = 2
  1706. twohit()
  1707. coroutine.resume(coroutine.create(function()
  1708. wait(0.5)
  1709. if attack == false then
  1710. combo = 0
  1711. comboing = false
  1712. gairo.Parent = nil
  1713. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1714. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1715. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1716. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1717. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1718. end
  1719. end))
  1720. elseif combo == 2 then
  1721. combo = 3
  1722. threehit()
  1723. coroutine.resume(coroutine.create(function()
  1724. wait(0.5)
  1725. if attack == false then
  1726. combo = 0
  1727. comboing = false
  1728. gairo.Parent = nil
  1729. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1730. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1731. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1732. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1733. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1734. end
  1735. end))
  1736. elseif combo == 3 then
  1737. combo = 4
  1738. fourhit()
  1739. wait(0.5)
  1740. combo = 0
  1741. comboing = false
  1742. gairo.Parent = nil
  1743. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1744. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1745. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1746. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1747. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1748. end
  1749. end
  1750. function ob1u(mouse)
  1751. hold = false
  1752. end
  1753. buttonhold = false
  1754. function key(key)
  1755. if attack == true then return end
  1756. if key == "q" then
  1757. LaserWave()
  1758. end
  1759. if key == "e" then
  1760. OverBlast()
  1761. end
  1762. if key == "r" then
  1763. SpinBeam()
  1764. end
  1765. if key == "t" then
  1766. LaserBarrage()
  1767. end
  1768. if key == "y" then
  1769. CloseRangedFire()
  1770. end
  1771. if key == "u" then
  1772. SpinLaser()
  1773. end
  1774. if key == "x" then
  1775. Implosion()
  1776. end
  1777. if key == "c" then
  1778. LaserPillars()
  1779. end
  1780. if key == "z" then
  1781. DodgeTheLaser()
  1782. end
  1783. end
  1784. function key2(key)
  1785. end
  1786. function s(mouse)
  1787. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1788. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1789. mouse.KeyDown:connect(key)
  1790. mouse.KeyUp:connect(key2)
  1791. player = Player
  1792. ch = Character
  1793. RSH = ch.Torso["Right Shoulder"]
  1794. LSH = ch.Torso["Left Shoulder"]
  1795. --
  1796. RW.Part0 = ch.Torso
  1797. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1798. RW.C1 = CFrame.new(0, 0.5, 0)
  1799. RW.Part1 = ch["Right Arm"]
  1800. RW.Parent = ch.Torso
  1801. --_G.R = RW
  1802. --
  1803. LW.Part0 = ch.Torso
  1804. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1805. LW.C1 = CFrame.new(0, 0.5, 0)
  1806. LW.Part1 = ch["Left Arm"]
  1807. LW.Parent = ch.Torso
  1808. --_G.L = LW
  1809. --
  1810. equipanim()
  1811. end
  1812. function ds(mouse)
  1813. hideanim()
  1814. RW.Parent = nil
  1815. LW.Parent = nil
  1816. RSH.Parent = player.Character.Torso
  1817. LSH.Parent = player.Character.Torso
  1818. end
  1819. Bin.Selected:connect(s)
  1820. Bin.Deselected:connect(ds)
  1821. function onRunning(speed)
  1822. if attack == true then return end
  1823. if speed>0 then
  1824. walking = true
  1825. for i = 0,1,0.1 do
  1826. wait()
  1827. if attack == false and comboing == false then
  1828. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1829. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1830. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1831. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1832. end
  1833. end
  1834. else
  1835. walking = false
  1836. for i = 0,1,0.1 do
  1837. wait()
  1838. if attack == false and comboing == false then
  1839. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1840. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1841. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1842. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1843. end
  1844. end
  1845. end
  1846. end
  1847. Character.Humanoid.Running:connect(onRunning)
  1848. coroutine.resume(coroutine.create(function()
  1849. while true do
  1850. wait(0)
  1851. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  1852. fentext.Text = "Energy("..mana..")"
  1853. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  1854. end
  1855. end))
  1856. coroutine.resume(coroutine.create(function()
  1857. while true do
  1858. wait(0.1)
  1859. if mana <= 0 and attack == false then
  1860. attack = true
  1861. while mana <= 800 do
  1862. wait(0.1)
  1863. mana = mana + 5
  1864. end
  1865. attack = false
  1866. end
  1867. if mana < 800 and attack == false then
  1868. mana = mana + 2
  1869. end
  1870. end
  1871. end))
  1872. coroutine.resume(coroutine.create(function()
  1873. while true do
  1874. wait()
  1875. for i = 0,1,0.01 do
  1876. wait(0)
  1877. if attack == false and comboing == false then
  1878. wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1879. wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1880. wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1881. wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1882. wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1883. wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1884. wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1885. wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i)
  1886. end
  1887. end
  1888. end
  1889. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement