Advertisement
Guest User

Untitled

a guest
Apr 30th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.32 KB | None | 0 0
  1. Player = game.Players.WhereMyDaddy
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. LeftArm = Character["Left Arm"]
  8. LeftLeg = Character["Left Leg"]
  9. RightArm = Character["Right Arm"]
  10. RightLeg = Character["Right Leg"]
  11. LS = Torso["Left Shoulder"]
  12. LH = Torso["Left Hip"]
  13. RS = Torso["Right Shoulder"]
  14. RH = Torso["Right Hip"]
  15. bladecolor = BrickColor.new("black")
  16. attack = false
  17. attacktype = 1
  18. damage = 10000
  19. oridamage = 10000
  20. --player
  21. player = nil
  22. --save shoulders
  23. RSH, LSH = nil, nil
  24. --welds
  25. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  26. --what anim
  27. anim = "none"
  28. demondance = false
  29. demonmode = false
  30. mana = 400
  31. skill = false
  32. mode = 0
  33. guardy = false
  34. unsheathed = false
  35. walking = false
  36. fly = false
  37. cutscene = false
  38. cutscene2 = 0
  39.  
  40. if Character:findFirstChild("Deci",true) ~= nil then
  41. Character:findFirstChild("Deci",true).Parent = nil
  42. end
  43. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  44. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  45. end
  46.  
  47.  
  48.  
  49. local modelzorz = Instance.new("Model")
  50. modelzorz.Name = "Deci"
  51. modelzorz.Parent = Character
  52. local prt1 = Instance.new("Part")
  53. prt1.formFactor = 1
  54. prt1.Parent = modelzorz
  55. prt1.CanCollide = false
  56. prt1.BrickColor = BrickColor.new("black")
  57. prt1.Name = "Handle1"
  58. prt1.Size = Vector3.new(1,1,1)
  59. prt1.Position = Torso.Position
  60. local prt1a = Instance.new("Part")
  61. prt1a.formFactor = 1
  62. prt1a.Parent = modelzorz
  63. prt1a.CanCollide = false
  64. prt1a.BrickColor = BrickColor.new("black")
  65. prt1a.Name = "Handle1a"
  66. prt1a.Size = Vector3.new(1,1,1)
  67. prt1a.Position = Torso.Position
  68. local prt1b = Instance.new("Part")
  69. prt1b.formFactor = 1
  70. prt1b.Parent = modelzorz
  71. prt1b.CanCollide = false
  72. prt1b.BrickColor = BrickColor.new("black")
  73. prt1b.Name = "Handle1b"
  74. prt1b.Size = Vector3.new(1,1,1)
  75. prt1b.Position = Torso.Position
  76. local prt2 = Instance.new("Part")
  77. prt2.formFactor = 1
  78. prt2.Parent = modelzorz
  79. prt2.CanCollide = false
  80. prt2.BrickColor = BrickColor.new("Really black")
  81. prt2.Name = "Handle2"
  82. prt2.Size = Vector3.new(1,3,1)
  83. prt2.Position = Torso.Position
  84. local prt3 = Instance.new("Part")
  85. prt3.formFactor = 1
  86. prt3.Parent = modelzorz
  87. prt3.CanCollide = false
  88. prt3.BrickColor = BrickColor.new("Really black")
  89. prt3.Name = "Handle3"
  90. prt3.Size = Vector3.new(1,1,1)
  91. prt3.Position = Torso.Position
  92. local prt4 = Instance.new("Part")
  93. prt4.formFactor = 1
  94. prt4.Parent = modelzorz
  95. prt4.CanCollide = false
  96. prt4.BrickColor = BrickColor.new("black")
  97. prt4.Name = "Handle4"
  98. prt4.Size = Vector3.new(1,1,1)
  99. prt4.Position = Torso.Position
  100. local prt5 = Instance.new("Part")
  101. prt5.formFactor = 1
  102. prt5.Parent = modelzorz
  103. prt5.CanCollide = false
  104. prt5.BrickColor = BrickColor.new("black")
  105. prt5.Name = "Handle5"
  106. prt5.Size = Vector3.new(1,1,1)
  107. prt5.Position = Torso.Position
  108. local prt6 = Instance.new("Part")
  109. prt6.formFactor = 1
  110. prt6.Parent = modelzorz
  111. prt6.CanCollide = false
  112. prt6.BrickColor = BrickColor.new("Really black")
  113. prt6.Name = "Handle6"
  114. prt6.Size = Vector3.new(1,1,1)
  115. prt6.Position = Torso.Position
  116. local prt7 = Instance.new("Part")
  117. prt7.formFactor = 1
  118. prt7.Parent = modelzorz
  119. prt7.CanCollide = false
  120. prt7.BrickColor = BrickColor.new("black")
  121. prt7.Name = "Handle7"
  122. prt7.Size = Vector3.new(1,1,1)
  123. prt7.Position = Torso.Position
  124. local prt8 = Instance.new("Part")
  125. prt8.formFactor = 1
  126. prt8.Parent = modelzorz
  127. prt8.CanCollide = false
  128. prt8.BrickColor = BrickColor.new("black")
  129. prt8.Name = "Handle8"
  130. prt8.Size = Vector3.new(1,1,1)
  131. prt8.Position = Torso.Position
  132. local prt9 = Instance.new("Part")
  133. prt9.formFactor = 1
  134. prt9.Parent = modelzorz
  135. prt9.CanCollide = false
  136. prt9.BrickColor = BrickColor.new("black")
  137. prt9.Name = "Handle9"
  138. prt9.Size = Vector3.new(1,1,1)
  139. prt9.Position = Torso.Position
  140. local prt10 = Instance.new("Part")
  141. prt10.formFactor = 1
  142. prt10.Parent = modelzorz
  143. prt10.CanCollide = false
  144. prt10.BrickColor = BrickColor.new("black")
  145. prt10.Name = "Handle10"
  146. prt10.Size = Vector3.new(1,1,1)
  147. prt10.Position = Torso.Position
  148. local prt11 = Instance.new("Part")
  149. prt11.formFactor = 1
  150. prt11.Parent = modelzorz
  151. prt11.CanCollide = false
  152. prt11.Reflectance = 0.5
  153. prt11.BrickColor = bladecolor
  154. prt11.Name = "Blade1"
  155. prt11.Size = Vector3.new(2,1,1)
  156. prt11.Position = Torso.Position
  157. local prt12 = Instance.new("Part")
  158. prt12.formFactor = 1
  159. prt12.Parent = modelzorz
  160. prt12.CanCollide = false
  161. prt12.Reflectance = 0.5
  162. prt12.BrickColor = bladecolor
  163. prt12.Name = "Blade2"
  164. prt12.Size = Vector3.new(1,1,1)
  165. prt12.Position = Torso.Position
  166. local prt13 = Instance.new("Part")
  167. prt13.formFactor = 1
  168. prt13.Parent = modelzorz
  169. prt13.CanCollide = false
  170. prt13.Reflectance = 0
  171. prt13.BrickColor = BrickColor.new("Black")
  172. prt13.Name = "Blade3"
  173. prt13.Size = Vector3.new(1,2,1)
  174. prt13.Position = Torso.Position
  175.  
  176. local msh1 = Instance.new("CylinderMesh")
  177. msh1.Parent = prt1
  178. msh1.Scale = Vector3.new(0.31,0.1,0.31)
  179. local msh1a = Instance.new("CylinderMesh")
  180. msh1a.Parent = prt1a
  181. msh1a.Scale = Vector3.new(0.31,0.1,0.31)
  182. local msh1b = Instance.new("CylinderMesh")
  183. msh1b.Parent = prt1b
  184. msh1b.Scale = Vector3.new(0.31,0.1,0.31)
  185. local msh2 = Instance.new("CylinderMesh")
  186. msh2.Parent = prt2
  187. msh2.Scale = Vector3.new(0.3,0.4,0.3)
  188. local msh3 = Instance.new("SpecialMesh")
  189. msh3.Parent = prt3
  190. msh3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  191. msh3.Scale = Vector3.new(0.6,0.6,0.6)
  192. local msh4 = Instance.new("BlockMesh")
  193. msh4.Parent = prt4
  194. msh4.Scale = Vector3.new(0.2, 0.4, 0.2)
  195. local msh5 = Instance.new("BlockMesh")
  196. msh5.Parent = prt5
  197. msh5.Scale = Vector3.new(0.2, 0.4, 0.2)
  198. local msh6 = Instance.new("BlockMesh")
  199. msh6.Parent = prt6
  200. msh6.Scale = Vector3.new(0.3,0.9,0.3)
  201. local msh7 = Instance.new("BlockMesh")
  202. msh7.Parent = prt7
  203. msh7.Scale = Vector3.new(0.2, 0.5, 0.2)
  204. local msh8 = Instance.new("BlockMesh")
  205. msh8.Parent = prt8
  206. msh8.Scale = Vector3.new(0.2, 0.5, 0.2)
  207. local msh9 = Instance.new("BlockMesh")
  208. msh9.Parent = prt9
  209. msh9.Scale = Vector3.new(0.2, 0.5, 0.2)
  210. local msh10 = Instance.new("BlockMesh")
  211. msh10.Parent = prt10
  212. msh10.Scale = Vector3.new(0.2, 0.5, 0.2)
  213. local msh11 = Instance.new("BlockMesh")
  214. msh11.Parent = prt11
  215. msh11.Scale = Vector3.new(1, 0.6, 0.2)
  216. local msh12 = Instance.new("SpecialMesh")
  217. msh12.Parent = prt12
  218. msh12.MeshType = "Wedge"
  219. msh12.Scale = Vector3.new(0.2,0.4,0.5)
  220. local msh13 = Instance.new("CylinderMesh")
  221. msh13.Parent = prt13
  222. msh13.Scale = Vector3.new(2,0.8,0.3)
  223.  
  224. local wld1 = Instance.new("Weld")
  225. wld1.Parent = prt1
  226. wld1.Part0 = prt1
  227. wld1.Part1 = Torso
  228. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.55, -0.75)
  229. local wld2 = Instance.new("Weld")
  230. wld2.Parent = prt2
  231. wld2.Part0 = prt2
  232. wld2.Part1 = prt1
  233. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  234. local wld1a = Instance.new("Weld")
  235. wld1a.Parent = prt1a
  236. wld1a.Part0 = prt1a
  237. wld1a.Part1 = prt2
  238. wld1a.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.3, 0)
  239. local wld1b = Instance.new("Weld")
  240. wld1b.Parent = prt1b
  241. wld1b.Part0 = prt1b
  242. wld1b.Part1 = prt2
  243. wld1b.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.3, 0)
  244. local wld3 = Instance.new("Weld")
  245. wld3.Parent = prt3
  246. wld3.Part0 = prt3
  247. wld3.Part1 = prt2
  248. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.9,0)
  249. local wld4 = Instance.new("Weld")
  250. wld4.Parent = prt4
  251. wld4.Part0 = prt4
  252. wld4.Part1 = prt3
  253. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  254. local wld5 = Instance.new("Weld")
  255. wld5.Parent = prt5
  256. wld5.Part0 = prt5
  257. wld5.Part1 = prt3
  258. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
  259. local wld6 = Instance.new("Weld")
  260. wld6.Parent = prt6
  261. wld6.Part0 = prt6
  262. wld6.Part1 = prt2
  263. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0.7,0)
  264. local wld7 = Instance.new("Weld")
  265. wld7.Parent = prt7
  266. wld7.Part0 = prt7
  267. wld7.Part1 = prt6
  268. wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.6,0)
  269. local wld8 = Instance.new("Weld")
  270. wld8.Parent = prt8
  271. wld8.Part0 = prt8
  272. wld8.Part1 = prt7
  273. wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
  274. local wld9 = Instance.new("Weld")
  275. wld9.Parent = prt9
  276. wld9.Part0 = prt9
  277. wld9.Part1 = prt6
  278. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.6,0)
  279. local wld10 = Instance.new("Weld")
  280. wld10.Parent = prt10
  281. wld10.Part0 = prt10
  282. wld10.Part1 = prt9
  283. wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
  284. local wld11 = Instance.new("Weld")
  285. wld11.Parent = prt11
  286. wld11.Part0 = prt11
  287. wld11.Part1 = prt6
  288. wld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-1.1,0,0)
  289. local wld12 = Instance.new("Weld")
  290. wld12.Parent = prt12
  291. wld12.Part0 = prt12
  292. wld12.Part1 = prt11
  293. wld12.C0 = CFrame.fromEulerAnglesXYZ(3.95,math.rad(90),0) * CFrame.new(-1,0,0)
  294. local wld13 = Instance.new("Weld")
  295. wld13.Parent = prt13
  296. wld13.Part0 = prt13
  297. wld13.Part1 = prt11
  298. wld13.C0 = CFrame.fromEulerAnglesXYZ(4.7,math.rad(90),0) * CFrame.new(0,0,0)
  299.  
  300. local fengui = Instance.new("GuiMain")
  301. fengui.Parent = Player.PlayerGui
  302. fengui.Name = "manaGUI"
  303. local fenframe = Instance.new("Frame")
  304. fenframe.Parent = fengui
  305. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  306. fenframe.BackgroundTransparency = 1
  307. fenframe.BorderColor3 = Color3.new(17,17,17)
  308. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  309. local fentext = Instance.new("TextLabel")
  310. fentext.Parent = fenframe
  311. fentext.Text = "Mana("..mana..")"
  312. fentext.BackgroundTransparency = 1
  313. fentext.SizeConstraint = "RelativeXY"
  314. fentext.TextXAlignment = "Center"
  315. fentext.TextYAlignment = "Center"
  316. fentext.Position = UDim2.new(0,50,1,150)
  317. local fentext2 = Instance.new("TextLabel")
  318. fentext2.Parent = fenframe
  319. fentext2.Text = " "
  320. fentext2.BackgroundTransparency = 0
  321. fentext2.BackgroundColor3 = Color3.new(1,1,0)
  322. fentext2.SizeConstraint = "RelativeXY"
  323. fentext2.TextXAlignment = "Center"
  324. fentext2.TextYAlignment = "Center"
  325. fentext2.Position = UDim2.new(0,10,1,170)
  326.  
  327. if (script.Parent.className ~= "HopperBin") then
  328. Tool = Instance.new("HopperBin")
  329. Tool.Parent = Backpack
  330. Tool.Name = "Deci"
  331. Tool.TextureId = "http://www.roblox.com/asset/?id=32382461"
  332. Player.Backpack["Deci"].TextureId = "http://www.roblox.com/asset/?id=32382461"
  333. script.Parent = Tool
  334. end
  335. Bin = script.Parent
  336.  
  337. function unequipweld()
  338. wld1.Part1 = Torso
  339. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.55, -0.75)
  340. end
  341.  
  342. function equipweld()
  343. wld1.Part1 = LeftArm
  344. wld1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  345. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  346. end
  347.  
  348. function hideanim()
  349. for i = 0 , 1 , 0.07 do
  350. wait(0)
  351. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5*i,0,1*i)
  352. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  353. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), math.rad(720)*i, -1.57) * CFrame.new(0, 1, 0)
  354. end
  355. unequipweld()
  356. wait(0.2)
  357. for i = 0 , 1 , 0.07 do
  358. wait(0)
  359. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-3.5*i+3.5,0,-1*i+1)
  360. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  361. end
  362. end
  363.  
  364. function equipanim()
  365. for i = 0 , 1 , 0.07 do
  366. wait(0)
  367. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5*i,0,1*i)
  368. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  369. end
  370. equipweld()
  371. wait(0.1)
  372. for i = 0 , 1 , 0.07 do
  373. wait(0)
  374. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-3.5*i+3.5,0,-1*i+1)
  375. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  376. end
  377. end
  378.  
  379.  
  380. function efect()
  381. local lol = Instance.new("Part")
  382. lol.Parent = Character
  383. lol.Shape = "Ball"
  384. lol.Position = Torso.Position
  385. lol.Anchored = true
  386. lol.CanCollide = false
  387. lol.Size = Vector3.new(1,1,1)
  388. lol.BrickColor = BrickColor.new("black")
  389. lol.Reflectance = 1
  390. lol.CFrame = Torso.CFrame
  391. local lolmesh = Instance.new("SpecialMesh")
  392. lolmesh.Parent = lol
  393. lolmesh.Scale = Vector3.new(0.5,0.5,0.5)
  394. lolmesh.MeshType = "Sphere"
  395. wait(0)
  396. local lolweld = Instance.new("Weld")
  397. lolweld.Parent = lol
  398. lolweld.Part0 = lol
  399. lolweld.Part1 = Torso
  400. lolweld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  401. lolweld.C1 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  402. for i = 0, 1, 0.05 do
  403. wait(0)
  404. lolmesh.Scale = lolmesh.Scale + Vector3.new(9,9,9)
  405. lol.Transparency = lol.Transparency + 0.20
  406. lol.Reflectance = lol.Reflectance - 0.25
  407. lol.CFrame = Torso.CFrame
  408. end
  409. lol:Remove()
  410. end
  411.  
  412. function oneslash()
  413. attack = true
  414. wait(0)
  415. ss(prt13,0.8)
  416. local con = prt11.Touched:connect(OT)
  417. local con2 = prt12.Touched:connect(OT)
  418. uberweaklightningattack()
  419. for i = 0,1,0.2 do
  420. wait()
  421. effect()
  422. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3*i,0,0)
  423. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  424. end
  425. con:disconnect()
  426. con2:disconnect()
  427. attack = false
  428. end
  429.  
  430. function twoslash()
  431. attack = true
  432. wait(0.1)
  433. for i = 0,1,0.1 do
  434. wait()
  435. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3,0.5*i,0)
  436. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0.5*i)
  437. end
  438. ss(prt13,0.8)
  439. local con = prt11.Touched:connect(OT)
  440. local con2 = prt12.Touched:connect(OT)
  441. uberweaklightningattack()
  442. for i = 0,1,0.2 do
  443. wait()
  444. effect()
  445. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-4*i+3,1,0)
  446. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0)
  447. end
  448. con:disconnect()
  449. con2:disconnect()
  450. attack = false
  451. end
  452.  
  453. function threeslash()
  454. attack = true
  455. wait(0.2)
  456. ss(prt13,0.8)
  457. local con = prt11.Touched:connect(OT)
  458. local con2 = prt12.Touched:connect(OT)
  459. uberweaklightningattack()
  460. for i = 0,1,0.2 do
  461. wait()
  462. effect()
  463. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,-1,0)
  464. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2*i+1,0,0)
  465. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), math.rad(180)*i, -1.57) * CFrame.new(0, 1, 0)
  466. end
  467. con:disconnect()
  468. con2:disconnect()
  469. attack = false
  470. end
  471.  
  472. function fourslash()
  473. attack = true
  474. wait(0.2)
  475. ss(prt13,0.8)
  476. local con = prt11.Touched:connect(OT)
  477. local con2 = prt12.Touched:connect(OT)
  478. uberweaklightningattack()
  479. for i = 0,1,0.2 do
  480. wait()
  481. effect()
  482. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(90),0)
  483. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-4.5*i+2,0,0)
  484. end
  485. con:disconnect()
  486. con2:disconnect()
  487. attack = false
  488. end
  489.  
  490. function fiveslash()
  491. attack = true
  492. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  493. wait(0.2)
  494. ss(prt13,0.8)
  495. local con = prt11.Touched:connect(OT2)
  496. local con2 = prt12.Touched:connect(OT2)
  497. uberweaklightningattack()
  498. for i = 0,1,0.2 do
  499. wait()
  500. effect()
  501. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-4*i+3,0,0)
  502. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  503. end
  504. con:disconnect()
  505. con2:disconnect()
  506. attack = false
  507. end
  508.  
  509. function ubersmash()
  510. if mana >= 10 then
  511. attack = true
  512. skill = true
  513. for i = 0,1,0.1 do
  514. wait()
  515. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(180)*i,0,0)
  516. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  517. end
  518. for i = 0,1,0.12 do
  519. wait(0)
  520. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, 0) * CFrame.new(0, 1, 0)
  521. wld1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(360)*i, 0)
  522. end
  523. wait(0.5)
  524. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  525. wld1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
  526. ss(prt13,0.8)
  527. local con = prt11.Touched:connect(overOT)
  528. local con2 = prt12.Touched:connect(overOT)
  529. mana = mana - 10
  530. --[[coroutine.resume(coroutine.create(function()
  531. wait(0.1)
  532. local p = prt12:Clone()
  533. p.Anchored = true
  534. p.Parent = game.workspace
  535. p.Transparency = 1
  536. if lightning == true then
  537. for i = 0,6,0.1 do
  538. wait()
  539. local c = game.Workspace:GetChildren();
  540. for i = 1, #c do
  541. local hum = c[i]:findFirstChild("Humanoid")
  542. if hum ~= nil and hum.Health ~= 0 then
  543. local head = c[i]:findFirstChild("Head");
  544. local targ = head.Position - p.Position;
  545. local mag = targ.magnitude;
  546. if mag <= 6 and hum.Parent.Name ~= "Fenrier" then
  547. coroutine.resume(coroutine.create(function()
  548. for i = 0,3 do
  549. wait()
  550. hum.Health = hum.Health - 0.2
  551. local msh1 = Instance.new("BlockMesh")
  552. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  553. S=Instance.new("Part")
  554. S.Name="Effect"
  555. S.formFactor="Symmetric"
  556. S.Size=Vector3.new(1,2,1)
  557. S.BrickColor=BrickColor.new("New Yeller")
  558. S.Reflectance = 0.5
  559. S.TopSurface=0
  560. S.BottomSurface=0
  561. S.Transparency=0
  562. S.Anchored=true
  563. S.CanCollide=false
  564. S.CFrame=hum.Parent.Torso.CFrame*CFrame.new(math.random(-1,1),math.random(-2,2)*i,math.random(-1,1))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  565. S.Parent=workspace
  566. msh1.Parent = S
  567. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  568. end
  569. end))
  570. end
  571. end
  572. end
  573. local msh1 = Instance.new("BlockMesh")
  574. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  575. S=Instance.new("Part")
  576. S.Name="Effect"
  577. S.formFactor="Symmetric"
  578. S.Size=Vector3.new(1,2,1)
  579. S.BrickColor=BrickColor.new("New Yeller")
  580. S.Reflectance = 0.5
  581. S.TopSurface=0
  582. S.BottomSurface=0
  583. S.Transparency=0
  584. S.Anchored=true
  585. S.CanCollide=false
  586. S.CFrame=p.CFrame*CFrame.new(math.random(-0.7,0.7),math.random(-1,1)*i,math.random(-0.7,0.7))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  587. S.Parent=modelzorz
  588. msh1.Parent = S
  589. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  590. end
  591. end
  592. p:Remove()
  593. end))]]
  594. lightningattack()
  595. for i = 0,1,0.25 do
  596. wait()
  597. effect()
  598. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-4.5*i+math.rad(180),0,0)
  599. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  600. end
  601. con:disconnect()
  602. con2:disconnect()
  603. skill = false
  604. attack = false
  605. end
  606. end
  607.  
  608. function spin()
  609. if mana >= 10 then
  610. attack = true
  611. skill = true
  612. for i = 0,1,0.1 do
  613. wait()
  614. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,-math.rad(90)*i,0)
  615. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  616. end
  617. local con = prt11.Touched:connect(skillOT)
  618. local con2 = prt12.Touched:connect(skillOT)
  619. local vel = Instance.new("BodyGyro")
  620. vel.Parent = Player.Character.Torso
  621. vel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  622. vel.P = 20e+003
  623. CF = Torso.CFrame
  624. mana = mana - 5
  625. ss(prt13,0.7)
  626. weaklightningattack()
  627. for i = 0 , 1 , 0.075 do
  628. wait(0)
  629. vel.cframe = CF * CFrame.fromEulerAnglesXYZ(0,-math.rad(-360)*i,0)
  630. effect()
  631. end
  632. mana = mana - 5
  633. ss(prt13,0.7)
  634. weaklightningattack()
  635. for i = 1 , 0 , -0.075 do
  636. wait(0)
  637. vel.cframe = CF * CFrame.fromEulerAnglesXYZ(0,-math.rad(-360)+math.rad(-360)*i*i,0)
  638. effect()
  639. end
  640. con:disconnect()
  641. con2:disconnect()
  642. for i = 0 , 1 , 0.20 do
  643. wait(0)
  644. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57*i+1.57,-1.57*i+1.57,0)
  645. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  646. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  647. wld1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
  648. end
  649. vel:Remove()
  650. attack = false
  651. skill = false
  652. end
  653. end
  654.  
  655. function attacklol()
  656. if mana >= 20 then
  657. attack = true
  658. skill = true
  659. wait(0)
  660. ss(prt13,0.8)
  661. local con = prt11.Touched:connect(weakOT)
  662. local con2 = prt12.Touched:connect(weakOT)
  663. for i = 0,1,0.2 do
  664. wait()
  665. effect()
  666. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3*i,0,0)
  667. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  668. end
  669. wait(0.2)
  670. ss(prt13,0.8)
  671. for i = 0,1,0.1 do
  672. wait()
  673. effect()
  674. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-4.5*i+3,0,0)
  675. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  676. end
  677. wait(0.1)
  678. for i = 0,1,0.12 do
  679. wait(0)
  680. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, 0) * CFrame.new(0, 1, 0)
  681. wld1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(360)*i, 0)
  682. end
  683. wait(0.4)
  684. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  685. wld1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
  686. coroutine.resume(coroutine.create(function()
  687. for i = 0,1,0.2 do
  688. wait()
  689. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,0,0)
  690. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  691. end
  692. end))
  693. coroutine.resume(coroutine.create(function()
  694. for i = 0,1,0.2 do
  695. wait(0.4)
  696. uberweaklightningattack()
  697. end
  698. end))
  699. for i = 0 , 5 , 0.07 do
  700. wait(0)
  701. effect()
  702. ss(prt13,0.8)
  703. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), math.rad(720)*i, -1.57) * CFrame.new(0, 1, 0)
  704. end
  705. con:disconnect()
  706. con2:disconnect()
  707. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  708. wait(0.5)
  709. for i = 0,1,0.2 do
  710. wait()
  711. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i+math.rad(90),0,0)
  712. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  713. end
  714. attack = false
  715. skill = false
  716. end
  717. end
  718.  
  719. function slashy()
  720. if mana >= 30 then
  721. attack = true
  722. skill = true
  723. for i = 0,1,0.1 do
  724. wait()
  725. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i,math.rad(90)*i,0)
  726. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-3*i,0,0)
  727. end
  728. ss(prt13,0.8)
  729. uberlightningattack()
  730. local con = prt11.Touched:connect(megatouch)
  731. local con2 = prt12.Touched:connect(megatouch)
  732. for i = 0,1,0.2 do
  733. wait()
  734. effect()
  735. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0)
  736. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3*i-3,0,0)
  737. end
  738. con:disconnect()
  739. con2:disconnect()
  740. wait(0.5)
  741. for i = 0,1,0.1 do
  742. wait()
  743. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i-math.rad(90),-math.rad(90)*i+math.rad(90),0)
  744. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.01*i+3-3,0,0)
  745. end
  746. attack = false
  747. skill = false
  748. end
  749. end
  750.  
  751. function cutsceneattack()
  752. print("lol")
  753. cutscene2 = 0
  754. attack = true
  755. skill = true
  756. for i = 0,1,0.1 do
  757. wait()
  758. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i,math.rad(90)*i,0)
  759. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-3*i,0,0)
  760. end
  761. efect()
  762. ss(prt13,0.8)
  763. weaklightningattack()
  764. function cutsceneOT(hit)
  765. if hit.Parent == nil then return end
  766. local hum = hit.Parent:findFirstChild("Humanoid")
  767. if hum ~= nil and hum ~= Character.Humanoid then
  768. if cutscene2 == 0 then
  769. cutscene2 = 1
  770. cutscene = true
  771. print("hai")
  772. local target = hum.Parent.Torso
  773. local bodeh = Instance.new("BodyPosition")
  774. bodeh.Parent = target
  775. bodeh.position = target.Position + Vector3.new(0,15,0)
  776. bodeh.maxForce = Vector3.new(10000000000000000000,10000000000000000000,10000000000000000000)
  777. hum.PlatformStand = true
  778. target = hum.Parent.Torso
  779. wld1.Parent = nil
  780. wld1.Part1 = nil
  781. Character.Humanoid.WalkSpeed = 0
  782. local bodeh2 = Instance.new("BodyPosition")
  783. bodeh2.Parent = prt1
  784. bodeh2.position = target.Position + Vector3.new(0,-5,0)
  785. --bodeh2.position = target.Position + target.CFrame.lookVector * 5
  786. bodeh2.maxForce = Vector3.new(10000000000000000000,10000000000000000000,10000000000000000000)
  787. local bodeh3 = Instance.new("BodyPosition")
  788. bodeh3.Parent = prt1a
  789. bodeh3.position = target.Position + Vector3.new(0,-5,0)
  790. --bodeh3.position = target.Position + target.CFrame.lookVector * 5
  791. bodeh3.maxForce = Vector3.new(10000000000000000000,10000000000000000000,10000000000000000000)
  792. local bodeh4 = Instance.new("BodyPosition")
  793. bodeh4.Parent = prt1b
  794. bodeh4.position = target.Position + Vector3.new(0,-5,0)
  795. --bodeh4.position = target.Position + target.CFrame.lookVector * 5
  796. bodeh4.maxForce = Vector3.new(10000000000000000000,10000000000000000000,10000000000000000000)
  797. local bodeh5 = Instance.new("BodyPosition")
  798. bodeh5.Parent = prt2
  799. bodeh5.position = target.Position + Vector3.new(0,-5,0)
  800. --bodeh5.position = target.Position + target.CFrame.lookVector * 5
  801. bodeh5.maxForce = Vector3.new(10000000000000000000,10000000000000000000,10000000000000000000)
  802. local bodyy = Instance.new("BodyGyro")
  803. bodyy.Parent = prt11
  804. bodyy.maxTorque = Vector3.new(0,500,0)
  805. wait(1)
  806. bodeh2.position = target.Position + Vector3.new(0,10,0)
  807. bodeh3.position = target.Position + Vector3.new(0,10,0)
  808. bodeh4.position = target.Position + Vector3.new(0,10,0)
  809. bodeh5.position = target.Position + Vector3.new(0,10,0)
  810. wait(1)
  811. local clon = prt11:Clone()
  812. clon.Parent = modelzorz
  813. clon.Transparency = 0.5
  814. clon.Mesh.Scale = Vector3.new(1.4, 0.6, 0.2)
  815. clon.CanCollide = false
  816. --clon.BodyGyro:Remove()
  817. local clonbod = Instance.new("BodyPosition")
  818. clonbod.Parent = clon
  819. clonbod.position = target.Position + Vector3.new(14,0,0)
  820. local clon2 = prt11:Clone()
  821. clon2.Parent = modelzorz
  822. clon2.Transparency = 0.5
  823. clon2.Mesh.Scale = Vector3.new(1.4, 0.6, 0.2)
  824. clon2.CanCollide = false
  825. --clon2.BodyGyro:Remove()
  826. local clonbod2 = Instance.new("BodyPosition")
  827. clonbod2.Parent = clon2
  828. clonbod2.position = target.Position + Vector3.new(-14,0,0)
  829. local clon3 = prt11:Clone()
  830. clon3.Parent = modelzorz
  831. clon3.Transparency = 0.5
  832. clon3.Mesh.Scale = Vector3.new(1.4, 0.6, 0.2)
  833. clon3.CanCollide = false
  834. --clon3.BodyGyro:Remove()
  835. local clonbod3 = Instance.new("BodyPosition")
  836. clonbod3.Parent = clon3
  837. clonbod3.position = target.Position + Vector3.new(0,0,14)
  838. local clon4 = prt11:Clone()
  839. clon4.Parent = modelzorz
  840. clon4.Transparency = 0.5
  841. clon4.Mesh.Scale = Vector3.new(1.4, 0.6, 0.2)
  842. clon4.CanCollide = false
  843. --clon4.BodyGyro:Remove()
  844. local clonbod4 = Instance.new("BodyPosition")
  845. clonbod4.Parent = clon4
  846. clonbod4.position = target.Position + Vector3.new(0,0,-14)
  847. cl = true
  848. cl2 = true
  849. cl3 = true
  850. cl4 = true
  851. wait(0.5)
  852. local c = clon:Clone()
  853. c.Parent = modelzorz
  854. c.Anchored = true
  855. c.Transparency = 1
  856. local c2 = clon2:Clone()
  857. c2.Parent = modelzorz
  858. c2.Anchored = true
  859. c2.Transparency = 1
  860. local c3 = clon3:Clone()
  861. c3.Parent = modelzorz
  862. c3.Anchored = true
  863. c3.Transparency = 1
  864. local c4 = clon4:Clone()
  865. c4.Parent = modelzorz
  866. c4.Anchored = true
  867. c4.Transparency = 1
  868. coroutine.resume(coroutine.create(function()
  869. while true do
  870. wait(0)
  871. if cl == true then
  872. clon.CFrame = clon.CFrame * CFrame.fromEulerAnglesXYZ(0.5,0.5,0)
  873. end
  874. if cl2 == true then
  875. clon2.CFrame = clon2.CFrame * CFrame.fromEulerAnglesXYZ(0.5,0.5,0)
  876. end
  877. if cl3 == true then
  878. clon3.CFrame = clon3.CFrame * CFrame.fromEulerAnglesXYZ(0.5,0.5,0)
  879. end
  880. if cl4 == true then
  881. clon4.CFrame = clon4.CFrame * CFrame.fromEulerAnglesXYZ(0.5,0.5,0)
  882. end
  883. end
  884. end))
  885. wait(1)
  886. Torso.CFrame = Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(180),0)
  887. wait(1)
  888. local bod = Instance.new("BodyPosition")
  889. bod.Parent = Torso
  890. bod.position = clon.Position
  891. bod.maxForce = Vector3.new(10000000000000000000,10000000000000000000,10000000000000000000)
  892. wait(0.3)
  893. local w = Instance.new("Weld")
  894. w.Parent = clon
  895. w.Part0 = LeftArm
  896. w.Part1 = clon
  897. w.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(90),0) * CFrame.new(0.4,-1, 0)
  898. wait(0.3)
  899. bod.position = c2.Position
  900. wait(0.1)
  901. target.Anchored = true
  902. cl = false
  903. w.Part1 = clon2
  904. clonbod.position = target.Position
  905. target.Parent.Humanoid.Health = 80
  906. wait(1)
  907. bod.position = c.Position
  908. wait(0.1)
  909. target.Anchored = true
  910. cl2 = false
  911. w.Part1 = clon3
  912. clonbod2.position = target.Position
  913. target.Parent.Humanoid.Health = 60
  914. bod.position = c3.Position
  915. wait(0.1)
  916. target.Anchored = true
  917. cl3 = false
  918. w.Part1 = clon3
  919. clonbod3.position = target.Position
  920. target.Parent.Humanoid.Health = 40
  921. wait(0.3)
  922. bod.position = c4.Position
  923. wait(0.1)
  924. target.Anchored = true
  925. cl4 = false
  926. w.Part1 = clon4
  927. clonbod3.position = target.Position
  928. target.Parent.Humanoid.Health = 20
  929. wait(0.3)
  930. bod.position = c3.Position
  931. wait(0.1)
  932. target.Anchored = true
  933. cl4 = false
  934. w.Part1 = nil
  935. clonbod4.position = target.Position
  936. target.Parent.Humanoid.Health = 10
  937. wait(0.3)
  938. bod.position = prt1.Position
  939. wait(0.5)
  940. wld1.Parent = prt1
  941. wld1.Part1 = LeftArm
  942. wld1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  943. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  944. wait(0.5)
  945. bod.position = target.Position + Vector3.new(0,-15,0)
  946. bodeh2:Remove()
  947. bodeh3:Remove()
  948. bodeh4:Remove()
  949. bodeh5:Remove()
  950. wait(0.1)
  951. clonbod:Remove()
  952. clon.Anchored = true
  953. clonbod2:Remove()
  954. clon2.Anchored = true
  955. clonbod3:Remove()
  956. clon3.Anchored = true
  957. clonbod4:Remove()
  958. clon4.Anchored = true
  959. coroutine.resume(coroutine.create(function()
  960. for i = 0,1.5,0.05 do
  961. wait()
  962. clon.CFrame = clon.CFrame + Vector3.new(0.2,0,0)
  963. clon2.CFrame = clon2.CFrame + Vector3.new(-0.2,0,0)
  964. clon3.CFrame = clon3.CFrame + Vector3.new(0,0,0.2)
  965. clon4.CFrame = clon4.CFrame + Vector3.new(0,0,-0.2)
  966. clon.Transparency = clon.Transparency + 0.016
  967. clon2.Transparency = clon2.Transparency + 0.016
  968. clon3.Transparency = clon3.Transparency + 0.016
  969. clon4.Transparency = clon4.Transparency + 0.016
  970. clon.Reflectance = clon.Reflectance - 0.016
  971. clon2.Reflectance = clon2.Reflectance - 0.016
  972. clon3.Reflectance = clon3.Reflectance - 0.016
  973. clon4.Reflectance = clon4.Reflectance - 0.016
  974. end
  975. end))
  976. target.Parent.Humanoid.Health = 0
  977. wait(2)
  978. Character.Humanoid.WalkSpeed = 16
  979. clon:Remove()
  980. c:Remove()
  981. clon2:Remove()
  982. c2:Remove()
  983. clon3:Remove()
  984. c3:Remove()
  985. clon4:Remove()
  986. c4:Remove()
  987. bod:Remove()
  988. bodeh:Remove()
  989. bodyy:Remove()
  990. target.Parent.Humanoid.PlatformStand = false
  991. target.Anchored = false
  992. end
  993. end
  994. end
  995.  
  996. local con = prt11.Touched:connect(cutsceneOT)
  997. local vel = Instance.new("BodyVelocity")
  998. vel.Parent = Player.Character.Torso
  999. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1000. vel.velocity = Player.Character.Torso.CFrame.lookVector * 200
  1001. for i = 0,1,0.2 do
  1002. wait()
  1003. effect()
  1004. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0)
  1005. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3*i-3,0,0)
  1006. end
  1007. con:disconnect()
  1008. wait(0.2)
  1009. vel:Remove()
  1010. wait(0.5)
  1011. if cutscene == false then
  1012. for i = 0,1,0.1 do
  1013. wait()
  1014. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i-math.rad(90),-math.rad(90)*i+math.rad(90),0)
  1015. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.01*i+3-3,0,0)
  1016. end
  1017. end
  1018. attack = false
  1019. skill = false
  1020. end
  1021.  
  1022. function pose()
  1023. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0.28, -1.57) * CFrame.new(0, 1.3, -0.5)
  1024. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.30,0,0)
  1025. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1026. end
  1027.  
  1028. function ubercharge()
  1029. if mana >= 50 then
  1030. attack = true
  1031. skill = true
  1032. efect()
  1033. ss(prt13,0.8)
  1034. local con = prt11.Touched:connect(megatouch)
  1035. local con2 = prt12.Touched:connect(megatouch)
  1036. local vel = Instance.new("BodyVelocity")
  1037. vel.Parent = Player.Character.Torso
  1038. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1039. vel.velocity = Player.Character.Torso.CFrame.lookVector * 250
  1040. ss(prt13,0.8)
  1041. lightningattack()
  1042. for i = 0,1,0.1 do
  1043. wait()
  1044. effect()
  1045. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0)
  1046. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-3*i,0,0)
  1047. end
  1048. vel:Remove()
  1049. lightningattack()
  1050. wait(0.5)
  1051. Character.Torso.CFrame = Character.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(180),0)
  1052. local vel = Instance.new("BodyVelocity")
  1053. vel.Parent = Player.Character.Torso
  1054. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1055. vel.velocity = Player.Character.Torso.CFrame.lookVector * 250
  1056. ss(prt13,0.8)
  1057. lightningattack()
  1058. for i = 0,1,0.1 do
  1059. wait()
  1060. effect()
  1061. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0)
  1062. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3*i-3,0,0)
  1063. end
  1064. vel:Remove()
  1065. lightningattack()
  1066. wait(0.3)
  1067. con:disconnect()
  1068. con2:disconnect()
  1069. skill = false
  1070. attack = false
  1071. end
  1072. end
  1073.  
  1074. function throw()
  1075. if mana >= 20 then
  1076. attack = true
  1077. skill = true
  1078. for i = 0,1,0.2 do
  1079. wait()
  1080. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180)*i,0,0)
  1081. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1082. end
  1083. efect()
  1084. ss(prt13,0.8)
  1085. for i = 0,1,0.3 do
  1086. wait()
  1087. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.9*i+math.rad(180),0,0)
  1088. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1089. end
  1090. local con = prt11.Touched:connect(OT2)
  1091. local con2 = prt12.Touched:connect(OT2)
  1092. Character.Humanoid.WalkSpeed = 0
  1093. for i = 0,1,0.2 do
  1094. wait()
  1095. effect()
  1096. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 1*i-math.rad(90), 1.57) * CFrame.new(0, 9*i+1, 0)
  1097. end
  1098. wait(0.4)
  1099. wld1.Parent = nil
  1100. prt13.Anchored = true
  1101. local vel = Instance.new("BodyVelocity")
  1102. vel.Parent = Player.Character.Torso
  1103. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1104. vel.velocity = Player.Character.Torso.CFrame.lookVector * 16
  1105. con:disconnect()
  1106. con2:disconnect()
  1107. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), -math.rad(90)+1, 1.57) * CFrame.new(0, 9+1, 0)
  1108. coroutine.resume(coroutine.create(function()
  1109. for i = 0 ,1 , 0.1 do
  1110. wait(0)
  1111. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.8*i,0,0)
  1112. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2.7*i+1.9,0,0)
  1113. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1114. end
  1115. end))
  1116. wait(0.7)
  1117. vel:Remove()
  1118. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  1119. prt13.Anchored = false
  1120. wld1.Parent = prt1
  1121. Character.Humanoid.WalkSpeed = 16
  1122. attack = false
  1123. skill = false
  1124. end
  1125. end
  1126.  
  1127. function lightningmode()
  1128. if lightning == true then
  1129. for i = 0 ,1 , 0.05 do
  1130. wait(0)
  1131. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,0,0)
  1132. end
  1133. lightning = false
  1134. wait(0.7)
  1135. for i = 0 ,1 , 0.05 do
  1136. wait(0)
  1137. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i+math.rad(90),0,0)
  1138. end
  1139. else
  1140. attack = true
  1141. skill = true
  1142. damage = 10000
  1143. for i = 0 ,1 , 0.05 do
  1144. wait(0)
  1145. LW.C0 = CFrame.new(-1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,0,1*i)
  1146. RW.C0 = CFrame.new(1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,0,-1*i)
  1147. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1148. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(0.43*i+math.rad(90),3.14,0) * CFrame.new(0,0,-0.5)
  1149. end
  1150. coroutine.resume(coroutine.create(function()
  1151. lightning = true
  1152. while unsheathed == true and lightning == true do
  1153. wait()
  1154. local msh1 = Instance.new("BlockMesh")
  1155. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1156. S=Instance.new("Part")
  1157. S.Name="Effect"
  1158. S.formFactor="Symmetric"
  1159. S.Size=Vector3.new(1,2,1)
  1160. S.BrickColor=BrickColor.new("black")
  1161. S.Reflectance = 0.5
  1162. S.TopSurface=0
  1163. S.BottomSurface=0
  1164. S.Transparency=0
  1165. S.Anchored=true
  1166. S.CanCollide=false
  1167. S.CFrame=prt13.CFrame*CFrame.new(math.random(-0.7,0.7),math.random(-1,1),math.random(-0.7,0.7))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1168. S.Parent=modelzorz
  1169. msh1.Parent = S
  1170. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1171. end
  1172. lightning = false
  1173. end))
  1174. wait(1)
  1175. for i = 0 ,1 , 0.05 do
  1176. wait(0)
  1177. LW.C0 = CFrame.new(-1.5, 0.5, 0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i+math.rad(90),0,-1*i+1)
  1178. RW.C0 = CFrame.new(1.5, 0.5, 0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i+math.rad(90),0,1*i-1)
  1179. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1180. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(-0.50*i+0.43+math.rad(90),3.14,0) * CFrame.new(0,0,-0.5)
  1181. end
  1182. attack = false
  1183. skill = false
  1184. end
  1185. end
  1186.  
  1187. function charging()
  1188. charging2 = true
  1189. attack = true
  1190. skill = true
  1191. Character.Humanoid.WalkSpeed = 0
  1192. for i = 0 ,1 , 0.05 do
  1193. wait(0)
  1194. LW.C0 = CFrame.new(-1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,0,1*i)
  1195. RW.C0 = CFrame.new(1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,0,-1*i)
  1196. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1197. wld1.C0 = CFrame.fromEulerAnglesXYZ(3.4*i-math.rad(90), 0, -math.rad(90)) * CFrame.new(0, 0.4*i+1, -0.8*i)
  1198. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(0.43*i+math.rad(90),3.14,0) * CFrame.new(0,0,-0.5)
  1199. end
  1200. --[[coroutine.resume(coroutine.create(function()
  1201. wait(4)
  1202. local p = Instance.new("Part")
  1203. p.Parent = game.workspace
  1204. p.CFrame=Character["Torso"].CFrame* CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  1205. p.Size = Vector3.new(1,1,1)
  1206. p.BrickColor = BrickColor.new("black")
  1207. p.Anchored = true
  1208. p.CanCollide = false
  1209. local me = Instance.new("SpecialMesh")
  1210. me.Parent = p
  1211. me.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1212. me.Scale = Vector3.new(1,1,3)
  1213. p.CFrame = Character.Torso.CFrame*CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  1214. for i=1, 19 do
  1215. p.Mesh.Scale=p.Mesh.Scale+Vector3.new(0.35,0.35,0)
  1216. p.Transparency=p.Transparency+0.05
  1217. wait(0.05)
  1218. end
  1219. p:Remove()
  1220. end
  1221. end))]]
  1222. while charging2 == true do
  1223. wait(0.15)
  1224. Character.Humanoid.Health = Character.Humanoid.Health + 1
  1225. local c = game.Workspace:GetChildren();
  1226. for i = 1, #c do
  1227. local hum = c[i]:findFirstChild("Humanoid")
  1228. if hum ~= nil and hum.Health ~= 0 then
  1229. local head = c[i]:findFirstChild("Head");
  1230. local targ = head.Position - Torso.Position;
  1231. local mag = targ.magnitude;
  1232. if mag <= 6 and c[i].Name ~= Player.Name then
  1233. hum.Health = hum.Health + 1
  1234. end
  1235. end
  1236. end
  1237. p=Instance.new("Part")
  1238. p.Name="FlameEm"
  1239. p.Shape=0
  1240. p.TopSurface=0
  1241. p.BottomSurface=0
  1242. p.BrickColor=BrickColor.new("black")
  1243. p.Anchored=true
  1244. p.CanCollide=false
  1245. p.Size=Vector3.new(1,1,1)
  1246. p.CFrame=CFrame.new(Character["Torso"].CFrame.p+Vector3.new(0,-3,0))+Vector3.new(math.random(-10,10)/5,0,math.random(-10,10)/5)
  1247. p.Parent=workspace
  1248. m=Instance.new("SpecialMesh")
  1249. m.MeshType="Sphere"
  1250. m.Parent=p
  1251. m.Scale=Vector3.new(1,1,1)
  1252. coroutine.resume(coroutine.create(function(p) for i=1, 9 do p.Mesh.Scale=p.Mesh.Scale+Vector3.new(0,1.5,0) p.Transparency=p.Transparency+1/9 wait(0) end p.Parent=nil end),p)
  1253. end
  1254. if charging2 == false then
  1255. attack = false
  1256. skill = false
  1257. Character.Humanoid.WalkSpeed = 16
  1258. --[[for i = 0 ,1 , 0.05 do
  1259. wait(0)
  1260. LW.C0 = CFrame.new(-1.5, 0.5, 0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(1.57*i-1.57,0,1*i-1)
  1261. RW.C0 = CFrame.new(1.5, 0.5, 0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-1.57*i+1.57,0,1*i-1)
  1262. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1263. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(-0.50*i+0.43+1.57,3.14,0) * CFrame.new(0,0,-0.5)
  1264. end]]
  1265. for i = 0 ,1 , 0.05 do
  1266. wait(0)
  1267. LW.C0 = CFrame.new(-1.5, 0.5, 0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i+math.rad(90),0,-1*i+1)
  1268. RW.C0 = CFrame.new(1.5, 0.5, 0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i+math.rad(90),0,1*i-1)
  1269. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1270. wld1.C0 = CFrame.fromEulerAnglesXYZ(-3.4*i+3.4-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  1271. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(-0.50*i+0.43+math.rad(90),3.14,0) * CFrame.new(0,0,-0.5)
  1272. end
  1273. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  1274. end
  1275. end
  1276.  
  1277. function flying()
  1278. fly = true
  1279. coroutine.resume(coroutine.create(function()
  1280. for i = 0 ,1 , 0.05 do
  1281. wait(0)
  1282. LW.C0 = CFrame.new(-1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,0,1*i)
  1283. RW.C0 = CFrame.new(1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,0,-1*i)
  1284. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1285. wld1.C0 = CFrame.fromEulerAnglesXYZ(3.4*i-math.rad(90), 0, -math.rad(90)) * CFrame.new(0, 0.4*i+1, 0)
  1286. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(0.43*i+math.rad(90),3.14,0) * CFrame.new(0,0,-0.5)
  1287. end
  1288. end))
  1289. p = Instance.new("Part")
  1290.  
  1291. p.Parent = Character
  1292.  
  1293. p.Locked = true
  1294.  
  1295. p.TopSurface = 0
  1296.  
  1297. p.BottomSurface = 0
  1298.  
  1299. p.CanCollide = false
  1300.  
  1301. p.Name = "FlyPart"
  1302.  
  1303. p.Transparency = 1
  1304.  
  1305. p.formFactor = 0
  1306.  
  1307. p.Size = Vector3.new(3,1,3)
  1308.  
  1309. coroutine.resume(coroutine.create(function()
  1310. lightning = false
  1311. while fly == true do
  1312. wait()
  1313. local msh1 = Instance.new("BlockMesh")
  1314. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1315. S=Instance.new("Part")
  1316. S.Name="Effect"
  1317. S.formFactor="Symmetric"
  1318. S.Size=Vector3.new(1,2,1)
  1319. S.BrickColor=BrickColor.new("New Yeller")
  1320. S.Reflectance = 0.5
  1321. S.TopSurface=0
  1322. S.BottomSurface=0
  1323. S.Transparency=0
  1324. S.Anchored=true
  1325. S.CanCollide=false
  1326. S.CFrame=prt13.CFrame*CFrame.new(math.random(-0.7,0.7),math.random(-1,1),math.random(-0.7,0.7))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1327. S.Parent=modelzorz
  1328. msh1.Parent = S
  1329. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1330. end
  1331. lightning = false
  1332. end))
  1333. coroutine.resume(coroutine.create(function()
  1334. lightning = false
  1335. while fly == true do
  1336. wait()
  1337. local msh1 = Instance.new("BlockMesh")
  1338. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1339. S=Instance.new("Part")
  1340. S.Name="Effect"
  1341. S.formFactor="Symmetric"
  1342. S.Size=Vector3.new(1,2,1)
  1343. S.BrickColor=BrickColor.new("New Yeller")
  1344. S.Reflectance = 0.5
  1345. S.TopSurface=0
  1346. S.BottomSurface=0
  1347. S.Transparency=0
  1348. S.Anchored=true
  1349. S.CanCollide=false
  1350. S.CFrame=prt13.CFrame*CFrame.new(math.random(-0.7,0.7),math.random(-1,1),math.random(-0.7,0.7))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1351. S.Parent=modelzorz
  1352. msh1.Parent = S
  1353. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1354. end
  1355. lightning = false
  1356. end))
  1357.  
  1358. w = Instance.new("Weld")
  1359.  
  1360. w.Parent = Torso
  1361.  
  1362. w.Name = "Board"
  1363.  
  1364. w.Part0 = w.Parent
  1365.  
  1366. w.Part1 = p
  1367.  
  1368. w.C0 = CFrame.new(0,0,-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2,0,0)
  1369.  
  1370. bg = Instance.new("BodyGyro")
  1371.  
  1372. bg.Parent = p
  1373.  
  1374. bg.maxTorque = Vector3.new(999999999999,99999999999999999,0)
  1375.  
  1376. bv = Instance.new("BodyVelocity")
  1377.  
  1378. bv.Parent = p
  1379.  
  1380. bv.maxForce = Vector3.new(4e+020, 4e+020, 4e+020)
  1381.  
  1382. bf = Instance.new("BodyForce")
  1383.  
  1384. bf.Parent = p
  1385.  
  1386. bf.force = Vector3.new(0, 196 * p:GetMass(), 0)
  1387. end
  1388.  
  1389. function nofly()
  1390. print("lol")
  1391. wld1.C0 = CFrame.fromEulerAnglesXYZ(-3.4+3.4-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  1392. fly = false
  1393. attack = false
  1394. skill = false
  1395. Character.FlyPart:Remove()
  1396. Character.Humanoid.PlatformStand = false
  1397. local c = Character:children()
  1398. for i=1,#c do
  1399. coroutine.resume(coroutine.create(function()
  1400. wait()
  1401. c[i].Transparency = 0
  1402. end))
  1403. end
  1404. local c = Character.Deci:children()
  1405. for i=1,#c do
  1406. coroutine.resume(coroutine.create(function()
  1407. wait()
  1408. c[i].Transparency = 0
  1409. end))
  1410. end
  1411. local c = Character["Green Future"]:children()
  1412. for i=1,#c do
  1413. coroutine.resume(coroutine.create(function()
  1414. wait()
  1415. c[i].Transparency = 0
  1416. end))
  1417. end
  1418. end
  1419.  
  1420. function OT(hit)
  1421. if hit.Parent == nil then return end
  1422. local hum = hit.Parent:findFirstChild("Humanoid")
  1423. if hum ~= nil and hum ~= Character.Humanoid then
  1424. hum:TakeDamage(damage)
  1425. if mana < 400 then
  1426. mana = mana + math.random(10000,10000)
  1427. end
  1428. if mana > 400 then
  1429. mana = 400
  1430. end
  1431. end
  1432.  
  1433. end
  1434. function skillOT(hit)
  1435. if hit.Parent == nil then return end
  1436. local hum = hit.Parent:findFirstChild("Humanoid")
  1437. if hum ~= nil and hum ~= Character.Humanoid then
  1438. hum:TakeDamage(damage + 10000)
  1439. end
  1440.  
  1441. end
  1442.  
  1443. function weakOT(hit)
  1444. if hit.Parent == nil then return end
  1445. local hum = hit.Parent:findFirstChild("Humanoid")
  1446. if hum ~= nil and hum ~= Character.Humanoid then
  1447. hum:TakeDamage(10000)
  1448. end
  1449.  
  1450. end
  1451.  
  1452. function guardOT(hit)
  1453. if hit.Parent == nil then return end
  1454. local hum = hit.Parent:findFirstChild("Humanoid")
  1455. if hum ~= nil and hum ~= Character.Humanoid then
  1456. hum:TakeDamage(damage)
  1457. Character.Humanoid.WalkSpeed = 16
  1458. guardy = false
  1459.  
  1460. end
  1461.  
  1462. end
  1463.  
  1464. function spinOT(hit)
  1465. if hit.Parent == nil then return end
  1466. local hum = hit.Parent:findFirstChild("Humanoid")
  1467. if hum ~= nil and hum ~= Character.Humanoid then
  1468. hum:TakeDamage(damage + 10000)
  1469. if mana < 400 then
  1470. mana = mana + math.random(1,5)
  1471. end
  1472. if mana > 400 then
  1473. mana = 400
  1474. end
  1475. local torso = hit.Parent:findFirstChild("Torso")
  1476. if torso.Parent ~= nil then
  1477. if (torso.Position-prt1.Position).magnitude<=25 then
  1478. local angle = (torso.Position-(prt1.Position+Vector3.new(0,-3,0))).unit
  1479. torso.CFrame=CFrame.new(torso.Position,Vector3.new(angle.x,torso.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1480. local Gyro=Instance.new("BodyGyro")
  1481. Gyro.P=1000
  1482. Gyro.D=Gyro.D/2
  1483. Gyro.maxTorque=Vector3.new(30000,30000,30000)*300000
  1484. Gyro.cframe=torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1485. Gyro.Parent=torso
  1486. local bodyVelocity=Instance.new("BodyVelocity")
  1487. bodyVelocity.velocity=angle*40+Vector3.new(0,35,0)
  1488. bodyVelocity.P=500
  1489. bodyVelocity.maxForce=Vector3.new(4e+003, 4e+003, 4e+003)
  1490. bodyVelocity.Parent=torso
  1491. coroutine.resume(coroutine.create(function()
  1492. wait(0.3)
  1493. bodyVelocity:Remove()
  1494. end))
  1495. coroutine.resume(coroutine.create(function()
  1496. wait(0.8)
  1497. Gyro:Remove()
  1498. end))
  1499. end
  1500. end
  1501. end
  1502.  
  1503. end
  1504.  
  1505. function overOT(hit)
  1506. if hit.Parent == nil then return end
  1507. local hum = hit.Parent:findFirstChild("Humanoid")
  1508. if hum ~= nil and hum ~= Character.Humanoid then
  1509. hum:TakeDamage(damage)
  1510. local torso = hit.Parent:findFirstChild("Torso")
  1511. if torso.Parent ~= nil then
  1512. if (torso.Position-RightArm.Position).magnitude<=25 then
  1513. local angle = (torso.Position-(RightArm.Position+Vector3.new(0,-3,0))).unit
  1514. torso.CFrame=CFrame.new(torso.Position,Vector3.new(angle.x,torso.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1515. local Gyro=Instance.new("BodyGyro")
  1516. Gyro.P=4000
  1517. Gyro.D=Gyro.D/2
  1518. Gyro.maxTorque=Vector3.new(60000,60000,60000)*600000
  1519. Gyro.cframe=torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1520. Gyro.Parent=torso
  1521. local bodyVelocity=Instance.new("BodyVelocity")
  1522. bodyVelocity.velocity=angle*70+Vector3.new(0,210,0)
  1523. bodyVelocity.P=700
  1524. bodyVelocity.maxForce=Vector3.new(7e+003, 7e+003, 7e+003)
  1525. bodyVelocity.Parent=torso
  1526. coroutine.resume(coroutine.create(function()
  1527. wait(0.3)
  1528. bodyVelocity:Remove()
  1529. end))
  1530. coroutine.resume(coroutine.create(function()
  1531. wait(0.8)
  1532. Gyro:Remove()
  1533. end))
  1534. end
  1535. end
  1536. end
  1537. end
  1538.  
  1539. function OT2(hit)
  1540. if hit.Parent == nil then return end
  1541. local hum = hit.Parent:findFirstChild("Humanoid")
  1542. if hum ~= nil and hum ~= Character.Humanoid then
  1543. hum:TakeDamage(damage)
  1544. local torso = hit.Parent:findFirstChild("Torso")
  1545. if torso.Parent ~= nil then
  1546. if (torso.Position-RightArm.Position).magnitude<=25 then
  1547. local angle = (torso.Position-(RightArm.Position+Vector3.new(0,-3,0))).unit
  1548. torso.CFrame=CFrame.new(torso.Position,Vector3.new(angle.x,torso.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1549. local Gyro=Instance.new("BodyGyro")
  1550. Gyro.P=1000
  1551. Gyro.D=Gyro.D/2
  1552. Gyro.maxTorque=Vector3.new(30000,30000,30000)*300000
  1553. Gyro.cframe=torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1554. Gyro.Parent=torso
  1555. local bodyVelocity=Instance.new("BodyVelocity")
  1556. bodyVelocity.velocity=angle*40+Vector3.new(0,35,0)
  1557. bodyVelocity.P=500
  1558. bodyVelocity.maxForce=Vector3.new(4e+003, 4e+003, 4e+003)
  1559. bodyVelocity.Parent=torso
  1560. coroutine.resume(coroutine.create(function()
  1561. wait(0.3)
  1562. bodyVelocity:Remove()
  1563. end))
  1564. coroutine.resume(coroutine.create(function()
  1565. wait(0.8)
  1566. Gyro:Remove()
  1567. end))
  1568. end
  1569. end
  1570. end
  1571. end
  1572.  
  1573. function megatouch(hit)
  1574. if hit.Parent == nil then return end
  1575. local hum = hit.Parent:findFirstChild("Humanoid")
  1576. if hum ~= nil and hum ~= Character.Humanoid then
  1577. hum:TakeDamage(damage + 10000)
  1578. local torso = hit.Parent:findFirstChild("Torso")
  1579. if torso.Parent ~= nil then
  1580. if (torso.Position-RightArm.Position).magnitude<=25 then
  1581. local angle = (torso.Position-(RightArm.Position+Vector3.new(0,-3,0))).unit
  1582. torso.CFrame=CFrame.new(torso.Position,Vector3.new(angle.x,torso.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1583. local Gyro=Instance.new("BodyGyro")
  1584. Gyro.P=1000
  1585. Gyro.D=Gyro.D/2
  1586. Gyro.maxTorque=Vector3.new(30000,30000,30000)*300000
  1587. Gyro.cframe=torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1588. Gyro.Parent=torso
  1589. local bodyVelocity=Instance.new("BodyVelocity")
  1590. bodyVelocity.velocity=angle*40+Vector3.new(0,35,0)
  1591. bodyVelocity.P=500
  1592. bodyVelocity.maxForce=Vector3.new(4e+003, 4e+003, 4e+003)
  1593. bodyVelocity.Parent=torso
  1594. coroutine.resume(coroutine.create(function()
  1595. wait(0.3)
  1596. bodyVelocity:Remove()
  1597. end))
  1598. coroutine.resume(coroutine.create(function()
  1599. wait(0.8)
  1600. Gyro:Remove()
  1601. end))
  1602. end
  1603. end
  1604. end
  1605. end
  1606.  
  1607. function boomtouch(hit)
  1608. if hit.Parent == nil then return end
  1609. local hum = hit.Parent:findFirstChild("Humanoid")
  1610. if hum ~= nil and hum ~= Character.Humanoid then
  1611. hum:TakeDamage(damage + 10000)
  1612. local torso = hit.Parent:findFirstChild("Torso")
  1613. if torso.Parent ~= nil then
  1614. local bewm = Instance.new("Explosion")
  1615. bewm.Parent = workspace
  1616. bewm.BlastPressure = 0
  1617. bewm.BlastRadius = 5
  1618. bewm.Position = torso.Position
  1619. if (torso.Position-RightArm.Position).magnitude<=25 then
  1620. local angle = (torso.Position-(RightArm.Position+Vector3.new(0,-3,0))).unit
  1621. torso.CFrame=CFrame.new(torso.Position,Vector3.new(angle.x,torso.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1622. local Gyro=Instance.new("BodyGyro")
  1623. Gyro.P=1000
  1624. Gyro.D=Gyro.D/2
  1625. Gyro.maxTorque=Vector3.new(30000,30000,30000)*300000
  1626. Gyro.cframe=torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1627. Gyro.Parent=torso
  1628. local bodyVelocity=Instance.new("BodyVelocity")
  1629. bodyVelocity.velocity=angle*40+Vector3.new(0,35,0)
  1630. bodyVelocity.P=1000
  1631. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1632. bodyVelocity.Parent=torso
  1633. coroutine.resume(coroutine.create(function()
  1634. wait(0.5)
  1635. bodyVelocity:Remove()
  1636. end))
  1637. coroutine.resume(coroutine.create(function()
  1638. wait(1)
  1639. Gyro:Remove()
  1640. end))
  1641. end
  1642. end
  1643. end
  1644. end
  1645.  
  1646. function uberweaklightningattack()
  1647. coroutine.resume(coroutine.create(function()
  1648. wait(0.1)
  1649. local p = prt12:Clone()
  1650. p.Anchored = true
  1651. p.Parent = game.workspace
  1652. p.Transparency = 1
  1653. if lightning == true then
  1654. for i = 0,1,0.1 do
  1655. wait()
  1656. local c = game.Workspace:GetChildren();
  1657. for i = 1, #c do
  1658. local hum = c[i]:findFirstChild("Humanoid")
  1659. if hum ~= nil and hum.Health ~= 0 then
  1660. local head = c[i]:findFirstChild("Head");
  1661. local targ = head.Position - p.Position;
  1662. local mag = targ.magnitude;
  1663. if mag <= 6 and hum.Parent.Name ~= Player.Name then
  1664. coroutine.resume(coroutine.create(function()
  1665. for i = 0,2 do
  1666. wait()
  1667. hum.Health = hum.Health - 0.05
  1668. local msh1 = Instance.new("BlockMesh")
  1669. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1670. S=Instance.new("Part")
  1671. S.Name="Effect"
  1672. S.formFactor="Symmetric"
  1673. S.Size=Vector3.new(1,2,1)
  1674. S.BrickColor=BrickColor.new("New Yeller")
  1675. S.Reflectance = 0.5
  1676. S.TopSurface=0
  1677. S.BottomSurface=0
  1678. S.Transparency=0
  1679. S.Anchored=true
  1680. S.CanCollide=false
  1681. S.CFrame=hum.Parent.Torso.CFrame*CFrame.new(math.random(-1,1),math.random(-2,2)*i,math.random(-1,1))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1682. S.Parent=workspace
  1683. msh1.Parent = S
  1684. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1685. end
  1686. end))
  1687. end
  1688. end
  1689. end
  1690. local msh1 = Instance.new("BlockMesh")
  1691. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1692. S=Instance.new("Part")
  1693. S.Name="Effect"
  1694. S.formFactor="Symmetric"
  1695. S.Size=Vector3.new(1,2,1)
  1696. S.BrickColor=BrickColor.new("New Yeller")
  1697. S.Reflectance = 0.5
  1698. S.TopSurface=0
  1699. S.BottomSurface=0
  1700. S.Transparency=0
  1701. S.Anchored=true
  1702. S.CanCollide=false
  1703. S.CFrame=p.CFrame*CFrame.new(math.random(-0.7,0.7),math.random(-1,1)*i,math.random(-0.7,0.7))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1704. S.Parent=modelzorz
  1705. msh1.Parent = S
  1706. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1707. end
  1708. end
  1709. p:Remove()
  1710. end))
  1711. end
  1712.  
  1713. function weaklightningattack()
  1714. coroutine.resume(coroutine.create(function()
  1715. wait(0.1)
  1716. local p = prt12:Clone()
  1717. p.Anchored = true
  1718. p.Parent = game.workspace
  1719. p.Transparency = 1
  1720. if lightning == true then
  1721. for i = 0,3,0.1 do
  1722. wait()
  1723. local c = game.Workspace:GetChildren();
  1724. for i = 1, #c do
  1725. local hum = c[i]:findFirstChild("Humanoid")
  1726. if hum ~= nil and hum.Health ~= 0 then
  1727. local head = c[i]:findFirstChild("Head");
  1728. local targ = head.Position - p.Position;
  1729. local mag = targ.magnitude;
  1730. if mag <= 6 and hum.Parent.Name ~= Player.Name then
  1731. coroutine.resume(coroutine.create(function()
  1732. for i = 0,3 do
  1733. wait()
  1734. hum.Health = hum.Health - 0.05
  1735. local msh1 = Instance.new("BlockMesh")
  1736. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1737. S=Instance.new("Part")
  1738. S.Name="Effect"
  1739. S.formFactor="Symmetric"
  1740. S.Size=Vector3.new(1,2,1)
  1741. S.BrickColor=BrickColor.new("New Yeller")
  1742. S.Reflectance = 0.5
  1743. S.TopSurface=0
  1744. S.BottomSurface=0
  1745. S.Transparency=0
  1746. S.Anchored=true
  1747. S.CanCollide=false
  1748. S.CFrame=hum.Parent.Torso.CFrame*CFrame.new(math.random(-1,1),math.random(-2,2)*i,math.random(-1,1))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1749. S.Parent=workspace
  1750. msh1.Parent = S
  1751. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1752. end
  1753. end))
  1754. end
  1755. end
  1756. end
  1757. local msh1 = Instance.new("BlockMesh")
  1758. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1759. S=Instance.new("Part")
  1760. S.Name="Effect"
  1761. S.formFactor="Symmetric"
  1762. S.Size=Vector3.new(1,2,1)
  1763. S.BrickColor=BrickColor.new("New Yeller")
  1764. S.Reflectance = 0.5
  1765. S.TopSurface=0
  1766. S.BottomSurface=0
  1767. S.Transparency=0
  1768. S.Anchored=true
  1769. S.CanCollide=false
  1770. S.CFrame=p.CFrame*CFrame.new(math.random(-0.7,0.7),math.random(-1,1)*i,math.random(-0.7,0.7))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1771. S.Parent=modelzorz
  1772. msh1.Parent = S
  1773. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1774. end
  1775. end
  1776. p:Remove()
  1777. end))
  1778. end
  1779.  
  1780. function lightningattack()
  1781. coroutine.resume(coroutine.create(function()
  1782. wait(0.1)
  1783. local p = prt12:Clone()
  1784. p.Anchored = true
  1785. p.Parent = game.workspace
  1786. p.Transparency = 1
  1787. if lightning == true then
  1788. for i = 0,6,0.1 do
  1789. wait()
  1790. local c = game.Workspace:GetChildren();
  1791. for i = 1, #c do
  1792. local hum = c[i]:findFirstChild("Humanoid")
  1793. if hum ~= nil and hum.Health ~= 0 then
  1794. local head = c[i]:findFirstChild("Head");
  1795. local targ = head.Position - p.Position;
  1796. local mag = targ.magnitude;
  1797. if mag <= 6 and hum.Parent.Name ~= Player.Name then
  1798. coroutine.resume(coroutine.create(function()
  1799. for i = 0,3 do
  1800. wait()
  1801. hum.Health = hum.Health - 0.1
  1802. local msh1 = Instance.new("BlockMesh")
  1803. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1804. S=Instance.new("Part")
  1805. S.Name="Effect"
  1806. S.formFactor="Symmetric"
  1807. S.Size=Vector3.new(1,2,1)
  1808. S.BrickColor=BrickColor.new("New Yeller")
  1809. S.Reflectance = 0.5
  1810. S.TopSurface=0
  1811. S.BottomSurface=0
  1812. S.Transparency=0
  1813. S.Anchored=true
  1814. S.CanCollide=false
  1815. S.CFrame=hum.Parent.Torso.CFrame*CFrame.new(math.random(-1,1),math.random(-2,2)*i,math.random(-1,1))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1816. S.Parent=workspace
  1817. msh1.Parent = S
  1818. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1819. end
  1820. end))
  1821. end
  1822. end
  1823. end
  1824. local msh1 = Instance.new("BlockMesh")
  1825. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1826. S=Instance.new("Part")
  1827. S.Name="Effect"
  1828. S.formFactor="Symmetric"
  1829. S.Size=Vector3.new(1,2,1)
  1830. S.BrickColor=BrickColor.new("New Yeller")
  1831. S.Reflectance = 0.5
  1832. S.TopSurface=0
  1833. S.BottomSurface=0
  1834. S.Transparency=0
  1835. S.Anchored=true
  1836. S.CanCollide=false
  1837. S.CFrame=p.CFrame*CFrame.new(math.random(-0.7,0.7),math.random(-1,1)*i,math.random(-0.7,0.7))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1838. S.Parent=modelzorz
  1839. msh1.Parent = S
  1840. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1841. end
  1842. end
  1843. p:Remove()
  1844. end))
  1845. end
  1846.  
  1847. function uberlightningattack()
  1848. coroutine.resume(coroutine.create(function()
  1849. wait(0.1)
  1850. local p = prt12:Clone()
  1851. p.Anchored = true
  1852. p.Parent = game.workspace
  1853. p.Transparency = 1
  1854. if lightning == true then
  1855. for i = 0,12,0.1 do
  1856. wait()
  1857. local c = game.Workspace:GetChildren();
  1858. for i = 1, #c do
  1859. local hum = c[i]:findFirstChild("Humanoid")
  1860. if hum ~= nil and hum.Health ~= 0 then
  1861. local head = c[i]:findFirstChild("Head");
  1862. local targ = head.Position - p.Position;
  1863. local mag = targ.magnitude;
  1864. if mag <= 7 and hum.Parent.Name ~= Player.Name then
  1865. coroutine.resume(coroutine.create(function()
  1866. for i = 0,3 do
  1867. wait()
  1868. hum.Health = hum.Health - 0.1
  1869. local msh1 = Instance.new("BlockMesh")
  1870. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1871. S=Instance.new("Part")
  1872. S.Name="Effect"
  1873. S.formFactor="Symmetric"
  1874. S.Size=Vector3.new(1,2,1)
  1875. S.BrickColor=BrickColor.new("New Yeller")
  1876. S.Reflectance = 0.5
  1877. S.TopSurface=0
  1878. S.BottomSurface=0
  1879. S.Transparency=0
  1880. S.Anchored=true
  1881. S.CanCollide=false
  1882. S.CFrame=hum.Parent.Torso.CFrame*CFrame.new(math.random(-1,1),math.random(-2,2)*i,math.random(-1,1))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1883. S.Parent=workspace
  1884. msh1.Parent = S
  1885. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1886. end
  1887. end))
  1888. end
  1889. end
  1890. end
  1891. local msh1 = Instance.new("BlockMesh")
  1892. msh1.Scale = Vector3.new(0.2,0.8,0.2)
  1893. S=Instance.new("Part")
  1894. S.Name="Effect"
  1895. S.formFactor="Symmetric"
  1896. S.Size=Vector3.new(1,2,1)
  1897. S.BrickColor=BrickColor.new("New Yeller")
  1898. S.Reflectance = 0.5
  1899. S.TopSurface=0
  1900. S.BottomSurface=0
  1901. S.Transparency=0
  1902. S.Anchored=true
  1903. S.CanCollide=false
  1904. S.CFrame=p.CFrame*CFrame.new(math.random(-0.7,0.7),math.random(-1,1)*i,math.random(-0.7,0.7))*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1905. S.Parent=modelzorz
  1906. msh1.Parent = S
  1907. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1908. end
  1909. end
  1910. p:Remove()
  1911. end))
  1912. end
  1913.  
  1914. function ss(parent,pitch)
  1915.  
  1916. local SlashSound = Instance.new("Sound")
  1917. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1918. SlashSound.Parent = parent
  1919. SlashSound.Volume = .7
  1920. SlashSound.Pitch = pitch
  1921. SlashSound:play()
  1922. coroutine.resume(coroutine.create(function()
  1923. wait(1)
  1924. SlashSound.Parent = nil
  1925. end))
  1926. end
  1927. function sss(parent,pitch)
  1928.  
  1929. local SlashSound = Instance.new("Sound")
  1930. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1931. SlashSound.Parent = parent
  1932. SlashSound.Volume = .7
  1933. SlashSound.Pitch = pitch
  1934. SlashSound:play()
  1935. coroutine.resume(coroutine.create(function()
  1936. wait(1)
  1937. SlashSound.Parent = nil
  1938. end))
  1939. end
  1940. function uss(parent,pitch)
  1941.  
  1942. local SlashSound = Instance.new("Sound")
  1943. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1944. SlashSound.Parent = parent
  1945. SlashSound.Volume = .7
  1946. SlashSound.Pitch = pitch
  1947. SlashSound:play()
  1948. coroutine.resume(coroutine.create(function()
  1949. wait(1)
  1950. SlashSound.Parent = nil
  1951. end))
  1952. end
  1953. function fss(parent,pitch)
  1954.  
  1955. local SlashSound = Instance.new("Sound")
  1956. SlashSound.SoundId = "http://roblox.com/asset/?id=10209908"
  1957. SlashSound.Parent = parent
  1958. SlashSound.Volume = .7
  1959. SlashSound.Pitch = pitch
  1960. SlashSound:play()
  1961. coroutine.resume(coroutine.create(function()
  1962. wait(1)
  1963. SlashSound.Parent = nil
  1964. end))
  1965. end
  1966.  
  1967.  
  1968. function effect()
  1969. local clone = prt11:clone()
  1970. clone.Parent = workspace
  1971. clone.Anchored = true
  1972. clone.Transparency = 0.5
  1973. clone.Reflectance = 0
  1974. clone.Mesh.Scale = clone.Mesh.Scale + Vector3.new(0.1,0.1,0.1)
  1975. if demondance == true then
  1976. clone.BrickColor = BrickColor.new("Bright red")
  1977. else
  1978. clone.BrickColor = BrickColor.new("New Yeller")
  1979. end
  1980. coroutine.resume(coroutine.create(function()
  1981. wait(0.25)
  1982. clone.Parent = nil
  1983. end))
  1984. local cloneb = prt12:clone()
  1985. cloneb.Parent = workspace
  1986. cloneb.Anchored = true
  1987. cloneb.Transparency = 0.5
  1988. cloneb.Reflectance = 0
  1989. cloneb.Mesh.Scale = cloneb.Mesh.Scale + Vector3.new(0.1,0.1,0.1)
  1990. if demondance == true then
  1991. cloneb.BrickColor = BrickColor.new("Bright red")
  1992. else
  1993. cloneb.BrickColor = BrickColor.new("New Yeller")
  1994. end
  1995. coroutine.resume(coroutine.create(function()
  1996. wait(0.25)
  1997. cloneb.Parent = nil
  1998. end))
  1999. end
  2000.  
  2001. hold = false
  2002.  
  2003. function ob1d(mouse)
  2004. hold = true
  2005. if fly == false then
  2006. if hold == true then
  2007. oneslash()
  2008. end
  2009. if hold == true then
  2010. twoslash()
  2011. end
  2012. if hold == true then
  2013. threeslash()
  2014. end
  2015. if hold == true then
  2016. fourslash()
  2017. end
  2018. if hold == true then
  2019. fiveslash()
  2020. end
  2021. wait(1)
  2022. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2023. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2024. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0, -1.57) * CFrame.new(0, 1, 0)
  2025. else
  2026. while hold == true do
  2027. wait()
  2028. coroutine.resume(coroutine.create(function()
  2029. for i = 0 ,1 , 0.05 do
  2030. LW.C0 = CFrame.new(-1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,0,1*i)
  2031. RW.C0 = CFrame.new(1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,0,-1*i)
  2032. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2033. end
  2034. for i = 0 ,1 , 0.05 do
  2035. wait(0)
  2036. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(0,3.14,0) * CFrame.new(0,0,-0.5)
  2037. end
  2038. end))
  2039. Character.Humanoid.PlatformStand = true
  2040.  
  2041. bv.velocity = mouse.Hit.lookVector * 40
  2042.  
  2043. bg.cframe = CFrame.new(bg.Parent.Position, mouse.Hit.p)
  2044. end
  2045. coroutine.resume(coroutine.create(function()
  2046. for i = 0 ,1 , 0.05 do
  2047. wait(0)
  2048. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90),3.14,0) * CFrame.new(0,0,-0.5)
  2049. end
  2050. end))
  2051. bv.velocity = mouse.Hit.lookVector * 0
  2052. end
  2053. end
  2054.  
  2055. function ob1u(mouse)
  2056. hold = false
  2057. end
  2058.  
  2059. buttonhold = false
  2060.  
  2061. function key(key)
  2062. if attack == true then return end
  2063. if key == "q" then
  2064. ubersmash()
  2065. end
  2066. if key == "e" then
  2067. spin()
  2068. end
  2069. if key == "r" then
  2070. attacklol()
  2071. end
  2072. if key == "t" then
  2073. slashy()
  2074. end
  2075. if key == "f" then
  2076. lightningmode()
  2077. end
  2078. if key == "g" then
  2079. charging()
  2080. end
  2081. if key == "z" then
  2082. ubercharge()
  2083. end
  2084. if key == "x" then
  2085. throw()
  2086. end
  2087. if key == "h" then
  2088. if fly == false then
  2089. flying()
  2090. else
  2091. nofly()
  2092. end
  2093. end
  2094. if key == "j" then
  2095. cutsceneattack()
  2096. end
  2097. if key == "k" then
  2098. pose()
  2099. end
  2100. end
  2101.  
  2102. function key2(key)
  2103. charging2 = false
  2104. end
  2105.  
  2106. function s(mouse)
  2107. mouse.Button1Down:connect(function() ob1d(mouse) end)
  2108. mouse.Button1Up:connect(function() ob1u(mouse) end)
  2109. mouse.KeyDown:connect(key)
  2110. mouse.KeyUp:connect(key2)
  2111. unsheathed = true
  2112. player = Player
  2113. ch = Character
  2114. RSH = ch.Torso["Right Shoulder"]
  2115. LSH = ch.Torso["Left Shoulder"]
  2116. --
  2117. RSH.Parent = nil
  2118. LSH.Parent = nil
  2119. --
  2120. RW.Part0 = ch.Torso
  2121. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2122. RW.C1 = CFrame.new(0, 0.5, 0)
  2123. RW.Part1 = ch["Right Arm"]
  2124. RW.Parent = ch.Torso
  2125. --_G.R = RW
  2126. --
  2127. LW.Part0 = ch.Torso
  2128. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2129. LW.C1 = CFrame.new(0, 0.5, 0)
  2130. LW.Part1 = ch["Left Arm"]
  2131. LW.Parent = ch.Torso
  2132. --_G.L = LW
  2133. --
  2134. equipanim()
  2135. end
  2136.  
  2137. function ds(mouse)
  2138. unsheathed = false
  2139. guardy = false
  2140. hideanim()
  2141. chargy = mana
  2142. guardy = false
  2143. Character.Humanoid.WalkSpeed = 16
  2144. wait(0.1)
  2145. prt11.BrickColor = bladecolor
  2146. prt12.BrickColor = bladecolor
  2147. if demonmode == true then
  2148. demondance = false
  2149. demonmode = false
  2150. mana = 0
  2151. wait(0)
  2152. mana = chargy
  2153. end
  2154. RW.Parent = nil
  2155. LW.Parent = nil
  2156. RSH.Parent = player.Character.Torso
  2157. LSH.Parent = player.Character.Torso
  2158. end
  2159.  
  2160. Bin.Selected:connect(s)
  2161. Bin.Deselected:connect(ds)
  2162.  
  2163. function onRunning(speed)
  2164. if skill == true then return end
  2165. if mode == 0 then
  2166. if speed>0 then
  2167. walking = true
  2168. for i = 0 ,1 , 0.1 do
  2169. wait(0)
  2170. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.8*i,0,0)
  2171. if attack == false then
  2172. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.8*i,0,0)
  2173. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2174. end
  2175. end
  2176. else
  2177. walking = false
  2178. for i = 0 ,1 , 0.1 do
  2179. wait(0)
  2180. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.8*i-0.8,0,0)
  2181. if attack == false then
  2182. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.8*i-0.8,0,0)
  2183. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2184. end
  2185. end
  2186. end
  2187. end
  2188. end
  2189. Character.Humanoid.Running:connect(onRunning)
  2190. wait(1)
  2191. Player.Backpack["Deci"].TextureId = "http://www.roblox.com/asset/?id=32382461"
  2192. while true do
  2193. wait(0)
  2194. fentext2.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  2195. fentext.Text = "Mana("..mana..")"
  2196. end
  2197. -- lego blockland This acts as a chat filter. Don't ask why I do it. I just do >.>
  2198. --[[
  2199. Copyrighted (C) Fenrier 2011
  2200. This script is copyrighted for Fenrier. Any use of this script is breaking
  2201. this copyright.
  2202. All Rights Reserved.
  2203. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement