Advertisement
memberhero

Glaive2

Jan 22nd, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 138.84 KB | None | 0 0
  1. Player = game:GetService("Players").LocalPlayer
  2. value = Instance.new("StringValue",Player)
  3. value.Name = "FPSCH"
  4. Character = Player.Character
  5. PlayerGui = Player.PlayerGui
  6. Backpack = Player.Backpack
  7. Torso = Character.Torso
  8. Head = Character.Head
  9. LeftArm = Character["Left Arm"]
  10. LeftLeg = Character["Left Leg"]
  11. RightArm = Character["Right Arm"]
  12. RootPart=Character.HumanoidRootPart
  13.  
  14. RightLeg = Character["Right Leg"]
  15. LS = Torso["Left Shoulder"]
  16. LH = Torso["Left Hip"]
  17. RS = Torso["Right Shoulder"]
  18. RH = Torso["Right Hip"]
  19.  
  20.  
  21. mana=200
  22. it=Instance.new
  23. element="Light"
  24. barragehold=false
  25. bashing = false
  26. cf=CFrame.new
  27. vt=Vector3.new
  28. euler=CFrame.fromEulerAnglesXYZ
  29. angles=CFrame.Angles
  30. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  33. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  34. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RootJoint=RootPart.RootJoint
  37. RootCF=euler(-1.57,0,3.14)
  38. attack = false
  39. attackdebounce = false
  40. local Effects={}
  41. hitbox=nil
  42. combo = 0
  43. --player
  44. player = nil
  45. --save shoulders
  46. RSH, LSH = nil, nil
  47. --welds
  48. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  49.  
  50. if Character:findFirstChild("Glaive",true) ~= nil then
  51. Character:findFirstChild("Glaive",true).Parent = nil
  52. end
  53. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  54. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  55. end
  56.  
  57.  
  58. local fengui = Instance.new("GuiMain")
  59. fengui.Parent = Player.PlayerGui
  60. fengui.Name = "manaGUI"
  61. local fenframe = Instance.new("Frame")
  62. fenframe.Parent = fengui
  63. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  64. fenframe.BackgroundTransparency = 1
  65. fenframe.BorderColor3 = Color3.new(17,17,17)
  66. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  67. local fentext = Instance.new("TextLabel")
  68. fentext.Parent = fenframe
  69. fentext.Text = "Mana("..mana..")"
  70. fentext.BackgroundTransparency = 1
  71. fentext.SizeConstraint = "RelativeXY"
  72. fentext.TextXAlignment = "Center"
  73. fentext.TextYAlignment = "Center"
  74. fentext.Position = UDim2.new(0,80,1,200)
  75. local fentext2 = Instance.new("TextLabel")
  76. fentext2.Parent = fenframe
  77. fentext2.Text = " "
  78. fentext2.BackgroundTransparency = 0
  79. fentext2.BackgroundColor3 = Color3.new(0,0,0)
  80. fentext2.SizeConstraint = "RelativeXY"
  81. fentext2.TextXAlignment = "Center"
  82. fentext2.TextYAlignment = "Center"
  83. fentext2.Position = UDim2.new(0,10,1,170)
  84. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  85. local fentext3 = Instance.new("TextLabel")
  86. fentext3.Parent = fenframe
  87. fentext3.Text = " "
  88. fentext3.BackgroundTransparency = 0
  89. fentext3.BackgroundColor3 = Color3.new(1,1,0)
  90. fentext3.SizeConstraint = "RelativeXY"
  91. fentext3.TextXAlignment = "Center"
  92. fentext3.TextYAlignment = "Center"
  93. fentext3.Position = UDim2.new(0,10,1,170)
  94. fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  95.  
  96.  
  97. function NoOutline(Part)
  98. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  99. end
  100. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  101. local fp=it("Part")
  102. fp.formFactor=formfactor
  103. fp.Parent=parent
  104. fp.Reflectance=reflectance
  105. fp.Transparency=transparency
  106. fp.CanCollide=false
  107. fp.Locked=true
  108. fp.BrickColor=brickcolor
  109. fp.Name=name
  110. fp.Size=size
  111. fp.Position=Torso.Position
  112. NoOutline(fp)
  113. fp.Material="SmoothPlastic"
  114. fp:BreakJoints()
  115. return fp
  116. end
  117.  
  118.  
  119. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  120. local mesh=it(Mesh)
  121. mesh.Parent=part
  122. if Mesh=="SpecialMesh" then
  123. mesh.MeshType=meshtype
  124. mesh.MeshId=meshid
  125. end
  126. mesh.Offset=offset
  127. mesh.Scale=scale
  128. return mesh
  129. end
  130.  
  131. function weld(parent,part0,part1,c0)
  132. local weld=it("Weld")
  133. weld.Parent=parent
  134. weld.Part0=part0
  135. weld.Part1=part1
  136. weld.C0=c0
  137. return weld
  138. end
  139.  
  140. local hitbox1=part(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  141.  
  142. ArtificialHB = Instance.new("BindableEvent", script)
  143. ArtificialHB.Name = "Heartbeat"
  144.  
  145. script:WaitForChild("Heartbeat")
  146. frame = 1 / 30
  147. if frame == 1 / 30 then
  148. frame = 1 / 30
  149.  
  150. frame = 1/60
  151. else
  152. frame=1/30
  153. end
  154. tf = 0
  155. allowframeloss = false
  156. tossremainder = false
  157. lastframe = tick()
  158. script.Heartbeat:Fire()
  159.  
  160. game:GetService("RunService").Heartbeat:connect(function(s, p)
  161. tf = tf + s
  162. if tf >= frame then
  163. if allowframeloss then
  164. script.Heartbeat:Fire()
  165. lastframe = tick()
  166. else
  167. for i = 1, math.floor(tf / frame) do
  168. script.Heartbeat:Fire()
  169. end
  170. lastframe = tick()
  171. end
  172. if tossremainder then
  173. tf = 0
  174. else
  175. tf = tf - frame * math.floor(tf / frame)
  176. end
  177. end
  178. end)
  179.  
  180. function swait(num)
  181. if num == 0 or num == nil then
  182. ArtificialHB.Event:wait()
  183. else
  184. for i = 0, num do
  185. ArtificialHB.Event:wait()
  186. end
  187. end
  188. end
  189.  
  190.  
  191. local glaive = Instance.new("Model")
  192. glaive.Parent = Character
  193. glaive.Name = "Glaive"
  194.  
  195. local prt1 = Instance.new("Part")
  196. prt1.formFactor = 1
  197. prt1.Parent = glaive
  198. prt1.CanCollide = false
  199. prt1.BrickColor = BrickColor.new("Bright blue")
  200. prt1.Name = "ArmataeShield1"
  201. prt1.Size = Vector3.new(2,2,1)
  202. prt1.CFrame = Torso.CFrame
  203. local prt2 = Instance.new("Part")
  204. prt2.formFactor = 1
  205. prt2.Parent = glaive
  206. prt2.CanCollide = false
  207. prt2.BrickColor = BrickColor.new("Bright blue")
  208. prt2.Name = "ArmataeShield2"
  209. prt2.Size = Vector3.new(1,1,1)
  210. prt2.CFrame = Torso.CFrame
  211. local prt3 = Instance.new("Part")
  212. prt3.formFactor = 1
  213. prt3.Parent = glaive
  214. prt3.CanCollide = false
  215. prt3.BrickColor = BrickColor.new("Bright blue")
  216. prt3.Name = "ArmataeShield3"
  217. prt3.Size = Vector3.new(1,1,1)
  218. prt3.CFrame = Torso.CFrame
  219. local prt4 = Instance.new("Part")
  220. prt4.formFactor = 1
  221. prt4.Parent = glaive
  222. prt4.CanCollide = false
  223. prt4.BrickColor = BrickColor.new("Bright blue")
  224. prt4.Name = "ArmataeShield4"
  225. prt4.Size = Vector3.new(1,1,1)
  226. prt4.CFrame = Torso.CFrame
  227. local prt5 = Instance.new("Part")
  228. prt5.formFactor = 1
  229. prt5.Parent = glaive
  230. prt5.CanCollide = false
  231. prt5.BrickColor = BrickColor.new("Bright blue")
  232. prt5.Name = "ArmataeShield5"
  233. prt5.Size = Vector3.new(1,1,1)
  234. prt5.CFrame = Torso.CFrame
  235. local prt6 = Instance.new("Part")
  236. prt6.formFactor = 1
  237. prt6.Parent = glaive
  238. prt6.CanCollide = false
  239. prt6.BrickColor = BrickColor.new("White")
  240. prt6.Name = "ArmataeShield6"
  241. prt6.Size = Vector3.new(2,2,1)
  242. prt6.CFrame = Torso.CFrame
  243. local prt7 = Instance.new("Part")
  244. prt7.formFactor = 1
  245. prt7.Parent = glaive
  246. prt7.CanCollide = false
  247. prt7.BrickColor = BrickColor.new("White")
  248. prt7.Name = "ArmataeShield7"
  249. prt7.Size = Vector3.new(1,1,1)
  250. prt7.CFrame = Torso.CFrame
  251. local prt8 = Instance.new("Part")
  252. prt8.formFactor = 1
  253. prt8.Parent = glaive
  254. prt8.CanCollide = false
  255. prt8.BrickColor = BrickColor.new("White")
  256. prt8.Name = "ArmataeShield8"
  257. prt8.Size = Vector3.new(1,1,1)
  258. prt8.CFrame = Torso.CFrame
  259. local prt9 = Instance.new("Part")
  260. prt9.formFactor = 1
  261. prt9.Parent = glaive
  262. prt9.CanCollide = false
  263. prt9.BrickColor = BrickColor.new("White")
  264. prt9.Name = "ArmataeShield9"
  265. prt9.Size = Vector3.new(1,1,1)
  266. prt9.CFrame = Torso.CFrame
  267. local prt10 = Instance.new("Part")
  268. prt10.formFactor = 1
  269. prt10.Parent = glaive
  270. prt10.CanCollide = false
  271. prt10.BrickColor = BrickColor.new("White")
  272. prt10.Name = "ArmataeShield10"
  273. prt10.Size = Vector3.new(1,1,1)
  274. prt10.CFrame = Torso.CFrame
  275. local prt11 = Instance.new("Part")
  276. prt11.formFactor = 1
  277. prt11.Reflectance = 0.1
  278. prt11.Parent = glaive
  279. prt11.CanCollide = false
  280. prt11.BrickColor = BrickColor.new("Bright yellow")
  281. prt11.Name = "ArmataeShield11"
  282. prt11.Size = Vector3.new(2,2,1)
  283. prt11.CFrame = Torso.CFrame
  284. local prt12 = Instance.new("Part")
  285. prt12.formFactor = 1
  286. prt12.Reflectance = 0.1
  287. prt12.Parent = glaive
  288. prt12.CanCollide = false
  289. prt12.BrickColor = BrickColor.new("Bright yellow")
  290. prt12.Name = "ArmataeShield12"
  291. prt12.Size = Vector3.new(1,1,1)
  292. prt12.CFrame = Torso.CFrame
  293. local prt13 = Instance.new("Part")
  294. prt13.formFactor = 1
  295. prt13.Reflectance = 0.1
  296. prt13.Parent = glaive
  297. prt13.CanCollide = false
  298. prt13.BrickColor = BrickColor.new("Bright yellow")
  299. prt13.Name = "ArmataeShield13"
  300. prt13.Size = Vector3.new(1,1,1)
  301. prt13.CFrame = Torso.CFrame
  302. local prt14 = Instance.new("Part")
  303. prt14.formFactor = 1
  304. prt14.Reflectance = 0.1
  305. prt14.Parent = glaive
  306. prt14.CanCollide = false
  307. prt14.BrickColor = BrickColor.new("Bright yellow")
  308. prt14.Name = "ArmataeShield14"
  309. prt14.Size = Vector3.new(1,1,1)
  310. prt14.CFrame = Torso.CFrame
  311. local prt15 = Instance.new("Part")
  312. prt15.formFactor = 1
  313. prt15.Reflectance = 0.1
  314. prt15.Parent = glaive
  315. prt15.CanCollide = false
  316. prt15.BrickColor = BrickColor.new("Bright yellow")
  317. prt15.Name = "ArmataeShield15"
  318. prt15.Size = Vector3.new(1,1,1)
  319. prt15.CFrame = Torso.CFrame
  320. local prt16 = Instance.new("Part")
  321. prt16.formFactor = 1
  322. prt16.Reflectance = 0.2
  323. prt16.Parent = glaive
  324. prt16.CanCollide = false
  325. prt16.BrickColor = BrickColor.new("White")
  326. prt16.Name = "ArmataeShield16"
  327. prt16.Size = Vector3.new(1,1,1)
  328. prt16.CFrame = Torso.CFrame
  329. local prt17 = Instance.new("Part")
  330. prt17.formFactor = 1
  331. prt17.Reflectance = 0.1
  332. prt17.Parent = glaive
  333. prt17.CanCollide = false
  334. prt17.BrickColor = BrickColor.new("Bright blue")
  335. prt17.Name = "ArmataeShield17"
  336. prt17.Size = Vector3.new(1,1,1)
  337. prt17.CFrame = Torso.CFrame
  338. local prt18 = Instance.new("Part")
  339. prt18.formFactor = 1
  340. prt18.Reflectance = 0.1
  341. prt18.Parent = glaive
  342. prt18.CanCollide = false
  343. prt18.BrickColor = BrickColor.new("Bright blue")
  344. prt18.Name = "ArmataeShield18"
  345. prt18.Size = Vector3.new(1,1,1)
  346. prt18.CFrame = Torso.CFrame
  347. local prt19 = Instance.new("Part")
  348. prt19.formFactor = 1
  349. prt19.Reflectance = 0.1
  350. prt19.Parent = glaive
  351. prt19.CanCollide = false
  352. prt19.BrickColor = BrickColor.new("Bright blue")
  353. prt19.Name = "ArmataeShield19"
  354. prt19.Size = Vector3.new(1,1,1)
  355. prt19.CFrame = Torso.CFrame
  356.  
  357. local part1 = Instance.new("Part")
  358. part1.formFactor = 1
  359. part1.CanCollide = false
  360. part1.Name = "Handle1"
  361. part1.Locked = true
  362. part1.Size = Vector3.new(1,1,1)
  363. part1.Parent = glaive
  364. part1.BrickColor = BrickColor.new("Black")
  365. local part2 = Instance.new("Part")
  366. part2.formFactor = 3
  367. part2.CanCollide = false
  368. part2.Name = "Handle2"
  369. part2.Locked = true
  370. part2.Size = Vector3.new(1,1,1)
  371. part2.Parent = glaive
  372. part2.BrickColor = BrickColor.new("Bright yellow")
  373. local part3 = Instance.new("Part")
  374. part3.formFactor = 3
  375. part3.CanCollide = false
  376. part3.Name = "Handle3"
  377. part3.Locked = true
  378. part3.Size = Vector3.new(1,1,1)
  379. part3.Parent = glaive
  380. part3.BrickColor = BrickColor.new("White")
  381. local part4 = Instance.new("Part")
  382. part4.formFactor = 3
  383. part4.CanCollide = false
  384. part4.Name = "Handle4"
  385. part4.Locked = true
  386. part4.Size = Vector3.new(1,1,1)
  387. part4.Parent = glaive
  388. part4.BrickColor = BrickColor.new("Bright blue")
  389. local part5 = Instance.new("Part")
  390. part5.formFactor = 3
  391. part5.CanCollide = false
  392. part5.Name = "Handle5"
  393. part5.Locked = true
  394. part5.Size = Vector3.new(1,1,1)
  395. part5.Parent = glaive
  396. part5.BrickColor = BrickColor.new("White")
  397. local part6 = Instance.new("Part")
  398. part6.formFactor = 1
  399. part6.CanCollide = false
  400. part6.Name = "Handle6"
  401. part6.Locked = true
  402. part6.Size = Vector3.new(1,1,1)
  403. part6.Parent = glaive
  404. part6.BrickColor = BrickColor.new("Bright blue")
  405. local part7 = Instance.new("Part")
  406. part7.formFactor = 1
  407. part7.CanCollide = false
  408. part7.Name = "Handle7"
  409. part7.Locked = true
  410. part7.Size = Vector3.new(1,1,1)
  411. part7.Parent = glaive
  412. part7.BrickColor = BrickColor.new("White")
  413. local part8 = Instance.new("Part")
  414. part8.formFactor = 1
  415. part8.CanCollide = false
  416. part8.Name = "Handle8"
  417. part8.Locked = true
  418. part8.Size = Vector3.new(1,1,1)
  419. part8.Parent = glaive
  420. part8.BrickColor = BrickColor.new("Bright blue")
  421. local part9 = Instance.new("Part")
  422. part9.formFactor = 1
  423. part9.CanCollide = false
  424. part9.Name = "Handle9"
  425. part9.Locked = true
  426. part9.Size = Vector3.new(1,1,1)
  427. part9.Parent = glaive
  428. part9.BrickColor = BrickColor.new("White")
  429. local part10 = Instance.new("Part")
  430. part10.formFactor = 1
  431. part10.CanCollide = false
  432. part10.Name = "Handle10"
  433. part10.Locked = true
  434. part10.Size = Vector3.new(1,1,1)
  435. part10.Parent = glaive
  436. part10.BrickColor = BrickColor.new("Bright yellow")
  437. local part11 = Instance.new("Part")
  438. part11.formFactor = 3
  439. part11.CanCollide = false
  440. part11.Name = "Blade1"
  441. part11.Locked = true
  442. part11.Size = Vector3.new(.1,.1,.1)
  443. part11.Parent = glaive
  444. part11.BrickColor = BrickColor.new("White")
  445. local part12 = Instance.new("Part")
  446. part12.formFactor = 3
  447. part12.CanCollide = false
  448. part12.Name = "Blade2"
  449. part12.Locked = true
  450. part12.Size = Vector3.new(.1,.1,.1)
  451. part12.Parent = glaive
  452. part12.BrickColor = BrickColor.new("Bright yellow")
  453. local part13 = Instance.new("Part")
  454. part13.formFactor = 3
  455. part13.CanCollide = false
  456. part13.Name = "Blade3"
  457. part13.Locked = true
  458. part13.Size = Vector3.new(.1,.1,.1)
  459. part13.Parent = glaive
  460. part13.BrickColor = BrickColor.new("Bright yellow")
  461. local part14 = Instance.new("Part")
  462. part14.formFactor = 3
  463. part14.CanCollide = false
  464. part14.Name = "Blade4"
  465. part14.Locked = true
  466. part14.Size = Vector3.new(.1,.1,.1)
  467. part14.Parent = glaive
  468. part14.BrickColor = BrickColor.new("Bright yellow")
  469. local part15 = Instance.new("Part")
  470. part15.formFactor = 1
  471. part15.CanCollide = false
  472. part15.Name = "Blade5"
  473. part15.Locked = true
  474. part15.Size = Vector3.new(1,1,1)
  475. part15.Parent = glaive
  476. part15.BrickColor = BrickColor.new("Bright yellow")
  477. local part16 = Instance.new("Part")
  478. part16.formFactor = 1
  479. part16.CanCollide = false
  480. part16.Name = "Blade6"
  481. part16.Locked = true
  482. part16.Size = Vector3.new(1,1,1)
  483. part16.Parent = glaive
  484. part16.BrickColor = BrickColor.new("Bright yellow")
  485. local part17 = Instance.new("Part")
  486. part17.formFactor = 1
  487. part17.CanCollide = false
  488. part17.Reflectance = 0.3
  489. part17.Name = "Blade7"
  490. part17.Locked = true
  491. part17.Size = Vector3.new(1,2,1)
  492. part17.Parent = glaive
  493. part17.BrickColor = BrickColor.new("White")
  494. part17.Material="Neon"
  495. local part18 = Instance.new("Part")
  496. part18.formFactor = 1
  497. part18.CanCollide = false
  498. part18.Reflectance = 0.3
  499. part18.Name = "Blade8"
  500. part18.Locked = true
  501. part18.Size = Vector3.new(1,2,1)
  502. part18.Parent = glaive
  503. part18.BrickColor = BrickColor.new("White")
  504. part18.Material="Neon"
  505. local part19 = Instance.new("Part")
  506. part19.formFactor = 3
  507. part19.CanCollide = false
  508. part19.Reflectance = 0.1
  509. part19.Name = "Blade9"
  510. part19.Locked = true
  511. part19.Size = Vector3.new(1,1,1)
  512. part19.Parent = glaive
  513. part19.BrickColor = BrickColor.new("Bright blue")
  514. local part20 = Instance.new("Part")
  515. part20.formFactor = 3
  516. part20.CanCollide = false
  517. part20.Reflectance = 0.1
  518. part20.Name = "Blade10"
  519. part20.Locked = true
  520. part20.Size = Vector3.new(.1,0.1,.1)
  521. part20.Parent = glaive
  522. part20.BrickColor = BrickColor.new("Bright blue")
  523. local part21 = Instance.new("Part")
  524. part21.formFactor = 3
  525. part21.CanCollide = false
  526. part21.Reflectance = 0.1
  527. part21.Name = "Blade11"
  528. part21.Locked = true
  529. part21.Size = Vector3.new(.1,.1,.1)
  530. part21.Parent = glaive
  531. part21.BrickColor = BrickColor.new("Bright blue")
  532. local part22 = Instance.new("Part")
  533. part22.formFactor = 3
  534. part22.CanCollide = false
  535. part22.Reflectance = 0.1
  536. part22.Name = "Blade12"
  537. part22.Locked = true
  538. part22.Size = Vector3.new(.1,.1,.1)
  539. part22.Parent = glaive
  540. part22.BrickColor = BrickColor.new("Bright blue")
  541. local part23 = Instance.new("Part")
  542. part23.formFactor = 3
  543. part23.CanCollide = false
  544. part23.Reflectance = 0.1
  545. part23.Name = "Blade13"
  546. part23.Locked = true
  547. part23.Size = Vector3.new(.1,.1,.1)
  548. part23.Parent = glaive
  549. part23.BrickColor = BrickColor.new("Bright blue")
  550. local part24 = Instance.new("Part")
  551. part24.formFactor = 3
  552. part24.CanCollide = false
  553. part24.Reflectance = 0.1
  554. part24.Name = "Blade14"
  555. part24.Locked = true
  556. part24.Size = Vector3.new(.1,.1,.1)
  557. part24.Parent = glaive
  558. part24.BrickColor = BrickColor.new("Bright blue")
  559. local part26 = Instance.new("Part")
  560. part26.formFactor = 3
  561. part26.CanCollide = false
  562. part26.Reflectance = 0
  563. part26.Name = "Blade16"
  564. part26.Locked = true
  565. part26.Size = Vector3.new(.1,.1,.1)
  566. part26.Parent = glaive
  567. part26.BrickColor = BrickColor.new("Bright blue")
  568. local part27 = Instance.new("Part")
  569. part27.formFactor = 3
  570. part27.CanCollide = false
  571. part27.Reflectance = 0
  572. part27.Name = "Blade17"
  573. part27.Locked = true
  574. part27.Size = Vector3.new(.1,.1,.1)
  575. part27.Parent = glaive
  576. part27.BrickColor = BrickColor.new("Bright blue")
  577.  
  578.  
  579. local msh1 = Instance.new("BlockMesh")
  580. msh1.Parent = prt1
  581. msh1.Scale = Vector3.new(1,1,0.5)
  582. local msh2 = Instance.new("SpecialMesh")
  583. msh2.Parent = prt2
  584. msh2.MeshType = "Wedge"
  585. msh2.Scale = Vector3.new(0.5,0.7,1)
  586. local msh3 = Instance.new("SpecialMesh")
  587. msh3.Parent = prt3
  588. msh3.MeshType = "Wedge"
  589. msh3.Scale = Vector3.new(0.5,0.7,1)
  590. local msh4 = Instance.new("BlockMesh")
  591. msh4.Parent = prt4
  592. msh4.Scale = Vector3.new(0.9,0.9,0.5)
  593. local msh5 = Instance.new("BlockMesh")
  594. msh5.Parent = prt5
  595. msh5.Scale = Vector3.new(0.9,0.9,0.5)
  596. local msh6 = Instance.new("BlockMesh")
  597. msh6.Parent = prt6
  598. msh6.Scale = Vector3.new(0.8,0.8,0.5)
  599. local msh7 = Instance.new("SpecialMesh")
  600. msh7.Parent = prt7
  601. msh7.MeshType = "Wedge"
  602. msh7.Scale = Vector3.new(0.5,0.5,0.8)
  603. local msh8 = Instance.new("SpecialMesh")
  604. msh8.Parent = prt8
  605. msh8.MeshType = "Wedge"
  606. msh8.Scale = Vector3.new(0.5,0.5,0.8)
  607. local msh9 = Instance.new("BlockMesh")
  608. msh9.Parent = prt9
  609. msh9.Scale = Vector3.new(0.7,0.7,0.5)
  610. local msh10 = Instance.new("BlockMesh")
  611. msh10.Parent = prt10
  612. msh10.Scale = Vector3.new(0.7,0.7,0.5)
  613. local msh11 = Instance.new("BlockMesh")
  614. msh11.Parent = prt11
  615. msh11.Scale = Vector3.new(0.7,0.7,0.5)
  616. local msh12 = Instance.new("SpecialMesh")
  617. msh12.Parent = prt12
  618. msh12.MeshType = "Wedge"
  619. msh12.Scale = Vector3.new(0.4,0.5,0.7)
  620. local msh13 = Instance.new("SpecialMesh")
  621. msh13.Parent = prt13
  622. msh13.MeshType = "Wedge"
  623. msh13.Scale = Vector3.new(0.4,0.5,0.7)
  624. local msh14 = Instance.new("BlockMesh")
  625. msh14.Parent = prt14
  626. msh14.Scale = Vector3.new(0.5,0.5,0.5)
  627. local msh15 = Instance.new("BlockMesh")
  628. msh15.Parent = prt15
  629. msh15.Scale = Vector3.new(0.5,0.5,0.5)
  630. local msh16 = Instance.new("SpecialMesh")
  631. msh16.Parent = prt16
  632. msh16.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  633. msh16.Scale = Vector3.new(0.6,0.6,0.6)
  634. local msh17 = Instance.new("SpecialMesh")
  635. msh17.Parent = prt17
  636. msh17.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  637. msh17.Scale = Vector3.new(0.8,0.8,0.3)
  638. local msh18 = Instance.new("CylinderMesh")
  639. msh18.Parent = prt18
  640. msh18.Scale = Vector3.new(0.3,0.2,0.5)
  641. local msh19 = Instance.new("CylinderMesh")
  642. msh19.Parent = prt19
  643. msh19.Scale = Vector3.new(0.3,0.2,0.5)
  644. local mesh1 = Instance.new("CylinderMesh")
  645. mesh1.Scale = Vector3.new(0.4,4,0.4)
  646. mesh1.Parent = part1
  647. local mesh2 = Instance.new("CylinderMesh")
  648. mesh2.Scale = Vector3.new(0.41,0.6,0.41)
  649. mesh2.Parent = part2
  650. local mesh3 = Instance.new("CylinderMesh")
  651. mesh3.Scale = Vector3.new(0.55,0.4,0.55)
  652. mesh3.Parent = part3
  653. local mesh4 = Instance.new("CylinderMesh")
  654. mesh4.Scale = Vector3.new(0.56,0.2,0.56)
  655. mesh4.Parent = part4
  656. local mesh5 = Instance.new("CylinderMesh")
  657. mesh5.Scale = Vector3.new(0.56,0.2,0.56)
  658. mesh5.Parent = part5
  659. local mesh6 = Instance.new("SpecialMesh")
  660. mesh6.Scale = Vector3.new(0.42,0.2,0.42)
  661. mesh6.Parent = part6
  662. mesh6.MeshId = "http://www.roblox.com/asset/?id=1778999"
  663. local mesh7 = Instance.new("SpecialMesh")
  664. mesh7.Scale = Vector3.new(0.4,0.3,0.7)
  665. mesh7.Parent = part7
  666. mesh7.MeshType = "Wedge"
  667. local mesh8 = Instance.new("CylinderMesh")
  668. mesh8.Scale = Vector3.new(0.56,0.335,0.56)
  669. mesh8.Parent = part8
  670. local mesh9 = Instance.new("SpecialMesh")
  671. mesh9.Scale = Vector3.new(0.4,0.3,0.7)
  672. mesh9.Parent = part9
  673. mesh9.MeshType = "Wedge"
  674. local mesh10 = Instance.new("CylinderMesh")
  675. mesh10.Scale = Vector3.new(0.5,0.2,0.5)
  676. mesh10.Parent = part10
  677. local mesh11 = Instance.new("SpecialMesh")
  678. mesh11.Scale = Vector3.new(0.6,0.4,0.6)
  679. mesh11.Parent = part11
  680. mesh11.MeshId = "http://www.roblox.com/asset/?id=1778999"
  681. local mesh12 = Instance.new("SpecialMesh")
  682. mesh12.Scale = Vector3.new(2.5,4,6)
  683. mesh12.Parent = part12
  684. mesh12.MeshType = "Wedge"
  685. local mesh13 = Instance.new("SpecialMesh")
  686. mesh13.Scale = Vector3.new(2.5,4,6)
  687. mesh13.Parent = part13
  688. mesh13.MeshType = "Wedge"
  689. local mesh14 = Instance.new("BlockMesh")
  690. mesh14.Scale = Vector3.new(3,6.8,4)
  691. mesh14.Parent = part14
  692. local mesh15 = Instance.new("BlockMesh")
  693. mesh15.Scale = Vector3.new(0.9,0.9,0.7)
  694. mesh15.Parent = part15
  695. local mesh16 = Instance.new("BlockMesh")
  696. mesh16.Scale = Vector3.new(1,1,0.5)
  697. mesh16.Parent = part16
  698. local mesh17 = Instance.new("SpecialMesh")
  699. mesh17.Scale = Vector3.new(0.3,1,1)
  700. mesh17.Parent = part17
  701. mesh17.MeshType = "Wedge"
  702. local mesh18 = Instance.new("SpecialMesh")
  703. mesh18.Scale = Vector3.new(0.3,1,1)
  704. mesh18.Parent = part18
  705. mesh18.MeshType = "Wedge"
  706. local mesh19 = Instance.new("BlockMesh")
  707. mesh19.Scale = Vector3.new(0.6,0.6,1)
  708. mesh19.Parent = part19
  709. local mesh20 = Instance.new("BlockMesh")
  710. mesh20.Scale = Vector3.new(2.3,4,5)
  711. mesh20.Parent = part20
  712. local mesh21 = Instance.new("BlockMesh")
  713. mesh21.Scale = Vector3.new(2.3,4,5)
  714. mesh21.Parent = part21
  715. local mesh22 = Instance.new("BlockMesh")
  716. mesh22.Scale = Vector3.new(2.3,4,5)
  717. mesh22.Parent = part22
  718. local mesh23 = Instance.new("BlockMesh")
  719. mesh23.Scale = Vector3.new(2.3,4,5)
  720. mesh23.Parent = part23
  721. local mesh24 = Instance.new("BlockMesh")
  722. mesh24.Scale = Vector3.new(3,7.5,5)
  723. mesh24.Parent = part24
  724. local mesh26 = Instance.new("SpecialMesh")
  725. mesh26.Scale = Vector3.new(4,3,3)
  726. mesh26.Parent = part26
  727. mesh26.MeshType = "Wedge"
  728. local mesh27 = Instance.new("SpecialMesh")
  729. mesh27.Scale = Vector3.new(4,3,3)
  730. mesh27.Parent = part27
  731. mesh27.MeshType = "Wedge"
  732.  
  733. ---WELDING
  734. local wld1 = Instance.new("Weld")
  735. wld1.Parent = prt1
  736. wld1.Part0 = prt1
  737. wld1.Part1 = Torso
  738. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.7)
  739. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  740. local wld2 = Instance.new("Weld")
  741. wld2.Parent = prt2
  742. wld2.Part0 = prt2
  743. wld2.Part1 = prt1
  744. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)) * CFrame.new(0.5,1.6,0)
  745. wld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  746. local wld3 = Instance.new("Weld")
  747. wld3.Parent = prt3
  748. wld3.Part0 = prt3
  749. wld3.Part1 = prt1
  750. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),math.rad(180)) * CFrame.new(-0.5,1.6,0)
  751. wld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  752. local wld4 = Instance.new("Weld")
  753. wld4.Parent = prt4
  754. wld4.Part0 = prt4
  755. wld4.Part1 = prt1
  756. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.2) * CFrame.new(0.6,-0.9,0)
  757. wld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  758. local wld5 = Instance.new("Weld")
  759. wld5.Parent = prt5
  760. wld5.Part0 = prt5
  761. wld5.Part1 = prt1
  762. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1.2) * CFrame.new(-0.6,-0.9,0)
  763. wld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  764. local wld6 = Instance.new("Weld")
  765. wld6.Parent = prt6
  766. wld6.Part0 = prt6
  767. wld6.Part1 = prt1
  768. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.15,-0.05)
  769. wld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  770. local wld7 = Instance.new("Weld")
  771. wld7.Parent = prt7
  772. wld7.Part0 = prt7
  773. wld7.Part1 = prt2
  774. wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.05,0.2,-0.1)
  775. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  776. local wld8 = Instance.new("Weld")
  777. wld8.Parent = prt8
  778. wld8.Part0 = prt8
  779. wld8.Part1 = prt3
  780. wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.05,0.2,-0.1)
  781. wld8.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  782. local wld9 = Instance.new("Weld")
  783. wld9.Parent = prt9
  784. wld9.Part0 = prt9
  785. wld9.Part1 = prt4
  786. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.1,-0.05,-0.05)
  787. wld9.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  788. local wld10 = Instance.new("Weld")
  789. wld10.Parent = prt10
  790. wld10.Part0 = prt10
  791. wld10.Part1 = prt5
  792. wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.1,-0.05,-0.05)
  793. wld10.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  794. local wld11 = Instance.new("Weld")
  795. wld11.Parent = prt11
  796. wld11.Part0 = prt11
  797. wld11.Part1 = prt6
  798. wld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.01)
  799. wld11.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  800. local wld12 = Instance.new("Weld")
  801. wld12.Parent = prt12
  802. wld12.Part0 = prt12
  803. wld12.Part1 = prt7
  804. wld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.06,0.11,-0.06)
  805. wld12.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  806. local wld13 = Instance.new("Weld")
  807. wld13.Parent = prt13
  808. wld13.Part0 = prt13
  809. wld13.Part1 = prt8
  810. wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.06,0.11,-0.06)
  811. wld13.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  812. local wld14 = Instance.new("Weld")
  813. wld14.Parent = prt14
  814. wld14.Part0 = prt14
  815. wld14.Part1 = prt9
  816. wld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.01)
  817. wld14.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  818. local wld15 = Instance.new("Weld")
  819. wld15.Parent = prt15
  820. wld15.Part0 = prt15
  821. wld15.Part1 = prt10
  822. wld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.01)
  823. wld15.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  824. local wld16 = Instance.new("Weld")
  825. wld16.Parent = prt16
  826. wld16.Part0 = prt16
  827. wld16.Part1 = prt11
  828. wld16.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,-0.2)
  829. wld16.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  830. local wld17 = Instance.new("Weld")
  831. wld17.Parent = prt17
  832. wld17.Part0 = prt17
  833. wld17.Part1 = prt11
  834. wld17.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,-0.2)
  835. wld17.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  836. local wld18 = Instance.new("Weld")
  837. wld18.Parent = prt18
  838. wld18.Part0 = prt18
  839. wld18.Part1 = prt14
  840. wld18.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(-0.1,0,-0.2)
  841. wld18.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  842. local wld19 = Instance.new("Weld")
  843. wld19.Parent = prt19
  844. wld19.Part0 = prt19
  845. wld19.Part1 = prt15
  846. wld19.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0.1,0,-0.2)
  847. wld19.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  848.  
  849. local weld1 = Instance.new("Weld")
  850. weld1.Parent = part1
  851. weld1.Part0 = part1
  852. weld1.Part1 = Torso
  853. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.8) * CFrame.new(0,0,-0.7)
  854. local weld2 = Instance.new("Weld")
  855. weld2.Parent = part2
  856. weld2.Part0 = part2
  857. weld2.Part1 = part1
  858. weld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.5,0)
  859. local weld3 = Instance.new("Weld")
  860. weld3.Parent = part3
  861. weld3.Part0 = part3
  862. weld3.Part1 = part2
  863. weld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.2,0)
  864. local weld4 = Instance.new("Weld")
  865. weld4.Parent = part4
  866. weld4.Part0 = part4
  867. weld4.Part1 = part3
  868. weld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,0)
  869. local weld5 = Instance.new("Weld")
  870. weld5.Parent = part5
  871. weld5.Part0 = part5
  872. weld5.Part1 = part3
  873. weld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.35,0)
  874. local weld6 = Instance.new("Weld")
  875. weld6.Parent = part6
  876. weld6.Part0 = part6
  877. weld6.Part1 = part5
  878. weld6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) * CFrame.new(0,0.28,0)
  879. local weld7 = Instance.new("Weld")
  880. weld7.Parent = part7
  881. weld7.Part0 = part7
  882. weld7.Part1 = part6
  883. weld7.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0.4,0,0)
  884. local weld8 = Instance.new("Weld")
  885. weld8.Parent = part8
  886. weld8.Part0 = part8
  887. weld8.Part1 = part6
  888. weld8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,-0.2,0)
  889. local weld9 = Instance.new("Weld")
  890. weld9.Parent = part9
  891. weld9.Part0 = part9
  892. weld9.Part1 = part6
  893. weld9.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),-math.rad(90),0) * CFrame.new(-0.4,0,0)
  894. local weld10 = Instance.new("Weld")
  895. weld10.Parent = part10
  896. weld10.Part0 = part10
  897. weld10.Part1 = part1
  898. weld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.5,0)
  899. local weld11 = Instance.new("Weld")
  900. weld11.Parent = part11
  901. weld11.Part0 = part11
  902. weld11.Part1 = part1
  903. weld11.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) * CFrame.new(0,-1.6,0)
  904. local weld12 = Instance.new("Weld")
  905. weld12.Parent = part12
  906. weld12.Part0 = part12
  907. weld12.Part1 = part11
  908. weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(90),0) * CFrame.new(-0.6,0.8,0)
  909. local weld13 = Instance.new("Weld")
  910. weld13.Parent = part13
  911. weld13.Part0 = part13
  912. weld13.Part1 = part11
  913. weld13.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-math.rad(90),0) * CFrame.new(0.6,0.8,0)
  914. local weld14 = Instance.new("Weld")
  915. weld14.Parent = part14
  916. weld14.Part0 = part14
  917. weld14.Part1 = part11
  918. weld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.87,0)
  919. local weld15 = Instance.new("Weld")
  920. weld15.Parent = part15
  921. weld15.Part0 = part15
  922. weld15.Part1 = part14
  923. weld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1,0)
  924. local weld16 = Instance.new("Weld")
  925. weld16.Parent = part16
  926. weld16.Part0 = part16
  927. weld16.Part1 = part15
  928. weld16.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.1,0)
  929. local weld17 = Instance.new("Weld")
  930. weld17.Parent = part17
  931. weld17.Part0 = part17
  932. weld17.Part1 = part16
  933. weld17.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(90),0) * CFrame.new(0.5,1,0)
  934. local weld18 = Instance.new("Weld")
  935. weld18.Parent = part18
  936. weld18.Part0 = part18
  937. weld18.Part1 = part16
  938. weld18.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),-math.rad(90),0) * CFrame.new(-0.5,1,0)
  939. local weld19 = Instance.new("Weld")
  940. weld19.Parent = part19
  941. weld19.Part0 = part19
  942. weld19.Part1 = part15
  943. weld19.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  944. local weld20 = Instance.new("Weld")
  945. weld20.Parent = part20
  946. weld20.Part0 = part20
  947. weld20.Part1 = part19
  948. weld20.C0 = CFrame.fromEulerAnglesXYZ(0,0,1) * CFrame.new(0.5,0.5,0)
  949. local weld21 = Instance.new("Weld")
  950. weld21.Parent = part21
  951. weld21.Part0 = part21
  952. weld21.Part1 = part19
  953. weld21.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1) * CFrame.new(-0.5,0.5,0)
  954. local weld22 = Instance.new("Weld")
  955. weld22.Parent = part22
  956. weld22.Part0 = part22
  957. weld22.Part1 = part19
  958. weld22.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1) * CFrame.new(0.5,-0.4,0)
  959. local weld23 = Instance.new("Weld")
  960. weld23.Parent = part23
  961. weld23.Part0 = part23
  962. weld23.Part1 = part19
  963. weld23.C0 = CFrame.fromEulerAnglesXYZ(0,0,1) * CFrame.new(-0.5,-0.4,0)
  964. local weld24 = Instance.new("Weld")
  965. weld24.Parent = part24
  966. weld24.Part0 = part24
  967. weld24.Part1 = part19
  968. weld24.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.25,0)
  969. local weld26 = Instance.new("Weld")
  970. weld26.Parent = part26
  971. weld26.Part0 = part26
  972. weld26.Part1 = part15
  973. weld26.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(90),0) * CFrame.new(0.3,1.3,0)
  974. local weld27 = Instance.new("Weld")
  975. weld27.Parent = part27
  976. weld27.Part0 = part27
  977. weld27.Part1 = part15
  978. weld27.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),-math.rad(90),0) * CFrame.new(-0.3,1.3,0)
  979.  
  980. local wingblade1 = Instance.new("Part")
  981. wingblade1.formFactor = 1
  982. wingblade1.Parent = nil
  983. wingblade1.Transparency = 0.4
  984. wingblade1.CanCollide = false
  985. wingblade1.Reflectance = 0
  986. wingblade1.BrickColor = BrickColor.new("White")
  987. wingblade1.Name = "Wingblade1"
  988. wingblade1.Size = Vector3.new(1,1,3)
  989. wingblade1.CFrame = Torso.CFrame
  990. local wingblade2 = Instance.new("Part")
  991. wingblade2.formFactor = 1
  992. wingblade2.Parent = nil
  993. wingblade2.Transparency = 0.4
  994. wingblade2.CanCollide = false
  995. wingblade2.Reflectance = 0
  996. wingblade2.BrickColor = BrickColor.new("White")
  997. wingblade2.Name = "Wingblade2"
  998. wingblade2.Size = Vector3.new(1,1,3)
  999. wingblade2.CFrame = Torso.CFrame
  1000. local wingblade3 = Instance.new("Part")
  1001. wingblade3.formFactor = 1
  1002. wingblade3.Parent = nil
  1003. wingblade3.Transparency = 0.4
  1004. wingblade3.CanCollide = false
  1005. wingblade3.Reflectance = 0
  1006. wingblade3.BrickColor = BrickColor.new("White")
  1007. wingblade3.Name = "Wingblade3"
  1008. wingblade3.Size = Vector3.new(1,1,3)
  1009. wingblade3.CFrame = Torso.CFrame
  1010. local wingblade4 = Instance.new("Part")
  1011. wingblade4.formFactor = 1
  1012. wingblade4.Parent = nil
  1013. wingblade4.Transparency = 0.4
  1014. wingblade4.CanCollide = false
  1015. wingblade4.Reflectance = 0
  1016. wingblade4.BrickColor = BrickColor.new("White")
  1017. wingblade4.Name = "Wingblade4"
  1018. wingblade4.Size = Vector3.new(1,1,3)
  1019. wingblade4.CFrame = Torso.CFrame
  1020. local wingblade5 = Instance.new("Part")
  1021. wingblade5.formFactor = 1
  1022. wingblade5.Parent = nil
  1023. wingblade5.Transparency = 0.4
  1024. wingblade5.CanCollide = false
  1025. wingblade5.Reflectance = 0
  1026. wingblade5.BrickColor = BrickColor.new("White")
  1027. wingblade5.Name = "Wingblade5"
  1028. wingblade5.Size = Vector3.new(1,1,3)
  1029. wingblade5.CFrame = Torso.CFrame
  1030. local wingblade6 = Instance.new("Part")
  1031. wingblade6.formFactor = 1
  1032. wingblade6.Parent = nil
  1033. wingblade6.Transparency = 0.4
  1034. wingblade6.CanCollide = false
  1035. wingblade6.Reflectance = 0
  1036. wingblade6.BrickColor = BrickColor.new("White")
  1037. wingblade6.Name = "Wingblade6"
  1038. wingblade6.Size = Vector3.new(1,1,3)
  1039. wingblade6.CFrame = Torso.CFrame
  1040.  
  1041. local wingmesh1 = Instance.new("SpecialMesh")
  1042. wingmesh1.Parent = wingblade1
  1043. wingmesh1.MeshId = "rbxasset://fonts/sword.mesh"
  1044. wingmesh1.Scale = Vector3.new(1,1,1)
  1045. local wingmesh2 = Instance.new("SpecialMesh")
  1046. wingmesh2.Parent = wingblade2
  1047. wingmesh2.MeshId = "rbxasset://fonts/sword.mesh"
  1048. wingmesh2.Scale = Vector3.new(1,1,1)
  1049. local wingmesh3 = Instance.new("SpecialMesh")
  1050. wingmesh3.Parent = wingblade3
  1051. wingmesh3.MeshId = "rbxasset://fonts/sword.mesh"
  1052. wingmesh3.Scale = Vector3.new(1,1,1)
  1053. local wingmesh4 = Instance.new("SpecialMesh")
  1054. wingmesh4.Parent = wingblade4
  1055. wingmesh4.MeshId = "rbxasset://fonts/sword.mesh"
  1056. wingmesh4.Scale = Vector3.new(1,1,1)
  1057. local wingmesh5 = Instance.new("SpecialMesh")
  1058. wingmesh5.Parent = wingblade5
  1059. wingmesh5.MeshId = "rbxasset://fonts/sword.mesh"
  1060. wingmesh5.Scale = Vector3.new(1,1,1)
  1061. local wingmesh6 = Instance.new("SpecialMesh")
  1062. wingmesh6.Parent = wingblade6
  1063. wingmesh6.MeshId = "rbxasset://fonts/sword.mesh"
  1064. wingmesh6.Scale = Vector3.new(1,1,1)
  1065.  
  1066. local wingweld1 = Instance.new("Weld")
  1067. wingweld1.Parent = wingblade1
  1068. wingweld1.Part0 = wingblade1
  1069. wingweld1.Part1 = Torso
  1070. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(1,0,0)
  1071. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1072. local wingweld2 = Instance.new("Weld")
  1073. wingweld2.Parent = wingblade2
  1074. wingweld2.Part0 = wingblade2
  1075. wingweld2.Part1 = Torso
  1076. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1077. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1078. local wingweld3 = Instance.new("Weld")
  1079. wingweld3.Parent = wingblade3
  1080. wingweld3.Part0 = wingblade3
  1081. wingweld3.Part1 = Torso
  1082. wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1083. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1084. local wingweld4 = Instance.new("Weld")
  1085. wingweld4.Parent = wingblade4
  1086. wingweld4.Part0 = wingblade4
  1087. wingweld4.Part1 = Torso
  1088. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1089. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1090. local wingweld5 = Instance.new("Weld")
  1091. wingweld5.Parent = wingblade5
  1092. wingweld5.Part0 = wingblade5
  1093. wingweld5.Part1 = Torso
  1094. wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1095. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1096. local wingweld6 = Instance.new("Weld")
  1097. wingweld6.Parent = wingblade6
  1098. wingweld6.Part0 = wingblade6
  1099. wingweld6.Part1 = Torso
  1100. wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1101. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1102. local gairo = Instance.new("BodyGyro")
  1103. gairo.Parent = nil
  1104.  
  1105. function MagicBlood(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1106. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  1107. prt.Anchored=true
  1108. prt.CFrame=cframe
  1109. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1110. game:GetService("Debris"):AddItem(prt,5)
  1111. table.insert(Effects,{prt,"Blood",delay,x3,y3,z3,msh})
  1112. end
  1113.  
  1114. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1115. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  1116. prt.Anchored=true
  1117. prt.CFrame=cframe
  1118. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1119. game:GetService("Debris"):AddItem(prt,5)
  1120. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
  1121. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  1122. local wld=nil
  1123. for i=0,1,delay do
  1124. wait()
  1125. Part.CFrame=Part.CFrame
  1126. Part.Transparency=i
  1127. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1128. end
  1129. Part.Parent=nil
  1130. end),prt,msh)]]
  1131. end
  1132.  
  1133. so = function(id,par,vol,pit)
  1134. coroutine.resume(coroutine.create(function()
  1135. local sou = Instance.new("Sound",par or workspace)
  1136. sou.Parent=par
  1137. sou.Volume=vol
  1138. sou.Pitch=pit or 1
  1139. sou.SoundId=id
  1140. swait()
  1141. sou:Play()
  1142. game:GetService("Debris"):AddItem(sou,6)
  1143. end))
  1144. end
  1145.  
  1146. function DashEf(P,color)
  1147. local m = Instance.new("Part")
  1148. m.Parent = Character
  1149. m.BrickColor = color
  1150. m.Transparency = 0
  1151. m.Anchored = true
  1152. m.CFrame = P
  1153. m.CanCollide = false
  1154. local me = Instance.new("SpecialMesh")
  1155. me.Parent = m
  1156. me.MeshType = "FileMesh"
  1157. me.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1158. me.Scale = Vector3.new(2.5,2.5,2.5)
  1159. coroutine.resume(coroutine.create(function(part,mesh)
  1160. for i = 0,5 do
  1161. wait(0.1)
  1162. part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0, math.random(0,2), 0)
  1163. mesh.Scale = mesh.Scale + Vector3.new(0.5,0.4,0.5)
  1164. part.Transparency = part.Transparency + 0.20
  1165. end
  1166. m:Remove()
  1167. end),m,me)
  1168. end
  1169.  
  1170.  
  1171. BawlHit=function(hit,Damage,Knockback)
  1172. if attackdebounce == false then
  1173. attackdebounce = true
  1174. coroutine.resume(coroutine.create(function()
  1175. wait(0.2)
  1176. attackdebounce = false
  1177. end))
  1178. if hit.Parent==nil then
  1179. return
  1180. end
  1181. CPlayer=Bin
  1182. h=hit.Parent:FindFirstChild("Humanoid")
  1183. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1184. if mana < 400 then
  1185. mana = mana + math.random(1,5)
  1186. end
  1187. if mana > 400 then
  1188. mana = 400
  1189. end
  1190. Damage=Damage
  1191. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1192. return
  1193. end]]
  1194. c=Instance.new("ObjectValue")
  1195. c.Name="creator"
  1196. c.Value=game.Players.LocalPlayer
  1197. c.Parent=h
  1198. game:GetService("Debris"):AddItem(c,.5)
  1199. -- print(c.Value)
  1200. if math.random(0,99)+math.random()<=7.8 then
  1201. CRIT=true
  1202. Damage=Damage*1
  1203. --[[ Knockback=Knockback*2
  1204. r=Instance.new("BodyAngularVelocity")
  1205. r.P=3000
  1206. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1207. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1208. r.Parent=hit.Parent.Torso]]
  1209. -- critsound(2)
  1210.  
  1211. end
  1212. Damage=Damage+math.random(0,5)
  1213. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1214. HitHealth=h.Health
  1215. h:TakeDamage(Damage)
  1216.  
  1217. if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 and h.Parent.Name~="Hologram" then
  1218. print("gained spree")
  1219. Player:FindFirstChild("leaderstats").Spree.Value=Player.leaderstats.Spree.Value+1
  1220. end
  1221. if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 then
  1222. print("gained kill")
  1223. script.Parent.Kills.Value=script.Parent.Kills.Value+1
  1224. end
  1225. showDamage(hit.Parent,Damage,.5)
  1226. vp=Instance.new("BodyVelocity")
  1227. vp.P=500
  1228. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1229. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1230. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1231. if Knockback>0 then
  1232. vp.Parent=hit.Parent.Torso
  1233. end
  1234. game:GetService("Debris"):AddItem(vp,.25)
  1235. --[[ r=Instance.new("BodyAngularVelocity")
  1236. r.P=3000
  1237. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1238. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1239. r.Parent=hit.Parent.Torso]]
  1240. game:GetService("Debris"):AddItem(r,.5)
  1241. c=Instance.new("ObjectValue")
  1242. c.Name="creator"
  1243. c.Value=Player
  1244. c.Parent=h
  1245. game:GetService("Debris"):AddItem(c,.5)
  1246. CRIT=false
  1247. hitDeb=true
  1248. AttackPos=6
  1249. end
  1250. end
  1251. end
  1252.  
  1253. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1254. if hit.Parent==nil then
  1255. return
  1256. end
  1257. h=hit.Parent:FindFirstChild("Humanoid")
  1258. for _,v in pairs(hit.Parent:children()) do
  1259. if v:IsA("Humanoid") then
  1260. h=v
  1261. end
  1262. end
  1263. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1264. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1265. end
  1266. if hit.Parent.className=="Hat" then
  1267. hit=hit.Parent.Parent:findFirstChild("Head")
  1268. end
  1269. -- and hit.Parent~=CannonTarget.Parent or hit.Parent~=RailgunTarget.Parent
  1270. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1271. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1272. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1273. return
  1274. end]]
  1275. -- hs(hit,1.2)
  1276. if mana < 400 then
  1277. mana = mana + math.random(15,25)
  1278. end
  1279. if mana > 400 then
  1280. mana = 400
  1281. end
  1282. so("http://www.roblox.com/asset/?id=10209590",hit,1,math.random(50,100)/100)
  1283. --so("rbxasset://sounds\\unsheath.wav",hit,1,math.random(200,250)/100)
  1284. c=Instance.new("ObjectValue")
  1285. c.Name="creator"
  1286. c.Value=game:service("Players").LocalPlayer
  1287. c.Parent=h
  1288. game:GetService("Debris"):AddItem(c,.5)
  1289. Damage=math.random(minim,maxim)
  1290. -- h:TakeDamage(Damage)
  1291. blocked=false
  1292. block=hit.Parent:findFirstChild("Block")
  1293. if block~=nil then
  1294. print(block.className)
  1295. if block.className=="NumberValue" then
  1296. if block.Value>0 then
  1297. blocked=true
  1298. if decreaseblock==nil then
  1299. block.Value=block.Value-1
  1300. end
  1301. end
  1302. end
  1303. if block.className=="IntValue" then
  1304. if block.Value>0 then
  1305. blocked=true
  1306. if decreaseblock~=nil then
  1307. block.Value=block.Value-1
  1308. end
  1309. end
  1310. end
  1311. end
  1312. if blocked==false then
  1313. -- h:TakeDamage(Damage)
  1314. HitHealth=h.Health
  1315. h.Health=h.Health-Damage
  1316. if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 then
  1317. print("gained kill")
  1318. script.Parent.Kills.Value=script.Parent.Kills.Value+1
  1319. end
  1320. showDamage(hit.Parent,Damage,.5,BrickColor:Red())
  1321. else
  1322. h.Health=h.Health-Damage/2
  1323. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1324. end
  1325. if Type=="Knockdown" then
  1326. hum=hit.Parent.Humanoid
  1327. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1328. --hit.CFrame=cf(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1329. local bodvol=Instance.new("BodyVelocity")
  1330. bodvol.velocity=(angle*knockback)*1.2
  1331. bodvol.P=5000
  1332. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1333. bodvol.Parent=hit
  1334. rl=Instance.new("BodyAngularVelocity")
  1335. rl.P=3000
  1336. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1337. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) * .75
  1338. rl.Parent=hit
  1339. game:GetService("Debris"):AddItem(bodvol,.25)
  1340. game:GetService("Debris"):AddItem(rl,.25)
  1341. elseif Type=="Normal" then
  1342. vp=Instance.new("BodyVelocity")
  1343. vp.P=500
  1344. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1345. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1346. if KnockbackType==1 then
  1347. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1348. elseif KnockbackType==2 then
  1349. vp.velocity=Property.CFrame.lookVector*knockback
  1350. end
  1351. if knockback>0 then
  1352. vp.Parent=hit.Parent.Torso
  1353. end
  1354. game:GetService("Debris"):AddItem(vp,.25)
  1355. elseif Type=="Lifesteal" then
  1356. for i=1,3 do
  1357. MagicBlood(BrickColor.new("Really red"),hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.1,.1,.1,.1,2,.1,0.05)
  1358. end
  1359. vp=Instance.new("BodyVelocity")
  1360. vp.P=500
  1361. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1362. if KnockbackType==1 then
  1363. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1364. elseif KnockbackType==2 then
  1365. vp.velocity=Property.CFrame.lookVector*knockback
  1366. end
  1367. if knockback>0 then
  1368. vp.Parent=hit.Parent.Torso
  1369. end
  1370. game:GetService("Debris"):AddItem(vp,.25)
  1371. if Humanoid:FindFirstChild("HealBlock")==nil then
  1372. Heal=math.ceil(Damage)
  1373. if Heal < 1 then
  1374. Heal = 1
  1375. end
  1376. print('8)')
  1377. Humanoid:TakeDamage(-Heal)
  1378. local tag=Instance.new("BoolValue")
  1379. tag.Name="HealBlock"
  1380. tag.Parent=Humanoid
  1381. game:GetService("Debris"):AddItem(tag,.99)
  1382. end
  1383. showDamage(RootPart,Heal,.5,BrickColor.new("Bright green"))
  1384. elseif Type=="Up" then
  1385. local bodyVelocity=Instance.new("BodyVelocity")
  1386. bodyVelocity.velocity=vt(0,45,0)
  1387. bodyVelocity.P=5000
  1388. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1389. bodyVelocity.Parent=hit
  1390. game:GetService("Debris"):AddItem(bodyVelocity,.25)
  1391. rl=Instance.new("BodyAngularVelocity")
  1392. rl.P=3000
  1393. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1394. rl.angularvelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1395. rl.Parent=hit
  1396. game:GetService("Debris"):AddItem(rl,.25)
  1397. elseif Type=="Snare" then
  1398. bp=Instance.new("BodyPosition")
  1399. bp.P=2000
  1400. bp.D=100
  1401. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1402. bp.position=hit.Parent.Torso.Position
  1403. bp.Parent=hit.Parent.Torso
  1404. game:GetService("Debris"):AddItem(bp,1)
  1405. elseif Type=="Charge" then
  1406. Charge=Charge+1
  1407. coroutine.resume(coroutine.create(function(Part)
  1408. swait(30)
  1409. for i=1,5 do
  1410. swait(5)
  1411. so("rbxasset://sounds\\unsheath.wav",hit,1,2)
  1412. MagicCircle(BrickColor.new("White"),hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.2,2,.1,.2,8,.1,0.05)
  1413. newdam=math.random(1,5)
  1414. if blocked==false then
  1415. h:TakeDamage(newdam)
  1416. HitHealth=h.Health
  1417. if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 and h.Parent.Name~="Hologram" then
  1418. print("gained spree")
  1419. Player:FindFirstChild("leaderstats").Spree.Value=Player.leaderstats.Spree.Value+1
  1420. end
  1421. showDamage(hit.Parent,newdam,.5,BrickColor:Red())
  1422. else
  1423. h:TakeDamage(newdam)
  1424. showDamage(hit.Parent,newdam,.5,BrickColor.new("Bright blue"))
  1425. end
  1426. end
  1427. end),hit)
  1428. end
  1429. debounce=Instance.new("BoolValue")
  1430. debounce.Name="DebounceHit"
  1431. debounce.Parent=hit.Parent
  1432. debounce.Value=true
  1433. game:GetService("Debris"):AddItem(debounce,Delay)
  1434. c=Instance.new("ObjectValue")
  1435. c.Name="creator"
  1436. c.Value=Player
  1437. c.Parent=h
  1438. game:GetService("Debris"):AddItem(c,.5)
  1439. CRIT=false
  1440. hitDeb=true
  1441. AttackPos=6
  1442. end
  1443. end
  1444.  
  1445.  
  1446. function ss(parent,pitch) --linerider64 was here :D
  1447.  
  1448. local SlashSound = Instance.new("Sound")
  1449.  
  1450. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1451.  
  1452. SlashSound.Parent = parent
  1453.  
  1454. SlashSound.Volume = .7
  1455.  
  1456. SlashSound.Pitch = pitch --linerider64 was also here XD
  1457.  
  1458. SlashSound.PlayOnRemove = true
  1459.  
  1460. --SlashSound:play()
  1461.  
  1462. coroutine.resume(coroutine.create(function()
  1463.  
  1464. swait()
  1465.  
  1466. SlashSound.Parent = nil
  1467.  
  1468. end))
  1469.  
  1470. end
  1471.  
  1472. if (script.Parent.className ~= "HopperBin") then
  1473.  
  1474. Tool = Instance.new("HopperBin")
  1475.  
  1476. Tool.Parent = Backpack
  1477.  
  1478. Tool.Name = "Glaive"
  1479.  
  1480. script.Parent = Tool
  1481.  
  1482. value = Instance.new("StringValue")
  1483.  
  1484. value.Name = "Kills"
  1485.  
  1486. value.Parent = Tool
  1487.  
  1488.  
  1489.  
  1490. end
  1491.  
  1492. Bin = script.Parent
  1493.  
  1494.  
  1495.  
  1496. function clerp(a,b,t)
  1497. local qa = {QuaternionFromCFrame(a)}
  1498. local qb = {QuaternionFromCFrame(b)}
  1499. local ax, ay, az = a.x, a.y, a.z
  1500. local bx, by, bz = b.x, b.y, b.z
  1501. local _t = 1-t
  1502. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1503. end
  1504.  
  1505. function QuaternionFromCFrame(cf)
  1506. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1507. local trace = m00 + m11 + m22
  1508. if trace > 0 then
  1509. local s = math.sqrt(1 + trace)
  1510. local recip = 0.5/s
  1511. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1512. else
  1513. local i = 0
  1514. if m11 > m00 then
  1515. i = 1
  1516. end
  1517. if m22 > (i == 0 and m00 or m11) then
  1518. i = 2
  1519. end
  1520. if i == 0 then
  1521. local s = math.sqrt(m00-m11-m22+1)
  1522. local recip = 0.5/s
  1523. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1524. elseif i == 1 then
  1525. local s = math.sqrt(m11-m22-m00+1)
  1526. local recip = 0.5/s
  1527. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1528. elseif i == 2 then
  1529. local s = math.sqrt(m22-m00-m11+1)
  1530. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1531. end
  1532. end
  1533. end
  1534.  
  1535. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1536. local xs, ys, zs = x + x, y + y, z + z
  1537. local wx, wy, wz = w*xs, w*ys, w*zs
  1538. local xx = x*xs
  1539. local xy = x*ys
  1540. local xz = x*zs
  1541. local yy = y*ys
  1542. local yz = y*zs
  1543. local zz = z*zs
  1544. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1545. end
  1546.  
  1547. function QuaternionSlerp(a, b, t)
  1548. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1549. local startInterp, finishInterp;
  1550. if cosTheta >= 0.0001 then
  1551. if (1 - cosTheta) > 0.0001 then
  1552. local theta = math.acos(cosTheta)
  1553. local invSinTheta = 1/math.sin(theta)
  1554. startInterp = math.sin((1-t)*theta)*invSinTheta
  1555. finishInterp = math.sin(t*theta)*invSinTheta
  1556. else
  1557. startInterp = 1-t
  1558. finishInterp = t
  1559. end
  1560. else
  1561. if (1+cosTheta) > 0.0001 then
  1562. local theta = math.acos(-cosTheta)
  1563. local invSinTheta = 1/math.sin(theta)
  1564. startInterp = math.sin((t-1)*theta)*invSinTheta
  1565. finishInterp = math.sin(t*theta)*invSinTheta
  1566. else
  1567. startInterp = t-1
  1568. finishInterp = t
  1569. end
  1570. end
  1571. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1572. end
  1573.  
  1574. function unequipweld()
  1575.  
  1576. weld1.Part1 = Torso
  1577.  
  1578. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.8) * CFrame.new(0,0,-0.7)
  1579. wld1.Part1 = Torso
  1580. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.7)
  1581. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1582.  
  1583.  
  1584. end
  1585.  
  1586. function unequipweld2()
  1587.  
  1588. weld1.Part1 = Torso
  1589.  
  1590. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.8) * CFrame.new(0,0,-0.7)
  1591.  
  1592. end
  1593.  
  1594. function equipweld()
  1595. weld1.Part1 = LeftArm
  1596. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),2.7,math.rad(90)) * CFrame.new(0, 1, 0)
  1597. wld1.Part1 = RightArm
  1598. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
  1599. wld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(-80),0,0) * CFrame.new(0,0,0)
  1600. end
  1601.  
  1602.  
  1603.  
  1604. function hideanim()
  1605.  
  1606. for i = 0 , 1 , 0.1 do
  1607.  
  1608. swait()
  1609.  
  1610. weld1.C0 = clerp(weld1.C0,CFrame.fromEulerAnglesXYZ(math.rad(90),2.7*i,math.rad(90)) * CFrame.new(0, 1, 0),.4)
  1611.  
  1612. LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i,-0.5*i+0.5,1.5*i-0.5),.4)
  1613.  
  1614. LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
  1615.  
  1616. end
  1617.  
  1618. wait(0.1)
  1619.  
  1620. unequipweld()
  1621.  
  1622. wait(0.1)
  1623.  
  1624. for i = 0 , 1 , 0.1 do
  1625.  
  1626. swait()
  1627.  
  1628. LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i-1.5,0,-1*i+1) ,.4)
  1629.  
  1630. LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
  1631.  
  1632. end
  1633.  
  1634. end
  1635.  
  1636. function hideanim2()
  1637.  
  1638. for i = 0 , 1 , 0.1 do
  1639.  
  1640. swait()
  1641.  
  1642. weld1.C0 = clerp(weld1.C0,CFrame.fromEulerAnglesXYZ(math.rad(90),2.7*i,math.rad(90)) * CFrame.new(0, 1, 0),.4)
  1643.  
  1644. LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i,-0.5*i+0.5,1.5*i-0.5),.4)
  1645.  
  1646. LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
  1647.  
  1648. end
  1649.  
  1650. wait(0.1)
  1651.  
  1652. unequipweld2()
  1653.  
  1654. wait(0.1)
  1655.  
  1656. for i = 0 , 1 , 0.1 do
  1657.  
  1658. swait()
  1659.  
  1660. LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i-1.5,0,-1*i+1) ,.4)
  1661.  
  1662. LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
  1663.  
  1664. end
  1665.  
  1666. end
  1667.  
  1668. function equipanim()
  1669. for i = 0 , 1 , 0.1 do
  1670. swait()
  1671. LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i,0,1*i),.4)
  1672. LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
  1673. end
  1674. equipweld()
  1675. wait(0.1)
  1676. for i = 0 , 1 , 0.1 do
  1677. swait()
  1678. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2.7*i+2.7,math.rad(90)) * CFrame.new(0, 1, 0)
  1679. LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i-1.5,0.5*i,-1.5*i+1),.4)
  1680. LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
  1681. end
  1682. end
  1683.  
  1684.  
  1685. function oneslash()
  1686. attack = true
  1687. combo = 1
  1688. hitbox1.Parent=glaive
  1689. hitbox1.Size=vt(.5,10,.5)
  1690. hitbox1.Transparency=1
  1691. hitbox1.CFrame=part1.CFrame
  1692. for i = 0 , 1 , 0.1 do
  1693. swait()
  1694. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1695. hitbox1.CFrame=part1.CFrame
  1696. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,-0.5*i+0.5,0.5*i-0.5)
  1697. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1698. end
  1699. --[[gairo.Parent = Head
  1700. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1701. gairo.P = 20e+003
  1702. gairo.cframe = Head.CFrame ]]
  1703. ss(part16,0.8)
  1704. --con1=part16.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1705. --con2=part17.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1706. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
  1707. for i = 0 , 1 , 0.2 do
  1708. swait()
  1709. hitbox1.CFrame=part1.CFrame
  1710. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1711. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i) * CFrame.new(0,0,-0.5)
  1712. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i+2,1*i,0)
  1713. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
  1714. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,1*i)
  1715. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1716. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),1*i,math.rad(90)) * CFrame.new(0, 1, 0.4*i)
  1717. end
  1718. wait(0.3)
  1719. con1:disconnect()
  1720. hitbox1.Parent=nil
  1721. --Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1722. attack = false
  1723. end
  1724.  
  1725.  
  1726. function twoslash()
  1727. attack = true
  1728. combo = 2
  1729. hitbox1.Parent=glaive
  1730. hitbox1.Size=vt(.5,10,.5)
  1731. hitbox1.Transparency=1
  1732. hitbox1.CFrame=part1.CFrame
  1733. ss(part16,0.8)
  1734. --con1=part16.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1735. --con2=part17.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1736. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
  1737.  
  1738. for i = 0 , 1 , 0.2 do
  1739. swait()
  1740. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  1741. hitbox1.CFrame=part1.CFrame
  1742. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,2*i-1) * CFrame.new(0,0,-0.5)
  1743. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,-2*i+1,0)
  1744. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2*i-1,0,0)
  1745. RW.C0 = CFrame.new(-0.5*i+1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1,0,-2*i+1)
  1746. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1747. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2*i+1,math.rad(90)) * CFrame.new(0, 0.3*i+1, -0.9*i+0.4)
  1748. end
  1749. wait(0.3)
  1750. con1:disconnect()
  1751. hitbox1.Parent=nil
  1752. attack = false
  1753. end
  1754.  
  1755. function threeslash()
  1756. attack = true
  1757. combo = 4
  1758. hitbox1.Parent=glaive
  1759. hitbox1.Size=vt(.5,10,.5)
  1760. hitbox1.Transparency=1
  1761. hitbox1.CFrame=part1.CFrame
  1762. for i = 0 , 1 , 0.1 do
  1763. swait()
  1764. hitbox1.CFrame=part1.CFrame
  1765. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1766. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i+1) * CFrame.new(0,0,-0.5)
  1767. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1*i-1,0)
  1768. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.57*i+1,0,0)
  1769. RW.C0 = CFrame.new(0.5*i-0.5+1.5,0.5,0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-1.5*i+1,0,1*i-1)
  1770. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1771. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),4.2*i-1,math.rad(90)) * CFrame.new(0, -0.3*i+1.3, 1.2*i-0.5)
  1772. end
  1773. swait()
  1774. ss(part16,0.8)
  1775. --con1=part16.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1776. --con2=part17.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1777. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
  1778. for i = 0 , 1.2 , 0.3 do
  1779. swait()
  1780. hitbox1.CFrame=part1.CFrame
  1781. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1782. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1783. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.5*i+3.57,0,0)
  1784. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-0.5*i+3.2,math.rad(90)) * CFrame.new(0, 1, -0.7*i+0.7)
  1785. end
  1786. wait(0.2)
  1787. con1:disconnect()
  1788. hitbox1.Parent=nil
  1789. attack = false
  1790. end
  1791.  
  1792. function shieldhit1()
  1793. attack = true
  1794. combo = 3
  1795. gairo.Parent = Head
  1796. gairo.cframe = Head.CFrame
  1797. hitbox1.Parent=glaive
  1798. hitbox1.Size=vt(1,3,3)
  1799. hitbox1.Transparency=1
  1800. hitbox1.CFrame=prt1.CFrame
  1801. ss(part1,0.7)
  1802. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,20,22,3,"Normal",RootPart,.5,1) end)
  1803. for i = 0,1,0.2 do
  1804. swait()
  1805. hitbox1.CFrame=prt1.CFrame
  1806. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1807. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-1*i) * CFrame.new(0,0,-0.5)
  1808. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1809. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1810. RW.C0 = CFrame.new(1.5-0.7+0.7*i,0.5,-0.7+0.7*i) * CFrame.fromEulerAnglesXYZ(0.2+1.37,0,-1+2*i)
  1811. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1812. end
  1813. con1:disconnect()
  1814. wait(0.3)
  1815. attack = false
  1816. hitbox1.Parent=nil
  1817. end
  1818.  
  1819. function fourslash()
  1820. attack = true
  1821. combo = 5
  1822. hitbox1.Parent=glaive
  1823. hitbox1.Size=vt(.5,10,.5)
  1824. hitbox1.Transparency=1
  1825. hitbox1.CFrame=part1.CFrame
  1826. for i = 0 , 1 , 0.1 do
  1827. swait()
  1828. hitbox1.CFrame=part1.CFrame
  1829. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1830. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1831. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5*i+4.07,0,0)
  1832. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),1*i+2.7,math.rad(90)) * CFrame.new(0, 1, 0)
  1833. end
  1834. ss(part16,0.8)
  1835. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,20,22,3,"Up",RootPart,.5,1) end)
  1836. --con1=part16.Touched:connect(function(hit) Damagefunc2(hit,10,10) end)
  1837. --con2=part17.Touched:connect(function(hit) Damagefunc2(hit,10,10) end)
  1838. for i = 0 , 1 , 0.1 do
  1839. swait()
  1840. hitbox1.CFrame=part1.CFrame
  1841. MMMAGIC(part16,2,2,2,0,0,0,BrickColor.new("White"))
  1842. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1843. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1844. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-3*i+2.5+4.07,0,0)
  1845. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2*i+1+2.7,math.rad(90)) * CFrame.new(0, 1, 0)
  1846. end
  1847. con1:disconnect()
  1848. wait(0.5) attack = false
  1849. end
  1850.  
  1851. function Bashem()
  1852. attack = true
  1853. bashing = true
  1854. guarding = false
  1855. hitbox1.Parent=glaive
  1856. hitbox1.Size=vt(1,2,2)
  1857. hitbox1.Transparency=1
  1858. hitbox1.CFrame=part16.CFrame
  1859. for i = 0,1,0.1 do
  1860. swait()
  1861. hitbox1.CFrame=part16.CFrame
  1862. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1863. LW.C0 = CFrame.new(-1.5+0.8+0.3*i,0.5+0.2+0.3*i,-0.8) * CFrame.fromEulerAnglesXYZ(2.07-0.5*i,0,1.4+0.17*i)
  1864. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,0)
  1865. RW.C0 = CFrame.new(1.5-0.8+0.8*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.4+2*i)
  1866. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1867. end
  1868. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
  1869. --con1=part13.Touched:connect(function(hit) Damagefunc2(hit,40,25) end)
  1870. ss(prt1,1.1)
  1871. for i = 0,1,0.2 do
  1872. swait()
  1873. hitbox1.CFrame=part16.CFrame
  1874. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1875. LW.C0 = CFrame.new(-1.5+1.1-1.1*i,0.5+0.5-0.5*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(2.07-0.5,0,1.4+0.17)
  1876. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(4*i,1.57,0)
  1877. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.4+2)
  1878. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1879. end
  1880. wait(0.15)
  1881. con1:disconnect()
  1882. for i = 0,1,0.1 do
  1883. swait()
  1884. hitbox1.CFrame=part16.CFrame
  1885. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1886. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,1.57-1.57*i)
  1887. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(4-4*i,1.57-1.57*i,0)
  1888. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,-1.4+2-0.6*i)
  1889. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1890. end
  1891. bashing = false
  1892. hitbox1.Parent=nil
  1893. attack = false
  1894. end
  1895.  
  1896. function guard()
  1897. attack = true
  1898. guarding = true
  1899. Character.Humanoid.WalkSpeed = 13
  1900. for i = 0,1,0.1 do
  1901. swait()
  1902. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1903. LW.C0 = CFrame.new(-1.5+0.8*i,0.5+0.2*i,-0.8*i) * CFrame.fromEulerAnglesXYZ(2.07*i,0,1.4*i)
  1904. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1905. RW.C0 = CFrame.new(1.5-0.8*i,0.5,-0.8*i) * CFrame.fromEulerAnglesXYZ(0.7+0.87*i,0,-1.4*i)
  1906. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1907. end
  1908. humanoid = Character.Humanoid
  1909. lhh = humanoid.Health
  1910. while guarding == true do
  1911. swait()
  1912. if humanoid.Health < lhh then
  1913. print(lhh - humanoid.Health)
  1914. test = lhh - humanoid.Health
  1915. if mana < 400 then
  1916. mana = mana + math.random(test, test*1.5)
  1917. end
  1918. if mana > 400 then
  1919. mana = 400
  1920. end
  1921. humanoid.Health = lhh - (test * 0.50)
  1922. lhh = humanoid.Health
  1923. local vel = Instance.new("BodyVelocity")
  1924. vel.Parent = Player.Character.Torso
  1925. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1926. vel.velocity = Player.Character.Torso.CFrame.lookVector * -20
  1927. velo = -20
  1928. for i = 0,1,0.2 do
  1929. swait()
  1930. LW.C0 = CFrame.new(-1.5+0.8,0.5+0.2,-0.8) * CFrame.fromEulerAnglesXYZ(2.07,0,1.4+0.5*i)
  1931. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1932. RW.C0 = CFrame.new(1.5-0.8,0.5,-0.8) * CFrame.fromEulerAnglesXYZ(0.7+0.87,0,-1.4-0.5*i)
  1933. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1934. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  1935. end
  1936. for i = 0,1,0.05 do
  1937. swait()
  1938. LW.C0 = CFrame.new(-1.5+0.8,0.5+0.2,-0.8) * CFrame.fromEulerAnglesXYZ(2.07,0,1.4+0.5-0.5*i)
  1939. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1940. RW.C0 = CFrame.new(1.5-0.8,0.5,-0.8) * CFrame.fromEulerAnglesXYZ(0.7+0.87,0,-1.4-0.5+0.5*i)
  1941. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1942. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  1943. velo = velo + 0.5
  1944. vel.velocity = Player.Character.Torso.CFrame.lookVector * velo
  1945. end
  1946. vel.Parent = nil
  1947. end
  1948. wait(0.1)
  1949. end
  1950. Character.Humanoid.WalkSpeed = 16
  1951. if bashing == false then
  1952. for i = 0,1,0.1 do
  1953. swait()
  1954. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1955. LW.C0 = CFrame.new(-1.5+0.8-0.8*i,0.5+0.2-0.2*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(2.07-2.07*i,0,1.4-1.4*i)
  1956. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1957. RW.C0 = CFrame.new(1.5-0.8+0.8*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(0.7+0.87-0.87*i,0,-1.4+1.4*i)
  1958. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1959. end
  1960. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1961. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1962. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1963. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.7,0,0)
  1964. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1965. attack = false
  1966. end
  1967. end
  1968.  
  1969. function WingBladeStance(seeing)
  1970. wingblade1.Parent = glaive
  1971. wingblade2.Parent = glaive
  1972. wingblade3.Parent = glaive
  1973. wingblade4.Parent = glaive
  1974. wingblade5.Parent = glaive
  1975. wingblade6.Parent = glaive
  1976. wingweld1.Parent = wingblade1
  1977. wingweld1.Part0 = wingblade1
  1978. wingweld1.Part1 = Torso
  1979. wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,-0.5,-3.3)
  1980. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5,-0.2,0) * CFrame.new(0,0,0)
  1981. wingweld2.Parent = wingblade2
  1982. wingweld2.Part0 = wingblade2
  1983. wingweld2.Part1 = Torso
  1984. wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0,-3)
  1985. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,-0.2,0) * CFrame.new(0,0,0)
  1986. wingweld3.Parent = wingblade3
  1987. wingweld3.Part0 = wingblade3
  1988. wingweld3.Part1 = Torso
  1989. wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0.5,-3.3)
  1990. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
  1991. wingweld4.Parent = wingblade4
  1992. wingweld4.Part0 = wingblade4
  1993. wingweld4.Part1 = Torso
  1994. wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,-0.5,-3.3)
  1995. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5,0.2,0) * CFrame.new(0,0,0)
  1996. wingweld5.Parent = wingblade5
  1997. wingweld5.Part0 = wingblade5
  1998. wingweld5.Part1 = Torso
  1999. wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0,-3)
  2000. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0.2,0) * CFrame.new(0,0,0)
  2001. wingweld6.Parent = wingblade6
  2002. wingweld6.Part0 = wingblade6
  2003. wingweld6.Part1 = Torso
  2004. wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0.5,-3.3)
  2005. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
  2006. if seeing == true then
  2007. wingblade1.Transparency = 0.4
  2008. wingblade2.Transparency = 0.4
  2009. wingblade3.Transparency = 0.4
  2010. wingblade4.Transparency = 0.4
  2011. wingblade5.Transparency = 0.4
  2012. wingblade6.Transparency = 0.4
  2013. else
  2014. wingblade1.Transparency = 1
  2015. wingblade2.Transparency = 1
  2016. wingblade3.Transparency = 1
  2017. wingblade4.Transparency = 1
  2018. wingblade5.Transparency = 1
  2019. wingblade6.Transparency = 1
  2020. end
  2021. end
  2022.  
  2023. DarkRiftF=function(par) --Thank you turdulator for this :D
  2024. while barragehold == true and mana >= 0 do
  2025. mana = mana - math.random(0,10)
  2026. PWN={}
  2027. for _,v in pairs(workspace:children()) do
  2028. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  2029. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  2030. if v~=Character and (v.Torso.Position-par.Position).magnitude<=25 then
  2031. table.insert(PWN,v.Torso)
  2032. end
  2033. end
  2034. end
  2035. end
  2036. for _,t in pairs(PWN) do
  2037. Mag=(par.Position-t.Position).magnitude/2
  2038. t.Parent.Humanoid:TakeDamage(.6)
  2039.  
  2040. rl=Instance.new("BodyAngularVelocity")
  2041. rl.P=3000
  2042. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  2043. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  2044. rl.Parent=t
  2045. game:GetService("Debris"):AddItem(rl,.1)
  2046. if Mag<=2 then
  2047. if mana <= 400 then
  2048. mana = mana + math.random(10,20)
  2049. else
  2050. mana = 400
  2051. end
  2052. t.Parent.Humanoid:TakeDamage(.3)
  2053.  
  2054. else
  2055. if mana <= 400 then
  2056. mana = mana + 5
  2057. else
  2058. mana = 400
  2059. end
  2060. vl=Instance.new("BodyVelocity")
  2061. vl.P=3000
  2062. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  2063. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  2064. vl.Parent=t
  2065. game:GetService("Debris"):AddItem(vl,.1)
  2066. end
  2067. end
  2068. wait(.08)
  2069. end
  2070. end
  2071.  
  2072. function slasheffect(cframe,waitin,size,efdam)
  2073. wait(waitin)
  2074. for l=1, 2 do
  2075. swait()
  2076. e=Instance.new("Part")
  2077. e.Name="SlashEffect"
  2078. e.TopSurface=0
  2079. e.BottomSurface=0
  2080. e.formFactor="Symmetric"
  2081. e.Size=Vector3.new(size,size,2)
  2082. e.Anchored=true
  2083. e.BrickColor=BrickColor.new("White")
  2084. e.Reflectance=0
  2085.  
  2086. e.CanCollide=false
  2087. m=Instance.new("SpecialMesh")
  2088. m.MeshType="Sphere"
  2089. m.Scale=Vector3.new(.25,.25,1)
  2090. m.Parent=e
  2091. e.CFrame = cframe
  2092. e.Parent=workspace
  2093. local c = game.Workspace:GetChildren();
  2094. for i = 1, #c do
  2095. local hum = c[i]:findFirstChild("Humanoid")
  2096. if hum ~= nil and hum.Health ~= 0 then
  2097. local head = c[i]:findFirstChild("Head");
  2098. if head ~= nil then
  2099. local targ = head.Position - e.Position;
  2100. local mag = targ.magnitude;
  2101. if mag <= 5 and c[i].Name ~= Player.Name then
  2102. coroutine.resume(coroutine.create(function()
  2103. for i = 0,1,0.1 do
  2104. swait()
  2105. Damagefunc1(head,.5,1)
  2106. end
  2107. end))
  2108. end
  2109. end
  2110. end
  2111. end
  2112. coroutine.resume(coroutine.create(function(m) for i=1, 9 do m.Transparency=i*.1 m.Mesh.Scale=m.Mesh.Scale-Vector3.new(.01,.01,.05)*2 swait() end m.Parent=nil end),e)
  2113. end
  2114.  
  2115.  
  2116. end
  2117.  
  2118. function MagicBarrage()
  2119. attack = true
  2120.  
  2121. for i = 0 , 1 , 0.2 do
  2122. swait()
  2123. hitbox1.CFrame=part16.CFrame
  2124. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  2125. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i) * CFrame.new(0,0,-0.5)
  2126. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i+2,1*i,0)
  2127. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
  2128. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,1*i)
  2129. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2130. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),1*i,math.rad(90)) * CFrame.new(0, 1, 0.4*i)
  2131. end
  2132.  
  2133. while barragehold == true and mana >= 0 do
  2134. wait(0.1)
  2135. mana = mana - math.random(5,20)
  2136. ss(part16,1+math.random())
  2137. LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(-2+math.random(),1.5,math.random(-2,0)+math.random())
  2138. coroutine.resume(coroutine.create(function()
  2139. slasheffect(part16.CFrame*CFrame.new(0,-3,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)),0,15,nil)
  2140. end))
  2141. end
  2142. if mana <= 0 then
  2143. mana = 0
  2144. end
  2145. for i = 0 , 1, .5 do
  2146. swait()
  2147. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2148. end
  2149. p.Parent = nil
  2150. attack = false
  2151. end
  2152.  
  2153. function MagicVortex()
  2154. if mana >= 0 then
  2155. attack = true
  2156. vortexing = true
  2157. Charge(1)
  2158. for i = 0,1,0.1 do
  2159. swait()
  2160. MMMAGIC(part16,3,3,3,0,-1,0,BrickColor.new("White"))
  2161. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5*i,3.14,0) * CFrame.new(0,0,-0.5)
  2162. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.14*i,0,0)
  2163. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2164. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2165. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2166. end
  2167. for i = 0,1,0.1 do
  2168. swait()
  2169. MMMAGIC(part16,3,3,3,0,-1,0,BrickColor.new("White"))
  2170. end
  2171. --magicsound(1)
  2172. EVENMOARMAGIX(LeftArm,5,3,5,0,-1,0,0,0,0,BrickColor.new("White"))
  2173. wait(0.3)
  2174. coroutine.resume(coroutine.create(function()
  2175. --magicsound(1)
  2176. local Bawl1 = Instance.new("Part")
  2177. Bawl1.Parent = glaive
  2178. Bawl1.CanCollide = false
  2179. Bawl1.BrickColor = BrickColor.new("White")
  2180. Bawl1.Position = Torso.Position
  2181. Bawl1.Transparency = 1
  2182. Bawl1.Size = Vector3.new(2,2,2)
  2183. local BawlMesh1 = Instance.new("SpecialMesh")
  2184. BawlMesh1.Parent = Bawl1
  2185. BawlMesh1.MeshType = "Sphere"
  2186. BawlMesh1.Scale = Vector3.new(0,0,0)
  2187. local BawlWeld1 = Instance.new("Weld")
  2188. BawlWeld1.Parent = Bawl1
  2189. BawlWeld1.Part0 = Bawl1
  2190. BawlWeld1.Part1 = Torso
  2191. BawlWeld1.C0 = CFrame.new(4,0,3)
  2192. EVENMOARMAGIX(Bawl1,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  2193. local Bawl2 = Instance.new("Part")
  2194. Bawl2.Parent = glaive
  2195. Bawl2.CanCollide = false
  2196. Bawl2.BrickColor = BrickColor.new("White")
  2197. Bawl2.Position = Torso.Position
  2198. Bawl2.Transparency = 1
  2199. Bawl2.Size = Vector3.new(2,2,2)
  2200. local BawlMesh2 = Instance.new("SpecialMesh")
  2201. BawlMesh2.Parent = Bawl2
  2202. BawlMesh2.MeshType = "Sphere"
  2203. BawlMesh2.Scale = Vector3.new(0,0,0)
  2204. local BawlWeld2 = Instance.new("Weld")
  2205. BawlWeld2.Parent = Bawl2
  2206. BawlWeld2.Part0 = Bawl2
  2207. BawlWeld2.Part1 = Torso
  2208. BawlWeld2.C0 = CFrame.new(-4,0,3)
  2209. EVENMOARMAGIX(Bawl2,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  2210. local Bawl3 = Instance.new("Part")
  2211. Bawl3.Parent = glaive
  2212. Bawl3.CanCollide = false
  2213. Bawl3.BrickColor = BrickColor.new("White")
  2214. Bawl3.Position = Torso.Position
  2215. Bawl3.Transparency = 1
  2216. Bawl3.Size = Vector3.new(2,2,2)
  2217. local BawlMesh3 = Instance.new("SpecialMesh")
  2218. BawlMesh3.Parent = Bawl3
  2219. BawlMesh3.MeshType = "Sphere"
  2220. BawlMesh3.Scale = Vector3.new(0,0,0)
  2221. local BawlWeld3 = Instance.new("Weld")
  2222. BawlWeld3.Parent = Bawl3
  2223. BawlWeld3.Part0 = Bawl3
  2224. BawlWeld3.Part1 = Torso
  2225. BawlWeld3.C0 = CFrame.new(0,0,-4.5)
  2226.  
  2227. EVENMOARMAGIX(Bawl3,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  2228.  
  2229. coroutine.resume(coroutine.create(function()
  2230. while Bawl1.Parent ~= nil do
  2231. wait(0.1)
  2232. local c = game.Workspace:GetChildren();
  2233. for i = 1, #c do
  2234. local hum = c[i]:findFirstChild("Humanoid")
  2235. if hum ~= nil and hum.Health ~= 0 then
  2236. local head = c[i]:findFirstChild("Head");
  2237. if head ~= nil then
  2238. local targ = head.Position - Bawl1.Position;
  2239. local mag = targ.magnitude;
  2240. if mag <= 4 and c[i].Name ~= Player.Name then
  2241. coroutine.resume(coroutine.create(function()
  2242. BawlHit(head,2,5)
  2243. end))
  2244. end
  2245. end
  2246. end
  2247. end
  2248. end
  2249. end))
  2250. coroutine.resume(coroutine.create(function()
  2251. while Bawl2.Parent ~= nil do
  2252. wait(0.1)
  2253. local c = game.Workspace:GetChildren();
  2254. for i = 1, #c do
  2255. local hum = c[i]:findFirstChild("Humanoid")
  2256. if hum ~= nil and hum.Health ~= 0 then
  2257. local head = c[i]:findFirstChild("Head");
  2258. if head ~= nil then
  2259. local targ = head.Position - Bawl2.Position;
  2260. local mag = targ.magnitude;
  2261. if mag <= 4 and c[i].Name ~= Player.Name then
  2262. coroutine.resume(coroutine.create(function()
  2263. BawlHit(head,2,5)
  2264. end))
  2265. end
  2266. end
  2267. end
  2268. end
  2269. end
  2270. end))
  2271. coroutine.resume(coroutine.create(function()
  2272. while Bawl3.Parent ~= nil do
  2273. wait(0.1)
  2274. local c = game.Workspace:GetChildren();
  2275. for i = 1, #c do
  2276. local hum = c[i]:findFirstChild("Humanoid")
  2277. if hum ~= nil and hum.Health ~= 0 then
  2278. local head = c[i]:findFirstChild("Head");
  2279. if head ~= nil then
  2280. local targ = head.Position - Bawl3.Position;
  2281. local mag = targ.magnitude;
  2282. if mag <= 4 and c[i].Name ~= Player.Name then
  2283. coroutine.resume(coroutine.create(function()
  2284. BawlHit(head,2,5)
  2285. end))
  2286. end
  2287. end
  2288. end
  2289. end
  2290. end
  2291. end))
  2292. for i = 0,1,0.15 do
  2293. swait()
  2294. Bawl1.Transparency = Bawl1.Transparency - 0.1
  2295. BawlMesh1.Scale = BawlMesh1.Scale + Vector3.new(0.1,0.08,0.1)
  2296. Bawl2.Transparency = Bawl2.Transparency - 0.1
  2297. BawlMesh2.Scale = BawlMesh2.Scale + Vector3.new(0.1,0.08,0.1)
  2298. Bawl3.Transparency = Bawl3.Transparency - 0.1
  2299. BawlMesh3.Scale = BawlMesh3.Scale + Vector3.new(0.1,0.08,0.1)
  2300. MMMAGIC(Bawl1,2,2,2,0,0,0,BrickColor.new("White"))
  2301. end
  2302. while mana >= 0 and vortexing == true do
  2303. wait(0.1)
  2304. mana = mana - 1
  2305. BawlWeld1.C0 = BawlWeld1.C0 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  2306. BawlWeld2.C0 = BawlWeld2.C0 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  2307. BawlWeld3.C0 = BawlWeld3.C0 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
  2308. MMMAGIC(Bawl1,2,2,2,0,0,0,BrickColor.new("White"))
  2309. end
  2310. Bawl1.Parent = nil
  2311. Bawl2.Parent = nil
  2312. Bawl3.Parent = nil
  2313. end))
  2314. for i = 0,1,0.1 do
  2315. swait()
  2316. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,3.14,0) * CFrame.new(0,0,-0.5)
  2317. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.14-3.14*i,0,0)
  2318. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2319. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2320. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2321. end
  2322. attack = false
  2323. end
  2324. end
  2325.  
  2326. function SwordRaid()
  2327. if mana >= 80 then
  2328. attack = true
  2329. WingBladeStance(true)
  2330. local UltimaPart = Instance.new("Part")
  2331. UltimaPart.Parent = glaive
  2332. UltimaPart.CanCollide = false
  2333. UltimaPart.Position = Torso.Position
  2334. UltimaPart.Transparency = 1
  2335. local UltimaWeld = Instance.new("Weld")
  2336. UltimaWeld.Parent = UltimaPart
  2337. UltimaWeld.Part0 = UltimaPart
  2338. UltimaWeld.Part1 = Torso
  2339. UltimaWeld.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2340. UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
  2341. local wingvel2 = Instance.new("BodyVelocity")
  2342. wingvel2.Parent = UltimaPart
  2343. WingBladeEffect(1,1,1,1,1,1)
  2344. wingblade1.Transparency = 1
  2345. wingblade2.Transparency = 1
  2346. wingblade3.Transparency = 1
  2347. wingblade4.Transparency = 1
  2348. wingblade5.Transparency = 1
  2349. wingblade6.Transparency = 1
  2350. wait(0.4)
  2351. wingblade1.Transparency = 0.4
  2352. wingweld1.Parent = wingblade1
  2353. wingweld1.Part0 = wingblade1
  2354. wingweld1.Part1 = UltimaPart
  2355. wingweld1.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2356. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,math.rad(90),0) * CFrame.new(0,0,0)
  2357. wingblade2.Transparency = 0.4
  2358. wingweld2.Parent = wingblade2
  2359. wingweld2.Part0 = wingblade2
  2360. wingweld2.Part1 = UltimaPart
  2361. wingweld2.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2362. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1,math.rad(90),0) * CFrame.new(0,0,0)
  2363. wingblade3.Transparency = 0.4
  2364. wingweld3.Parent = wingblade3
  2365. wingweld3.Part0 = wingblade3
  2366. wingweld3.Part1 = UltimaPart
  2367. wingweld3.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2368. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2,math.rad(90),0) * CFrame.new(0,0,0)
  2369. wingblade4.Transparency = 0.4
  2370. wingweld4.Parent = wingblade4
  2371. wingweld4.Part0 = wingblade4
  2372. wingweld4.Part1 = UltimaPart
  2373. wingweld4.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2374. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3,math.rad(90),0) * CFrame.new(0,0,0)
  2375. wingblade5.Transparency = 0.4
  2376. wingweld5.Parent = wingblade5
  2377. wingweld5.Part0 = wingblade5
  2378. wingweld5.Part1 = UltimaPart
  2379. wingweld5.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2380. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4,math.rad(90),0) * CFrame.new(0,0,0)
  2381. wingblade6.Transparency = 0.4
  2382. wingweld6.Parent = wingblade6
  2383. wingweld6.Part0 = wingblade6
  2384. wingweld6.Part1 = UltimaPart
  2385. wingweld6.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2386. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5,math.rad(90),0) * CFrame.new(0,0,0)
  2387. WingBladeEffect(1,1,1,1,1,1)
  2388. con1=wingblade1.Touched:connect(function(hit) Damagefunc1(hit,5,5) end)
  2389. con2=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,5,5) end)
  2390. con3=wingblade3.Touched:connect(function(hit) Damagefunc1(hit,5,5) end)
  2391. con4=wingblade4.Touched:connect(function(hit) Damagefunc1(hit,5,5) end)
  2392. con5=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,5,5) end)
  2393. con6=wingblade6.Touched:connect(function(hit) Damagefunc1(hit,5,5) end)
  2394. for i = 0,1,0.1 do
  2395. swait()
  2396. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1*i)
  2397. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2398. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,1*i)
  2399. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2400. end
  2401. wait(0.1)
  2402. for i = 0,1,0.1 do
  2403. swait()
  2404. ss(part1,1.2)
  2405. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2406. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2407. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2408. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2409. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2410. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2411. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1-2*i)
  2412. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2413. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1-2*i)
  2414. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2415. end
  2416. wait(0.2)
  2417. lightning = false
  2418. for i = 0,1,0.1 do
  2419. swait()
  2420. LW.C0 = CFrame.new(-1.5+0.3*i,0.5,-0.3*i) * CFrame.fromEulerAnglesXYZ(1.57+0.43*i,0,-1+1.5*i)
  2421. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2422. RW.C0 = CFrame.new(1.5-0.5+0.2*i,0.5,-0.5+0.2*i) * CFrame.fromEulerAnglesXYZ(1.57+0.43*i,0,-1+0.5*i)
  2423. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2424. end
  2425. mana = mana - 80
  2426. UltimaWeld.Parent = nil
  2427. wingvel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  2428. wingvel2.velocity = Player.Character.Head.CFrame.lookVector * 70
  2429. coroutine.resume(coroutine.create(function()
  2430. for i = 0,3,0.1 do
  2431. swait()
  2432. wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2433. wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2434. wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2435. wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2436. wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2437. wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
  2438. ss(part1,1.2)
  2439. end
  2440. wingvel2.Parent = nil
  2441. UltimaPart.Parent = nil
  2442. WingBladeEffect(1,1,1,1,1,1)
  2443. wingblade1.Transparency = 1
  2444. wingblade2.Transparency = 1
  2445. wingblade3.Transparency = 1
  2446. wingblade4.Transparency = 1
  2447. wingblade5.Transparency = 1
  2448. wingblade6.Transparency = 1
  2449. wait(0.4)
  2450. lightning = false
  2451. con1:disconnect()
  2452. con2:disconnect()
  2453. con3:disconnect()
  2454. con4:disconnect()
  2455. con5:disconnect()
  2456. con6:disconnect()
  2457. WingBladeEffect(1,1,1,1,1,1)
  2458. end))
  2459. wait(0.1)
  2460. for i = 0,1,0.1 do
  2461. swait()
  2462. LW.C0 = CFrame.new(-1.5+0.3-0.3*i,0.5,-0.3+0.3*i) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0.5-1*i)
  2463. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2464. RW.C0 = CFrame.new(1.5-0.3+0.3*i,0.5,-0.3+0.3*i) * CFrame.fromEulerAnglesXYZ(2-3*i,0,-0.5+1*i)
  2465. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2466. end
  2467. wait(0.5)
  2468. attack = false
  2469. end
  2470. end
  2471. function MOREMAGIX(part,cframe,x,y,z,color)
  2472. p2=Instance.new("Part")
  2473. p2.Name="Blast"
  2474. p2.TopSurface=0
  2475. p2.BottomSurface=0
  2476. p2.CanCollide=false
  2477. p2.Anchored=true
  2478. p2.BrickColor=color
  2479. p2.Size=Vector3.new(x,y,z)
  2480. p2.formFactor="Symmetric"
  2481. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  2482. p2.Parent=workspace
  2483. m=Instance.new("BlockMesh")
  2484. m.Parent=p2
  2485. m.Name="BlastMesh"
  2486. 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) swait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
  2487. end
  2488.  
  2489. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2490. local msh1 = Instance.new("SpecialMesh")
  2491. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  2492. msh1.MeshType = "Sphere"
  2493. S=Instance.new("Part")
  2494. S.Name="Effect"
  2495. S.formFactor=0
  2496. S.Size=Vector3.new(x1,y1,z1)
  2497. S.BrickColor=color
  2498. S.Reflectance = 0
  2499. S.TopSurface=0
  2500. S.BottomSurface=0
  2501. S.Transparency=0
  2502. S.Anchored=true
  2503. S.CanCollide=false
  2504. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  2505. S.Parent=Character
  2506. msh1.Parent = S
  2507. 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 swait() end Part.Parent=nil end),S,S.CFrame)
  2508. end
  2509.  
  2510.  
  2511. function WingBladeEffect(one,two,three,four,five,six)
  2512. if one == 1 then
  2513. EVENMOARMAGIX(wingblade1,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  2514. end
  2515. if two == 1 then
  2516. EVENMOARMAGIX(wingblade2,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  2517. end
  2518. if three == 1 then
  2519. EVENMOARMAGIX(wingblade3,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  2520. end
  2521. if four == 1 then
  2522. EVENMOARMAGIX(wingblade4,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  2523. end
  2524. if five == 1 then
  2525. EVENMOARMAGIX(wingblade5,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  2526. end
  2527. if six == 1 then
  2528. EVENMOARMAGIX(wingblade6,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
  2529. end
  2530. end
  2531.  
  2532. function omnomnom(pitch)
  2533. local SlashSound = Instance.new("Sound")
  2534. SlashSound.SoundId = "http://www.roblox.com/asset/?id=130776108"
  2535. SlashSound.Parent = Character.Head
  2536. SlashSound.Volume = 1
  2537. SlashSound.Pitch = pitch
  2538. SlashSound:Play()
  2539. game:GetService("Debris"):AddItem(SlashSound,3)
  2540. end
  2541.  
  2542. function EatMuffin() -- "Muffins" ~Derpy Hooves
  2543. if Character:FindFirstChild("MuCool")~=nil then return end
  2544. s=Instance.new("BoolValue",Character)
  2545. s.Name="MuCool"
  2546. game:GetService("Debris"):AddItem(s,12)
  2547. attack = true
  2548. hideanim2()
  2549. omnomnom(1)
  2550. for i = 0,1,0.1 do
  2551. swait()
  2552. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,-0.3*i) * CFrame.new(0,0,-0.5)
  2553. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,0.5*i) * CFrame.fromEulerAnglesXYZ(-0.3*i,0,0.5*i)
  2554. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2555. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2556. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2557. end
  2558. print("Muffins")
  2559. local Muffin = Instance.new("Part")
  2560. Muffin.formFactor = 1
  2561. Muffin.CanCollide = false
  2562. Muffin.Name = "Muffin"
  2563. Muffin.Locked = true
  2564. Muffin.Size = Vector3.new(1,1,1)
  2565. Muffin.Parent = glaive
  2566. local Muffinmesh = Instance.new("SpecialMesh")
  2567. Muffinmesh.Parent = Muffin
  2568. Muffinmesh.MeshId = "http://www.roblox.com/asset/?id=23261119"
  2569. Muffinmesh.TextureId = "http://www.roblox.com/asset/?id=23261110"
  2570. Muffinmesh.Scale = Vector3.new(0.5,0.5,0.5)
  2571. local Muffinweld = Instance.new("Weld")
  2572. Muffinweld.Parent = Muffin
  2573. Muffinweld.Part0 = Muffin
  2574. Muffinweld.Part1 = LeftArm
  2575. Muffinweld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(180)) * CFrame.new(0, 1, 0.5)
  2576. for i = 0,1,0.1 do
  2577. swait()
  2578. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.3+0.3*i,0,0.5-0.5*i)
  2579. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2580. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2581. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2582. end
  2583. for i = 0,1,0.1 do
  2584. swait()
  2585. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,-0.3+0.3*i) * CFrame.new(0,0,-0.5)
  2586. LW.C0 = CFrame.new(-1.5-0.1*i,0.5+0.2*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.9*i,0,1.3*i)
  2587. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0.5*i,0)
  2588. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2589. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2590. end
  2591. for i = 1, 5 do
  2592. wait(.45)
  2593. Character.Humanoid.Health = Character.Humanoid.Health + 5
  2594. if mana < 400 then
  2595. mana = mana + 5
  2596. end
  2597. end
  2598.  
  2599. Muffin.Parent = nil
  2600. swait()
  2601. for i = 0,1,0.1 do
  2602. swait()
  2603. LW.C0 = CFrame.new(-1.5-0.1+0.1*i,0.5+0.2-0.2*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.9-1.9*i,0,1.3-1.3*i)
  2604. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0.5-0.5*i,0)
  2605. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2606. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2607. end
  2608. equipanim()
  2609. attack = false
  2610. end
  2611.  
  2612. function sparklesparkle()
  2613. attack = true
  2614. imfloatinglulz = true
  2615. coroutine.resume(coroutine.create(function()
  2616. while imfloatinglulz == true do
  2617. swait()
  2618. local bawleffecty = Instance.new("Part")
  2619. bawleffecty.formFactor = 1
  2620. bawleffecty.CanCollide = false
  2621. bawleffecty.Name = "Effect"
  2622. bawleffecty.Locked = true
  2623. bawleffecty.Size = Vector3.new(1,1,1)
  2624. bawleffecty.Parent = glaive
  2625. bawleffecty.Anchored = true
  2626. bawleffecty.BrickColor = BrickColor.new("Institutional white")
  2627. bawleffecty.CFrame = Torso.CFrame * CFrame.new(math.random(-1,1)+math.random()-math.random(),math.random(-1,1)+math.random()-math.random(),math.random(-1,1)+math.random()-math.random())
  2628. local bawlmesh = Instance.new("SpecialMesh")
  2629. bawlmesh.Parent = bawleffecty
  2630. bawlmesh.Scale = Vector3.new(0.1,0.1,0.1)
  2631. bawlmesh.MeshType = "Sphere"
  2632. coroutine.resume(coroutine.create(function()
  2633. wait(0.2)
  2634. for i = 0,1,0.1 do
  2635. swait()
  2636. bawleffecty.Transparency = i
  2637. end
  2638. bawleffecty.Parent = nil
  2639. end))
  2640. end
  2641. end))
  2642. local bov = Instance.new("BodyPosition")
  2643. bov.position = Torso.Position
  2644. bov.Parent = Torso
  2645. bov.maxForce = Vector3.new(50000000,50000000,50000000)
  2646. Character.Humanoid.WalkSpeed = 0
  2647. for i = 0,1,0.05 do
  2648. swait()
  2649. bov.position = Torso.Position + Vector3.new(0,i*2,0)
  2650. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(-0.5*i+1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2651. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,-0.5*i+0.5,-0.5*i-0.5)
  2652. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2653. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,1*i)
  2654. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2655. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
  2656. end
  2657. wait(2)
  2658. local bawleffecty = Instance.new("Part")
  2659. bawleffecty.formFactor = 1
  2660. bawleffecty.CanCollide = false
  2661. bawleffecty.Name = "Effect"
  2662. bawleffecty.Locked = true
  2663. bawleffecty.Size = Vector3.new(1,1,1)
  2664. bawleffecty.Parent = glaive
  2665. bawleffecty.Anchored = true
  2666. bawleffecty.BrickColor = BrickColor.new("White")
  2667. bawleffecty.CFrame = Torso.CFrame
  2668. local c = game.Workspace:GetChildren();
  2669. for i = 1, #c do
  2670. local hum = c[i]:findFirstChild("Humanoid")
  2671. if hum ~= nil and hum.Health ~= 0 then
  2672. local head = c[i]:findFirstChild("Head");
  2673. if head ~= nil then
  2674. local targ = head.Position - bawleffecty.Position;
  2675. local mag = targ.magnitude;
  2676. if mag <= 25 and c[i].Name ~= Player.Name then
  2677. coroutine.resume(coroutine.create(function()
  2678. BALLFUNC(head,20,0)
  2679. end))
  2680. end
  2681. end
  2682. end
  2683. end
  2684.  
  2685. local bawlmesh = Instance.new("SpecialMesh")
  2686. bawlmesh.Parent = bawleffecty
  2687. bawlmesh.Scale = Vector3.new(1,1,1)
  2688. bawlmesh.MeshType = "Sphere"
  2689. coroutine.resume(coroutine.create(function()
  2690. swait()
  2691. for i = 0,1,0.05 do
  2692. swait()
  2693. bawlmesh.Scale = bawlmesh.Scale + Vector3.new(3,3,3)
  2694. bawleffecty.Transparency = i
  2695. end
  2696. bawleffecty.Parent = nil
  2697. end))
  2698. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2699. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5)
  2700. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2701. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2702. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2703. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
  2704. bov.Parent = nil
  2705. Character.Humanoid.WalkSpeed = 16
  2706. imfloatinglulz = false
  2707. attack = false
  2708. end
  2709.  
  2710.  
  2711. function HolyWave()
  2712. if mana>=90 then mana=mana-90 else return end
  2713. attack = true
  2714. for i = 0,1,0.1 do
  2715. swait()
  2716. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2717. LW.C0 = CFrame.new(0.3*i-1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57*i,-2.07*i+0.5,0.5*i-0.5)
  2718. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  2719. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1*i)
  2720. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2721. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0.5*i,math.rad(90)) * CFrame.new(0, 1, 0)
  2722. end
  2723. gairo.Parent = Head
  2724. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  2725. gairo.P = 20e+003
  2726. gairo.cframe = Head.CFrame
  2727. CeEff = Head.CFrame
  2728. ss(part16,0.8)
  2729. con1=part16.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
  2730. con2=part17.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
  2731. for i = 0,1,0.1 do
  2732. swait()
  2733. gairo.cframe = Head.CFrame * CFrame.fromEulerAnglesXYZ(0,0.5,0)
  2734. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2735. LW.C0 = CFrame.new(-0.3*i+0.3-1.5,0.5,0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(1.57,-2.07+0.5,0.5-0.5)
  2736. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5*i-0.5,0,0)
  2737. RW.C0 = CFrame.new(-0.5*i+1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-2*i+1)
  2738. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2739. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0.2*i+0.5,math.rad(90)) * CFrame.new(0, 1, 0)
  2740. end
  2741. ss(part16,0.8)
  2742. for i = 0,1,0.1 do
  2743. swait()
  2744. gairo.cframe = gairo.cframe * CFrame.fromEulerAnglesXYZ(0,0.5,0)
  2745. end
  2746. ss(part16,0.8)
  2747. for i = 0,1,0.1 do
  2748. swait()
  2749. gairo.cframe = gairo.cframe * CFrame.fromEulerAnglesXYZ(0,0.5,0)
  2750. end
  2751. gairo.cframe = CeEff
  2752. con1:disconnect()
  2753. con2:disconnect()
  2754. for i = 0,1,0.1 do
  2755. swait()
  2756. MMMAGIC(part16,3,3,3,0,0,0,BrickColor.new("White"))
  2757. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2758. LW.C0 = CFrame.new(0.5*i-1.5,0.5,-0.7*i) * CFrame.fromEulerAnglesXYZ(0.93*i+1.57,-1.57*i-1.57,-0.8*i)
  2759. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2*i+2,0,0)
  2760. RW.C0 = CFrame.new(-0.5+1.5,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(0.93*i+1.57,math.rad(0)*i,1.8*i-1)
  2761. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2762. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-0.7*i+0.7,math.rad(90)) * CFrame.new(0, 1, -1*i)
  2763. end
  2764. wait(0.2)
  2765. ss(part16,0.8)
  2766. for i = 0,1,0.2 do
  2767. swait()
  2768. MMMAGIC(part16,3,3,3,0,0,0,BrickColor.new("Institutional white"))
  2769. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2770. LW.C0 = CFrame.new(-1,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.93*i+0.93+1.57,-3.14,-0.8)
  2771. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2772. RW.C0 = CFrame.new(1,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.93*i+0.93+1.57,math.rad(0),-0.8)
  2773. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2774. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, -1)
  2775. end
  2776. local msh1 = Instance.new("SpecialMesh") --Messy Script incoming >_>
  2777. msh1.Scale = Vector3.new(0.01,0.01,0.01)
  2778. msh1.MeshType = "Sphere"
  2779. S=Instance.new("Part")
  2780. S.Name="Effect"
  2781. S.formFactor=0
  2782. S.Size=Vector3.new(3,3,3)
  2783. S.BrickColor=BrickColor.new("White")
  2784. S.Reflectance = 0
  2785. S.TopSurface=0
  2786. S.BottomSurface=0
  2787. S.Transparency=0
  2788. S.Anchored=true
  2789. S.CanCollide=false
  2790. S.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2791. S.Parent=Character
  2792. msh1.Parent = S
  2793. r=Instance.new("Part")
  2794. r.Anchored=true
  2795. r.Name="Ring"
  2796. r.CanCollide=false
  2797. r.TopSurface=0
  2798. r.BottomSurface=0
  2799. r.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  2800. r.Parent=Character
  2801. local ring = Instance.new("SpecialMesh")
  2802. ring.Parent = r
  2803. ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2804. ring.Name = "RingMesh"
  2805. r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1)
  2806. r.BrickColor=BrickColor.new("Institutional white")
  2807. coroutine.resume(coroutine.create(function(par) for i=1, 14 do par.Transparency=i/14 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) swait() end par.Parent=nil end),r)
  2808. p=Instance.new("Part")
  2809. p.Name="BlastRing"
  2810. p.TopSurface=0
  2811. p.BottomSurface=0
  2812. p.CanCollide=false
  2813. p.Anchored=true
  2814. p.BrickColor=BrickColor.new("White")
  2815. p.Size=Vector3.new(1,1,1)
  2816. p.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  2817. p.CFrame=p.CFrame
  2818. p.Parent=Character
  2819. local mesheh = Instance.new("SpecialMesh")
  2820. mesheh.Parent = p
  2821. mesheh.Name = "BlastMesh"
  2822. mesheh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2823. p.BlastMesh.Scale=Vector3.new(0.3,0.3,0.1)
  2824. coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.1,0.1,0.1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,1.5,1) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) swait() end par.Parent=nil end),p)
  2825. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.4,0.4,0.4) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 swait() end Part.Parent=nil end),S,S.CFrame)
  2826. local msh1 = Instance.new("SpecialMesh")
  2827. msh1.Scale = Vector3.new(0.01,0.01,0.01)
  2828. msh1.MeshType = "Sphere"
  2829. S=Instance.new("Part")
  2830. S.Name="Effect"
  2831. S.formFactor=0
  2832. S.Size=Vector3.new(3,3,3)
  2833. S.BrickColor=BrickColor.new("Institutional white")
  2834. S.Reflectance = 0
  2835. S.TopSurface=0
  2836. S.BottomSurface=0
  2837. S.Transparency=0
  2838. S.Anchored=true
  2839. S.CanCollide=false
  2840. S.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2841. S.Parent=Character
  2842. msh1.Parent = S
  2843. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.3,0.3,0.3) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 swait() end Part.Parent=nil end),S,S.CFrame)
  2844. Vel=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)
  2845. v=Instance.new("BodyVelocity")
  2846. v.P=3000
  2847. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2848. v.velocity=Vel
  2849. v.Parent=S
  2850. local c = game.Workspace:GetChildren();
  2851. for i = 1, #c do
  2852. local hum = c[i]:findFirstChild("Humanoid")
  2853. if hum ~= nil and hum.Health ~= 0 then
  2854. local head = c[i]:findFirstChild("Head");
  2855. if head ~= nil then
  2856. local targ = head.Position - S.Position;
  2857. local mag = targ.magnitude;
  2858. if mag <= 10 and c[i].Name ~= Player.Name then
  2859. coroutine.resume(coroutine.create(function()
  2860. for i = 0,1,0.1 do
  2861. swait()
  2862. DBHit(head,S)
  2863. end
  2864. end))
  2865. end
  2866. end
  2867. end
  2868. end
  2869. wait(0.3)
  2870. gairo.Parent = nil
  2871. for i = 0,1,0.1 do
  2872. swait()
  2873. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2874. LW.C0 = CFrame.new(-0.5*i-1,0.5,0.7*i-0.7) * CFrame.fromEulerAnglesXYZ(-1.57*i+1.57,3.64*i-3.14,0.3*i-0.8)
  2875. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2876. RW.C0 = CFrame.new(0.5*i+1,0.5,0.7*i-0.7) * CFrame.fromEulerAnglesXYZ(-1.57*i+1.57,-math.rad(180)*i+math.rad(180),-0.8*i+0.8)
  2877. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2878. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, -1)
  2879. end
  2880. attack = false
  2881. end
  2882.  
  2883.  
  2884. function MagicBlast()
  2885. if mana>=80 then mana=mana-80 else return end
  2886. attack = true
  2887. for i = 0,1,0.1 do
  2888. swait()
  2889. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  2890. MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("White"))
  2891. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57*i) * CFrame.new(0,0,-0.5)
  2892. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5)
  2893. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2894. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)*i)
  2895. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2896. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
  2897. end
  2898. for i = 0,1,0.05 do
  2899. swait()
  2900. MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Institutional white"))
  2901. end
  2902. Shot=Instance.new("Part")
  2903. Shot.Name="Effect"
  2904. Shot.formFactor=0
  2905. Shot.Size=Vector3.new(1,1,1)
  2906. Shot.BrickColor=BrickColor.new("White")
  2907. Shot.Reflectance = 0
  2908. Shot.TopSurface=0
  2909. Shot.BottomSurface=0
  2910. Shot.Transparency=0
  2911. Shot.Anchored=false
  2912. Shot.CanCollide=false
  2913. Shot.CFrame=RightArm.CFrame*CFrame.new(0,-1,0)
  2914. Shot.Parent=Character
  2915. --Shot.Velocity = Head.CFrame.lookVector * 100
  2916. coroutine.resume(coroutine.create(function()
  2917. while Shot.Parent ~= nil do
  2918. swait()
  2919. MMMAGIC(Shot,1,1,1,0,0,0,BrickColor.new("Institutional white"))
  2920. end
  2921. end))
  2922. coroutine.resume(coroutine.create(function()
  2923. while Shot.Parent ~= nil do --I use this function instead of the touch function :3
  2924. swait()
  2925. local c = game.Workspace:GetChildren();
  2926. for i = 1, #c do
  2927. local hum = c[i]:findFirstChild("Humanoid")
  2928. if hum ~= nil and hum.Health ~= 0 then
  2929. local head = c[i]:findFirstChild("Head");
  2930. if head ~= nil then
  2931. local targ = head.Position - Shot.Position;
  2932. local mag = targ.magnitude;
  2933. if mag <= 4 and c[i].Name ~= Player.Name then
  2934. Damagefunc2(head.Parent.Torso,10,30)
  2935. v=Instance.new("BodyVelocity")
  2936. v.P=1000
  2937. v.maxForce=Vector3.new(math.huge,0,math.huge)
  2938. v.velocity=Torso.CFrame.lookVector*25+Torso.Velocity/1.05
  2939. v.Parent=hum.Parent.Torso
  2940. coroutine.resume(coroutine.create(function()
  2941. wait(0.3)
  2942. v.Parent = nil
  2943. end))
  2944. game:GetService("Debris"):AddItem(v,.1)
  2945. Shot.Parent = nil
  2946. end
  2947. end
  2948. end
  2949. end
  2950. end
  2951. end))
  2952.  
  2953. coroutine.resume(coroutine.create(function()
  2954. wait(3)
  2955. for i = 0,1,0.05 do
  2956. swait() Shot.Transparency = i
  2957. end
  2958. Shot.Parent = nil
  2959. end))
  2960. local v = Instance.new("BodyVelocity")
  2961. v.Parent = Shot
  2962. v.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2963. v.velocity = Head.CFrame.lookVector * 100
  2964. local force = Instance.new("BodyForce")
  2965. force.Parent = Shot
  2966. force.force = Vector3.new(0,190,0)
  2967. local meh = Instance.new("SpecialMesh")
  2968. meh.Parent = Shot
  2969. meh.Scale = Vector3.new(1,2,1)
  2970. meh.MeshType = "Sphere"
  2971. MMMAGIC(RightArm,4,4,4,0,-1,0,BrickColor.new("White"))
  2972. MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Institutional white"))
  2973. MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("White"))
  2974. MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Institutional white"))
  2975. wait(0.3)
  2976. for i = 0,1,0.05 do
  2977. swait()
  2978. MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("White"))
  2979. end
  2980. Shot2=Instance.new("Part")
  2981. Shot2.Name="Effect"
  2982. Shot2.formFactor=0
  2983. Shot2.Size=Vector3.new(1,1,1)
  2984. Shot2.BrickColor=BrickColor.new("Institutional white")
  2985. Shot2.Reflectance = 0
  2986. Shot2.TopSurface=0
  2987. Shot2.BottomSurface=0
  2988. Shot2.Transparency=0
  2989. Shot2.Anchored=false
  2990. Shot2.CanCollide=false
  2991. Shot2.CFrame=RightArm.CFrame*CFrame.new(0,-1,0)
  2992. Shot2.Parent=Character
  2993. --Shot2.Velocity = Head.CFrame.lookVector * 100
  2994. coroutine.resume(coroutine.create(function()
  2995. while Shot2.Parent ~= nil do
  2996. swait()
  2997. MMMAGIC(Shot2,1,1,1,0,0,0,BrickColor.new("White"))
  2998. end
  2999. end))
  3000.  
  3001. coroutine.resume(coroutine.create(function()
  3002. while Shot2.Parent ~= nil do --I use this function instead of the touch function :3
  3003. swait()
  3004. local c = game.Workspace:GetChildren();
  3005. for i = 1, #c do
  3006. local hum = c[i]:findFirstChild("Humanoid")
  3007. if hum ~= nil and hum.Health ~= 0 then
  3008. local head = c[i]:findFirstChild("Head");
  3009. if head ~= nil then
  3010. local targ = head.Position - Shot2.Position;
  3011. local mag = targ.magnitude;
  3012. if mag <= 4 and c[i].Name ~= Player.Name then
  3013. Damagefunc2(head.Parent.Torso,10,15)
  3014. v=Instance.new("BodyVelocity")
  3015. v.P=1000
  3016. v.maxForce=Vector3.new(math.huge,0,math.huge)
  3017. v.velocity=Torso.CFrame.lookVector*25+Torso.Velocity/1.05
  3018. v.Parent=hum.Parent.Torso
  3019. coroutine.resume(coroutine.create(function()
  3020. wait(0.3)
  3021. v.Parent = nil
  3022. end))
  3023. game:GetService("Debris"):AddItem(v,.1)
  3024. Shot2.Parent = nil
  3025. end
  3026. end
  3027. end
  3028. end
  3029. end
  3030.  
  3031. end))
  3032. coroutine.resume(coroutine.create(function()
  3033. wait(3)
  3034. for i = 0,1,0.05 do
  3035. swait()
  3036. Shot2.Transparency = i
  3037. end
  3038. Shot2.Parent = nil
  3039. end))
  3040. local v = Instance.new("BodyVelocity")
  3041. v.Parent = Shot2
  3042. v.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3043. v.velocity = Head.CFrame.lookVector * 100
  3044. local force = Instance.new("BodyForce")
  3045. force.Parent = Shot2
  3046. force.force = Vector3.new(0,190,0)
  3047. local meh = Instance.new("SpecialMesh")
  3048. meh.Parent = Shot2
  3049. meh.Scale = Vector3.new(1,2,1)
  3050. meh.MeshType = "Sphere"
  3051. MMMAGIC(RightArm,4,4,4,0,-1,0,BrickColor.new("White"))
  3052. MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Institutional white"))
  3053. MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("White"))
  3054. MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Institutional white"))
  3055. wait(0.3)
  3056. for i = 0,1,0.05 do
  3057. swait()
  3058. MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("White"))
  3059. end
  3060. Shot3=Instance.new("Part")
  3061. Shot3.Name="Effect"
  3062.  
  3063. Shot3.formFactor=0
  3064. Shot3.Size=Vector3.new(1,1,1)
  3065. Shot3.BrickColor=BrickColor.new("Institutional white")
  3066.  
  3067. Shot3.Reflectance = 0
  3068. Shot3.TopSurface=0
  3069.  
  3070. Shot3.BottomSurface=0
  3071. Shot3.Transparency=0
  3072. Shot3.Anchored=false
  3073. Shot3.CanCollide=false
  3074. Shot3.CFrame=RightArm.CFrame*CFrame.new(0,-1,0)
  3075. Shot3.Parent=Character
  3076. --Shot3.Velocity = Head.CFrame.lookVector * 100
  3077.  
  3078. coroutine.resume(coroutine.create(function()
  3079. while Shot3.Parent ~= nil do
  3080. swait()
  3081. MMMAGIC(Shot3,1,1,1,0,0,0,BrickColor.new("White"))
  3082. end
  3083. end))
  3084. coroutine.resume(coroutine.create(function()
  3085. while Shot3.Parent ~= nil do --I use this function instead of the touch function :3
  3086. swait()
  3087. local c = game.Workspace:GetChildren();
  3088. for i = 1, #c do
  3089. local hum = c[i]:findFirstChild("Humanoid")
  3090. if hum ~= nil and hum.Health ~= 0 then
  3091. local head = c[i]:findFirstChild("Head");
  3092. if head ~= nil then
  3093. local targ = head.Position - Shot3.Position;
  3094. local mag = targ.magnitude;
  3095. if mag <= 4 and c[i].Name ~= Player.Name then
  3096. Damagefunc2(head.Parent.Torso,10,30)
  3097. v=Instance.new("BodyVelocity")
  3098. v.P=1000
  3099. v.maxForce=Vector3.new(math.huge,0,math.huge)
  3100. v.velocity=Torso.CFrame.lookVector*25+Torso.Velocity/1.05
  3101. v.Parent=hum.Parent.Torso
  3102.  
  3103. coroutine.resume(coroutine.create(function()
  3104. wait(0.3)
  3105. v.Parent = nil
  3106. end))
  3107. game:GetService("Debris"):AddItem(v,.1)
  3108. Shot3.Parent = nil
  3109. end
  3110. end
  3111. end
  3112. end
  3113. end
  3114.  
  3115. end))
  3116. coroutine.resume(coroutine.create(function()
  3117. wait(3)
  3118. for i = 0,1,0.05 do
  3119. swait()
  3120. Shot3.Transparency = i
  3121. end
  3122. Shot3.Parent = nil
  3123. end))
  3124. local v = Instance.new("BodyVelocity")
  3125. v.Parent = Shot3
  3126. v.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3127. v.velocity = Head.CFrame.lookVector * 100
  3128. local force = Instance.new("BodyForce")
  3129. force.Parent = Shot3
  3130. force.force = Vector3.new(0,190,0)
  3131. local meh = Instance.new("SpecialMesh")
  3132. meh.Parent = Shot3
  3133.  
  3134. meh.Scale = Vector3.new(1,2,1)
  3135. meh.MeshType = "Sphere"
  3136. MMMAGIC(RightArm,4,4,4,0,-1,0,BrickColor.new("White"))
  3137. MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Institutional white"))
  3138. MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("White"))
  3139. MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Institutional white"))
  3140. wait(0.3)
  3141. for i = 0,1,0.1 do
  3142. swait()
  3143. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3144. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57*i+1.57) * CFrame.new(0,0,-0.5)
  3145. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5)
  3146. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3147. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)*i+math.rad(90))
  3148. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3149. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
  3150. end
  3151. gairo.Parent = nil
  3152. attack = false
  3153. end
  3154. function LightOrb()
  3155. if mana>=100 then mana=mana-100 else return end
  3156. attack = true
  3157. for i = 0,1,0.1 do
  3158. swait()
  3159. MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("White"))
  3160. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  3161. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57*i) * CFrame.new(0,0,-0.5)
  3162. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5)
  3163. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3164. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)*i)
  3165. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3166. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
  3167. end
  3168. for i = 0,1,0.02 do
  3169. swait()
  3170. MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Institutional white"))
  3171. end
  3172. Shoty=Instance.new("Part")
  3173. Shoty.Name="Effect"
  3174. Shoty.formFactor=0
  3175. Shoty.Size=Vector3.new(1,1,1)
  3176. Shoty.BrickColor=BrickColor.new("White")
  3177. Shoty.Reflectance = 0
  3178. Shoty.TopSurface=0
  3179. Shoty.BottomSurface=0
  3180. Shoty.Transparency=0
  3181. Shoty.Anchored=false
  3182. Shoty.CanCollide=false
  3183. Shoty.CFrame=RightArm.CFrame*CFrame.new(0,-1,0)
  3184. Shoty.Parent=Character
  3185. --Shot.Velocity = Head.CFrame.lookVector * 100
  3186. coroutine.resume(coroutine.create(function()
  3187. while Shoty.Parent ~= nil do
  3188. wait(0.2)
  3189. p=Instance.new("Part")
  3190. p.Name="BlastRing"
  3191. p.TopSurface=0
  3192. p.BottomSurface=0
  3193. p.CanCollide=false
  3194. p.Anchored=true
  3195. p.BrickColor=BrickColor.new("Institutional white")
  3196. p.Size=Vector3.new(1,1,1)
  3197. p.CFrame=Shoty.CFrame*CFrame.new(-3,0,0)*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90))
  3198. p.CFrame=p.CFrame
  3199. p.Parent=Character
  3200. local mesheh = Instance.new("SpecialMesh")
  3201. mesheh.Parent = p
  3202. mesheh.Name = "BlastMesh"
  3203. mesheh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3204. p.BlastMesh.Scale=Vector3.new(0.3,0.3,0.1)
  3205. coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.1,0.1,0.1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.2,0.2,0.2) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) swait() end par.Parent=nil end),p)
  3206. end
  3207. end))
  3208. local v = Instance.new("BodyVelocity")
  3209. v.Parent = Shoty
  3210. v.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3211. v.velocity = Head.CFrame.lookVector * 20
  3212. local force = Instance.new("BodyForce")
  3213. force.Parent = Shoty
  3214. force.force = Vector3.new(0,190,0)
  3215. local meh = Instance.new("SpecialMesh")
  3216. meh.Parent = Shoty
  3217. meh.Scale = Vector3.new(3,3,3)
  3218. meh.MeshType = "Sphere"
  3219. MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("White"))
  3220. MMMAGIC(RightArm,6,6,6,0,-1,0,BrickColor.new("Institutional white"))
  3221. MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("White"))
  3222. MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Institutional white"))
  3223. MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("White"))
  3224. MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Institutional white"))
  3225. coroutine.resume(coroutine.create(function()
  3226. wait(5)
  3227. Shoty.Parent = nil
  3228. local msh1 = Instance.new("SpecialMesh") --Messy Script incoming >_>
  3229. msh1.Scale = Vector3.new(0.01,0.01,0.01)
  3230. msh1.MeshType = "Sphere"
  3231. S=Instance.new("Part")
  3232. S.Name="Effect"
  3233. S.formFactor=0
  3234. S.Size=Vector3.new(3,3,3)
  3235. S.BrickColor=BrickColor.new("White")
  3236. S.Reflectance = 0
  3237. S.TopSurface=0
  3238. S.BottomSurface=0
  3239. S.Transparency=0
  3240. S.Anchored=true
  3241. S.CanCollide=false
  3242. S.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3243. S.Parent=Character
  3244. msh1.Parent = S
  3245. r=Instance.new("Part")
  3246. r.Anchored=true
  3247. r.Name="Ring"
  3248. r.CanCollide=false
  3249. r.TopSurface=0
  3250. r.BottomSurface=0
  3251. r.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  3252. r.Parent=Character
  3253. local ring = Instance.new("SpecialMesh")
  3254. ring.Parent = r
  3255. ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3256. ring.Name = "RingMesh"
  3257. r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1)
  3258. r.BrickColor=BrickColor.new("Institutional white")
  3259. coroutine.resume(coroutine.create(function(par) for i=1, 14 do par.Transparency=i/14 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) swait() end par.Parent=nil end),r)
  3260. p=Instance.new("Part")
  3261. p.Name="BlastRing"
  3262. p.TopSurface=0
  3263. p.BottomSurface=0
  3264. p.CanCollide=false
  3265. p.Anchored=true
  3266. p.BrickColor=BrickColor.new("White")
  3267. p.Size=Vector3.new(1,1,1)
  3268. p.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90))
  3269. p.CFrame=p.CFrame
  3270. p.Parent=Character
  3271. local mesheh = Instance.new("SpecialMesh")
  3272. mesheh.Parent = p
  3273. mesheh.Name = "BlastMesh"
  3274. mesheh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3275. p.BlastMesh.Scale=Vector3.new(0.3,0.3,0.1)
  3276. coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.1,0.1,0.1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,1.5,1) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) swait() end par.Parent=nil end),p)
  3277. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.4,0.4,0.4) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 swait() end Part.Parent=nil end),S,S.CFrame)
  3278. local msh1 = Instance.new("SpecialMesh")
  3279. msh1.Scale = Vector3.new(0.01,0.01,0.01)
  3280. msh1.MeshType = "Sphere"
  3281. S=Instance.new("Part")
  3282. S.Name="Effect"
  3283. S.formFactor=0
  3284. S.Size=Vector3.new(3,3,3)
  3285. S.BrickColor=BrickColor.new("Institutional white")
  3286. S.Reflectance = 0
  3287. S.TopSurface=0
  3288. S.BottomSurface=0
  3289. S.Transparency=0
  3290. S.Anchored=true
  3291. S.CanCollide=false
  3292. S.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3293. S.Parent=Character
  3294. msh1.Parent = S
  3295. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.3,0.3,0.3) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 swait() end Part.Parent=nil end),S,S.CFrame)
  3296. Vel=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)
  3297. v=Instance.new("BodyVelocity")
  3298. v.P=3000
  3299. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3300. v.velocity=Vel
  3301. v.Parent=S
  3302. local c = game.Workspace:GetChildren();
  3303. for i = 1, #c do
  3304. local hum = c[i]:findFirstChild("Humanoid")
  3305. if hum ~= nil and hum.Health ~= 0 then
  3306. local head = c[i]:findFirstChild("Head");
  3307. if head ~= nil then
  3308. local targ = head.Position - S.Position;
  3309. local mag = targ.magnitude;
  3310. if mag <= 10 and c[i].Name ~= Player.Name then
  3311. coroutine.resume(coroutine.create(function()
  3312. for i = 0,1,0.1 do
  3313. swait()
  3314. DBHit(head,S)
  3315. end
  3316. end))
  3317. end
  3318. end
  3319. end
  3320. end
  3321. end))
  3322. for i = 0,1,0.1 do
  3323. swait()
  3324. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3325. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57*i+1.57) * CFrame.new(0,0,-0.5)
  3326. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-0.5)
  3327. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3328. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)*i+math.rad(90))
  3329. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3330. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
  3331. end
  3332. gairo.Parent = nil
  3333. attack = false
  3334. end
  3335. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  3336. local msh1 = Instance.new("BlockMesh")
  3337. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  3338. S=Instance.new("Part")
  3339. S.Name="Effect"
  3340. S.formFactor=0
  3341. S.Size=Vector3.new(x1,y1,z1)
  3342. S.BrickColor=color
  3343. S.Reflectance = 0
  3344. S.TopSurface=0
  3345. S.BottomSurface=0
  3346. S.Transparency=0
  3347. S.Anchored=true
  3348. S.CanCollide=false
  3349. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3350. S.Parent=Character
  3351. msh1.Parent = S
  3352. 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 swait() end Part.Parent=nil end),S,S.CFrame)
  3353. end
  3354. function MOREMAGIX(part,cframe,x,y,z,color)
  3355. p2=Instance.new("Part")
  3356. p2.Name="Blast"
  3357. p2.TopSurface=0
  3358. p2.BottomSurface=0
  3359. p2.CanCollide=false
  3360. p2.Anchored=true
  3361. p2.BrickColor=color
  3362. p2.Size=Vector3.new(x,y,z)
  3363. p2.formFactor="Symmetric"
  3364. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  3365. p2.Parent=Character
  3366. m=Instance.new("BlockMesh")
  3367. m.Parent=p2
  3368. m.Name="BlastMesh"
  3369. 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) swait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
  3370. end
  3371. Damagefunc1=function(hit,Damage,Knockback)
  3372. if attackdebounce == false then
  3373.  
  3374. attackdebounce = true
  3375. coroutine.resume(coroutine.create(function()
  3376. wait(0.1)
  3377. attackdebounce = false
  3378.  
  3379. end))
  3380. if hit.Parent==nil then
  3381. return
  3382. end
  3383. CPlayer=Bin
  3384. h=hit.Parent:FindFirstChild("Humanoid")
  3385. if h~=nil and hit.Parent.Name~=Player.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  3386. Damage=Damage
  3387. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  3388. return
  3389. end]]
  3390. c=Instance.new("ObjectValue")
  3391. c.Name="creator"
  3392. c.Value=game.Players.LocalPlayer c.Parent=h
  3393.  
  3394. game:GetService("Debris"):AddItem(c,.5)
  3395. -- print(c.Value
  3396. if math.random(1,5)==1 then
  3397. CRIT=true
  3398. Damage=Damage*2
  3399. coroutine.resume(coroutine.create(function()
  3400. for i = 0,5 do
  3401. swait()
  3402. MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("White"))
  3403. end
  3404. wait(1)
  3405. for i = 0,8 do
  3406. wait(0.1)
  3407. MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Institutional white"))
  3408. end
  3409. end))
  3410. Knockback=Knockback*2
  3411. end
  3412. Damage=Damage+math.random(0,10)
  3413. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  3414. h:TakeDamage(Damage)
  3415. showDamage(hit.Parent,Damage,.5)
  3416. vp=Instance.new("BodyVelocity")
  3417. vp.P=500
  3418. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  3419. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  3420. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  3421. if Knockback>0 then
  3422. vp.Parent=hit.Parent.Torso
  3423. end
  3424. game:GetService("Debris"):AddItem(vp,.25)
  3425. --[[ r=Instance.new("BodyAngularVelocity")
  3426. r.P=3000
  3427. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  3428. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  3429. r.Parent=hit.Parent.Torso]]
  3430. game:GetService("Debris"):AddItem(r,.5)
  3431. c=Instance.new("ObjectValue")
  3432. c.Name="creator"
  3433. c.Value=Player
  3434. c.Parent=h
  3435. game:GetService("Debris"):AddItem(c,.5)
  3436. CRIT=false
  3437. hitDeb=true
  3438. AttackPos=6
  3439. end
  3440. end
  3441. end
  3442.  
  3443. Damagefunc2=function(hit,Damage,Knockback)
  3444. if attackdebounce == false then
  3445. attackdebounce = true
  3446. coroutine.resume(coroutine.create(function()
  3447. wait(0.1)
  3448. attackdebounce = false
  3449. end))
  3450. if hit.Parent==nil then
  3451. return
  3452. end
  3453. CPlayer=Bin
  3454. h=hit.Parent:FindFirstChild("Humanoid")
  3455. if h~=nil and hit.Parent.Name~=Player.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  3456. Damage=Damage
  3457. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  3458. return
  3459. end]]
  3460. c=Instance.new("ObjectValue")
  3461. c.Name="creator"
  3462. c.Value=game.Players.LocalPlayer
  3463. c.Parent=h
  3464. game:GetService("Debris"):AddItem(c,.5)
  3465. -- print(c.Value)
  3466. if math.random(1,1)==1 then
  3467. CRIT=true
  3468. Damage=Damage*2
  3469. coroutine.resume(coroutine.create(function()
  3470. for i = 0,5 do
  3471. swait()
  3472. MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("White"))
  3473. end
  3474. wait(1)
  3475. for i = 0,8 do
  3476. wait(0.1)
  3477. MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Institutional white"))
  3478. end
  3479. end))
  3480. Knockback=Knockback*2
  3481. end
  3482. Damage=Damage+math.random(0,10)
  3483. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  3484. h:TakeDamage(Damage)
  3485. showDamage(hit.Parent,Damage,.5)
  3486. vp=Instance.new("BodyVelocity")
  3487. vp.P=500
  3488. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  3489. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  3490. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  3491. if Knockback>0 then
  3492. vp.Parent=hit.Parent.Torso
  3493. end
  3494. game:GetService("Debris"):AddItem(vp,.25)
  3495. --[[ r=Instance.new("BodyAngularVelocity")
  3496. r.P=3000
  3497. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  3498. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  3499. r.Parent=hit.Parent.Torso]]
  3500. game:GetService("Debris"):AddItem(r,.5)
  3501. c=Instance.new("ObjectValue")
  3502. c.Name="creator"
  3503. c.Value=Player
  3504. c.Parent=h
  3505. game:GetService("Debris"):AddItem(c,.5)
  3506. CRIT=false
  3507. hitDeb=true
  3508. AttackPos=6
  3509. end
  3510. end
  3511. end
  3512. BALLFUNC=function(hit,Damage,Knockback)
  3513. if hit.Parent==nil then
  3514. return
  3515. end
  3516. CPlayer=Bin
  3517. h=hit.Parent:FindFirstChild("Humanoid")
  3518. if h~=nil and hit.Parent.Name~=Player.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  3519. Damage=Damage
  3520. -[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  3521. return
  3522. end]]
  3523. c=Instance.new("ObjectValue")
  3524. c.Name="creator"
  3525. c.Value=game.Players.LocalPlayer
  3526. c.Parent=h
  3527. game:GetService("Debris"):AddItem(c,.5)
  3528. -- print(c.Value)
  3529. if math.random(1,1)==1 then
  3530. CRIT=true
  3531. Damage=Damage*1.5
  3532. coroutine.resume(coroutine.create(function()
  3533. for i = 0,5 do
  3534. swait()
  3535. MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("White"))
  3536. end
  3537. wait(1)
  3538. for i = 0,8 do
  3539. wait(0.1)
  3540. MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Institutional white"))
  3541. end
  3542. end))
  3543. Knockback=Knockback*2
  3544. r=Instance.new("BodyAngularVelocity")
  3545. r.P=3000
  3546. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  3547. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  3548. r.Parent=hit.Parent.Torso
  3549. s=Instance.new("Sound")
  3550. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  3551. s.Volume=1
  3552. s.Pitch=2
  3553. s.Parent=hit
  3554. s.PlayOnRemove=true
  3555. s.Parent=nil
  3556.  
  3557. end
  3558. Damage=Damage+math.random(0,10)
  3559. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  3560. h:TakeDamage(Damage)
  3561. showDamage(hit.Parent,Damage,.5)
  3562. vp=Instance.new("BodyVelocity")
  3563. vp.P=500
  3564. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  3565. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  3566. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  3567. if Knockback>0 then
  3568. vp.Parent=hit.Parent.Torso
  3569. end
  3570. game:GetService("Debris"):AddItem(vp,.25)
  3571. --[[ r=Instance.new("BodyAngularVelocity")
  3572. r.P=3000
  3573. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  3574. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  3575. r.Parent=hit.Parent.Torso]]
  3576. game:GetService("Debris"):AddItem(r,.5)
  3577. c=Instance.new("ObjectValue")
  3578. c.Name="creator"
  3579. c.Value=Player
  3580. c.Parent=h
  3581. game:GetService("Debris"):AddItem(c,.5)
  3582. CRIT=false
  3583. hitDeb=true
  3584. AttackPos=6
  3585. end
  3586. end
  3587.  
  3588. function ShieldDash()
  3589. if mana >= 20 then
  3590. attack = true
  3591. gairo.Parent = Head
  3592. gairo.cframe = Head.CFrame
  3593. hitbox1.Parent=glaive
  3594. hitbox1.Size=vt(2,1,3)
  3595. hitbox1.Transparency=1
  3596. hitbox1.CFrame=prt1.CFrame
  3597. for i = 0,1,0.1 do
  3598. swait()
  3599. hitbox1.CFrame=prt1.CFrame
  3600. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  3601. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5*i) * CFrame.new(0,0,-0.5)
  3602. LW.C0 = CFrame.new(-1.5+0.7*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.9*i,0,1*i)
  3603. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3604. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,-1.2*i)
  3605. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3606. end
  3607. mana = mana - 20
  3608. ss(part16,.5)
  3609. con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,52,3,"Knockdown",RootPart,.5,1) end)
  3610. local vel = Instance.new("BodyVelocity")
  3611. vel.Parent = Player.Character.Torso
  3612. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  3613. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  3614. for i = 0,1,0.2 do
  3615. swait()
  3616. hitbox1.CFrame=part1.CFrame
  3617. MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("White"))
  3618. MOREMAGIX(prt19,0,2,2,2,BrickColor.new("White"))
  3619. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
  3620. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5) * CFrame.new(0,0,-0.5)
  3621. LW.C0 = CFrame.new(-1.5+0.7,0.5,-0.5-0.3*i) * CFrame.fromEulerAnglesXYZ(1.9,0,1-0.3*i)
  3622. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3623. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5-0.3*i) * CFrame.fromEulerAnglesXYZ(1+0.57,0,-1.2+0.3*i)
  3624. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3625. end
  3626. for i = 0,1,0.2 do
  3627. swait()
  3628. hitbox1.CFrame=part1.CFrame
  3629. MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("White"))
  3630. MOREMAGIX(prt19,0,2,2,2,BrickColor.new("White"))
  3631. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
  3632. end
  3633. vel.Parent = nil
  3634. for i = 0,1,0.2 do
  3635. swait()
  3636. hitbox1.CFrame=part1.CFrame
  3637. MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("White"))
  3638. MOREMAGIX(prt19,0,2,2,2,BrickColor.new("White"))
  3639. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
  3640.  
  3641. end
  3642. wait(0.3)
  3643. for i = 0,1,0.1 do
  3644. swait()
  3645. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3646. hitbox1.CFrame=part1.CFrame
  3647. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-0.5*i) * CFrame.new(0,0,-0.5)
  3648. LW.C0 = CFrame.new(-1.5+0.7-0.7*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1.9-1.9*i,0,1-0.3-0.7*i)
  3649. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3650. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1+0.57-0.57*i,0,-1.2+0.3+0.9*i)
  3651. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3652. end
  3653. gairo.Parent = nil
  3654. wait(0.2)
  3655. con1:disconnect()
  3656. gairo.Parent = nil
  3657. attack = false
  3658. end
  3659. end
  3660.  
  3661. DBHit=function(hit,DB) --credits to turdulator for making this function :D
  3662. if hit.Parent==nil then
  3663. return
  3664. end
  3665. h=hit.Parent:FindFirstChild("Humanoid")
  3666. t=hit.Parent:FindFirstChild("Torso")
  3667. if h~=nil and t~=nil then
  3668. if h.Parent==Character then
  3669. return
  3670. end
  3671. h:TakeDamage(1)
  3672. showDamage(hit.Parent,1,.5)
  3673. coroutine.resume(coroutine.create(function()
  3674. MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("White"))
  3675. wait(1)
  3676. wait(0.1)
  3677. MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Institutional white"))
  3678. end))
  3679. vl=Instance.new("BodyVelocity")
  3680. vl.P=4500
  3681. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3682. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
  3683. vl.Parent=t
  3684. game:GetService("Debris"):AddItem(vl,.2)
  3685. rl=Instance.new("BodyAngularVelocity")
  3686. rl.P=3000
  3687. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3688. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  3689. rl.Parent=t
  3690. game:GetService("Debris"):AddItem(rl,1)
  3691. else
  3692. if hit.CanCollide==false then
  3693. return
  3694. end
  3695. -- MagicCom:disconnect()
  3696. -- DBExplode(DB)
  3697. end
  3698. end
  3699. showDamage=function(Char,Dealt,du)
  3700. m=Instance.new("Model")
  3701. m.Name=tostring(Dealt)
  3702. h=Instance.new("Humanoid")
  3703. h.Health=0
  3704. h.MaxHealth=0
  3705. h.Parent=m
  3706. c=Instance.new("Part")
  3707. c.Transparency=0
  3708. c.BrickColor=BrickColor:Red()
  3709. if CRIT==true then
  3710. c.BrickColor=BrickColor.new("White")
  3711. end
  3712. c.Name="Head"
  3713. c.TopSurface=0
  3714. c.BottomSurface=0
  3715. c.formFactor="Plate"
  3716. c.Size=Vector3.new(1,.4,1)
  3717. ms=Instance.new("CylinderMesh")
  3718. ms.Scale=Vector3.new(.8,.8,.8)
  3719. if CRIT==true then
  3720. ms.Scale=Vector3.new(1.25,1.5,1.25)
  3721. end
  3722. ms.Parent=c
  3723. c.Reflectance=0
  3724. Instance.new("BodyGyro").Parent=c
  3725. c.Parent=m
  3726. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  3727. f=Instance.new("BodyPosition")
  3728. f.P=2000
  3729. f.D=100
  3730. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3731. f.position=c.Position+Vector3.new(0,3,0)
  3732. f.Parent=c
  3733. game:GetService("Debris"):AddItem(m,.5+du)
  3734. c.CanCollide=false
  3735. m.Parent=Character
  3736. c.CanCollide=false
  3737. end
  3738. function ob1d(mouse)
  3739. if guarding == true then
  3740. if bashing == true then return end
  3741. Bashem()
  3742. return
  3743. end
  3744. if attack == true then return end
  3745. hold = true
  3746. if combo == 0 then
  3747. oneslash()
  3748. coroutine.resume(coroutine.create(function()
  3749. wait(0.5)
  3750. if attack == false then
  3751. combo = 0
  3752. for i = 0,1,0.1 do
  3753. swait()
  3754. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3755. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
  3756. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
  3757. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
  3758. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),.5*1,math.rad(-60))
  3759. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3760. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4)
  3761. end
  3762. wait(0.1)
  3763. gairo.Parent = nil
  3764. end
  3765. end))
  3766. elseif combo == 1 then
  3767. twoslash()
  3768. coroutine.resume(coroutine.create(function()
  3769. wait(0.5)
  3770. if attack == false then
  3771. combo = 0
  3772. for i = 0,1,0.1 do
  3773. swait()
  3774. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3775. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
  3776. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
  3777. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
  3778. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),.5*1,math.rad(-60))
  3779. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3780. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4)
  3781. end
  3782. wait(0.1)
  3783. gairo.Parent = nil
  3784. end
  3785. end))
  3786. elseif combo == 2 then
  3787. shieldhit1()
  3788. coroutine.resume(coroutine.create(function()
  3789. wait(0.5)
  3790. if attack == false then
  3791. combo = 0
  3792. for i = 0,1,0.1 do
  3793. swait()
  3794. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3795. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
  3796. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
  3797. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
  3798. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),.5*1,math.rad(-60))
  3799. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3800. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4)
  3801. end
  3802. wait(0.1)
  3803. gairo.Parent = nil
  3804. end
  3805. end))
  3806. elseif combo == 3 then
  3807. threeslash()
  3808. coroutine.resume(coroutine.create(function()
  3809. wait(0.5)
  3810. if attack == false then
  3811. combo = 0
  3812. for i = 0,1,0.1 do
  3813. swait()
  3814. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3815. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
  3816. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
  3817. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
  3818. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),.5*1,math.rad(-60))
  3819. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3820. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4)
  3821. end
  3822. wait(0.1)
  3823. gairo.Parent = nil
  3824. end
  3825. end))
  3826. elseif combo == 4 then
  3827. fourslash()
  3828. coroutine.resume(coroutine.create(function()
  3829. wait(0.2)
  3830. if attack == false then
  3831. combo = 0
  3832. for i = 0 , 1 , 0.1 do
  3833. swait()
  3834. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3835. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
  3836. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
  3837. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
  3838. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),.5*1,math.rad(-60))
  3839. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3840. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4)
  3841. end
  3842. end
  3843. end))
  3844. end
  3845. end
  3846.  
  3847. function ob1u(mouse)
  3848.  
  3849. hold = false
  3850.  
  3851. end
  3852.  
  3853. buttonhold = false
  3854.  
  3855. function key(key)
  3856. if attack == true then return end
  3857. if key == "q" then
  3858. HolyWave()
  3859. end
  3860. if key == "e" then
  3861. MagicBlast()
  3862. end
  3863. if key == "c" then
  3864. LightOrb()
  3865. end
  3866. if key == "z" then
  3867. ShieldDash()
  3868. end
  3869. if key == "f" then
  3870. guard()
  3871. end
  3872. if key == "x" then
  3873. SwordRaid()
  3874. end
  3875. if key == "l" then
  3876. EatMuffin()
  3877. end
  3878. if key == "g" then
  3879. barragehold = true
  3880. MagicBarrage()
  3881. end
  3882. end
  3883.  
  3884. function key2(key)
  3885. if key == "f" then
  3886. guarding = false
  3887. attack=false
  3888. combo=0
  3889. end
  3890. if key == "g" then
  3891. barragehold = false
  3892. attack=false
  3893. combo=0
  3894. end
  3895.  
  3896. end
  3897.  
  3898. function s(mouse)
  3899.  
  3900. mouse.Button1Down:connect(function() ob1d(mouse) end)
  3901.  
  3902. mouse.Button1Up:connect(function() ob1u(mouse) end)
  3903.  
  3904. mouse.KeyDown:connect(key)
  3905.  
  3906. mouse.KeyUp:connect(key2)
  3907.  
  3908. unsheathed = true
  3909.  
  3910. player = Player
  3911.  
  3912. ch = Character
  3913.  
  3914. RSH = ch.Torso["Right Shoulder"]
  3915.  
  3916. LSH = ch.Torso["Left Shoulder"]
  3917.  
  3918. --
  3919.  
  3920. RSH.Parent = nil
  3921.  
  3922. LSH.Parent = nil
  3923.  
  3924. --
  3925.  
  3926. RW.Part0 = ch.Torso
  3927.  
  3928. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3929.  
  3930. RW.C1 = CFrame.new(0, 0.5, 0)
  3931.  
  3932. RW.Part1 = ch["Right Arm"]
  3933.  
  3934. RW.Parent = ch.Torso
  3935.  
  3936. --_G.R = RW
  3937.  
  3938. --
  3939.  
  3940. LW.Part0 = ch.Torso
  3941.  
  3942. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  3943.  
  3944. LW.C1 = CFrame.new(0, 0.5, 0)
  3945.  
  3946. LW.Part1 = ch["Left Arm"]
  3947.  
  3948. LW.Parent = ch.Torso
  3949.  
  3950. --_G.L = LW
  3951.  
  3952. --
  3953. equipanim()
  3954. end
  3955. function ds(mouse)
  3956. unsheathed = false
  3957. hideanim()
  3958. swait()
  3959. RW.Parent = nil
  3960. LW.Parent = nil
  3961. RSH.Parent = player.Character.Torso
  3962. LSH.Parent = player.Character.Torso
  3963. end
  3964. Bin.Selected:connect(s)
  3965. Bin.Deselected:connect(ds)
  3966.  
  3967. while true do
  3968. swait()
  3969. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  3970. fentext.Text = "Holiness("..mana..")"
  3971. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  3972. fentext.TextStrokeTransparency=0
  3973. fentext.TextColor3=Color3.new(1,1,1)
  3974. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement