Zarcus

Untitled

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