Advertisement
wowzers

gfdgfdgdfgfdgfdg

Feb 20th, 2017
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.60 KB | None | 0 0
  1. --[[
  2. This is a weapon request for DrFlame.
  3.  
  4. This Script is created by:
  5.  
  6. Fenrier: Everything
  7.  
  8. If you're gonna steal this, then please I ask you. Please don't forum,free model, give
  9. away, or anything like that to this script. Thank you very much :)
  10. ]]
  11.  
  12. ArtificialHB = Instance.new("BindableEvent", script)
  13. ArtificialHB.Name = "Heartbeat"
  14.  
  15. script:WaitForChild("Heartbeat")
  16.  
  17. frame = 2 / 60
  18. tf = 0
  19. allowframeloss = false
  20. tossremainder = false
  21. lastframe = tick()
  22. script.Heartbeat:Fire()
  23.  
  24. game:GetService("RunService").Heartbeat:connect(function(s, p)
  25. tf = tf + s
  26. if tf >= frame then
  27. if allowframeloss then
  28. script.Heartbeat:Fire()
  29. lastframe = tick()
  30. else
  31. for i = 1, math.floor(tf / frame) do
  32. script.Heartbeat:Fire()
  33. end
  34. lastframe = tick()
  35. end
  36. if tossremainder then
  37. tf = 0
  38. else
  39. tf = tf - frame * math.floor(tf / frame)
  40. end
  41. end
  42. end)
  43.  
  44. function swait(num)
  45. if num == 0 or num == nil then
  46. ArtificialHB.Event:wait()
  47. else
  48. for i = 0, num do
  49. ArtificialHB.Event:wait()
  50. end
  51. end
  52. end
  53.  
  54.  
  55. Player = game.Players.LocalPlayer
  56. Character = Player.Character
  57. PlayerGui = Player.PlayerGui
  58. Backpack = Player.Backpack
  59. Torso = Character.Torso
  60. Head = Character.Head
  61. LeftArm = Character["Left Arm"]
  62. LeftLeg = Character["Left Leg"]
  63. RightArm = Character["Right Arm"]
  64. RightLeg = Character["Right Leg"]
  65. LS = Torso["Left Shoulder"]
  66. LH = Torso["Left Hip"]
  67. RS = Torso["Right Shoulder"]
  68. RH = Torso["Right Hip"]
  69. attack = false
  70. attackdebounce = false
  71. combo = 0
  72. mana = 400
  73. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  74. lightning = true
  75. restoring = false
  76. --player
  77. player = nil
  78. --save shoulders
  79. RSH, LSH = nil, nil
  80. --welds
  81. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  82. --what anim
  83. anim = "none"
  84.  
  85.  
  86. if Character:findFirstChild("Katana",true) ~= nil then
  87. Character:findFirstChild("Katana",true).Parent = nil
  88. end
  89. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  90. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  91. end
  92.  
  93.  
  94. local modelzorz = Instance.new("Model")
  95. modelzorz.Name = "Katana"
  96. modelzorz.Parent = Character
  97.  
  98. local prt1 = Instance.new("Part")
  99. prt1.formFactor = 1
  100. prt1.Parent = modelzorz
  101. prt1.CanCollide = false
  102. prt1.BrickColor = BrickColor.new("Alder")
  103. prt1.Name = "Handle"
  104. prt1.Transparency = 0
  105. prt1.Size = Vector3.new(1,1,1)
  106. prt1.CFrame = Torso.CFrame
  107. local prt2 = Instance.new("Part")
  108. prt2.formFactor = 1
  109. prt2.Parent = modelzorz
  110. prt2.CanCollide = false
  111. prt2.BrickColor = BrickColor.new("Really black")
  112. prt2.Name = "Handle2"
  113. prt2.Transparency = 0
  114. prt2.Material="Neon"
  115. prt2.Size = Vector3.new(1,1,1)
  116. prt2.CFrame = Torso.CFrame
  117. local prt3 = Instance.new("Part")
  118. prt3.formFactor = 1
  119. prt3.Material="Neon"
  120. prt3.Parent = modelzorz
  121. prt3.CanCollide = false
  122. prt3.BrickColor = BrickColor.new("Black")
  123. prt3.Name = "Handle3"
  124. prt3.Transparency = 0
  125. prt3.Size = Vector3.new(1,1,1)
  126. prt3.CFrame = Torso.CFrame
  127. local prt4 = Instance.new("Part")
  128. prt4.formFactor = 1
  129. prt4.Parent = modelzorz
  130. prt4.CanCollide = false
  131. prt4.BrickColor = BrickColor.new("Black")
  132. prt4.Name = "Blade1"
  133. prt4.Material="Neon"
  134. prt4.Reflectance = 0.4
  135. prt4.Transparency = 0
  136. prt4.Size = Vector3.new(2,6,2)
  137. prt4.CFrame = Torso.CFrame
  138. local prt5 = Instance.new("Part")
  139. prt5.formFactor = 1
  140. prt5.Parent = modelzorz
  141. prt5.CanCollide = false
  142. prt5.BrickColor = BrickColor.new("Really black")
  143. prt5.Name = "Blade2"
  144. prt5.Transparency = 0
  145. prt5.Size = Vector3.new(1,1,1)
  146. prt5.CFrame = Torso.CFrame
  147. local prt6 = Instance.new("Part")
  148. prt6.formFactor = 1
  149. prt6.Parent = modelzorz
  150. prt6.CanCollide = false
  151. prt6.BrickColor = BrickColor.new("Black")
  152. prt6.Name = "Blade3"
  153. prt6.Reflectance = 0.5
  154. prt6.Transparency = 0
  155. prt6.Size = Vector3.new(1,1,1)
  156. prt6.CFrame = Torso.CFrame
  157. local prt7 = Instance.new("Part")
  158. prt7.formFactor = 1
  159. prt7.Parent = modelzorz
  160. prt7.CanCollide = false
  161. prt7.BrickColor = BrickColor.new("Bright violet")
  162. prt7.Name = "Handle3"
  163. prt7.Transparency = 0
  164. prt7.Size = Vector3.new(1,1,1)
  165. prt7.CFrame = Torso.CFrame
  166. local prt8 = Instance.new("Part")
  167. prt8.formFactor = 1
  168. prt8.Parent = modelzorz
  169. prt8.CanCollide = false
  170. prt8.BrickColor = BrickColor.new("Really black")
  171. prt8.Name = "Handle4"
  172. prt8.Transparency = 0
  173. prt8.Size = Vector3.new(1,1,1)
  174. prt8.CFrame = Torso.CFrame
  175. local prt9 = Instance.new("Part")
  176. prt9.formFactor = 1
  177. prt9.Parent = modelzorz
  178. prt9.CanCollide = false
  179. prt9.BrickColor = BrickColor.new("Really black")
  180. prt9.Name = "Handle5"
  181. prt9.Transparency = 0
  182. prt9.Size = Vector3.new(1,1,1)
  183. prt9.CFrame = Torso.CFrame
  184. local prt10 = Instance.new("Part")
  185. prt10.formFactor = 1
  186. prt10.Parent = modelzorz
  187. prt10.CanCollide = false
  188. prt10.BrickColor = BrickColor.new("Alder")
  189. prt10.Name = "Handle6"
  190. prt10.Transparency = 0
  191. prt10.Size = Vector3.new(1,1,1)
  192. prt10.CFrame = Torso.CFrame
  193. local prt11 = Instance.new("Part")
  194. prt11.formFactor = 1
  195. prt11.Parent = modelzorz
  196. prt11.CanCollide = false
  197. prt11.BrickColor = BrickColor.new("Alder")
  198. prt11.Name = "Handle7"
  199. prt11.Transparency = 0
  200. prt11.Size = Vector3.new(1,1,1)
  201. prt11.CFrame = Torso.CFrame
  202. local prt12 = Instance.new("Part")
  203. prt12.formFactor = 1
  204. prt12.Parent = modelzorz
  205. prt12.CanCollide = false
  206. prt12.BrickColor = BrickColor.new("Black")
  207. prt12.Name = "Handle8"
  208. prt12.Transparency = 0
  209. prt12.Size = Vector3.new(1,1,1)
  210. prt12.CFrame = Torso.CFrame
  211. local prt13 = Instance.new("Part")
  212. prt13.formFactor = 1
  213. prt13.Parent = modelzorz
  214. prt13.CanCollide = false
  215. prt13.BrickColor = BrickColor.new("Black")
  216. prt13.Name = "Blade4"
  217. prt13.Reflectance = 0.4
  218. prt13.Transparency = 0
  219. prt13.Size = Vector3.new(1,1,1)
  220. prt13.CFrame = Torso.CFrame
  221. local prt14 = Instance.new("Part")
  222. prt14.formFactor = 1
  223. prt14.Parent = modelzorz
  224. prt14.CanCollide = false
  225. prt14.BrickColor = BrickColor.new("Black")
  226. prt14.Name = "Blade5"
  227. prt14.Reflectance = 0.4
  228. prt14.Transparency = 0
  229. prt14.Size = Vector3.new(1,1,1)
  230. prt14.CFrame = Torso.CFrame
  231. local prt15 = Instance.new("Part")
  232. prt15.formFactor = 1
  233. prt15.Parent = modelzorz
  234. prt15.CanCollide = false
  235. prt15.BrickColor = BrickColor.new("Black")
  236. prt15.Name = "Blade6"
  237. prt15.Reflectance = 0.4
  238. prt15.Transparency = 0
  239. prt15.Size = Vector3.new(1,1,1)
  240. prt15.CFrame = Torso.CFrame
  241. local prt16 = Instance.new("Part")
  242. prt16.formFactor = 1
  243. prt16.Parent = modelzorz
  244. prt16.CanCollide = false
  245. prt16.BrickColor = BrickColor.new("Black")
  246. prt16.Name = "Blade7"
  247. prt16.Reflectance = 0.4
  248. prt16.Transparency = 0
  249. prt16.Size = Vector3.new(1,1,1)
  250. prt16.CFrame = Torso.CFrame
  251. modelzorz:BreakJoints()
  252.  
  253. local msh1 = Instance.new("CylinderMesh")
  254. msh1.Parent = prt1
  255. msh1.Scale = Vector3.new(0.3,1,0.5)
  256. local msh2 = Instance.new("CylinderMesh")
  257. msh2.Parent = prt2
  258. msh2.Scale = Vector3.new(0.3,0.1,0.5)
  259. local msh3 = Instance.new("BlockMesh")
  260. msh3.Parent = prt3
  261. msh3.Scale = Vector3.new(0.4,0.3,0.4)
  262. local msh4 = Instance.new("BlockMesh")
  263. msh4.Parent = prt4
  264. msh4.Scale = Vector3.new(0.1,1,0.3)
  265. local msh5 = Instance.new("CylinderMesh")
  266. msh5.Parent = prt5
  267. msh5.Scale = Vector3.new(0.2,1,0.5)
  268. local msh6 = Instance.new("SpecialMesh")
  269. msh6.Parent = prt6
  270. msh6.MeshType = "Wedge"
  271. msh6.Scale = Vector3.new(0.1,0.7,0.3)
  272. local msh7 = Instance.new("CylinderMesh")
  273. msh7.Parent = prt7
  274. msh7.Scale = Vector3.new(0.2,0.1,0.5)
  275. local msh8 = Instance.new("CylinderMesh")
  276. msh8.Parent = prt8
  277. msh8.Scale = Vector3.new(0.2,0.1,0.5)
  278. local msh9 = Instance.new("CylinderMesh")
  279. msh9.Parent = prt9
  280. msh9.Scale = Vector3.new(0.2,0.1,0.5)
  281. local msh10 = Instance.new("CylinderMesh")
  282. msh10.Parent = prt10
  283. msh10.Scale = Vector3.new(0.2,0.1,0.5)
  284. local msh11 = Instance.new("CylinderMesh")
  285. msh11.Parent = prt11
  286. msh11.Scale = Vector3.new(0.2,0.1,0.5)
  287. local msh12 = Instance.new("BlockMesh")
  288. msh12.Parent = prt12
  289. msh12.Scale = Vector3.new(0.2,0.2,0.3)
  290. local msh13 = Instance.new("BlockMesh")
  291. msh13.Parent = prt13
  292. msh13.Scale = Vector3.new(0.1,0.5,0.3)
  293. local msh14 = Instance.new("BlockMesh")
  294. msh14.Parent = prt14
  295. msh14.Scale = Vector3.new(0.1,0.1,0.1)
  296. local msh15 = Instance.new("BlockMesh")
  297. msh15.Parent = prt15
  298. msh15.Scale = Vector3.new(0.1,0.3,0.3)
  299. local msh16 = Instance.new("SpecialMesh")
  300. msh16.Parent = prt16
  301. msh16.MeshType = "Wedge"
  302. msh16.Scale = Vector3.new(0.1,0.5,0.3)
  303.  
  304. local wld1 = Instance.new("Weld")
  305. wld1.Parent = prt1
  306. wld1.Part0 = prt1
  307. wld1.Part1 = Torso
  308. wld1.C0 = CFrame.fromEulerAnglesXYZ(-1.7,0,0) * CFrame.new(1,1,0.5)
  309. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  310. local wld2 = Instance.new("Weld")
  311. wld2.Parent = prt2
  312. wld2.Part0 = prt2
  313. wld2.Part1 = prt1
  314. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.66,0)
  315. wld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  316. local wld3 = Instance.new("Weld")
  317. wld3.Parent = prt3
  318. wld3.Part0 = prt3
  319. wld3.Part1 = prt1
  320. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.78,0)
  321. wld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  322. local wld4 = Instance.new("Weld")
  323. wld4.Parent = prt4
  324. wld4.Part0 = prt4
  325. wld4.Part1 = prt3
  326. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.35,0)
  327. wld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  328. local wld5 = Instance.new("Weld")
  329. wld5.Parent = prt5
  330. wld5.Part0 = prt5
  331. wld5.Part1 = prt3
  332. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.77,0)
  333. wld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  334. local wld6 = Instance.new("Weld")
  335. wld6.Parent = prt6
  336. wld6.Part0 = prt6
  337. wld6.Part1 = prt4
  338. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.61,0)
  339. wld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  340. local wld7 = Instance.new("Weld")
  341. wld7.Parent = prt7
  342. wld7.Part0 = prt7
  343. wld7.Part1 = Torso
  344. wld7.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1.57,0) * CFrame.new(0.6,1,-0.6)
  345. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  346. local wld8 = Instance.new("Weld")
  347. wld8.Parent = prt8
  348. wld8.Part0 = prt8
  349. wld8.Part1 = prt7
  350. wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.12,0)
  351. wld8.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  352. local wld9 = Instance.new("Weld")
  353. wld9.Parent = prt9
  354. wld9.Part0 = prt9
  355. wld9.Part1 = prt7
  356. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.12,0)
  357. wld9.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  358. local wld10 = Instance.new("Weld")
  359. wld10.Parent = prt10
  360. wld10.Part0 = prt10
  361. wld10.Part1 = prt7
  362. wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.24,0)
  363. wld10.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  364. local wld11 = Instance.new("Weld")
  365. wld11.Parent = prt11
  366. wld11.Part0 = prt11
  367. wld11.Part1 = prt7
  368. wld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.24,0)
  369. wld11.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  370. local wld12 = Instance.new("Weld")
  371. wld12.Parent = prt12
  372. wld12.Part0 = prt12
  373. wld12.Part1 = prt7
  374. wld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.4,0)
  375. wld12.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  376. local wld13 = Instance.new("Weld")
  377. wld13.Parent = prt13
  378. wld13.Part0 = prt13
  379. wld13.Part1 = prt12
  380. wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.42,0)
  381. wld13.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  382. local wld14 = Instance.new("Weld")
  383. wld14.Parent = prt14
  384. wld14.Part0 = prt14
  385. wld14.Part1 = prt13
  386. wld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.35,0.1)
  387. wld14.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  388. local wld15 = Instance.new("Weld")
  389. wld15.Parent = prt15
  390. wld15.Part0 = prt15
  391. wld15.Part1 = prt14
  392. wld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.24,-0.1)
  393. wld15.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  394. local wld16 = Instance.new("Weld")
  395. wld16.Parent = prt16
  396. wld16.Part0 = prt16
  397. wld16.Part1 = prt15
  398. wld16.C0 = CFrame.fromEulerAnglesXYZ(3.14,0,0) * CFrame.new(0,0.48,0)
  399. wld16.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  400.  
  401. local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL
  402. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  403. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  404. SlashSound.Parent = modelzorz
  405. SlashSound.Volume = .7
  406. SlashSound.Pitch = 1
  407. local SlashSound = Instance.new("Sound")
  408. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  409. SlashSound.Parent = modelzorz
  410. SlashSound.Volume = .5
  411. SlashSound.Pitch = 1
  412. local SlashSound = Instance.new("Sound")
  413. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  414. SlashSound.Parent = modelzorz
  415. SlashSound.Volume = .7
  416. SlashSound.Pitch = 1
  417. local SlashSound = Instance.new("Sound")
  418. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  419. SlashSound.Parent = modelzorz
  420. SlashSound.Volume = .7
  421. SlashSound.Pitch = 1
  422.  
  423. local fengui = Instance.new("GuiMain")
  424. fengui.Parent = Player.PlayerGui
  425. fengui.Name = "manaGUI"
  426. local fenframe = Instance.new("Frame")
  427. fenframe.Parent = fengui
  428. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  429. fenframe.BackgroundTransparency = 1
  430. fenframe.BorderColor3 = Color3.new(17,17,17)
  431. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  432. local fentext = Instance.new("TextLabel")
  433. fentext.Parent = fenframe
  434. fentext.Text = "Mana("..mana..")"
  435. fentext.BackgroundTransparency = 1
  436. fentext.SizeConstraint = "RelativeXY"
  437. fentext.TextXAlignment = "Center"
  438. fentext.TextYAlignment = "Center"
  439. fentext.Position = UDim2.new(0,80,1,200)
  440. local fentext2 = Instance.new("TextLabel")
  441. fentext2.Parent = fenframe
  442. fentext2.Text = " "
  443. fentext2.BackgroundTransparency = 0
  444. fentext2.BackgroundColor3 = Color3.new(0,0,0)
  445. fentext2.SizeConstraint = "RelativeXY"
  446. fentext2.TextXAlignment = "Center"
  447. fentext2.TextYAlignment = "Center"
  448. fentext2.Position = UDim2.new(0,10,1,170)
  449. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  450. local fentext3 = Instance.new("TextLabel")
  451. fentext3.Parent = fenframe
  452. fentext3.Text = " "
  453. fentext3.BackgroundTransparency = 0
  454. fentext3.BackgroundColor3 = Color3.new(1,1,0)
  455. fentext3.SizeConstraint = "RelativeXY"
  456. fentext3.TextXAlignment = "Center"
  457. fentext3.TextYAlignment = "Center"
  458. fentext3.Position = UDim2.new(0,10,1,170)
  459. fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  460. --2.9000001, 0}, {0.450000018, 0}
  461. local gairo = Instance.new("BodyGyro")
  462. gairo.Parent = nil
  463. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  464. gairo.P = 20e+003
  465.  
  466. if (script.Parent.className ~= "HopperBin") then
  467. Tool = Instance.new("HopperBin")
  468. Tool.Parent = Backpack
  469. Tool.Name = "Katana"
  470. script.Parent = Tool
  471. end
  472. Bin = script.Parent
  473.  
  474. function hideanim()
  475. for i = 0,1,0.1 do
  476. swait()
  477. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5*i,0,0.4*i)
  478. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i)
  479. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0)
  480. RW.C0 = CFrame.new(1.5-1.2*i,0.5-0.2*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-1*i)
  481. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-3.14*i,0)
  482. end
  483. wld1.Part1 = Torso
  484. wld1.C0 = CFrame.fromEulerAnglesXYZ(-1.7,0,0) * CFrame.new(1,1,0.5)
  485. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  486. wld7.Part1 = Torso
  487. wld7.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1.57,0) * CFrame.new(0.6,1,-0.6)
  488. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  489. for i = 0,1,0.1 do
  490. swait()
  491. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,0.4-0.4*i)
  492. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i)
  493. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0)
  494. RW.C0 = CFrame.new(1.5-1.2+1.2*i,0.5-0.2+0.2*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-1+1*i)
  495. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-3.14+3.14*i,0)
  496. end
  497. end
  498.  
  499. function equipanim()
  500. for i = 0,1,0.1 do
  501. swait()
  502. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5*i,0,0.4*i)
  503. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  504. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  505. RW.C0 = CFrame.new(1.5-1.2*i,0.5-0.2*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-1*i)
  506. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,3.14*i,0)
  507. end
  508. wld1.Part1 = RightArm
  509. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  510. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  511. for i = 0,1,0.2 do
  512. swait()
  513. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.6*i,0,0.4-0.4*i)
  514. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  515. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  516. RW.C0 = CFrame.new(1.5-1.2+1.2*i,0.5-0.2+0.2*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-1+2.77*i)
  517. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,3.14+4.14*i,0)
  518. end
  519. swait(0.2)
  520. for i = 0,1,0.1 do
  521. swait()
  522. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.6+0.1*i,0,0)
  523. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i)
  524. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0)
  525. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,1.77-1.77*i)
  526. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,7.28-7.28*i,0)
  527. end
  528. wld7.Part1 = LeftArm
  529. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  530. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  531. for i = 0,1,0.1 do
  532. swait()
  533. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i)
  534. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0)
  535. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  536. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  537. end
  538. Torso.Neck.C0=necko
  539. end
  540.  
  541. function onehit()
  542. attack = false
  543. for i = 0,1,0.1 do
  544. swait()
  545. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  546. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  547. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,1*i)
  548. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0)
  549. end
  550. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  551. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  552. ss(1)
  553. for i = 0,1,0.2 do
  554. swait()
  555. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0)
  556. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  557. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  558. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  559. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(2-1*i,0,1-2*i)
  560. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1,0)
  561. end
  562. con1:disconnect()
  563. con2:disconnect()
  564. attack = false
  565. end
  566.  
  567. function twohit()
  568. attack = false
  569. for i = 0,1,0.1 do
  570. swait()
  571. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.5*i,0,0)
  572. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  573. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  574. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  575. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-1+1.5*i,0,1-2+1*i)
  576. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1-1*i,0)
  577. end
  578. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  579. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  580. ss(1.2)
  581. for i = 0,1,0.2 do
  582. swait()
  583. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.5+0.5*i,0,0)
  584. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  585. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  586. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  587. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-1+1.5-2*i,0,0)
  588. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  589. end
  590. con1:disconnect()
  591. con2:disconnect()
  592. attack = false
  593. end
  594.  
  595. function threehit()
  596. attack = false
  597. for i = 0,1,0.1 do
  598. swait()
  599. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.3*i,0,0)
  600. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  601. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  602. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  603. RW.C0 = CFrame.new(1.5-0.5*i,0.5+0.4*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1.07*i,0,-1.57*i)
  604. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0)
  605. end
  606. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  607. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  608. ss(0.9)
  609. for i = 0,1,0.2 do
  610. swait()
  611. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  612. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  613. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  614. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5+0.4-0.4*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1.07,0,-1.57+3.14*i)
  615. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57,0)
  616. end
  617. con1:disconnect()
  618. con2:disconnect()
  619. attack = false
  620. end
  621.  
  622. function fourhit()
  623. attack = false
  624. gairo.Parent = Head
  625. gairo.cframe = Head.CFrame
  626. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  627. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  628. ss(0.6)
  629. for i = 0,1,0.2 do
  630. swait()
  631. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4*i)
  632. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90),0,0) * CFrame.new(0,1,0)
  633. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,-0.5*i)
  634. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  635. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.2*i)
  636. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0)
  637. end
  638. swait(0.1)
  639. con1:disconnect()
  640. con2:disconnect()
  641. attack = false
  642. end
  643.  
  644. function fivehit()
  645. attack = false
  646. for i = 0,1,0.1 do
  647. swait()
  648. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4+0.8*i)
  649. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  650. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07*i,0,-0.5+1.5*i)
  651. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,0)
  652. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-2.07*i,0,0.37-0.37*i)
  653. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  654. end
  655. con1=prt14.Touched:connect(function(hit) Damagefunc1(hit,15,10) end)
  656. con2=prt15.Touched:connect(function(hit) Damagefunc1(hit,25,10) end)
  657. con3=prt16.Touched:connect(function(hit) Damagefunc1(hit,25,10) end)
  658. ss(1.4)
  659. for i = 0,1,0.2 do
  660. swait()
  661. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4+0.8-0.4*i)
  662. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90),0,0) * CFrame.new(0,1,0)
  663. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07,0,1-2.57*i)
  664. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57,0)
  665. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  666. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  667. end
  668. swait(0.2)
  669. con1:disconnect()
  670. con2:disconnect()
  671. con3:disconnect()
  672. gairo.Parent = nil
  673. Torso.Neck.C0=necko
  674. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  675. attack = false
  676. end
  677.  
  678. function WindCharge()
  679. if mana >= 20 then
  680. attack = false
  681. gairo.Parent = Head
  682. gairo.cframe = Head.CFrame
  683. efect()
  684. for i = 0,1,0.1 do
  685. swait()
  686. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  687. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  688. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  689. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  690. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3*i,0,1*i)
  691. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  692. end
  693. mana = mana - 20
  694. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  695. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  696. ss(1)
  697. lightning = true
  698. coroutine.resume(coroutine.create(function()
  699. Stun2(prt4,10,25,10)
  700. --Stun2(prt4,10,25,10)
  701. end))
  702. for i = 0,1,0.2 do
  703. swait()
  704. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  705. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.5*i)
  706. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5*i)
  707. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  708. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-1.43*i,0,1-0.5*i)
  709. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  710. end
  711. swait()
  712. local vel = Instance.new("BodyVelocity")
  713. vel.Parent = Player.Character.Torso
  714. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  715. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  716. swait(0.5)
  717. vel.Parent = nil
  718. lightning = false
  719. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  720. Torso.Neck.C0=necko
  721. con1:disconnect()
  722. con2:disconnect()
  723. gairo.Parent = nil
  724. attack = false
  725. end
  726. end
  727.  
  728. function Restore()
  729. attack = false
  730. for i = 0,1,0.1 do
  731. swait()
  732. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1*i,0,0) * CFrame.new(0,1,0)
  733. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4*i,0,0)
  734. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  735. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  736. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5*i,0,0)
  737. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  738. end
  739. local lol = Instance.new("Part")
  740. lol.Parent = modelzorz
  741. lol.Shape = "Ball"
  742. lol.Position = Torso.Position
  743. lol.Anchored = false
  744. lol.Transparency = 0.5
  745. lol.CanCollide = false
  746. lol.Size = Vector3.new(1,1,1)
  747. lol.BrickColor = BrickColor.new("White")
  748. lol.CFrame = Torso.CFrame
  749. local lolmesh = Instance.new("SpecialMesh")
  750. lolmesh.Parent = lol
  751. lolmesh.Scale = Vector3.new(0.5,0.5,0.5)
  752. lolmesh.MeshType = "Sphere"
  753. local lolweld = Instance.new("Weld")
  754. lolweld.Parent = lol
  755. lolweld.Part0 = lol
  756. lolweld.Part1 = prt6
  757. swait(0)
  758. coroutine.resume(coroutine.create(function()
  759. for i = 0, 1, 0.05 do
  760. swait(0)
  761. lolmesh.Scale = lolmesh.Scale + Vector3.new(0.15,0.15,0.15)
  762. end
  763. end))
  764. while restoring == true do
  765. swait(0.15)
  766. lolweld.C0 = CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  767. MMMAGIC(lol,2,2,2,0,0,0,BrickColor.new("White"))
  768. DifferentEffect()
  769. if mana >= 400 then
  770. mana = 400
  771. else
  772. Character.Humanoid.Health = Character.Humanoid.Health + 0.05
  773. mana = mana + 1
  774. end
  775. end
  776. for i = 0, 1, 0.05 do
  777. swait(0)
  778. lol.Transparency = lol.Transparency + 0.03
  779. lolmesh.Scale = lolmesh.Scale - Vector3.new(0.2,0.2,0.2)
  780. end
  781. for i = 0,1,0.1 do
  782. swait()
  783. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1-1*i,0,0) * CFrame.new(0,1,0)
  784. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4+0.4*i,0,0)
  785. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  786. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  787. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-2.5*i,0,0)
  788. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  789. end
  790. lol.Parent = nil
  791. attack = false
  792. end
  793.  
  794. function JetStream()
  795. if mana >= 1 then
  796. attack = false
  797. charging = true
  798. for i = 0,1,0.1 do
  799. swait()
  800. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+0.3*i,0,0) * CFrame.new(0,1,0)
  801. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,-0.5*i)
  802. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  803. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.4*i,0,0.3*i)
  804. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  805. RW.C0 = CFrame.new(1.5-0.8*i,0.5,-0.8*i) * CFrame.fromEulerAnglesXYZ(1.2*i,0,-1.2*i)
  806. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0)
  807. end
  808. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,35,20) end)
  809. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,45,20) end)
  810. local vel = Instance.new("BodyVelocity")
  811. vel.Parent = Player.Character.Torso
  812. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  813. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  814. while charging == true and mana >= 1 do
  815. swait(0)
  816. mana = mana - 1
  817. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  818. MMMAGIC(prt2,1,1,1,0,0,0,BrickColor.new("White"))
  819. MOREMAGIX(prt2,0,1,1,1,BrickColor.new("White"))
  820. end
  821. swait(0.1)
  822. con1:disconnect()
  823. con2:disconnect()
  824. vel.Parent = nil
  825. gairo.Parent = nil
  826. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  827. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  828. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  829. attack = false
  830. end
  831. end
  832.  
  833. function Stab()
  834. attack = false
  835. gairo.Parent = Head
  836. gairo.cframe = Head.CFrame
  837. ss(1.2)
  838. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,20,20) end)
  839. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,30,20) end)
  840. for i = 0,1,0.2 do
  841. swait()
  842. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  843. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.3*i)
  844. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2*i,0,-0.2*i)
  845. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  846. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,0.5*i)
  847. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  848. end
  849. swait(0.1)
  850. con1:disconnect()
  851. con2:disconnect()
  852. for i = 0,1,0.2 do
  853. swait()
  854. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  855. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.3+0.3*i)
  856. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2+0.2*i,0,-0.2+0.2*i)
  857. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  858. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,0.5-0.5*i)
  859. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  860. end
  861. gairo.Parent = nil
  862. Torso.Neck.C0=necko
  863. attack = false
  864. end
  865.  
  866. function WindKatanaWheelSpin()
  867. if mana >= 20 then
  868. attack = false
  869. for i = 0,1,0.1 do
  870. swait()
  871. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,math.rad(90)*i,0) * CFrame.new(0,1,0)
  872. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(90)*i,math.rad(90)*i,0) * CFrame.new(0,1,0)
  873. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  874. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  875. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  876. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  877. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  878. end
  879. mana = mana - 20
  880. lightning = true
  881. coroutine.resume(coroutine.create(function()
  882. Stun2(prt6,1,1,1)
  883. end))
  884. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,30,20) end)
  885. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,40,20) end)
  886. con3=prt14.Touched:connect(function(hit) Damagefunc1(hit,25,10) end)
  887. con4=prt15.Touched:connect(function(hit) Damagefunc1(hit,35,10) end)
  888. con5=prt16.Touched:connect(function(hit) Damagefunc1(hit,35,10) end)
  889. cf = Head.CFrame
  890. gairo.Parent = Head
  891. gairo.cframe = Head.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  892. for i = 0,1,0.03 do
  893. swait()
  894. ss(1.1)
  895. gairo.cframe = gairo.cframe * CFrame.fromEulerAnglesXYZ(0,0.8,0)
  896. end
  897. gairo.cframe = cf
  898. con1:disconnect()
  899. con2:disconnect()
  900. con3:disconnect()
  901. con4:disconnect()
  902. con5:disconnect()
  903. lightning = false
  904. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90),math.rad(90),0) * CFrame.new(0,1,0)
  905. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(90),math.rad(90),0) * CFrame.new(0,1,0)
  906. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  907. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57-0.5)
  908. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  909. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57+0.5)
  910. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  911. swait(3)
  912. gairo.Parent = nil
  913. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  914. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  915. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  916. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  917. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  918. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  919. attack = false
  920. end
  921. end
  922.  
  923. function SlashShockwave()
  924. if mana >= 20 then
  925. attack = false
  926. for i = 0,1,0.1 do
  927. swait()
  928. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1.57*i,0,0) * CFrame.new(0,1,0)
  929. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0)
  930. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  931. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  932. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i,0,0)
  933. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  934. end
  935. swait(0.1)
  936. ss(1)
  937. mana = mana - 20
  938. local slash = Instance.new("Part")
  939. slash.Parent = modelzorz
  940. slash.Position = Torso.Position
  941. slash.Anchored = true
  942. slash.Transparency = 0.2
  943. slash.CanCollide = false
  944. slash.Size = Vector3.new(1,1,1)
  945. slash.BrickColor = BrickColor.new("White")
  946. slash.CFrame = Torso.CFrame * CFrame.new(1.5,-3,-4)
  947. local testbrick = Instance.new("Part")
  948. testbrick.Parent = modelzorz
  949. testbrick.Anchored = true
  950. testbrick.Transparency = 1
  951. testbrick.CFrame = Torso.CFrame * CFrame.new(1.5,0,-4)
  952. coroutine.resume(coroutine.create(function()
  953. local c = game.Workspace:GetChildren();
  954. for i = 1, #c do
  955. local hum = c[i]:findFirstChild("Humanoid")
  956. if hum ~= nil and hum.Health ~= 0 then
  957. local head = c[i]:findFirstChild("Head");
  958. if head ~= nil then
  959. local targ = head.Position - testbrick.Position;
  960. local mag = targ.magnitude;
  961. if mag <= 3 and c[i].Name ~= Player.Name then
  962. Damagefunc1(head,20,20)
  963. end
  964. end
  965. end
  966. end
  967. testbrick.Parent = nil
  968. end))
  969. local lolmesh = Instance.new("SpecialMesh")
  970. lolmesh.Parent = slash
  971. lolmesh.Scale = Vector3.new(0.6,1,0.6)
  972. lolmesh.MeshType = "Sphere"
  973. coroutine.resume(coroutine.create(function(Part,Mesh)
  974. for i = 0, 1, 0.2 do
  975. swait(0)
  976. Mesh.Scale = Mesh.Scale + Vector3.new(0,0.7,0)
  977. end
  978. swait(0.5)
  979. for i = 0,1,0.1 do
  980. swait()
  981. Part.Transparency = Part.Transparency + 0.1
  982. end
  983. Part.Parent = nil
  984. end),slash,lolmesh)
  985. coroutine.resume(coroutine.create(function()
  986. CF = -4
  987. scale = 0.6
  988. scale2 = 0.7
  989. for i = 0,10 do
  990. swait(0.1)
  991. CF = CF * 1.2
  992. scale = scale + 0.1
  993. scale2 = scale2 + 0.2
  994. ss(math.random()+math.random())
  995. local slash = Instance.new("Part")
  996. slash.Parent = modelzorz
  997. slash.Position = Torso.Position
  998. slash.Anchored = true
  999. slash.Transparency = 0.2
  1000. slash.CanCollide = false
  1001. slash.Size = Vector3.new(1,1,1)
  1002. slash.BrickColor = BrickColor.new("White")
  1003. slash.CFrame = Torso.CFrame * CFrame.new(1+math.random(),-3,CF)
  1004. local testbrick = Instance.new("Part")
  1005. testbrick.Parent = modelzorz
  1006. testbrick.Anchored = true
  1007. testbrick.Transparency = 1
  1008. testbrick.CFrame = Torso.CFrame * CFrame.new(1+math.random(),0,CF)
  1009. coroutine.resume(coroutine.create(function()
  1010. local c = game.Workspace:GetChildren();
  1011. for i = 1, #c do
  1012. local hum = c[i]:findFirstChild("Humanoid")
  1013. if hum ~= nil and hum.Health ~= 0 then
  1014. local head = c[i]:findFirstChild("Head");
  1015. if head ~= nil then
  1016. local targ = head.Position - testbrick.Position;
  1017. local mag = targ.magnitude;
  1018. if mag <= 3 and c[i].Name ~= Player.Name then
  1019. Damagefunc1(head,20,20)
  1020. end
  1021. end
  1022. end
  1023. end
  1024. testbrick.Parent = nil
  1025. end))
  1026. local lolmesh = Instance.new("SpecialMesh")
  1027. lolmesh.Parent = slash
  1028. lolmesh.Scale = Vector3.new(scale,1,scale)
  1029. lolmesh.MeshType = "Sphere"
  1030. coroutine.resume(coroutine.create(function(Part,Mesh)
  1031. Part.CFrame = Part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1032. for i = 0, 1, 0.2 do
  1033. swait(0)
  1034. Mesh.Scale = Mesh.Scale + Vector3.new(0,scale2,0)
  1035. end
  1036. swait(0.5)
  1037. for i = 0,1,0.1 do
  1038. swait()
  1039. Part.Transparency = Part.Transparency + 0.1
  1040. end
  1041. Part.Parent = nil
  1042. end),slash,lolmesh)
  1043. end
  1044. end))
  1045. for i = 0,1,0.2 do
  1046. swait()
  1047. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1.57-1.57*i,0,0) * CFrame.new(0,1,0)
  1048. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.6*i,0,0)
  1049. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0)
  1050. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1051. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+2*i,0,0)
  1052. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1053. end
  1054. attack = false
  1055. end
  1056. end
  1057.  
  1058. function efect()
  1059. local lol = Instance.new("Part")
  1060. lol.Parent = Character
  1061. lol.Shape = "Ball"
  1062. lol.Position = Torso.Position
  1063. lol.Anchored = true
  1064. lol.CanCollide = false
  1065. lol.Size = Vector3.new(1,1,1)
  1066. lol.BrickColor = BrickColor.new("White")
  1067. lol.Reflectance = 1
  1068. lol.CFrame = Torso.CFrame
  1069. local lolmesh = Instance.new("SpecialMesh")
  1070. lolmesh.Parent = lol
  1071. lolmesh.Scale = Vector3.new(0.5,0.5,0.5)
  1072. lolmesh.MeshType = "Sphere"
  1073. swait(0)
  1074. coroutine.resume(coroutine.create(function()
  1075. for i = 0, 1, 0.05 do
  1076. swait(0)
  1077. lolmesh.Scale = lolmesh.Scale + Vector3.new(9,9,9)
  1078. lol.Transparency = lol.Transparency + 0.20
  1079. lol.Reflectance = lol.Reflectance - 0.25
  1080. lol.CFrame = Torso.CFrame
  1081. end
  1082. lol:Remove()
  1083. end))
  1084. end
  1085.  
  1086. Stun2=function(Feh,x,y,z)
  1087. coroutine.resume(coroutine.create(function(part)
  1088. --[[ if part.Parent:FindFirstChild("Torso")==nil then
  1089. return
  1090. end]]
  1091. Torsoh2=part
  1092. End2=Torsoh2.CFrame+Vector3.new(math.random(-20,20)/10,math.random(-30,30)/10,math.random(-20,20)/10)
  1093. ST2=Torsoh2.Position
  1094. --[[ p=Instance.new("BodyPosition")
  1095. p.P=3000
  1096. p.D=100
  1097. p.maxForce=Vector3.new(math.huge,0,math.huge)
  1098. p.position=Torsoh2.Position
  1099. p.Parent=Torsoh2]]
  1100. while part.Parent ~= nil and lightning == true do
  1101. -- f1:Play()
  1102. -- p.position=ST2+Vector3.new(math.random(-50,50)/50,0,math.random(-50,50)/50)
  1103. Start2=End2
  1104. End2=Torsoh2.CFrame*CFrame.new(math.random(-x,x)/10,math.random(-y,y)/10,math.random(-z,z)/10)
  1105. e=Instance.new("Part")
  1106. e.TopSurface=0
  1107. e.BottomSurface=0
  1108. e.CanCollide=false
  1109. e.Anchored=true
  1110. e.formFactor="Symmetric"
  1111. e.Size=Vector3.new(1,1,1)
  1112. Look2=(End2.p-Start2.p).unit
  1113. m=Instance.new("BlockMesh")
  1114. m.Scale=Vector3.new(.2,.2,(Start2.p-End2.p).magnitude)
  1115. m.Parent=e
  1116. e.CFrame=CFrame.new(Start2.p+Look2*(m.Scale.z/2),Start2.p+Look2*99)
  1117. e.Reflectance=.3
  1118. e.Name="Zap"
  1119. e.BrickColor=BrickColor.new("White")
  1120. e.Parent=part.Parent
  1121. coroutine.resume(coroutine.create(function(PAR) for i=1, 25 do PAR.Transparency=i/25 swait() end PAR.Parent=nil end),e)
  1122. swait()
  1123. end
  1124. swait(.25)
  1125. -- p.Parent=nil
  1126. end),Feh)
  1127. end
  1128.  
  1129. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1130. local msh1 = Instance.new("BlockMesh")
  1131. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1132. S=Instance.new("Part")
  1133. S.Name="Effect"
  1134. S.formFactor=0
  1135. S.Size=Vector3.new(x1,y1,z1)
  1136. S.BrickColor=color
  1137. S.Reflectance = 0
  1138. S.TopSurface=0
  1139. S.BottomSurface=0
  1140. S.Transparency=0
  1141. S.Anchored=true
  1142. S.CanCollide=false
  1143. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1144. S.Parent=Character
  1145. msh1.Parent = S
  1146. 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)
  1147. end
  1148.  
  1149. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1150. local msh1 = Instance.new("BlockMesh")
  1151. msh1.Scale = Vector3.new(x1,y1,z1)
  1152. S=Instance.new("Part")
  1153. S.Name="Effect"
  1154. S.formFactor=0
  1155. S.Size=Vector3.new(1,1,1)
  1156. S.BrickColor=color
  1157. S.Reflectance = 0
  1158. S.TopSurface=0
  1159. S.BottomSurface=0
  1160. S.Transparency=0
  1161. S.Anchored=true
  1162. S.CanCollide=false
  1163. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1164. S.Parent=Character
  1165. msh1.Parent = S
  1166. 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)
  1167. end
  1168.  
  1169. function MOREMAGIX(part,cframe,x,y,z,color)
  1170. p2=Instance.new("Part")
  1171. p2.Name="Blast"
  1172. p2.TopSurface=0
  1173. p2.BottomSurface=0
  1174. p2.CanCollide=false
  1175. p2.Anchored=true
  1176. p2.BrickColor=color
  1177. p2.Size=Vector3.new(x,y,z)
  1178. p2.formFactor="Symmetric"
  1179. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  1180. p2.Parent=workspace
  1181. m=Instance.new("BlockMesh")
  1182. m.Parent=p2
  1183. m.Name="BlastMesh"
  1184. 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))
  1185. end
  1186.  
  1187. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1188. local msh1 = Instance.new("SpecialMesh")
  1189. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1190. msh1.MeshType = "Sphere"
  1191. S=Instance.new("Part")
  1192. S.Name="Effect"
  1193. S.formFactor=0
  1194. S.Size=Vector3.new(x1,y1,z1)
  1195. S.BrickColor=color
  1196. S.Reflectance = 0
  1197. S.TopSurface=0
  1198. S.BottomSurface=0
  1199. S.Transparency=0
  1200. S.Anchored=true
  1201. S.CanCollide=false
  1202. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1203. S.Parent=Character
  1204. msh1.Parent = S
  1205. 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)
  1206. end
  1207.  
  1208. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1209. local msh1 = Instance.new("SpecialMesh")
  1210. msh1.Scale = Vector3.new(x1,y1,z1)
  1211. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1212. S=Instance.new("Part")
  1213. S.Name="Effect"
  1214. S.formFactor=0
  1215. S.Size=Vector3.new(1,1,1)
  1216. S.BrickColor=color
  1217. S.Reflectance = 0
  1218. S.TopSurface=0
  1219. S.BottomSurface=0
  1220. S.Transparency=0
  1221. S.Anchored=true
  1222. S.CanCollide=false
  1223. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1224. S.Parent=Character
  1225. msh1.Parent = S
  1226. 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)
  1227. end
  1228.  
  1229. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1230. local msh1 = Instance.new("SpecialMesh")
  1231. msh1.Scale = Vector3.new(x1,y1,z1)
  1232. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1233. S=Instance.new("Part")
  1234. S.Name="Effect"
  1235. S.formFactor=0
  1236. S.Size=Vector3.new(1,1,1)
  1237. S.BrickColor=color
  1238. S.Reflectance = 0
  1239. S.TopSurface=0
  1240. S.BottomSurface=0
  1241. S.Transparency=0
  1242. S.Anchored=true
  1243. S.CanCollide=false
  1244. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1245. S.Parent=Character
  1246. msh1.Parent = S
  1247. 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)
  1248. end
  1249.  
  1250. function DifferentEffect()
  1251. p=Instance.new("Part")
  1252. p.Name="FlameEm"
  1253. p.Shape=0
  1254. p.TopSurface=0
  1255. p.BottomSurface=0
  1256. p.BrickColor=BrickColor.new("White")
  1257. p.Anchored=true
  1258. p.CanCollide=false
  1259. p.Size=Vector3.new(1,1,1)
  1260. p.CFrame=CFrame.new(Character["Torso"].CFrame.p+Vector3.new(0,-3,0))+Vector3.new(math.random(-10,10)/3,0,math.random(-10,10)/3)
  1261. p.Parent=workspace
  1262. m=Instance.new("SpecialMesh")
  1263. m.MeshType="Sphere"
  1264. m.Parent=p
  1265. m.Scale=Vector3.new(1,1,1)
  1266. 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 swait(0) end p.Parent=nil end),p)
  1267. end
  1268.  
  1269. function ss(pitch)
  1270.  
  1271. local SlashSound = Instance.new("Sound")
  1272. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1273. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  1274. SlashSound.Parent = workspace
  1275. SlashSound.Volume = .7
  1276. SlashSound.Pitch = pitch
  1277. SlashSound.PlayOnRemove = true
  1278. coroutine.resume(coroutine.create(function()
  1279. swait(0)
  1280. SlashSound.Parent = nil
  1281. end))
  1282. end
  1283. function magicsound(pitch)
  1284.  
  1285. local SlashSound = Instance.new("Sound")
  1286. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1287. SlashSound.Parent = workspace
  1288. SlashSound.Volume = .5
  1289. SlashSound.Pitch = pitch
  1290. SlashSound.PlayOnRemove = true
  1291. coroutine.resume(coroutine.create(function()
  1292. swait(0)
  1293. SlashSound.Parent = nil
  1294. end))
  1295. end
  1296. function critsound(pitch)
  1297.  
  1298. local SlashSound = Instance.new("Sound")
  1299. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  1300. SlashSound.Parent = workspace
  1301. SlashSound.Volume = .7
  1302. SlashSound.Pitch = pitch
  1303. SlashSound.PlayOnRemove = true
  1304. coroutine.resume(coroutine.create(function()
  1305. swait(0)
  1306. SlashSound.Parent = nil
  1307. end))
  1308. end
  1309. function spikesound(pitch)
  1310.  
  1311. local SlashSound = Instance.new("Sound")
  1312. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  1313. SlashSound.Parent = workspace
  1314. SlashSound.Volume = .7
  1315. SlashSound.Pitch = pitch
  1316. SlashSound.PlayOnRemove = true
  1317. coroutine.resume(coroutine.create(function()
  1318. swait(0)
  1319. SlashSound.Parent = nil
  1320. end))
  1321. end
  1322.  
  1323. Damagefunc1=function(hit,Damage,Knockback)
  1324. if attackdebounce == false then
  1325. attackdebounce = true
  1326. coroutine.resume(coroutine.create(function()
  1327. swait(0.1)
  1328. attackdebounce = false
  1329. end))
  1330. if hit.Parent==nil then
  1331. return
  1332. end
  1333. CPlayer=Bin
  1334. h=hit.Parent:FindFirstChild("Humanoid")
  1335. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1336. if mana < 400 then
  1337. mana = mana + math.random(5,15)
  1338. end
  1339. if mana > 400 then
  1340. mana = 400
  1341. end
  1342. Damage=Damage
  1343. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1344. return
  1345. end]]
  1346. c=Instance.new("ObjectValue")
  1347. c.Name="creator"
  1348. c.Value=game.Players.LocalPlayer
  1349. c.Parent=h
  1350. game:GetService("Debris"):AddItem(c,.5)
  1351. -- print(c.Value)
  1352. if math.random(0,10)+math.random()<=10 then
  1353. CRIT=true
  1354. Damage=Damage*1.5
  1355. --[[ Knockback=Knockback*2
  1356. r=Instance.new("BodyAngularVelocity")
  1357. r.P=3000
  1358. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1359. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1360. r.Parent=hit.Parent.Torso]]
  1361. critsound(2)
  1362.  
  1363. end
  1364. Damage=Damage+math.random(0,10)
  1365. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1366. HitHealth=h.Health
  1367. h:TakeDamage(Damage)
  1368. if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 then
  1369. print("gained kill")
  1370. script.Parent.Kills.Value=script.Parent.Kills.Value+1
  1371. end
  1372. showDamage(hit.Parent,Damage,.5)
  1373. vp=Instance.new("BodyVelocity")
  1374. vp.P=500
  1375. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1376. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1377. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1378. if Knockback>0 then
  1379. vp.Parent=hit.Parent.Torso
  1380. end
  1381. game:GetService("Debris"):AddItem(vp,.25)
  1382. --[[ r=Instance.new("BodyAngularVelocity")
  1383. r.P=3000
  1384. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1385. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1386. r.Parent=hit.Parent.Torso]]
  1387. game:GetService("Debris"):AddItem(r,.5)
  1388. c=Instance.new("ObjectValue")
  1389. c.Name="creator"
  1390. c.Value=Player
  1391. c.Parent=h
  1392. game:GetService("Debris"):AddItem(c,.5)
  1393. CRIT=false
  1394. hitDeb=true
  1395. AttackPos=6
  1396. end
  1397. end
  1398. end
  1399.  
  1400. showDamage=function(Char,Dealt,du)
  1401. m=Instance.new("Model")
  1402. m.Name=tostring(Dealt)
  1403. h=Instance.new("Humanoid")
  1404. h.Health=0
  1405. h.MaxHealth=0
  1406. h.Parent=m
  1407. c=Instance.new("Part")
  1408. c.Transparency=0
  1409. c.BrickColor=BrickColor:Red()
  1410. if CRIT==true then
  1411. c.BrickColor=BrickColor.new("Really red")
  1412. end
  1413. c.Name="Head"
  1414. c.TopSurface=0
  1415. c.BottomSurface=0
  1416. c.formFactor="Plate"
  1417. c.Size=Vector3.new(1,.4,1)
  1418. ms=Instance.new("CylinderMesh")
  1419. ms.Scale=Vector3.new(.8,.8,.8)
  1420. if CRIT==true then
  1421. ms.Scale=Vector3.new(1.25,1.5,1.25)
  1422. end
  1423. ms.Parent=c
  1424. c.Reflectance=0
  1425. Instance.new("BodyGyro").Parent=c
  1426. c.Parent=m
  1427. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1428. f=Instance.new("BodyPosition")
  1429. f.P=2000
  1430. f.D=100
  1431. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1432. f.position=c.Position+Vector3.new(0,3,0)
  1433. f.Parent=c
  1434. game:GetService("Debris"):AddItem(m,.5+du)
  1435. c.CanCollide=false
  1436. m.Parent=workspace
  1437. c.CanCollide=false
  1438. end
  1439.  
  1440.  
  1441. hold = false
  1442.  
  1443. function ob1d(mouse)
  1444. if attack == true then return end
  1445. hold = true
  1446. if combo == 0 then
  1447. combo = 1
  1448. onehit()
  1449. coroutine.resume(coroutine.create(function()
  1450. swait(0.5)
  1451. if attack == false then
  1452. combo = 0
  1453. gairo.Parent = nil
  1454. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1455. Torso.Neck.C0=necko
  1456. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1457. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1458. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1459. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1460. end
  1461. end))
  1462. elseif combo == 1 then
  1463. combo = 2
  1464. twohit()
  1465. coroutine.resume(coroutine.create(function()
  1466. swait(0.5)
  1467. if attack == false then
  1468. combo = 0
  1469. gairo.Parent = nil
  1470. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1471. Torso.Neck.C0=necko
  1472. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1473. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1474. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1475. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1476. end
  1477. end))
  1478. elseif combo == 2 then
  1479. combo = 3
  1480. threehit()
  1481. coroutine.resume(coroutine.create(function()
  1482. swait(0.5)
  1483. if attack == false then
  1484. combo = 0
  1485. gairo.Parent = nil
  1486. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1487. Torso.Neck.C0=necko
  1488. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1489. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1490. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1491. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1492. end
  1493. end))
  1494. elseif combo == 3 then
  1495. combo = 4
  1496. fourhit()
  1497. coroutine.resume(coroutine.create(function()
  1498. swait(0.5)
  1499. if attack == false then
  1500. combo = 0
  1501. gairo.Parent = nil
  1502. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1503. Torso.Neck.C0=necko
  1504. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1505. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1506. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1507. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1508. end
  1509. end))
  1510. elseif combo == 4 then
  1511. combo = 5
  1512. fivehit()
  1513. combo = 0
  1514. coroutine.resume(coroutine.create(function()
  1515. swait(0.5)
  1516. if attack == false then
  1517. combo = 0
  1518. gairo.Parent = nil
  1519. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1520. Torso.Neck.C0=necko
  1521. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1522. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1523. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1524. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1525. end
  1526. end))
  1527. end
  1528. --[[onehit()
  1529. twohit()
  1530. threehit()
  1531. fourhit()
  1532. fivehit() ]]
  1533. end
  1534.  
  1535. function ob1u(mouse)
  1536. hold = false
  1537. end
  1538.  
  1539. buttonhold = false
  1540.  
  1541. function key(key)
  1542. if attack == true then return end
  1543. if key == "f" then
  1544. WindCharge()
  1545. end
  1546. if key == "g" then
  1547. restoring = true
  1548. Restore()
  1549. end
  1550. if key == "z" then
  1551. JetStream()
  1552. end
  1553. if key == "x" then
  1554. Stab()
  1555. end
  1556. if key == "r" then
  1557. WindKatanaWheelSpin()
  1558. end
  1559. if key == "t" then
  1560. SlashShockwave()
  1561. end
  1562. end
  1563.  
  1564. function key2(key)
  1565. if key == "g"then
  1566. restoring = false
  1567. end
  1568. if key == "z" then
  1569. charging = false
  1570. end
  1571. end
  1572.  
  1573. function s(mouse)
  1574. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1575. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1576. mouse.KeyDown:connect(key)
  1577. mouse.KeyUp:connect(key2)
  1578. player = Player
  1579. ch = Character
  1580. RSH = ch.Torso["Right Shoulder"]
  1581. LSH = ch.Torso["Left Shoulder"]
  1582. --
  1583. RW.Part0 = ch.Torso
  1584. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1585. RW.C1 = CFrame.new(0, 0.5, 0)
  1586. RW.Part1 = ch["Right Arm"]
  1587. RW.Parent = ch.Torso
  1588. --_G.R = RW
  1589. --
  1590. LW.Part0 = ch.Torso
  1591. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1592. LW.C1 = CFrame.new(0, 0.5, 0)
  1593. LW.Part1 = ch["Left Arm"]
  1594. LW.Parent = ch.Torso
  1595. --_G.L = LW
  1596. --
  1597. equipanim()
  1598. end
  1599.  
  1600. function ds(mouse)
  1601. hideanim()
  1602. RW.Parent = nil
  1603. LW.Parent = nil
  1604. RSH.Parent = player.Character.Torso
  1605. LSH.Parent = player.Character.Torso
  1606. end
  1607.  
  1608. Bin.Selected:connect(s)
  1609. Bin.Deselected:connect(ds)
  1610.  
  1611. function onRunning(speed)
  1612. if attack == true then return end
  1613. if speed>0 then
  1614. walking = true
  1615. for i = 0,1,0.1 do
  1616. swait()
  1617. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1618. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1619. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1620. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1621. end
  1622. else
  1623. walking = false
  1624. for i = 0,1,0.1 do
  1625. swait()
  1626. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1627. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1628. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1629. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1630. end
  1631.  
  1632. end
  1633. end
  1634. Character.Humanoid.Running:connect(onRunning)
  1635.  
  1636. while true do
  1637. swait(0)
  1638. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  1639. fentext.Text = "Mana("..mana..")"
  1640. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  1641. end
  1642.  
  1643. -- lego This acts as a chat filter. Don't ask why I do it. I just do >.>
  1644. --[[
  1645. Copyrighted (C) Fenrier/DrFlame 2011
  1646. This script is copyrighted for Fenrier. Any use of this script is breaking
  1647. this copyright.
  1648. All Rights Reserved.
  1649. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement