Advertisement
quoc9x

Untitled

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