VoidScript

Op

Sep 4th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.71 KB | None | 0 0
  1. Ply = game.Players.LocalPlayer
  2. --FIXED WITH TRIGECTORY's CheatSheet--
  3. cheatsheetplr = game.Players.LocalPlayer
  4. i = Instance.new("NumberValue", cheatsheetplr )
  5. i.Name = "FPSCH"
  6. Bin = Instance.new("HopperBin", cheatsheetplr .Backpack)
  7. script.Parent = Bin
  8. local cf = CFrame.new
  9. local RbxUtility = LoadLibrary("RbxUtility")
  10. local Create = RbxUtility.Create
  11. RW = Create("Weld")({Name = "Right Shoulder", Part0 = Tor, C0 = CFrame.new(1.5, 0.5, 0), C1 = CFrame.new(0, 0.5,
  12.  
  13. 0), Part1 = RA, Parent = Tor})
  14. LW = Create("Weld")({Name = "Left Shoulder", Part0 = Tor, C0 = CFrame.new(-1.5, 0.5, 0), C1 = CFrame.new(0, 0.5,
  15.  
  16. 0), Part1 = LA, Parent = Tor})
  17. Player = game:GetService("Players").LocalPlayer
  18.  
  19. Character = Player.Character
  20.  
  21. PlayerGui = Player.PlayerGui
  22.  
  23. Backpack = Player.Backpack
  24.  
  25. Torso = Character.Torso
  26. mana=100
  27. Head = Character.Head
  28.  
  29. Humanoid = Character.Humanoid
  30.  
  31. LeftArm = Character["Left Arm"]
  32.  
  33. LeftLeg = Character["Left Leg"]
  34.  
  35. RightArm = Character["Right Arm"]
  36.  
  37. RightLeg = Character["Right Leg"]
  38.  
  39. LS = Torso["Left Shoulder"]
  40.  
  41. LH = Torso["Left Hip"]
  42.  
  43. RS = Torso["Right Shoulder"]
  44.  
  45. RH = Torso["Right Hip"]
  46.  
  47. Neck = Torso.Neck
  48.  
  49. it=Instance.new
  50.  
  51. vt=Vector3.new
  52.  
  53. cf=CFrame.new
  54.  
  55. euler=CFrame.fromEulerAnglesXYZ
  56.  
  57. angles=CFrame.Angles
  58.  
  59. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  60.  
  61. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  62.  
  63. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  64.  
  65. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  66.  
  67. attack = false
  68.  
  69. attacktype = 1
  70.  
  71. damage = 5
  72.  
  73. oridamage = 50
  74.  
  75. attackdebounce = false
  76.  
  77. ssdebounce=false
  78.  
  79. MMouse=nil
  80.  
  81. combo=0
  82.  
  83. magic=true
  84.  
  85. RootPart=Character.HumanoidRootPart
  86.  
  87. RootJoint=RootPart.RootJoint
  88.  
  89. RootCF=euler(-1.57,0,3.14)
  90.  
  91. --player
  92.  
  93. player = nil
  94.  
  95. --save shoulders
  96.  
  97. RSH, LSH = nil, nil
  98.  
  99. --welds
  100.  
  101. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  102.  
  103. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  104.  
  105.  
  106.  
  107.  
  108.  
  109. if Character:findFirstChild("Rapier",true) ~= nil then
  110.  
  111. Character:findFirstChild("Rapier",true).Parent = nil
  112.  
  113. end
  114.  
  115. if Character:findFirstChild("Block",true) ~= nil then
  116.  
  117. Character:findFirstChild("Block",true).Parent = nil
  118.  
  119. end
  120.  
  121.  
  122. if PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  123. PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  124. end
  125.  
  126.  
  127. local fengui = Instance.new("GuiMain")
  128. fengui.Parent = PlayerGui
  129. fengui.Name = "manaGUI"
  130. local fenframe = Instance.new("Frame")
  131. fenframe.Parent = fengui
  132. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  133. fenframe.BackgroundTransparency = 1
  134. fenframe.BorderColor3 = Color3.new(17,17,17)
  135. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  136. local fentext = Instance.new("TextLabel")
  137. fentext.Parent = fenframe
  138. fentext.Text = "Energy("..mana..")"
  139. fentext.BackgroundTransparency = 1
  140. fentext.SizeConstraint = "RelativeXY"
  141. fentext.TextXAlignment = "Center"
  142. fentext.TextYAlignment = "Center"
  143. fentext.Position = UDim2.new(0,80,1,200)
  144. local fentext2 = Instance.new("TextLabel")
  145. fentext2.Parent = fenframe
  146. fentext2.Text = " "
  147. fentext2.BackgroundTransparency = 0
  148. fentext2.BackgroundColor3 = Color3.new(0,0,0)
  149. fentext2.SizeConstraint = "RelativeXY"
  150. fentext2.TextXAlignment = "Center"
  151. fentext2.TextYAlignment = "Center"
  152. fentext2.Position = UDim2.new(0,10,1,170)
  153. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  154. local fentext3 = Instance.new("TextLabel")
  155. fentext3.Parent = fenframe
  156. fentext3.Text = " "
  157. fentext3.BackgroundTransparency = 0
  158. fentext3.BackgroundColor3 = Color3.new(1,1,0)
  159. fentext3.SizeConstraint = "RelativeXY"
  160. fentext3.TextXAlignment = "Center"
  161. fentext3.TextYAlignment = "Center"
  162. fentext3.Position = UDim2.new(0,10,1,170)
  163. fentext3.Size = UDim2.new(mana/100,0,0.400000006,0)
  164.  
  165. coroutine.resume(coroutine.create(function()
  166. while true do
  167. wait(.1)
  168. fentext3.Size = UDim2.new(mana/36,0,0.200000006,0)
  169. fentext.Text = "Luna..("..mana.."%)"
  170. fentext3.BackgroundColor3 = Color3.new(0.1,.1,.8)
  171. fentext.TextStrokeTransparency=0
  172. fentext.TextColor3=Color3.new(.1,1,0.8)
  173. end
  174. end))
  175. coroutine.resume(coroutine.create(function()
  176. while true do
  177. wait(0.1)
  178. if mana <= 0 and attack == false then
  179. attack = true
  180. while mana <= 10 do
  181. wait(0.1)
  182. mana = mana + 1
  183. end
  184. attack = false
  185. end
  186. if mana < 100 and attack == false then
  187. mana = mana + 1
  188. end
  189. end
  190. end))
  191.  
  192.  
  193. function part(formfactor,parent,reflectance,transparency,material,brickcolor,name,size)
  194.  
  195. local fp = it("Part")
  196.  
  197. fp.formFactor = formfactor
  198.  
  199. fp.Parent = parent
  200.  
  201. fp.Reflectance = reflectance
  202. fp.Material=material
  203. fp.Transparency = transparency
  204.  
  205. fp.CanCollide = false
  206.  
  207. fp.Locked=true
  208.  
  209. fp.BrickColor = brickcolor
  210.  
  211. fp.Name = name
  212.  
  213. fp.Size = size
  214.  
  215. fp.Position = Torso.Position
  216.  
  217. fp.BottomSurface="Smooth"
  218.  
  219. fp.TopSurface="Smooth"
  220.  
  221. fp:BreakJoints()
  222.  
  223. return fp
  224.  
  225. end
  226.  
  227.  
  228.  
  229. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  230.  
  231. local mesh = it(Mesh)
  232.  
  233. mesh.Parent = part
  234.  
  235. if Mesh=="SpecialMesh" then
  236.  
  237. mesh.MeshType = meshtype
  238.  
  239. mesh.MeshId = meshid
  240.  
  241. end
  242.  
  243. mesh.Offset=offset
  244.  
  245. mesh.Scale=scale
  246.  
  247. return mesh
  248.  
  249. end
  250.  
  251. function swait(num)
  252. if num==0 or num==nil then
  253. game:service'RunService'.RenderStepped:wait()
  254. else
  255. for i=0,num do
  256. game:service'RunService'.RenderStepped:wait()
  257. end
  258. end
  259. end
  260.  
  261. function weld(parent,part0,part1,c0)
  262.  
  263. local weld = it("Weld")
  264.  
  265. weld.Parent = parent
  266.  
  267. weld.Part0 = part0
  268.  
  269. weld.Part1 = part1
  270.  
  271. weld.C0 = c0
  272.  
  273. return weld
  274.  
  275. end
  276.  
  277.  
  278.  
  279. local modelzorz = Instance.new("Model")
  280.  
  281. modelzorz.Parent = Character
  282.  
  283. modelzorz.Name = "Rapier"
  284.  
  285.  
  286.  
  287. local prt1=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part1",vt(1,1,1))
  288.  
  289. local prt2=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part2",vt(1,1,1))
  290.  
  291. local prt3=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part3",vt(1,1,1))
  292.  
  293. local prt4=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part4",vt(1,1,1))
  294.  
  295. local prt5=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part5",vt(1,1,1))
  296.  
  297. local prt6=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part6",vt(1,1,1))
  298.  
  299. local prt7=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part7",vt(1,1,1))
  300.  
  301. local prt8=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part8",vt(1,1,1))
  302.  
  303. local prt9=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part9",vt(1,1,1))
  304.  
  305. local prt10=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part10",vt(1,1,1))
  306.  
  307. local prt11=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part11",vt(1,1,1))
  308.  
  309. local prt12=part(3,modelzorz,0,0,"Neon",BrickColor.new("Bright yellow"),"Part12",vt(1,1,1))
  310.  
  311. local prt13=part(3,modelzorz,0,1,"Neon",BrickColor.new("Bright yellow"),"Part13",vt(0.5,4,0.5))
  312.  
  313.  
  314.  
  315. local msh1=mesh("CylinderMesh",prt1,"","",vt(0,0,0),vt(0.2,1,0.2))
  316.  
  317. local msh2=mesh("SpecialMesh",prt2,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.2,0.5,0.2))
  318.  
  319. local msh3=mesh("SpecialMesh",prt3,"Sphere","",vt(0,0,0),vt(0.1,0.6,0.1))
  320.  
  321. local msh4=mesh("BlockMesh",prt4,"","",vt(0,0,0),vt(0.3,0.2,0.05))
  322.  
  323. local msh5=mesh("BlockMesh",prt5,"","",vt(0,0,0),vt(0.05,0.2,0.3))
  324.  
  325. local msh6=mesh("SpecialMesh",prt6,"Sphere","",vt(0,0,0),vt(0.4,0.4,0.4))
  326.  
  327. local msh7=mesh("CylinderMesh",prt7,"","",vt(0,0,0),vt(0.1,0.5,0.1))
  328.  
  329. local msh8=mesh("CylinderMesh",prt8,"","",vt(0,0,0),vt(0.4,0.5,0.4))
  330.  
  331. local msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(0.3,0.05,0.3))
  332.  
  333. local msh10=mesh("BlockMesh",prt10,"","",vt(0,0,0),vt(0.2,0.1,0.2))
  334.  
  335. local msh11=mesh("SpecialMesh",prt11,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.2,1,0.2))
  336.  
  337. local msh12=mesh("SpecialMesh",prt12,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.2,3,0.2))
  338.  
  339. local msh13=mesh("BlockMesh",prt13,"","",vt(0,0,0),vt(1,1,1))
  340.  
  341.  
  342.  
  343. local wld1=weld(prt1,prt1,Torso,euler(-2,0,0)*cf(1,0.5,1.5))
  344.  
  345. local wld2=weld(prt2,prt2,prt1,cf(0,0.3,0))
  346.  
  347. local wld3=weld(prt3,prt3,prt2,cf(0,0.3,0))
  348.  
  349. local wld4=weld(prt4,prt4,prt2,cf(0,0.3,0))
  350.  
  351. local wld5=weld(prt5,prt5,prt2,cf(0,0.3,0))
  352.  
  353. local wld6=weld(prt6,prt6,prt1,cf(0,-0.5,0))
  354.  
  355. local wld7=weld(prt7,prt7,prt6,cf(0,-0.25,0))
  356.  
  357. local wld8=weld(prt8,prt8,prt7,cf(0,0,0))
  358.  
  359. local wld9=weld(prt9,prt9,prt7,cf(0,-0.3,0))
  360.  
  361. local wld10=weld(prt10,prt10,prt9,cf(0,-0.05,0))
  362.  
  363. local wld11=weld(prt11,prt11,prt10,cf(0,-0.5,0))
  364.  
  365. local wld12=weld(prt12,prt12,prt11,cf(0,-1.5,0))
  366.  
  367. local wld13=weld(prt13,prt13,prt12,cf(0,0,0))
  368.  
  369.  
  370.  
  371. numb=0
  372.  
  373. for i=1,4 do
  374.  
  375. local prt13=part(3,modelzorz,0,0,"SmoothPlastic",BrickColor.new("Really black"),"Part13",vt(1,1,1))
  376.  
  377. local prt14=part(3,modelzorz,0,0,"SmoothPlastic",BrickColor.new("Really black"),"Part14",vt(1,1,1))
  378.  
  379. local prt15=part(3,modelzorz,0,0,"SmoothPlastic",BrickColor.new("Really black"),"Part15",vt(1,1,1))
  380.  
  381. local prt16=part(3,modelzorz,0,0,"SmoothPlastic",BrickColor.new("Really black"),"Part16",vt(1,1,1))
  382.  
  383.  
  384.  
  385. local msh13=mesh("SpecialMesh",prt13,"Wedge","",vt(0,0,0),vt(0.05,0.5,0.5))
  386.  
  387. local msh14=mesh("SpecialMesh",prt14,"Wedge","",vt(0,0,0),vt(0.051,0.5,0.3))
  388.  
  389. local msh15=mesh("BlockMesh",prt15,"","",vt(0,0,0),vt(0.052,0.3,0.2))
  390.  
  391. local msh16=mesh("SpecialMesh",prt16,"Wedge","",vt(0,0,0),vt(0.051,0.5,0.5))
  392.  
  393.  
  394.  
  395. local wld13=weld(prt13,prt13,prt6,euler(0,0,3.14)*cf(0,0.2,0.3)*euler(0,numb,0))
  396.  
  397. local wld14=weld(prt14,prt14,prt13,euler(-0.3,0,3.14)*cf(0,0.4,0.2))
  398.  
  399. local wld15=weld(prt15,prt15,prt14,euler(-0.2,0,0)*cf(0,-0.3,-0.1))
  400.  
  401. local wld16=weld(prt16,prt16,prt15,euler(0.5,0,0)*cf(0,-0.3,0))
  402.  
  403.  
  404.  
  405. numb=numb+1.57
  406.  
  407. end
  408.  
  409.  
  410.  
  411. numb=0
  412.  
  413. color="Bright red"
  414.  
  415. for i=1,6 do
  416.  
  417. if i==1 then color="White" elseif i==2 then color="Bright blue" elseif i==3 then color="Bright green" elseif i==4 then color="Black" elseif i==5 then color="Bright red" elseif i==6 then color="Bright yellow" end
  418.  
  419. local prt17=part(3,modelzorz,0,0,"SmoothPlastic",BrickColor.new(color),"Part17",vt(1,1,1))
  420.  
  421.  
  422.  
  423. local msh17=mesh("BlockMesh",prt17,"","",vt(0,0,0),vt(0.1,0.2,0.1))
  424.  
  425.  
  426.  
  427. local wld17=weld(prt17,prt17,prt7,cf(0.15,0.13,0)*euler(0,numb,0))
  428.  
  429.  
  430.  
  431. numb=numb+1.046
  432.  
  433. end
  434.  
  435. Bin = script.Parent
  436.  
  437.  
  438.  
  439. local bg = it("BodyGyro")
  440.  
  441. bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  442.  
  443. bg.P = 20e+003
  444.  
  445. bg.Parent = nil
  446.  
  447. bp=it("BodyPosition")
  448.  
  449. bp.P=2000
  450.  
  451. bp.D=100
  452.  
  453. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  454.  
  455.  
  456.  
  457. so = function(id,par,dong,pit)
  458.  
  459. coroutine.resume(coroutine.create(function()
  460.  
  461. local sou = Instance.new("Sound",par or workspace)
  462.  
  463. sou.Volume=1
  464.  
  465. sou.Pitch=pit or 1
  466.  
  467. sou.SoundId=id
  468.  
  469. swait()
  470.  
  471. sou:play()
  472.  
  473. wait(6)
  474.  
  475. sou:Remove()
  476.  
  477. end))
  478.  
  479. end
  480.  
  481.  
  482.  
  483. function unequipweld()
  484.  
  485. wld1.Part1=Torso
  486.  
  487. wld1.C0=euler(-2,0,0)*cf(1,0.5,1.5)
  488.  
  489. end
  490.  
  491.  
  492.  
  493. function equipweld()
  494.  
  495. wld1.Part1=LeftArm
  496.  
  497. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  498.  
  499. end
  500.  
  501.  
  502.  
  503. function hideanim()
  504.  
  505. equipped=false
  506.  
  507. wait(0.1)
  508.  
  509. Torso.Neck.C0=necko
  510.  
  511. RootJoint.C0=RootCF
  512.  
  513. unequipweld()
  514.  
  515. end
  516.  
  517.  
  518.  
  519. function equipanim()
  520.  
  521. equipped=true
  522.  
  523. wait(0.1)
  524.  
  525. equipweld()
  526.  
  527. Torso.Neck.C0=necko*euler(0,0,1)
  528.  
  529. RootJoint.C0=RootCF*euler(0,0,-1)
  530.  
  531. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.3)
  532.  
  533. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  534.  
  535. LW.C0=cf(-1.5, 0.5, 0) * euler(0.5,-1.57,0)
  536.  
  537. LW.C1=cf(0, 0.5, 0) * euler(0.2,0,0)
  538.  
  539. end
  540.  
  541.  
  542.  
  543. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  544.  
  545. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  546.  
  547. end
  548.  
  549.  
  550.  
  551. function oneslash()
  552.  
  553. attack=true
  554.  
  555. for i=0,1,0.1 do
  556.  
  557. swait()
  558.  
  559. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(0.5+1.5*i,-1.57+0.2*i,0)
  560.  
  561. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.8*i,0,0)
  562.  
  563. end
  564.  
  565. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  566.  
  567. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  568.  
  569. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  570.  
  571. for i=0,1,0.2 do
  572.  
  573. swait()
  574.  
  575. Torso.Neck.C0=necko*euler(0,0,1-2*i)
  576.  
  577. RootJoint.C0=RootCF*euler(0,0,-1+2*i)
  578.  
  579. wld1.C0=euler(1.57+1*i,0,0)*cf(0,1,0)
  580.  
  581. LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(2-0.5*i,-1.37,0)
  582.  
  583. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.8+1.6*i,0,0)
  584.  
  585. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  586.  
  587. local Point2 = prt12.CFrame
  588.  
  589. effect("White",0.5,0.1,LastPoint,Point)
  590.  
  591. LastPoint = Point
  592.  
  593. end
  594.  
  595. con1:disconnect()
  596.  
  597. attack=false
  598.  
  599. end
  600.  
  601.  
  602.  
  603. function twoslash()
  604.  
  605. attack=true
  606.  
  607. for i=0,1,0.1 do
  608.  
  609. swait()
  610.  
  611. RootJoint.C0=RootCF*euler(0,0,1+3.14*i)
  612.  
  613. wld1.C0=euler(1.57+1-1*i,0,0)*cf(0,1,0)
  614.  
  615. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(1.5+0.07*i,-1.37-0.2*i,0)
  616.  
  617. LW.C1=cf(0, 0.5, 0) * euler(1-2*i,0,0)
  618.  
  619. end
  620.  
  621. so("http://roblox.com/asset/?id=10209640",prt12,1,1.1)
  622.  
  623. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  624.  
  625. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  626.  
  627. for i=0,1,0.2 do
  628.  
  629. swait()
  630.  
  631. RootJoint.C0=RootCF*euler(0,0,1+3.14+3.14*i)
  632.  
  633. wld1.C0=euler(1.57+1*i,0,0)*cf(0,1,0)
  634.  
  635. LW.C0=cf(-1.5+0.5-0.5*i, 0.5, -0.5+0.5*i) * euler(1.57,-1.57,0)
  636.  
  637. LW.C1=cf(0, 0.5, 0) * euler(-1+2*i,0,0)
  638.  
  639. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  640.  
  641. effect("White",0.5,0.1,LastPoint,Point)
  642.  
  643. LastPoint = Point
  644.  
  645. end
  646.  
  647. con1:disconnect()
  648.  
  649. attack=false
  650.  
  651. end
  652.  
  653.  
  654.  
  655. function threeslash()
  656.  
  657. attack=true
  658.  
  659. for i=0,1,0.1 do
  660.  
  661. swait()
  662.  
  663. RootJoint.C0=RootCF*euler(0,0,1-1*i)
  664.  
  665. Torso.Neck.C0=necko*euler(0,0,-1+1*i)
  666.  
  667. wld1.C0=euler(1.57+1-1*i,0,0)*cf(0,1,0)
  668.  
  669. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57+3.64*i,-1.57+1*i,0)
  670.  
  671. LW.C1=cf(0, 0.5, 0) * euler(1,0,0)
  672.  
  673. end
  674.  
  675. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  676.  
  677. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  678.  
  679. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  680.  
  681. for i=0,1,0.2 do
  682.  
  683. swait()
  684.  
  685. RootJoint.C0=RootCF*euler(0,0,-1*i)
  686.  
  687. Torso.Neck.C0=necko*euler(0,0,1*i)
  688.  
  689. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(5.21-0.3*i,-0.57,0)
  690.  
  691. LW.C1=cf(0, 0.5, 0) * euler(1+4*i,0,0)
  692.  
  693. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  694.  
  695. effect("White",0.5,0.1,LastPoint,Point)
  696.  
  697. LastPoint = Point
  698.  
  699. end
  700.  
  701. con1:disconnect()
  702.  
  703. attack=false
  704.  
  705. end
  706.  
  707.  
  708.  
  709. function fourslash()
  710.  
  711. attack=true
  712.  
  713. so("rbxasset://sounds\\swordlunge.wav",prt12,1,1.5)
  714.  
  715. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  716.  
  717. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,15,10) end)
  718.  
  719. for i=0,1,0.2 do
  720.  
  721. swait()
  722.  
  723. RootJoint.C0=RootCF*euler(0,0,-1-0.57*i)
  724.  
  725. Torso.Neck.C0=necko*euler(0,0,1+0.57*i)
  726.  
  727. wld1.C0=euler(1.57+1*i,0,0)*cf(0,1,0)
  728.  
  729. LW.C0=cf(-1.5+0.5-0.5*i, 0.5, -0.5+0.5*i) * euler(4.91+1.57*i,-0.57+0.57*i,0)
  730.  
  731. LW.C1=cf(0, 0.5, 0) * euler(5,-1.57*i,0)
  732.  
  733. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  734.  
  735. effect("White",0.5,0.1,LastPoint,Point)
  736.  
  737. LastPoint = Point
  738.  
  739. end
  740.  
  741. for i=0,1,0.2 do
  742.  
  743. swait()
  744.  
  745. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  746.  
  747. effect("White",0.5,0.1,LastPoint,Point)
  748.  
  749. LastPoint = Point
  750.  
  751. end
  752.  
  753. con1:disconnect()
  754.  
  755. attack=false
  756.  
  757. end
  758.  
  759.  
  760.  
  761. function FlameBarrage()
  762. if mana>=0 then mana=mana-0 else return end
  763. attack=true
  764.  
  765. magic=true
  766.  
  767. for i=0,1,0.1 do
  768.  
  769. swait()
  770.  
  771. Torso.Neck.C0=necko*euler(0.5*i,0,1-1*i)
  772.  
  773. wld1.C0=euler(1.57+0.2*i,0,0)*cf(0,1,0)
  774.  
  775. RW.C0=cf(1.5-1*i, 0.5, -0.5*i) * euler(1*i,0,0.3-1*i)
  776.  
  777. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  778.  
  779. LW.C0=cf(-1.5, 0.5, 0) * euler(0.5+0.5*i,-1.57,0)
  780.  
  781. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.4*i,0,0)
  782.  
  783. end
  784.  
  785. for i=0,1,0.1 do
  786.  
  787. swait()
  788.  
  789. RW.C0=cf(1.5-1, 0.5, -0.5) * euler(1-0.4*i,0,0.3-1)
  790.  
  791. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  792.  
  793. wld7.C0=wld7.C0*euler(0,-0.2,0)
  794.  
  795. so("http://roblox.com/asset/?id=28445431",prt7,1,20)
  796.  
  797. end
  798.  
  799. coroutine.resume(coroutine.create(function()
  800.  
  801. for i=1,10 do
  802.  
  803. so("http://roblox.com/asset/?id=131382140",prt12,1,10)
  804.  
  805. wait(0)
  806.  
  807. end
  808.  
  809. end))
  810.  
  811. reffect=prt12:Clone()
  812.  
  813. reffect.Parent=modelzorz
  814.  
  815. reffect.Transparency=1
  816.  
  817. reffect.Mesh.Scale=vt(0.3,3,0.3)
  818.  
  819. reffect.BrickColor=BrickColor.new("Bright red")
  820.  
  821. local efwld=weld(reffect,reffect,prt12,cf(0,-0.4,0))
  822.  
  823. coroutine.resume(coroutine.create(function(Part)
  824.  
  825. for i=0,1,0.1 do
  826.  
  827. swait()
  828.  
  829. Part.Transparency=Part.Transparency-0.05
  830.  
  831. end
  832.  
  833. while magic==true do
  834.  
  835. swait()
  836.  
  837. MagicBlock(BrickColor.new("Bright red"),prt12.CFrame*cf((math.random()/4)-(math.random()/4),math.random(-2,1)+math.random(),(math.random()/4)-(math.random()/4)),.5,.5,.5,.05,.05,.05)
  838.  
  839. end
  840.  
  841. for i=0,1,0.1 do
  842.  
  843. swait()
  844.  
  845. Part.Transparency=Part.Transparency+0.1
  846.  
  847. end
  848.  
  849. Part.Parent=nil
  850.  
  851. end),reffect)
  852.  
  853. for i=0,1,0.05 do
  854.  
  855. swait()
  856.  
  857. Torso.Neck.C0=necko*euler(0.5-0.5*i,0,1*i)
  858.  
  859. RW.C0=cf(1.5-1+0.5*i, 0.5, -0.5+0.3*i) * euler(0.6,0,-0.7)
  860.  
  861. RW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)
  862.  
  863. LW.C0=cf(-1.5, 0.5, 0) * euler(1+0.2*i,-1.57,0)
  864.  
  865. LW.C1=cf(0, 0.5, 0) * euler(-0.2-0.2*i,0,0)
  866.  
  867. end
  868.  
  869. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  870.  
  871. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  872.  
  873. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  874.  
  875. for i=1,3 do
  876.  
  877. so("http://roblox.com/asset/?id=130865054",Torso,1,1.5)
  878.  
  879. end
  880.  
  881. for i=0,0.2,0.1 do
  882.  
  883. swait()
  884.  
  885. RootJoint.C0=RootCF*euler(0,0,-1+7.28*i)
  886.  
  887. Torso.Neck.C0=necko*euler(0,0,1-1*i)
  888.  
  889. RW.C0=cf(1.5-0.5, 0.5, -0.5+0.3-0.3*i) * euler(0.6,0,-0.7-0.5*i)
  890.  
  891. RW.C1=cf(0, 0.5, 0) * euler(-0.4,0,0)
  892.  
  893. LW.C0=cf(-1.5, 0.5, 0) * euler(1.2+0.37*i,-1.57,0)
  894.  
  895. LW.C1=cf(0, 0.5, 0) * euler(-0.4+2.4*i,0,0)
  896.  
  897. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  898.  
  899. effect("Bright red",0.5,0.3,LastPoint,Point)
  900.  
  901. LastPoint = Point
  902.  
  903. end
  904.  
  905. local exprt=part(3,modelzorz,0,1,"SmoothPlastic",BrickColor.new("Bright red"),"Explosion Part",vt(1,1,1))
  906.  
  907. exprt.Anchored=true
  908.  
  909. exprt.CFrame=RootPart.CFrame*cf(0,0,-7)
  910.  
  911. so("http://www.roblox.com/asset/?id=2101148",exprt,1,0.6)
  912.  
  913. game:GetService("Debris"):AddItem(exprt,1)
  914.  
  915. MagicCircle(BrickColor.new("Bright red"),exprt.CFrame,3,3,3,3,3,3)
  916.  
  917. for i=1,10 do
  918.  
  919. MagicRing(BrickColor.new("Bright red"),exprt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),3,3,0.1,1,1,0.05)
  920.  
  921. end
  922.  
  923. local c = game.Workspace:GetChildren()
  924.  
  925. for i = 1, #c do
  926.  
  927. local hum = c[i]:findFirstChild("Humanoid")
  928.  
  929. if hum ~= nil and hum.Health ~= 0 then
  930.  
  931. local head = c[i]:findFirstChild("Head")
  932.  
  933. if head ~= nil then
  934.  
  935. local targ = head.Position - exprt.Position
  936.  
  937. local mag = targ.magnitude
  938.  
  939. if mag <= 10 and c[i].Name ~= Player.Name then
  940.  
  941. attackdebounce=false
  942.  
  943. Damagefunc1(head,30,50)
  944.  
  945. end
  946.  
  947. end
  948.  
  949. end
  950.  
  951. end
  952.  
  953. for i=0.2,1,0.1 do
  954.  
  955. swait()
  956.  
  957. RootJoint.C0=RootCF*euler(0,0,-1+7.28*i)
  958.  
  959. Torso.Neck.C0=necko*euler(0,0,1-1*i)
  960.  
  961. RW.C0=cf(1.5-0.5, 0.5, -0.5+0.3-0.3*i) * euler(0.6,0,-0.7-0.5*i)
  962.  
  963. RW.C1=cf(0, 0.5, 0) * euler(-0.4,0,0)
  964.  
  965. LW.C0=cf(-1.5, 0.5, 0) * euler(1.2+0.37*i,-1.57,0)
  966.  
  967. LW.C1=cf(0, 0.5, 0) * euler(-0.4+2.4*i,0,0)
  968.  
  969. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  970.  
  971. effect("Bright red",0.5,0.3,LastPoint,Point)
  972.  
  973. LastPoint = Point
  974.  
  975. end
  976.  
  977. con1:disconnect()
  978.  
  979. for i=0,1,0.1 do
  980.  
  981. swait()
  982.  
  983. RootJoint.C0=RootCF*euler(0,0,1*i)
  984.  
  985. Torso.Neck.C0=necko*euler(0,0,-1*i)
  986.  
  987. wld1.C0=euler(1.77-1.2*i,0,0)*cf(0,1,0)
  988.  
  989. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(0.6,0,-1.2)
  990.  
  991. RW.C1=cf(0, 0.5, 0) * euler(-0.4,0,0)
  992.  
  993. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,-1.57,0)
  994.  
  995. LW.C1=cf(0, 0.5, 0) * euler(2-0.43*i,0,0)
  996.  
  997. end
  998.  
  999. so("rbxasset://sounds\\swordlunge.wav",prt12,1,1.2)
  1000.  
  1001. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1002.  
  1003. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,20,30) end)
  1004.  
  1005. for i=0,1,0.2 do
  1006.  
  1007. swait()
  1008.  
  1009. RootJoint.C0=RootCF*euler(0,0,1-2.57*i)
  1010.  
  1011. Torso.Neck.C0=necko*euler(0,0,-1+2.57*i)
  1012.  
  1013. wld1.C0=euler(0.57+2.57*i,0,0)*cf(0,1,0)
  1014.  
  1015. RW.C0=cf(1.5-0.5+0.5*i, 0.5, -0.5+0.5*i) * euler(0.6,0,-1.2+2.4*i)
  1016.  
  1017. RW.C1=cf(0, 0.5, 0) * euler(-0.4,0,0)
  1018.  
  1019. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,-1.57,0)
  1020.  
  1021. LW.C1=cf(0, 0.5, 0) * euler(1.57,0,0)
  1022.  
  1023. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1024.  
  1025. effect("Bright red",0.5,0.3,LastPoint,Point)
  1026.  
  1027. LastPoint = Point
  1028.  
  1029. end
  1030.  
  1031. con1:disconnect()
  1032.  
  1033. numb=-7
  1034.  
  1035. for i=1,3 do
  1036.  
  1037. local exprt=part(3,modelzorz,0,1,"SmoothPlastic",BrickColor.new("Bright red"),"Explosion Part",vt(1,1,1))
  1038.  
  1039. exprt.Anchored=true
  1040.  
  1041. exprt.CFrame=RootPart.CFrame*cf(0,0,numb)
  1042.  
  1043. so("http://www.roblox.com/asset/?id=2101148",exprt,1,1)
  1044.  
  1045. game:GetService("Debris"):AddItem(exprt,1)
  1046.  
  1047. MagicCircle(BrickColor.new("Bright red"),exprt.CFrame,3,3,3,3,3,3)
  1048.  
  1049. coroutine.resume(coroutine.create(function(Part)
  1050.  
  1051. for i=1,4 do
  1052.  
  1053. MagicBlock(BrickColor.new("Bright red"),Part.CFrame,7,7,7,3,3,3)
  1054.  
  1055. wait(0.1)
  1056.  
  1057. end
  1058.  
  1059. end),exprt)
  1060.  
  1061. local c = game.Workspace:GetChildren()
  1062.  
  1063. for i = 1, #c do
  1064.  
  1065. local hum = c[i]:findFirstChild("Humanoid")
  1066.  
  1067. if hum ~= nil and hum.Health ~= 0 then
  1068.  
  1069. local head = c[i]:findFirstChild("Head")
  1070.  
  1071. if head ~= nil then
  1072.  
  1073. local targ = head.Position - exprt.Position
  1074.  
  1075. local mag = targ.magnitude
  1076.  
  1077. if mag <= 10 and c[i].Name ~= Player.Name then
  1078.  
  1079. attackdebounce=false
  1080.  
  1081. Damagefunc1(head,15,50)
  1082.  
  1083. end
  1084.  
  1085. end
  1086.  
  1087. end
  1088.  
  1089. end
  1090.  
  1091. numb=numb-7
  1092.  
  1093. wait(0.2)
  1094.  
  1095. end
  1096.  
  1097. wait(1)
  1098.  
  1099. Torso.Neck.C0=necko*euler(0,0,1)
  1100.  
  1101. RootJoint.C0=RootCF*euler(0,0,-1)
  1102.  
  1103. magic=false
  1104.  
  1105. attack=false
  1106.  
  1107. end
  1108.  
  1109.  
  1110.  
  1111. function IcePrison()
  1112. if mana>=0 then mana=mana-0 else return end
  1113. attack=true
  1114.  
  1115. magic=true
  1116.  
  1117. for i=0,1,0.1 do
  1118.  
  1119. swait()
  1120.  
  1121. Torso.Neck.C0=necko*euler(0,0,1-1*i)
  1122.  
  1123. RootJoint.C0=RootCF*euler(0,0,-1+1*i)
  1124.  
  1125. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  1126.  
  1127. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1.9*i,0,0.3-0.8*i)
  1128.  
  1129. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1130.  
  1131. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(0.5+1.07*i,-1.57+1.57*i,0.7*i)
  1132.  
  1133. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.2*i,0,0)
  1134.  
  1135. end
  1136.  
  1137. for i=0,1,0.1 do
  1138.  
  1139. swait()
  1140.  
  1141. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.9,0,-0.5-0.2*i)
  1142.  
  1143. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1144.  
  1145. wld7.C0=wld7.C0*euler(0,0.2,0)
  1146.  
  1147. so("http://roblox.com/asset/?id=28445431",prt7,1,20)
  1148.  
  1149. end
  1150.  
  1151. reffect=prt12:Clone()
  1152.  
  1153. reffect.Parent=modelzorz
  1154.  
  1155. reffect.Transparency=1
  1156.  
  1157. reffect.Mesh.Scale=vt(0.3,3,0.3)
  1158.  
  1159. reffect.BrickColor=BrickColor.new("Bright blue")
  1160.  
  1161. local efwld=weld(reffect,reffect,prt12,cf(0,-0.4,0))
  1162.  
  1163. coroutine.resume(coroutine.create(function(Part)
  1164.  
  1165. for i=0,1,0.1 do
  1166.  
  1167. swait()
  1168.  
  1169. Part.Transparency=Part.Transparency-0.05
  1170.  
  1171. end
  1172.  
  1173. while magic==true do
  1174.  
  1175. swait()
  1176.  
  1177. MagicBlock(BrickColor.new("Bright blue"),prt12.CFrame*cf((math.random()/4)-(math.random()/4),math.random(-2,1)+math.random(),(math.random()/4)-(math.random()/4)),.5,.5,.5,.05,.05,.05)
  1178.  
  1179. end
  1180.  
  1181. for i=0,1,0.1 do
  1182.  
  1183. swait()
  1184.  
  1185. Part.Transparency=Part.Transparency+0.1
  1186.  
  1187. end
  1188.  
  1189. Part.Parent=nil
  1190.  
  1191. end),reffect)
  1192.  
  1193. for i=1,3 do
  1194.  
  1195. so("http://roblox.com/asset/?id=25605551",prt12,1,1)
  1196.  
  1197. end
  1198.  
  1199. wait(0.5)
  1200.  
  1201. for i=0,1,0.1 do
  1202.  
  1203. swait()
  1204.  
  1205. wld1.C0=euler(1.57+1*i,0,0)*cf(0,1,0)
  1206.  
  1207. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.9-0.6*i,0,-0.7)
  1208.  
  1209. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1210.  
  1211. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(1.57-0.57*i,0,0.7-0.2*i)
  1212.  
  1213. LW.C1=cf(0, 0.5, 0) * euler(0,1.57*i,0)
  1214.  
  1215. end
  1216.  
  1217. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1218.  
  1219. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1220.  
  1221. for i=1,3 do
  1222.  
  1223. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  1224.  
  1225. for i=0,1,0.2 do
  1226.  
  1227. swait()
  1228.  
  1229. RootJoint.C0=RootCF*euler(0,0,6.32*i)
  1230.  
  1231. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1232.  
  1233. effect("Bright blue",0.5,0.3,LastPoint,Point)
  1234.  
  1235. LastPoint = Point
  1236.  
  1237. end
  1238.  
  1239. end
  1240.  
  1241. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  1242.  
  1243. for i=0,1,0.2 do
  1244.  
  1245. swait()
  1246.  
  1247. RootJoint.C0=RootCF*euler(0,0,3.14*i)
  1248.  
  1249. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1250.  
  1251. effect("Bright blue",0.5,0.3,LastPoint,Point)
  1252.  
  1253. LastPoint = Point
  1254.  
  1255. end
  1256.  
  1257. con1:disconnect()
  1258.  
  1259. for i=0,1,0.1 do
  1260.  
  1261. swait()
  1262.  
  1263. wld1.C0=euler(2.57-1*i,3.14*i,0)*cf(0,1,0)
  1264.  
  1265. RootJoint.C0=RootCF*euler(0,0,3.14+3.14*i)
  1266.  
  1267. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.3+1.2*i,0,-0.7)
  1268.  
  1269. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1270.  
  1271. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(1+1.5*i,0,0.5+0.2*i)
  1272.  
  1273. LW.C1=cf(0, 0.5, 0) * euler(0,1.57-1.57*i,0)
  1274.  
  1275. end
  1276.  
  1277. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1278.  
  1279. so("http://roblox.com/asset/?id=10209640",prt12,1,1.1)
  1280.  
  1281. bg.Parent=Torso
  1282.  
  1283. bg.cframe=Torso.CFrame
  1284.  
  1285. local bp = Instance.new("BodyPosition")
  1286.  
  1287. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1288.  
  1289. bp.P = 10000
  1290.  
  1291. local CF = Torso.CFrame
  1292.  
  1293. bp.position = CF.p
  1294.  
  1295. bp.Parent=Torso
  1296.  
  1297. for i=0,1,0.2 do
  1298.  
  1299. swait()
  1300.  
  1301. bp.position = CF.p - Vector3.new(0,1.5,0)
  1302.  
  1303. Torso["Left Hip"].C0=LHC0*cf(-0.7*i,1.2*i,0)
  1304.  
  1305. Torso["Right Hip"].C0=RHC0*cf(0,1.2*i,0)*euler(0,0,-0.5*i)
  1306.  
  1307. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(2.5-1*i,0,-0.7)
  1308.  
  1309. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1310.  
  1311. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(2.5-1*i,0,0.7)
  1312.  
  1313. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1314.  
  1315. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1316.  
  1317. effect("Bright blue",0.5,0.3,LastPoint,Point)
  1318.  
  1319. LastPoint = Point
  1320.  
  1321. end
  1322.  
  1323. numb=-3
  1324.  
  1325. numb2=0
  1326.  
  1327. for i=1,70 do
  1328.  
  1329. local exprt=part(3,modelzorz,0,1,"SmoothPlastic",BrickColor.new("Bright red"),"Explosion Part",vt(1,1,1))
  1330.  
  1331. exprt.Anchored=true
  1332.  
  1333. exprt.CFrame=RootPart.CFrame*cf(numb2,0,numb)
  1334.  
  1335. so("http://www.roblox.com/asset/?id=32656754",exprt,0.5,1)
  1336.  
  1337. game:GetService("Debris"):AddItem(exprt,3)
  1338.  
  1339. for i=1,5 do
  1340.  
  1341. --Icicle(exprt.CFrame*euler(math.random(-2,1)+math.random(),0,math.random(-2,1)+math.random()),2,5,2)
  1342.  
  1343. MagicFreeze(BrickColor.new("Bright blue"),exprt.CFrame*cf(0,-3,0),1,1,1,3,5,3)
  1344.  
  1345. end
  1346.  
  1347. local c = game.Workspace:GetChildren()
  1348.  
  1349. for i = 1, #c do
  1350.  
  1351. local hum = c[i]:findFirstChild("Humanoid")
  1352.  
  1353. if hum ~= nil and hum.Health ~= 0 then
  1354.  
  1355. local head = c[i]:findFirstChild("Head")
  1356.  
  1357. if head ~= nil then
  1358.  
  1359. local targ = head.Position - exprt.Position
  1360.  
  1361. local mag = targ.magnitude
  1362.  
  1363. if mag <= 5 and c[i].Name ~= Player.Name then
  1364.  
  1365. attackdebounce=false
  1366.  
  1367. freezeDamagefunc(head,10,10)
  1368.  
  1369. end
  1370.  
  1371. end
  1372.  
  1373. end
  1374.  
  1375. end
  1376.  
  1377. numb=numb-1
  1378.  
  1379. if numb2==1 then
  1380.  
  1381. wait(0)
  1382.  
  1383. numb2=0
  1384.  
  1385. end
  1386.  
  1387. numb2=numb2+1
  1388.  
  1389. end
  1390.  
  1391. wait(0.5)
  1392.  
  1393. bg.Parent=nil
  1394.  
  1395. bp.Parent=nil
  1396.  
  1397. Torso["Left Hip"].C0=LHC0
  1398.  
  1399. Torso["Right Hip"].C0=RHC0
  1400.  
  1401. Torso.Neck.C0=necko*euler(0,0,1)
  1402.  
  1403. RootJoint.C0=RootCF*euler(0,0,-1)
  1404.  
  1405. magic=false
  1406.  
  1407. attack=false
  1408.  
  1409. end
  1410. function DarkWave()
  1411. if mana>=0 then print('yaya') else return end
  1412. attack=true
  1413. magic=true
  1414. for i=0,1,0.1 do
  1415. swait()
  1416. Torso.Neck.C0=necko*euler(0.5*i,0,1-1*i)
  1417. wld1.C0=euler(1.57+0.2*i,0,0)*cf(0,1,0)
  1418. RW.C0=cf(1.5-1*i, 0.5, -0.5*i) * euler(1*i,0,0.3-1*i)
  1419. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1420. LW.C0=cf(-1.5, 0.5, 0) * euler(0.5+0.5*i,-1.57,0)
  1421. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.4*i,0,0)
  1422. end
  1423. for i=0,1,0.1 do
  1424. swait()
  1425. RW.C0=cf(1.5-1, 0.5, -0.5) * euler(1-0.4*i,0,0.3-1)
  1426. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1427. wld7.C0=wld7.C0*euler(0,-0.2,0)
  1428. so("http://roblox.com/asset/?id=28445431",prt7,1,20)
  1429. end
  1430. coroutine.resume(coroutine.create(function()
  1431. for i=1,10 do
  1432. so("http://roblox.com/asset/?id=131382140",prt12,1,10)
  1433. wait(0)
  1434. end
  1435. end))
  1436. reffect=prt12:Clone()
  1437. reffect.Parent=modelzorz
  1438. reffect.Transparency=1
  1439. reffect.Mesh.Scale=vt(0.3,3,0.3)
  1440. reffect.BrickColor=BrickColor.new("Black")
  1441. local efwld=weld(reffect,reffect,prt12,cf(0,-0.4,0))
  1442. coroutine.resume(coroutine.create(function(Part)
  1443. for i=0,2,0.1 do
  1444. swait()
  1445. Part.Transparency=Part.Transparency-0.05
  1446. end
  1447. while magic==true do
  1448. swait()
  1449. MagicBlock(BrickColor.new("Black"),prt12.CFrame*cf((math.random()/4)-(math.random()/4),math.random(-2,1)+math.random(),(math.random()/4)-(math.random()/4)),.5,.5,.5,.05,.05,.05)
  1450. end
  1451. for i=0,2,0.1 do
  1452. swait()
  1453. Part.Transparency=Part.Transparency+0.1
  1454. end
  1455. Part.Parent=nil
  1456. end),reffect)
  1457. for i=0,2,0.05 do
  1458. swait()
  1459. Torso.Neck.C0=necko*euler(0.5-0.5*i/2,0,1*i/2)RW.C0=cf(1.5-1+0.5*i, 0.5, -0.5+0.3*i) * euler(0.6,0,-0.7)
  1460. RW.C1=cf(0, 0.5, 0) * euler(-0.4*i,0,0)LW.C0=cf(-1.5, 0.5, 0) * euler(1+0.2*i,-1.57,0)
  1461. LW.C1=cf(0, 0.5, 0) * euler(-0.2-0.2*i,0,0)end
  1462. for i=0,1,0.1 do
  1463. swait()
  1464. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(0.5+1.5*i,-1.57+0.2*i,0)
  1465. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.8*i,0,0)
  1466. end
  1467. so("http://roblox.com/asset/?id=10209640",prt12,1,1)
  1468. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1469. con1=prt13.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1470. for i=0,1,0.2 do
  1471. swait()
  1472. Torso.Neck.C0=necko*euler(0,0,1-2*i)
  1473. RootJoint.C0=RootCF*euler(0,0,-1+2*i)
  1474. wld1.C0=euler(1.57+2*i,0,0)*cf(0,1,0)
  1475. LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(2-0.5*i,-1.37,0)
  1476. LW.C1=cf(0, 0.5, 0) * euler(0.2-0.8+1.6*i,0,0)
  1477. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1478. local Point2 = prt12.CFrame
  1479. effect("Black",0.5,0.1,LastPoint,Point)
  1480. LastPoint = Point
  1481. end
  1482. con1:disconnect()
  1483.  
  1484. Spawn(function()
  1485. local Parts = {}
  1486. for Y = -35,35 do
  1487. local P = Instance.new("Part",Character)
  1488. P.Anchored = true
  1489. P.FormFactor = "Custom"
  1490. P.CanCollide = false
  1491. P.Size = Vector3.new(30,2,1)
  1492. P.TopSurface = "SmoothNoOutlines"
  1493. P.BottomSurface = "SmoothNoOutlines"
  1494. P.BrickColor = BrickColor.new("Really black")
  1495. P.Name = tostring(Y)
  1496. local i = (Y+5)/(10)
  1497. i = 1-math.cos(math.pi*i-(math.pi/2))
  1498. P.CFrame = Character.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*3))*CFrame.Angles(math.rad(Y*5),0,0)
  1499. --[[P.Touched:connect(function(ht)
  1500. local hit = ht.Parent
  1501. if hit:FindFirstChild("Humanoid") then
  1502. hit.Humanoid:TakeDamage(math.random(20,50))
  1503. end
  1504. end)]]--
  1505. s = Instance.new("Sound",P)
  1506. s.SoundId = "rbxassetid://228343271"
  1507. s.Volume = .4
  1508. s.Pitch = 0.9
  1509. s:Play()
  1510. --[[P.Touched:connect(function(ht)
  1511. hit = ht.Parent
  1512. if ht and hit:IsA("Model") then
  1513. if hit:FindFirstChild("Humanoid") then
  1514. if hit.Name ~= p.Name then
  1515. if Debounces.Slashing == true and Debounces.Slashed == false then
  1516. Debounces.Slashed = true
  1517. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
  1518. hit:FindFirstChild("Humanoid").PlatformStand = true
  1519. wait(1)
  1520. --Debounces.Slashed = false
  1521. --end
  1522. end
  1523. end
  1524. elseif ht and hit:IsA("Hat") then
  1525. if hit.Parent.Name ~= p.Name then
  1526. if hit.Parent:FindFirstChild("Humanoid") then
  1527. if Debounces.Slashing == true and Debounces.Slashed == false then
  1528. Debounces.Slashed = true
  1529. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  1530. hit:FindFirstChild("Humanoid").PlatformStand = true
  1531. wait(1)
  1532. --Debounces.Slashed = false
  1533. --end
  1534. end
  1535. end
  1536. end
  1537. end)]]
  1538.  
  1539. P.Touched:connect(function(hit) Damagefunc1(hit,100,100) end)
  1540. Parts[#Parts+1] = P
  1541. end
  1542. local BREAKIT = false
  1543. local CParts = {}
  1544. local Rocks = {}
  1545. local LastPos = nil
  1546. for i = 1,70 do
  1547. for i2,v in pairs(Parts) do
  1548. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  1549. local cf = v.CFrame
  1550. v.Size = v.Size+Vector3.new(0.4,0.35,0)
  1551. v.CFrame = cf
  1552. v.Transparency = v.Transparency+0.02
  1553. if v.Transparency >= 0.975 then BREAKIT = true end
  1554. if v.Name == "0" then
  1555. local Ignore = {}
  1556. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1557. if v.Character ~= nil then
  1558. Ignore[#Ignore+1] = v.Character
  1559. end
  1560. end
  1561. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  1562. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  1563. if Hit ~= nil then
  1564. if #Rocks == 0 then
  1565. for i = 1,5 do
  1566. local P = Instance.new("Part",Character)
  1567. Rocks[#Rocks+1] = P
  1568. P.Anchored = true
  1569. P.FormFactor = "Custom"
  1570. P.BrickColor = Hit.BrickColor
  1571. P.Material = Hit.Material
  1572. P.TopSurface = "Smooth"
  1573. P.BottomSurface = "Smooth"
  1574. P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
  1575. end
  1576. end
  1577. for i,P in pairs(Rocks) do
  1578. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1579. end
  1580. local P = Instance.new("Part",Character)
  1581. CParts[#CParts+1] = {P,tick()}
  1582. P.Anchored = true
  1583. P.FormFactor = "Custom"
  1584. P.BrickColor = Hit.BrickColor
  1585. P.Material = Hit.Material
  1586. P.TopSurface = "Smooth"
  1587. P.BottomSurface = "Smooth"
  1588. P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100)
  1589. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1590. Pos = Pos.p
  1591. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1592. local P = P:Clone()
  1593. CParts[#CParts+1] = {P,tick()}
  1594. P.Parent = Character
  1595. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  1596. Pos = Pos.p
  1597. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  1598. if LastPos ~= nil then
  1599. local P = P:Clone()
  1600. CParts[#CParts+1] = {P,tick()}
  1601. P.Parent = Character
  1602. P.BrickColor = BrickColor.new("Really black")
  1603. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1604. Pos = Pos.p
  1605. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1606. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
  1607. --P.Velocity = Vector3.new(0,-1000,0)
  1608. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  1609. end
  1610. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1611. end
  1612. end
  1613. end
  1614. if BREAKIT then break end
  1615. wait(0.002)
  1616. end
  1617. for i,v in pairs(Rocks) do
  1618. CParts[#CParts+1] = {v,tick()}
  1619. end
  1620. for i,v in pairs(Parts) do
  1621. v:Destroy()
  1622. end
  1623. Parts = nil
  1624. while true do
  1625. local t = tick()
  1626. local p = nil
  1627. for i,v in pairs(CParts) do
  1628. if t-v[2] > 4 then
  1629. v[1].Transparency = v[1].Transparency+0.05
  1630. if v[1].Transparency >= 1 then
  1631. v[1]:Destroy()
  1632. CParts[i] = nil
  1633. end
  1634. end
  1635. p = v
  1636. end
  1637. if p == nil then break end
  1638. wait(0.002)
  1639. end
  1640. for i,v in pairs(CParts) do
  1641. v:Destroy()
  1642. end
  1643. CParts = {}
  1644. end)
  1645. wait(3)
  1646. Torso.Neck.C0=necko*euler(0,0,1)
  1647. RootJoint.C0=RootCF*euler(0,0,-1)
  1648. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  1649. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.3)
  1650. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1651. LW.C0=cf(-1.5, 0.5, 0) * euler(0.5,-1.57,0)
  1652. LW.C1=cf(0, 0.5, 0) * euler(0.2,0,0)
  1653. attack=false
  1654. magic=false
  1655. end
  1656.  
  1657. function AirDash()
  1658. if mana>=20 then mana=mana-20 else return end
  1659. attack=true
  1660.  
  1661. magic=true
  1662.  
  1663. for i=0,1,0.1 do
  1664.  
  1665. swait()
  1666.  
  1667. wld1.C0=euler(1.57-1.2*i,0,0)*cf(0,1,0.3*i)
  1668.  
  1669. Torso.Neck.C0=necko*euler(0,0,1+0.57*i)
  1670.  
  1671. RootJoint.C0=RootCF*euler(0,0,-1-0.57*i)
  1672.  
  1673. RW.C0=cf(1.5, 0.5, 0) * euler(0.7*i,0,0.3-0.9*i)
  1674.  
  1675. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1676.  
  1677. LW.C0=cf(-1.5+1*i, 0.5, -0.5*i) * euler(0.5+1.07*i,-1.57+3.16*i,0)
  1678.  
  1679. LW.C1=cf(0, 0.5, 0) * euler(0.2+0.8*i,0,0)
  1680.  
  1681. end
  1682.  
  1683. for i=0,1,0.1 do
  1684.  
  1685. swait()
  1686.  
  1687. wld7.C0=wld7.C0*euler(0,0.2,0)
  1688.  
  1689. so("http://roblox.com/asset/?id=28445431",prt7,1,20)
  1690.  
  1691. end
  1692.  
  1693. so("http://roblox.com/asset/?id=10209640",prt12,1,0.7)
  1694.  
  1695. local vel2 = Instance.new("BodyVelocity")
  1696.  
  1697. vel2.Parent = RootPart
  1698.  
  1699. vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
  1700.  
  1701. vel2.velocity = Head.CFrame.lookVector*100
  1702.  
  1703. local LastPoint = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1704.  
  1705. bg.Parent = Head
  1706.  
  1707. bg.cframe=Head.CFrame
  1708.  
  1709. jointhit=false
  1710.  
  1711. con1=prt13.Touched:connect(function(hit)
  1712.  
  1713. coroutine.resume(coroutine.create(function()
  1714.  
  1715. if hit.Parent==nil then
  1716.  
  1717. return
  1718.  
  1719. end
  1720.  
  1721. h=hit.Parent:FindFirstChild("Humanoid")
  1722.  
  1723. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil and jointhit==false then
  1724.  
  1725. jointhit=true
  1726.  
  1727. bp.position=RootPart.Position
  1728.  
  1729. -- bp.Parent=RootPart
  1730.  
  1731. bg.Parent=RootPart
  1732.  
  1733. bg.cframe=RootPart.CFrame
  1734.  
  1735. for i=0,1,0.1 do
  1736.  
  1737. swait()
  1738.  
  1739. RootJoint.C0=RootCF*cf(0,-5*i,5*i)*euler(1.57*i,0,-1.57)
  1740.  
  1741. end
  1742.  
  1743. for i=0,1,0.1 do
  1744.  
  1745. swait()
  1746.  
  1747. Torso.Neck.C0=necko*euler(0,0,1.57-1.57*i)
  1748.  
  1749. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.6+0.97*i)
  1750.  
  1751. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1752.  
  1753. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,1.57,0)
  1754.  
  1755. LW.C1=cf(0, 0.5, 0) * euler(-1.57,0,0)
  1756.  
  1757. RootJoint.C0=RootCF*cf(0,-5-5*i,5+5*i)*euler(1.57+1.57*i,0,-1.57-3.14*i)
  1758.  
  1759. end
  1760.  
  1761. coroutine.resume(coroutine.create(function()
  1762.  
  1763. while attack==true do
  1764.  
  1765. swait()
  1766.  
  1767. Torso.Neck.C0=necko
  1768.  
  1769. wld1.C0=euler(1.57-1.2+2.77,0,0)*cf(0,1,0)
  1770.  
  1771. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,1.57)
  1772.  
  1773. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1774.  
  1775. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57,1.57,0)
  1776.  
  1777. LW.C1=cf(0, 0.5, 0) * euler(-1.57,0,0)
  1778.  
  1779. end
  1780.  
  1781. end))
  1782.  
  1783. vel2.Parent=nil
  1784.  
  1785. for i=0,1,0.1 do
  1786.  
  1787. swait()
  1788.  
  1789. RootJoint.C0=RootCF*cf(0,-10,10-3*i)*euler(3.14+1.57*i,0,-1.57-3.14-1.57*i)
  1790.  
  1791. end
  1792.  
  1793. for i=0,1,0.15 do
  1794.  
  1795. swait()
  1796.  
  1797. RootJoint.C0=RootCF*cf(0,-10,7-3*i)*euler(3.14+1.57+1.57*i,0,-1.57-3.14-1.57+1.57*i)
  1798.  
  1799. end
  1800.  
  1801. for i=0,1,0.2 do
  1802.  
  1803. swait()
  1804.  
  1805. RootJoint.C0=RootCF*cf(0,-10,4-4*i)*euler(3.14+3.14,0,-1.57-3.14-1.57+1.57+1.57*i)
  1806.  
  1807. end
  1808.  
  1809. RootPart.CFrame=Torso.CFrame*euler(0,1,0)
  1810.  
  1811. RootJoint.C0=RootCF*euler(0,0,-1)
  1812.  
  1813. bg.Parent=nil
  1814.  
  1815. bp.Parent=nil
  1816.  
  1817. wait(0.5)
  1818.  
  1819. attack=false
  1820.  
  1821. swait()
  1822.  
  1823. Torso.Neck.C0=necko*euler(0,0,1)
  1824.  
  1825. end
  1826.  
  1827. end))
  1828.  
  1829. Damagefunc1(hit,10,10)
  1830.  
  1831. end)
  1832.  
  1833. numb=-1
  1834.  
  1835. for i=0,1,0.2 do
  1836.  
  1837. swait()
  1838.  
  1839. so("http://roblox.com/asset/?id=10209640",prt12,1,numb)
  1840.  
  1841. numb=numb+0.2
  1842.  
  1843. wld1.C0=euler(1.57-1.2+2.77*i,0,0)*cf(0,1,0.3-0.3*i)
  1844.  
  1845. Torso.Neck.C0=necko*euler(0,0,1.57)
  1846.  
  1847. RW.C0=cf(1.5, 0.5, 0) * euler(0.7-0.7*i,0,-0.6+1.2*i)
  1848.  
  1849. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1850.  
  1851. LW.C0=cf(-1.5+1-1*i, 0.5, -0.5+0.5*i) * euler(1.57,1.57,0)
  1852.  
  1853. LW.C1=cf(0, 0.5, 0) * euler(1-2.57*i,0,0)
  1854.  
  1855. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1856.  
  1857. local Point2 = prt12.CFrame
  1858.  
  1859. effect("White",0.5,0.1,LastPoint,Point)
  1860.  
  1861. LastPoint = Point
  1862.  
  1863. end
  1864.  
  1865. for i=0,1,0.1 do
  1866.  
  1867. swait()
  1868.  
  1869. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1870.  
  1871. local Point2 = prt12.CFrame
  1872.  
  1873. effect("White",0.5,0.1,LastPoint,Point)
  1874.  
  1875. LastPoint = Point
  1876.  
  1877. end
  1878.  
  1879. con1:disconnect()
  1880.  
  1881. if jointhit==false then
  1882.  
  1883. vel2.Parent=nil
  1884.  
  1885. end
  1886.  
  1887. wait(1)
  1888.  
  1889. Torso.Neck.C0=necko*euler(0,0,1)
  1890.  
  1891. if jointhit==false then
  1892.  
  1893. bg.Parent=nil
  1894.  
  1895. RootJoint.C0=RootCF*euler(0,0,-1)
  1896.  
  1897. attack=false
  1898.  
  1899. end
  1900.  
  1901. magic=false
  1902.  
  1903. end
  1904.  
  1905.  
  1906.  
  1907. local LastPoint = prt12.CFrame * CFrame.new(0,-prt12.Size.Y*2.5,0)
  1908.  
  1909. local Point = prt12.CFrame * CFrame.new(0,prt12.Size.Y*2.5,0)
  1910.  
  1911. function effect(Color,Ref,Size,LP,P1,returnn)
  1912.  
  1913. local effectsmsh = Instance.new("BlockMesh")
  1914.  
  1915. effectsmsh.Scale = Vector3.new(0.4,1,0.4)
  1916.  
  1917. effectsmsh.Name = "Mesh"
  1918.  
  1919. local effectsg = Instance.new("Part")
  1920.  
  1921. effectsg.formFactor = 3
  1922.  
  1923. effectsg.CanCollide = false
  1924.  
  1925. effectsg.Name = "Eff"
  1926.  
  1927. effectsg.Locked = true
  1928.  
  1929. effectsg.Anchored = true
  1930.  
  1931. effectsg.Size = Vector3.new(0.2,1,0.2)
  1932.  
  1933. effectsg.Parent = workspace
  1934.  
  1935. effectsmsh.Parent = effectsg
  1936.  
  1937. effectsg.BrickColor = BrickColor.new(Color)
  1938.  
  1939. effectsg.Reflectance = Ref
  1940.  
  1941. local point1 = P1
  1942.  
  1943. local mg = (LP.p - point1.p).magnitude
  1944.  
  1945. effectsg.Size = Vector3.new(Size,mg,Size)
  1946.  
  1947. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  1948.  
  1949. if returnn then return effectsg end
  1950.  
  1951. coroutine.resume(coroutine.create(function()
  1952.  
  1953. if not returnn then
  1954.  
  1955. for i = 0 , 1 , 0.1 do
  1956.  
  1957. swait()
  1958.  
  1959. effectsg.Transparency = 1*i
  1960.  
  1961. effectsmsh.Scale = Vector3.new(Size-Size*i,1,Size-Size*i)
  1962.  
  1963. end
  1964.  
  1965. swait()
  1966.  
  1967. effectsg.Parent = nil
  1968.  
  1969. end
  1970.  
  1971. end))
  1972.  
  1973. end
  1974.  
  1975.  
  1976.  
  1977. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1978.  
  1979. local prt=part(3,workspace,0,0,"SmoothPlastic",brickcolor,"Effect",vt(0.5,0.5,0.5))
  1980.  
  1981. prt.Anchored=true
  1982.  
  1983. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1984.  
  1985. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1986.  
  1987. coroutine.resume(coroutine.create(function(Part,Mesh)
  1988.  
  1989. for i=0,1,0.1 do
  1990.  
  1991. swait()
  1992.  
  1993. Part.CFrame=Part.CFrame
  1994.  
  1995. Part.Transparency=i
  1996.  
  1997. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1998.  
  1999. end
  2000.  
  2001. Part.Parent=nil
  2002.  
  2003. end),prt,msh)
  2004.  
  2005. end
  2006.  
  2007.  
  2008.  
  2009. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  2010.  
  2011. local prt=part(3,workspace,0,0,"SmoothPlastic",brickcolor,"Effect",vt(0.5,0.5,0.5))
  2012.  
  2013. prt.Anchored=true
  2014.  
  2015. prt.CFrame=cframe
  2016.  
  2017. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2018.  
  2019. coroutine.resume(coroutine.create(function(Part,Mesh)
  2020.  
  2021. for i=0,1,0.1 do
  2022.  
  2023. swait()
  2024.  
  2025. Part.CFrame=Part.CFrame
  2026.  
  2027. Part.Transparency=i
  2028.  
  2029. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2030.  
  2031. end
  2032.  
  2033. Part.Parent=nil
  2034.  
  2035. end),prt,msh)
  2036.  
  2037. end
  2038.  
  2039.  
  2040.  
  2041. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  2042.  
  2043. local prt=part(3,workspace,0,0,"SmoothPlastic",brickcolor,"Effect",vt(0.5,0.5,0.5))
  2044.  
  2045. prt.Anchored=true
  2046.  
  2047. prt.CFrame=cframe
  2048.  
  2049. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  2050.  
  2051. coroutine.resume(coroutine.create(function(Part,Mesh)
  2052.  
  2053. for i=0,1,0.03 do
  2054.  
  2055. swait()
  2056.  
  2057. Part.CFrame=Part.CFrame
  2058.  
  2059. Part.Transparency=i
  2060.  
  2061. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2062.  
  2063. end
  2064.  
  2065. Part.Parent=nil
  2066.  
  2067. end),prt,msh)
  2068.  
  2069. end
  2070.  
  2071.  
  2072.  
  2073. function MagicFreeze(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  2074.  
  2075. local prt=part(3,workspace,0.4,0.3,"SmoothPlastic",brickcolor,"Effect",vt(0.5,0.5,0.5))
  2076.  
  2077. prt.Anchored=true
  2078.  
  2079. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2080.  
  2081. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(x1,y1,z1))
  2082.  
  2083. coroutine.resume(coroutine.create(function(Part,Mesh)
  2084.  
  2085. for i=0,1,0.1 do
  2086.  
  2087. Part.CFrame=Part.CFrame*cf(0,0.3,0)
  2088.  
  2089. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2090.  
  2091. end
  2092.  
  2093. wait(5)
  2094.  
  2095. Part.Parent=nil
  2096.  
  2097. end),prt,msh)
  2098.  
  2099. end
  2100.  
  2101.  
  2102.  
  2103. Damagefunc1=function(hit,Damage,Knockback)
  2104.  
  2105. if hit.Parent==nil then
  2106.  
  2107. return
  2108.  
  2109. end
  2110.  
  2111. CPlayer=Bin
  2112.  
  2113. h=hit.Parent:FindFirstChild("Humanoid")
  2114.  
  2115. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2116.  
  2117. if attackdebounce == false then
  2118.  
  2119. attackdebounce = true
  2120.  
  2121. coroutine.resume(coroutine.create(function()
  2122.  
  2123. wait(0.2)
  2124.  
  2125. attackdebounce = false
  2126.  
  2127. end))
  2128.  
  2129. Damage=Damage
  2130.  
  2131. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2132.  
  2133. return
  2134.  
  2135. end]]
  2136.  
  2137. -- hs(hit,1.2)
  2138.  
  2139. c=Instance.new("ObjectValue")
  2140.  
  2141. c.Name="creator"
  2142.  
  2143. c.Value=game.Players.LocalPlayer
  2144.  
  2145. c.Parent=h
  2146.  
  2147. game:GetService("Debris"):AddItem(c,.5)
  2148.  
  2149. Damage=Damage+math.random(0,10)
  2150.  
  2151. -- h:TakeDamage(Damage)
  2152.  
  2153. blocked=false
  2154.  
  2155. block=hit.Parent:findFirstChild("Block")
  2156.  
  2157. if block~=nil then
  2158.  
  2159. print("herp")
  2160.  
  2161. if block.Value>0 then
  2162.  
  2163. blocked=true
  2164.  
  2165. block.Value=block.Value-1
  2166.  
  2167. print(block.Value)
  2168.  
  2169. end
  2170.  
  2171. end
  2172.  
  2173. if blocked==false then
  2174.  
  2175. -- h:TakeDamage(Damage)
  2176.  
  2177. h.Health=h.Health-Damage
  2178.  
  2179. showDamage(hit.Parent,Damage,.5)
  2180.  
  2181. else
  2182.  
  2183. h:TakeDamage(1)
  2184.  
  2185. showDamage(hit.Parent,1,.5)
  2186.  
  2187. end
  2188.  
  2189. vp=Instance.new("BodyVelocity")
  2190.  
  2191. vp.P=500
  2192.  
  2193. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2194.  
  2195. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2196.  
  2197. vp.velocity=RootPart.CFrame.lookVector*Knockback+RootPart.Velocity/1.05
  2198.  
  2199. if Knockback>0 then
  2200.  
  2201. vp.Parent=hit.Parent.Torso
  2202.  
  2203. end
  2204.  
  2205. game:GetService("Debris"):AddItem(vp,.25)
  2206.  
  2207. game:GetService("Debris"):AddItem(r,.5)
  2208.  
  2209. c=Instance.new("ObjectValue")
  2210.  
  2211. c.Name="creator"
  2212.  
  2213. c.Value=Player
  2214.  
  2215. c.Parent=h
  2216.  
  2217. game:GetService("Debris"):AddItem(c,.5)
  2218.  
  2219. CRIT=false
  2220.  
  2221. hitDeb=true
  2222.  
  2223. AttackPos=6
  2224.  
  2225. end
  2226.  
  2227. end
  2228.  
  2229. end
  2230.  
  2231.  
  2232.  
  2233. freezeDamagefunc=function(hit,Damage,Knockback)
  2234.  
  2235. if hit.Parent==nil then
  2236.  
  2237. return
  2238.  
  2239. end
  2240.  
  2241. CPlayer=Bin
  2242.  
  2243. h=hit.Parent:FindFirstChild("Humanoid")
  2244.  
  2245. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2246.  
  2247. if attackdebounce == false then
  2248.  
  2249. attackdebounce = true
  2250.  
  2251. coroutine.resume(coroutine.create(function()
  2252.  
  2253. wait(0.2)
  2254.  
  2255. attackdebounce = false
  2256.  
  2257. end))
  2258.  
  2259. Damage=Damage
  2260.  
  2261. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2262.  
  2263. return
  2264.  
  2265. end]]
  2266.  
  2267. -- hs(hit,1.2)
  2268.  
  2269. c=Instance.new("ObjectValue")
  2270.  
  2271. c.Name="creator"
  2272.  
  2273. c.Value=game.Players.LocalPlayer
  2274.  
  2275. c.Parent=h
  2276.  
  2277. game:GetService("Debris"):AddItem(c,.5)
  2278.  
  2279. Damage=Damage+math.random(0,5)
  2280.  
  2281. -- h:TakeDamage(Damage)
  2282.  
  2283. blocked=false
  2284.  
  2285. block=hit.Parent:findFirstChild("Block")
  2286.  
  2287. if block~=nil then
  2288.  
  2289. print("herp")
  2290.  
  2291. if block.Value>0 then
  2292.  
  2293. blocked=true
  2294.  
  2295. block.Value=block.Value-1
  2296.  
  2297. print(block.Value)
  2298.  
  2299. end
  2300.  
  2301. end
  2302.  
  2303. if blocked==false then
  2304.  
  2305. -- h:TakeDamage(Damage)
  2306.  
  2307. h.Health=h.Health-Damage
  2308.  
  2309. showDamage(hit.Parent,Damage,.5)
  2310.  
  2311. else
  2312.  
  2313. h:TakeDamage(1)
  2314.  
  2315. showDamage(hit.Parent,1,.5)
  2316.  
  2317. end
  2318.  
  2319. if math.random(1,1)==1 then
  2320.  
  2321. BodPos=Instance.new("BodyPosition")
  2322.  
  2323. BodPos.P=50000
  2324.  
  2325. BodPos.D=1000
  2326.  
  2327. BodPos.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2328.  
  2329. BodPos.position=hit.Parent.Torso.Position
  2330.  
  2331. BodPos.Parent=hit.Parent.Torso
  2332.  
  2333. BodGy = it("BodyGyro")
  2334.  
  2335. BodGy.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  2336.  
  2337. BodGy.P = 20e+003
  2338.  
  2339. BodGy.Parent=hit.Parent.Torso
  2340.  
  2341. BodGy.cframe = hit.Parent.Torso.CFrame
  2342.  
  2343. showDamage(hit.Parent,Damage,.5)
  2344.  
  2345. so("http://www.roblox.com/asset/?id=41763367",hit,1,2)
  2346.  
  2347. --[[ for i=1,10 do
  2348.  
  2349. local freezepart=part(3,hit.Parent,0.5,0.5,BrickColor.new("Bright blue"),"Ice Part",vt(math.random(2,3)+math.random(),math.random(2,3)+math.random(),math.random(2,3)+math.random()))
  2350.  
  2351. freezepart.Anchored=true
  2352.  
  2353. freezepart.CFrame=hit.Parent.Torso.CFrame*cf(math.random(-1,0)+math.random(),-2.5,math.random(-1,0)+math.random())*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2354.  
  2355. coroutine.resume(coroutine.create(function(Part)
  2356.  
  2357. wait(5)
  2358.  
  2359. Part.Anchored=false
  2360.  
  2361. Part.Velocity=vt(math.random(-20,20),math.random(20,30),math.random(-20,20))
  2362.  
  2363. wait(5)
  2364.  
  2365. Part.Parent=nil
  2366.  
  2367. end),freezepart)
  2368.  
  2369. end]]
  2370.  
  2371. coroutine.resume(coroutine.create(function(BodyPos,BodyGy,Hitted)
  2372.  
  2373. wait(5)
  2374.  
  2375. BodyPos.Parent=nil
  2376.  
  2377. BodyGy.Parent=nil
  2378.  
  2379. end),BodPos,BodGy,hit)
  2380.  
  2381. end
  2382.  
  2383. vp=Instance.new("BodyVelocity")
  2384.  
  2385. vp.P=500
  2386.  
  2387. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2388.  
  2389. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2390.  
  2391. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  2392.  
  2393. if Knockback>0 then
  2394.  
  2395. vp.Parent=hit.Parent.Torso
  2396.  
  2397. end
  2398.  
  2399. game:GetService("Debris"):AddItem(vp,.25)
  2400.  
  2401. c=Instance.new("ObjectValue")
  2402.  
  2403. c.Name="creator"
  2404.  
  2405. c.Value=Player
  2406.  
  2407. c.Parent=h
  2408.  
  2409. game:GetService("Debris"):AddItem(c,.5)
  2410.  
  2411. CRIT=false
  2412.  
  2413. hitDeb=true
  2414.  
  2415. AttackPos=6
  2416.  
  2417. end
  2418.  
  2419. end
  2420.  
  2421. end
  2422.  
  2423.  
  2424.  
  2425. showDamage=function(Char,Dealt,du)
  2426.  
  2427. m=Instance.new("Model")
  2428.  
  2429. m.Name=tostring(Dealt)
  2430.  
  2431. h=Instance.new("Humanoid")
  2432.  
  2433. h.Health=0
  2434.  
  2435. h.MaxHealth=0
  2436.  
  2437. h.Parent=m
  2438.  
  2439. c=Instance.new("Part")
  2440.  
  2441. c.Transparency=0
  2442.  
  2443. c.BrickColor=BrickColor:Red()
  2444.  
  2445. if CRIT==true then
  2446.  
  2447. c.BrickColor=BrickColor.new("Really red")
  2448.  
  2449. end
  2450.  
  2451. c.Name="Head"
  2452.  
  2453. c.TopSurface=0
  2454.  
  2455. c.BottomSurface=0
  2456.  
  2457. c.formFactor="Plate"
  2458.  
  2459. c.Size=Vector3.new(1,.4,1)
  2460.  
  2461. ms=Instance.new("CylinderMesh")
  2462.  
  2463. ms.Scale=Vector3.new(.8,.8,.8)
  2464.  
  2465. if CRIT==true then
  2466.  
  2467. ms.Scale=Vector3.new(1,1.25,1)
  2468.  
  2469. end
  2470.  
  2471. ms.Parent=c
  2472.  
  2473. c.Reflectance=0
  2474.  
  2475. Instance.new("BodyGyro").Parent=c
  2476.  
  2477. c.Parent=m
  2478.  
  2479. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2480.  
  2481. f=Instance.new("BodyPosition")
  2482.  
  2483. f.P=2000
  2484.  
  2485. f.D=100
  2486.  
  2487. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2488.  
  2489. f.position=c.Position+Vector3.new(0,3,0)
  2490.  
  2491. f.Parent=c
  2492.  
  2493. game:GetService("Debris"):AddItem(m,.5+du)
  2494.  
  2495. c.CanCollide=false
  2496.  
  2497. m.Parent=workspace
  2498.  
  2499. c.CanCollide=false
  2500.  
  2501. end
  2502.  
  2503.  
  2504.  
  2505. function ob1d(mouse)
  2506.  
  2507. if attack == true then return end
  2508.  
  2509. hold=true
  2510.  
  2511. if combo==0 then
  2512.  
  2513. combo=1
  2514.  
  2515. oneslash()
  2516.  
  2517. elseif combo==1 then
  2518.  
  2519. combo=2
  2520.  
  2521. twoslash()
  2522.  
  2523. elseif combo==2 then
  2524.  
  2525. combo=3
  2526.  
  2527. threeslash()
  2528.  
  2529. elseif combo==3 then
  2530.  
  2531. combo=4
  2532.  
  2533. fourslash()
  2534.  
  2535. end
  2536.  
  2537. coroutine.resume(coroutine.create(function()
  2538.  
  2539. wait(0.5)
  2540.  
  2541. if attack==false then
  2542.  
  2543. combo=0
  2544.  
  2545. Torso.Neck.C0=necko*euler(0,0,1)
  2546.  
  2547. RootJoint.C0=RootCF*euler(0,0,-1)
  2548.  
  2549. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  2550.  
  2551. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.3)
  2552.  
  2553. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  2554.  
  2555. LW.C0=cf(-1.5, 0.5, 0) * euler(0.5,-1.57,0)
  2556.  
  2557. LW.C1=cf(0, 0.5, 0) * euler(0.2,0,0)
  2558.  
  2559. end
  2560.  
  2561. end))
  2562.  
  2563. end
  2564.  
  2565.  
  2566.  
  2567. function ob1u(mouse)
  2568.  
  2569. hold = false
  2570.  
  2571. end
  2572.  
  2573.  
  2574.  
  2575. buttonhold = false
  2576.  
  2577.  
  2578.  
  2579. function key(key)
  2580.  
  2581. if attack == true then return end
  2582.  
  2583. --attack=true
  2584.  
  2585. if key=="z" then
  2586.  
  2587. FlameBarrage()
  2588.  
  2589. end
  2590.  
  2591. if key=="x" then
  2592.  
  2593. IcePrison()
  2594.  
  2595. end
  2596.  
  2597. if key=="c" then
  2598.  
  2599. AirDash()
  2600.  
  2601. end
  2602.  
  2603. if key=="v" then
  2604.  
  2605. DarkWave()
  2606.  
  2607. end
  2608.  
  2609.  
  2610. --[[if key=="f" then
  2611.  
  2612. --so("http://roblox.com/asset/?id=130839563",Torso,1,1)
  2613.  
  2614. so("http://www.roblox.com/asset/?id=10209810",Torso,1,1)
  2615.  
  2616. wait(5)
  2617.  
  2618. for i=0,1,0.1 do
  2619.  
  2620. swait()
  2621.  
  2622. so("http://www.roblox.com/asset/?id=10209810",Torso,.8,2)
  2623.  
  2624. end
  2625.  
  2626. end]]
  2627.  
  2628. combo=0
  2629.  
  2630. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  2631.  
  2632. RW.C0=cf(1.5, 0.5, 0) * euler(0,0,0.3)
  2633.  
  2634. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  2635.  
  2636. LW.C0=cf(-1.5, 0.5, 0) * euler(0.5,-1.57,0)
  2637.  
  2638. LW.C1=cf(0, 0.5, 0) * euler(0.2,0,0)
  2639.  
  2640. Humanoid.WalkSpeed=16
  2641.  
  2642. end
  2643.  
  2644.  
  2645.  
  2646. function key2(key)
  2647.  
  2648. end
  2649.  
  2650.  
  2651.  
  2652. function s(mouse)
  2653.  
  2654. mouse.Button1Down:connect(function() ob1d(mouse) end)
  2655.  
  2656. mouse.Button1Up:connect(function() ob1u(mouse) end)
  2657.  
  2658. mouse.KeyDown:connect(key)
  2659.  
  2660. mouse.KeyUp:connect(key2)
  2661.  
  2662. unsheathed = true
  2663.  
  2664. player = Player
  2665.  
  2666. ch = Character
  2667.  
  2668. MMouse = mouse
  2669.  
  2670. RSH = ch.Torso["Right Shoulder"]
  2671.  
  2672. LSH = ch.Torso["Left Shoulder"]
  2673.  
  2674. --
  2675.  
  2676. RSH.Parent = nil
  2677.  
  2678. LSH.Parent = nil
  2679.  
  2680. --
  2681.  
  2682. RW.Part0 = ch.Torso
  2683.  
  2684. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2685.  
  2686. RW.C1 = CFrame.new(0, 0.5, 0)
  2687.  
  2688. RW.Part1 = ch["Right Arm"]
  2689.  
  2690. RW.Parent = ch.Torso
  2691.  
  2692. --_G.R = RW
  2693.  
  2694. --
  2695.  
  2696. LW.Part0 = ch.Torso
  2697.  
  2698. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2699.  
  2700. LW.C1 = CFrame.new(0, 0.5, 0)
  2701.  
  2702. LW.Part1 = ch["Left Arm"]
  2703.  
  2704. LW.Parent = ch.Torso
  2705.  
  2706. --_G.L = LW
  2707.  
  2708. --
  2709.  
  2710. equipanim()
  2711.  
  2712. end
  2713.  
  2714.  
  2715.  
  2716. function ds(mouse)
  2717.  
  2718. hideanim()
  2719.  
  2720. wait(0)
  2721.  
  2722. RW.Parent = nil
  2723.  
  2724. LW.Parent = nil
  2725.  
  2726. RSH.Parent = player.Character.Torso
  2727.  
  2728. LSH.Parent = player.Character.Torso
  2729.  
  2730. end
  2731.  
  2732.  
  2733.  
  2734. Bin.Selected:connect(s)
  2735.  
  2736. Bin.Deselected:connect(ds)
  2737.  
  2738. print("Spell Rapier loaded.")
  2739.  
  2740. -- mediafire
  2741.  
  2742. --[[
  2743.  
  2744. Copyrighted (C) Fenrier 2013
  2745.  
  2746. ]]
Add Comment
Please, Sign In to add comment