Advertisement
astronaut32

Sanitoryu

Dec 13th, 2015
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.37 KB | None | 0 0
  1.  
  2.  
  3. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------==Made by LuisPambid==--
  4.  
  5.  
  6. --==Santoryu==--
  7.  
  8.  
  9.  
  10.  
  11.  
  12. --script:remove()
  13.  
  14.  
  15. local player=game.Players.LocalPlayer
  16.  
  17.  
  18. local char=player.Character
  19.  
  20.  
  21. repeat wait() until player and char
  22.  
  23.  
  24. local torso=char.Torso
  25.  
  26.  
  27. local head=char.Head
  28.  
  29.  
  30. local human=char.Humanoid
  31.  
  32.  
  33. local hat
  34.  
  35.  
  36. for i, v in pairs(char:children()) do if v:isA("Hat") then hat=v end end
  37.  
  38.  
  39. local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
  40.  
  41.  
  42. local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
  43.  
  44.  
  45. local c=function(f) coroutine.resume(coroutine.create(f)) end
  46.  
  47.  
  48. local p=function(f) pcall(f) end
  49.  
  50.  
  51. local add={
  52.  
  53.  
  54. Part=function(par, a, c, col, t, s, cf)
  55.  
  56.  
  57. local p=Instance.new("Part", par) p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new()
  58.  
  59.  
  60. return p
  61.  
  62.  
  63. end,
  64.  
  65.  
  66. Wedge=function(par, a, c, col, t, s, cf)
  67.  
  68.  
  69. local p=Instance.new("WedgePart", par) p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new()
  70.  
  71.  
  72. return p
  73.  
  74.  
  75. end,
  76.  
  77.  
  78. Weld=function(par, p1, cf)
  79.  
  80.  
  81. local w=Instance.new("Weld", par) w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new()
  82.  
  83.  
  84. return w
  85.  
  86.  
  87. end,
  88.  
  89.  
  90. Mesh=function(ins, par, s, of, t)
  91.  
  92.  
  93. local m=Instance.new(ins, par) m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() pcall(function() m.MeshType=t end)
  94.  
  95.  
  96. return m
  97.  
  98.  
  99. end
  100.  
  101.  
  102. }
  103.  
  104.  
  105. local scriptname="Santoryu" --Name here
  106.  
  107.  
  108. pcall(function() player.Backpack[scriptname]:remove() char[scriptname]:remove() char[scriptname.."B"]:remove() player.PlayerGui[scriptname]:remove() end)
  109.  
  110.  
  111. local model=Instance.new("Model", char) model.Name=scriptname
  112.  
  113.  
  114. local modelB=Instance.new("Model", char) modelB.Name=scriptname.."B"
  115.  
  116.  
  117. local gui=Instance.new("ScreenGui", player.PlayerGui) gui.Name=scriptname
  118.  
  119.  
  120. local sound=Instance.new("Sound", char)
  121.  
  122.  
  123. local bin=Instance.new("HopperBin", player.Backpack) bin.Name=model.Name
  124.  
  125.  
  126. local skincolor="White"
  127.  
  128.  
  129. local body={}
  130.  
  131.  
  132. local animate={}
  133.  
  134.  
  135. local obj={}
  136.  
  137.  
  138. function createParts()
  139.  
  140.  
  141. --==PARTS==--
  142.  
  143.  
  144. body.Head=head:clone() body.Head.Parent=model body.Head.BrickColor=BrickColor.new(skincolor) body.Head.Transparency=0
  145.  
  146.  
  147. body.Torso=add.Part(model, false, false, skincolor, 0, Vector3.new(2, 2, 1), nil)
  148.  
  149.  
  150. body.ArmLeft, body.ArmRight=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  151.  
  152.  
  153. body.LegLeft, body.LegRight=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  154.  
  155.  
  156. p(function() for i, v in pairs(char:children()) do v.Transparency=1 end end)
  157.  
  158.  
  159. p(function() for i, v in pairs(char:children()) do v["face"]:clone().Parent=body.Head v["face"]:remove() end end)
  160.  
  161.  
  162. p(function() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end end end)
  163.  
  164.  
  165. --==WELDS==--
  166.  
  167.  
  168. body.HeadW=add.Weld(body.Head, body.Torso, CFrame.new(0, 1.5, 0))
  169.  
  170.  
  171. body.TorsoW=add.Weld(body.Torso, torso, nil)
  172.  
  173.  
  174. body.ArmLeftW, body.ArmRightW=add.Weld(body.ArmLeft, body.Torso, CFrame.new(-1.5, .5, 0)), add.Weld(body.ArmRight, body.Torso, CFrame.new(1.5, .5, 0))
  175.  
  176.  
  177. body.LegLeftW, body.LegRightW=add.Weld(body.LegLeft, body.Torso, CFrame.new(-.5, -1.5, 0)), add.Weld(body.LegRight, body.Torso, CFrame.new(.5, -1.5, 0))
  178.  
  179.  
  180. --==MESHES==--
  181.  
  182.  
  183. add.Mesh("BlockMesh", body.ArmLeft, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  184.  
  185.  
  186. add.Mesh("BlockMesh", body.ArmRight, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  187.  
  188.  
  189. add.Mesh("BlockMesh", body.LegLeft, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  190.  
  191.  
  192. add.Mesh("BlockMesh", body.LegRight, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  193.  
  194.  
  195. ---------------------------------------------------------------------------------------
  196.  
  197.  
  198. animate={
  199.  
  200.  
  201. ["Head"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  202.  
  203.  
  204. body.HeadW.C1=CFrame.new(0, 1.5, 0)*cf
  205.  
  206.  
  207. end;
  208.  
  209.  
  210. ["Torso"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  211.  
  212.  
  213. body.TorsoW.C1=cf
  214.  
  215.  
  216. end;
  217.  
  218.  
  219. ["ArmLeft"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  220.  
  221.  
  222. body.ArmLeftW.C1=CFrame.new(-1.5, .5, 0)*cf
  223.  
  224.  
  225. end;
  226.  
  227.  
  228. ["ArmRight"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  229.  
  230.  
  231. body.ArmRightW.C1=CFrame.new(1.5, .5, 0)*cf
  232.  
  233.  
  234. end;
  235.  
  236.  
  237. ["LegLeft"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  238.  
  239.  
  240. body.LegLeftW.C1=CFrame.new(-.5, -1.5, 0)*cf
  241.  
  242.  
  243. end;
  244.  
  245.  
  246. ["LegRight"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  247.  
  248.  
  249. body.LegRightW.C1=CFrame.new(.5, -1.5, 0)*cf
  250.  
  251.  
  252. end;
  253.  
  254.  
  255. }
  256.  
  257.  
  258. --==Objects==--
  259.  
  260.  
  261. obj.LH=add.Part(model, false, false, "Really black", 0, Vector3.new(.5, 1, .2), nil)
  262.  
  263.  
  264. obj.LHW=add.Weld(obj.LH, body.ArmLeft, CFrame.new(-.3, -.5, -.2))
  265.  
  266.  
  267. obj.LH=add.Part(model, false, false, "Really black", 0, Vector3.new(.5, .2, .5), nil)
  268.  
  269.  
  270. obj.LHW=add.Weld(obj.LH, body.ArmLeft, CFrame.new(-.3, -.9, 0))
  271.  
  272.  
  273. --Right
  274.  
  275.  
  276. obj.HandleRight=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.25, 2, .25), nil)
  277.  
  278.  
  279. obj.HandleRightW=add.Weld(obj.HandleRight, body.ArmRight, CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, 0))
  280.  
  281.  
  282. for i=1, 5 do
  283.  
  284.  
  285. obj.DesignRight=add.Part(modelB, false, false, "White", 0, Vector3.new(.3, .1, .1), nil)
  286.  
  287.  
  288. obj.DesignRightW=add.Weld(obj.DesignRight, obj.HandleRight, CFrame.new(0, -1+i/3, 0)*CFrame.Angles(math.rad(45), 0, 0))
  289.  
  290.  
  291. end
  292.  
  293.  
  294. obj.GuardRight=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.5, .2, .5), nil)
  295.  
  296.  
  297. obj.GuardRightW=add.Weld(obj.GuardRight, obj.HandleRight, CFrame.new(0, 1.1, 0))
  298.  
  299.  
  300. obj.GuardRightB=add.Part(modelB, false, false, "White", 0, Vector3.new(.25, .2, .3), nil)
  301.  
  302.  
  303. obj.GuardRightBM=add.Mesh("BlockMesh", obj.GuardRightB, Vector3.new(.5, 1, 1), nil, nil)
  304.  
  305.  
  306. obj.GuardRightBW=add.Weld(obj.GuardRightB, obj.HandleRight, CFrame.new(0, 1.25, 0))
  307.  
  308.  
  309. obj.BladeRight=add.Part(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 4, .25), nil) obj.BladeRight.Reflectance=.5
  310.  
  311.  
  312. obj.BladeRightM=add.Mesh("BlockMesh", obj.BladeRight, Vector3.new(.5, 1, 1), nil, nil)
  313.  
  314.  
  315. obj.BladeRightW=add.Weld(obj.BladeRight, obj.HandleRight, CFrame.new(0, 3, 0))
  316.  
  317.  
  318. obj.PointRight=add.Wedge(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 1, .25), nil) obj.PointRight.Reflectance=.5
  319.  
  320.  
  321. obj.PointM=add.Mesh("SpecialMesh", obj.PointRight, Vector3.new(.5, 1, 1), nil, "Wedge")
  322.  
  323.  
  324. obj.PointW=add.Weld(obj.PointRight, obj.BladeRight, CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0), 0, 0))
  325.  
  326.  
  327. --Left
  328.  
  329.  
  330. obj.HandleLeft=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.25, 2, .25), nil)
  331.  
  332.  
  333. obj.HandleLeftW=add.Weld(obj.HandleLeft, body.ArmLeft, CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, 0))
  334.  
  335.  
  336. for i=1, 5 do
  337.  
  338.  
  339. obj.DesignLeft=add.Part(modelB, false, false, "White", 0, Vector3.new(.3, .1, .1), nil)
  340.  
  341.  
  342. obj.DesignLeftW=add.Weld(obj.DesignLeft, obj.HandleLeft, CFrame.new(0, -1+i/3, 0)*CFrame.Angles(math.rad(45), 0, 0))
  343.  
  344.  
  345. end
  346.  
  347.  
  348. obj.GuardLeft=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.5, .2, .5), nil)
  349.  
  350.  
  351. obj.GuardLeftW=add.Weld(obj.GuardLeft, obj.HandleRight, CFrame.new(0, 1.1, 0))
  352.  
  353.  
  354. obj.GuardLeftB=add.Part(modelB, false, false, "White", 0, Vector3.new(.25, .2, .3), nil)
  355.  
  356.  
  357. obj.GuardLeftBM=add.Mesh("BlockMesh", obj.GuardLeftB, Vector3.new(.5, 1, 1), nil, nil)
  358.  
  359.  
  360. obj.GuardLeftBW=add.Weld(obj.GuardLeftB, obj.HandleLeft, CFrame.new(0, 1.25, 0))
  361.  
  362.  
  363. obj.BladeLeft=add.Part(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 4, .25), nil) obj.BladeLeft.Reflectance=.5
  364.  
  365.  
  366. obj.BladeLeftM=add.Mesh("BlockMesh", obj.BladeLeft, Vector3.new(.5, 1, 1), nil, nil)
  367.  
  368.  
  369. obj.BladeLeftW=add.Weld(obj.BladeLeft, obj.HandleLeft, CFrame.new(0, 3, 0))
  370.  
  371.  
  372. obj.PointLeft=add.Wedge(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 1, .25), nil) obj.PointLeft.Reflectance=.5
  373.  
  374.  
  375. obj.PointM=add.Mesh("SpecialMesh", obj.PointLeft, Vector3.new(.5, 1, 1), nil, "Wedge")
  376.  
  377.  
  378. obj.PointW=add.Weld(obj.PointLeft, obj.BladeLeft, CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0), 0, 0))
  379.  
  380.  
  381. --Head
  382.  
  383.  
  384. obj.HandleHead=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.25, 2, .25), nil)
  385.  
  386.  
  387. obj.HandleHeadW=add.Weld(obj.HandleHead, body.Head, CFrame.new(0, -.25, -.5)*CFrame.Angles(0, 0, math.rad(90)))
  388.  
  389.  
  390. for i=1, 5 do
  391.  
  392.  
  393. obj.DesignHead=add.Part(modelB, false, false, "White", 0, Vector3.new(.3, .1, .1), nil)
  394.  
  395.  
  396. obj.DesignHeadW=add.Weld(obj.DesignHead, obj.HandleHead, CFrame.new(0, -1+i/3, 0)*CFrame.Angles(math.rad(45), 0, 0))
  397.  
  398.  
  399. end
  400.  
  401.  
  402. obj.GuardHead=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.5, .2, .5), nil)
  403.  
  404.  
  405. obj.GuardHeadW=add.Weld(obj.GuardHead, obj.HandleHead, CFrame.new(0, 1.1, 0))
  406.  
  407.  
  408. obj.GuardHeadB=add.Part(modelB, false, false, "White", 0, Vector3.new(.25, .2, .3), nil)
  409.  
  410.  
  411. obj.GuardHeadBM=add.Mesh("BlockMesh", obj.GuardHeadB, Vector3.new(.5, 1, 1), nil, nil)
  412.  
  413.  
  414. obj.GuardHeadBW=add.Weld(obj.GuardHeadB, obj.HandleHead, CFrame.new(0, 1.25, 0))
  415.  
  416.  
  417. obj.BladeHead=add.Part(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 4, .25), nil) obj.BladeHead.Reflectance=.5
  418.  
  419.  
  420. obj.BladeHeadM=add.Mesh("BlockMesh", obj.BladeHead, Vector3.new(.5, 1, 1), nil, nil)
  421.  
  422.  
  423. obj.BladeHeadW=add.Weld(obj.BladeHead, obj.HandleHead, CFrame.new(0, 3, 0))
  424.  
  425.  
  426. obj.PointHead=add.Wedge(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 1, .25), nil) obj.PointHead.Reflectance=.5
  427.  
  428.  
  429. obj.PointM=add.Mesh("SpecialMesh", obj.PointHead, Vector3.new(.5, 1, 1), nil, "Wedge")
  430.  
  431.  
  432. obj.PointW=add.Weld(obj.PointHead, obj.BladeHead, CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0), 0, 0))
  433.  
  434.  
  435. end
  436.  
  437.  
  438. function removeParts()
  439.  
  440.  
  441. p(function()
  442.  
  443.  
  444. for i, v in pairs(model:children()) do v:remove() end for i, v in pairs(modelB:children()) do v:remove() end for i, v in pairs(char:children()) do v.Transparency=0 end
  445.  
  446.  
  447. end)
  448.  
  449.  
  450. end
  451.  
  452.  
  453. function play(id, pitch)
  454.  
  455.  
  456. c(function()
  457.  
  458.  
  459. local sound=Instance.new("Sound", workspace)
  460.  
  461.  
  462. sound.Pitch=pitch
  463.  
  464.  
  465. sound.SoundId=id
  466.  
  467.  
  468. sound:play()
  469.  
  470.  
  471. wait(.5)
  472.  
  473.  
  474. sound:remove()
  475.  
  476.  
  477. end)
  478.  
  479.  
  480. end
  481.  
  482.  
  483.  
  484.  
  485.  
  486. --Variables--
  487.  
  488.  
  489. local speed=32
  490.  
  491.  
  492. local mana=100
  493.  
  494.  
  495. local trailDeb=false
  496.  
  497.  
  498. local hitDeb=false
  499.  
  500.  
  501. local keyDeb=false
  502.  
  503.  
  504. local loopDeb=false
  505.  
  506.  
  507.  
  508.  
  509.  
  510. local label=Instance.new("TextLabel", gui)
  511.  
  512.  
  513. label.Position=UDim2.new(0, 0, 0, 100)
  514.  
  515.  
  516. label.Size=UDim2.new(0, 200, 0, 20)
  517.  
  518.  
  519. label.BorderColor=BrickColor.Black()
  520.  
  521.  
  522. label.BackgroundColor=BrickColor.White()
  523.  
  524.  
  525. label.TextColor=BrickColor.Black()
  526.  
  527.  
  528. label.Font="ArialBold"
  529.  
  530.  
  531. label.FontSize="Size18"
  532.  
  533.  
  534. label.Text="100"
  535.  
  536.  
  537. local charge=Instance.new("TextLabel", label) charge.Transparency=.5
  538.  
  539.  
  540. charge.Position=UDim2.new(0, 0, 0, 0)
  541.  
  542.  
  543. charge.Size=UDim2.new(1, 0, 1, 0)
  544.  
  545.  
  546. charge.BorderColor=BrickColor.Black()
  547.  
  548.  
  549. charge.BackgroundColor=BrickColor.Blue()
  550.  
  551.  
  552. charge.TextColor=BrickColor.Black()
  553.  
  554.  
  555. charge.Font="ArialBold"
  556.  
  557.  
  558. charge.FontSize="Size18"
  559.  
  560.  
  561. charge.Text=""
  562.  
  563.  
  564.  
  565.  
  566.  
  567. local attackLabel=Instance.new("TextLabel", gui)
  568.  
  569.  
  570. attackLabel.Position=UDim2.new(0, 0, 0, 150)
  571.  
  572.  
  573. attackLabel.Size=UDim2.new(0, 150, 0, 50)
  574.  
  575.  
  576. attackLabel.BorderColor=BrickColor.Black()
  577.  
  578.  
  579. attackLabel.BackgroundColor=BrickColor.Black()
  580.  
  581.  
  582. attackLabel.TextColor=BrickColor.White()
  583.  
  584.  
  585. attackLabel.Font="ArialBold"
  586.  
  587.  
  588. attackLabel.FontSize="Size18"
  589.  
  590.  
  591. attackLabel.Text="DemonSlash(Q)"
  592.  
  593.  
  594. local attackLabel2=Instance.new("TextLabel", attackLabel)
  595.  
  596.  
  597. attackLabel2.Position=UDim2.new(0, 0, 1, 0)
  598.  
  599.  
  600. attackLabel2.Size=UDim2.new(1, 0, 1, 0)
  601.  
  602.  
  603. attackLabel2.BorderColor=BrickColor.Black()
  604.  
  605.  
  606. attackLabel2.BackgroundColor=BrickColor.Black()
  607.  
  608.  
  609. attackLabel2.TextColor=BrickColor.White()
  610.  
  611.  
  612. attackLabel2.Font="ArialBold"
  613.  
  614.  
  615. attackLabel2.FontSize="Size18"
  616.  
  617.  
  618. attackLabel2.Text="PoundHo(E)"
  619.  
  620.  
  621. local attackLabel3=Instance.new("TextLabel", attackLabel2)
  622.  
  623.  
  624. attackLabel3.Position=UDim2.new(0, 0, 1, 0)
  625.  
  626.  
  627. attackLabel3.Size=UDim2.new(1, 0, 1, 0)
  628.  
  629.  
  630. attackLabel3.BorderColor=BrickColor.Black()
  631.  
  632.  
  633. attackLabel3.BackgroundColor=BrickColor.Black()
  634.  
  635.  
  636. attackLabel3.TextColor=BrickColor.White()
  637.  
  638.  
  639. attackLabel3.Font="ArialBold"
  640.  
  641.  
  642. attackLabel3.FontSize="Size18"
  643.  
  644.  
  645. attackLabel3.Text="ThousandWorlds(R)"
  646.  
  647.  
  648. local attackLabel4=Instance.new("TextLabel", attackLabel3)
  649.  
  650.  
  651. attackLabel4.Position=UDim2.new(0, 0, 1, 0)
  652.  
  653.  
  654. attackLabel4.Size=UDim2.new(1, 0, 1, 0)
  655.  
  656.  
  657. attackLabel4.BorderColor=BrickColor.Black()
  658.  
  659.  
  660. attackLabel4.BackgroundColor=BrickColor.Black()
  661.  
  662.  
  663. attackLabel4.TextColor=BrickColor.White()
  664.  
  665.  
  666. attackLabel4.Font="ArialBold"
  667.  
  668.  
  669. attackLabel4.FontSize="Size18"
  670.  
  671.  
  672. attackLabel4.Text="Charge(Z)"
  673.  
  674.  
  675. local attackLabel5=Instance.new("TextLabel", attackLabel4)
  676.  
  677.  
  678. attackLabel5.Position=UDim2.new(0, 0, 1, 0)
  679.  
  680.  
  681. attackLabel5.Size=UDim2.new(1, 0, 1, 0)
  682.  
  683.  
  684. attackLabel5.BorderColor=BrickColor.Black()
  685.  
  686.  
  687. attackLabel5.BackgroundColor=BrickColor.Black()
  688.  
  689.  
  690. attackLabel5.TextColor=BrickColor.White()
  691.  
  692.  
  693. attackLabel5.Font="ArialBold"
  694.  
  695.  
  696. attackLabel5.FontSize="Size18"
  697.  
  698.  
  699. attackLabel5.Text="GreatTwister(F)"
  700.  
  701.  
  702. local attackLabel6=Instance.new("TextLabel", attackLabel5)
  703.  
  704.  
  705. attackLabel6.Position=UDim2.new(0, 0, 1, 0)
  706.  
  707.  
  708. attackLabel6.Size=UDim2.new(1, 0, 1, 0)
  709.  
  710.  
  711. attackLabel6.BorderColor=BrickColor.Black()
  712.  
  713.  
  714. attackLabel6.BackgroundColor=BrickColor.Black()
  715.  
  716.  
  717. attackLabel6.TextColor=BrickColor.White()
  718.  
  719.  
  720. attackLabel6.Font="ArialBold"
  721.  
  722.  
  723. attackLabel6.FontSize="Size18"
  724.  
  725.  
  726. attackLabel6.Text="Block(X)"
  727.  
  728.  
  729.  
  730.  
  731.  
  732. function hit(h)
  733.  
  734.  
  735. for i, v in pairs(modelB:children()) do if h==v then return end end
  736.  
  737.  
  738. for i, v in pairs(model:children()) do if h==v then return end end
  739.  
  740.  
  741. if runDeb==true and h.Parent~=char and h.Name~="Trailz" and h.Name~="Base" and hitDeb==false then hitDeb=true print("GotHit") h:remove()
  742.  
  743.  
  744. p(function()
  745.  
  746.  
  747. local pYPos=h.Position.y-(h.Size.y/2)
  748.  
  749.  
  750. local sYPos=obj.PointHead.Position.y
  751.  
  752.  
  753. local p=h:clone() p.Parent=workspace p.Anchored=true p.CanCollide=false p.Name="Trailz"
  754.  
  755.  
  756. local p2=h:clone() p2.Parent=workspace p2.Anchored=true p2.CanCollide=false p.Name="Trailz"
  757.  
  758.  
  759. p.formFactor="Custom"
  760.  
  761.  
  762. p2.formFactor="Custom"
  763.  
  764.  
  765. p.Size=Vector3.new(h.Size.x, sYPos-pYPos, h.Size.z)
  766.  
  767.  
  768. p2.Size=Vector3.new(h.Size.x, p2.Size.y-(sYPos-pYPos), h.Size.z)
  769.  
  770.  
  771. p.CFrame=h.CFrame*CFrame.new(0, -p2.Size.y/2, 0)
  772.  
  773.  
  774. p2.CFrame=h.CFrame*CFrame.new(0, p.Size.y/2, 0)
  775.  
  776.  
  777. c(function()
  778.  
  779.  
  780. for i=0, 1, .05 do
  781.  
  782.  
  783. wait()
  784.  
  785.  
  786. p.Transparency=i p2.Transparency=i
  787.  
  788.  
  789. end
  790.  
  791.  
  792. p:remove() p2:remove()
  793.  
  794.  
  795. end)
  796.  
  797.  
  798. end) wait()
  799.  
  800.  
  801. hitDeb=false
  802.  
  803.  
  804. end
  805.  
  806.  
  807. end
  808.  
  809.  
  810. function computePos(pos, pos2)
  811.  
  812.  
  813. local pos3=Vector3.new(pos2.x, pos.y, pos2.z)
  814.  
  815.  
  816. torso.CFrame=CFrame.new(pos, pos3)
  817.  
  818.  
  819. return pos3
  820.  
  821.  
  822. end
  823.  
  824.  
  825. function nearTorso(pos, dis)
  826.  
  827.  
  828. local temp
  829.  
  830.  
  831. local distance=dis
  832.  
  833.  
  834. for i, v in pairs(workspace:children()) do
  835.  
  836.  
  837. if v:isA("Model") then
  838.  
  839.  
  840. temp=v:findFirstChild("Torso")
  841.  
  842.  
  843. local humanoid=v:findFirstChild("Humanoid")
  844.  
  845.  
  846. if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude<distance then
  847.  
  848.  
  849. distance=(temp.CFrame.p-pos).magnitude
  850.  
  851.  
  852. return temp
  853.  
  854.  
  855. end
  856.  
  857.  
  858. end
  859.  
  860.  
  861. end
  862.  
  863.  
  864. end
  865.  
  866.  
  867. function trail(pos, cf)
  868.  
  869.  
  870. c(function()
  871.  
  872.  
  873. local old=(pos.CFrame*cf).p
  874.  
  875.  
  876. while trailDeb==true do
  877.  
  878.  
  879. wait()
  880.  
  881.  
  882. local new=(pos.CFrame*cf).p
  883.  
  884.  
  885. local mag=(old-new).magnitude
  886.  
  887.  
  888. local dis=(old+new)/2
  889.  
  890.  
  891. local trail=add.Part(model, true, false, "Pastel blue-green", 0, Vector3.new(.2, mag, .2), CFrame.new(dis, new)*CFrame.Angles(math.pi/2, 0, 0)) trail.Name="Trailz"
  892.  
  893.  
  894. local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(1, 1, 1), nil, nil)
  895.  
  896.  
  897. old=new
  898.  
  899.  
  900. c(function()
  901.  
  902.  
  903. for i=1, 0, -.2 do
  904.  
  905.  
  906. wait()
  907.  
  908.  
  909. trail.Mesh.Scale=trail.Mesh.Scale*Vector3.new(i, 1, i)
  910.  
  911.  
  912. end
  913.  
  914.  
  915. trail:remove()
  916.  
  917.  
  918. end)
  919.  
  920.  
  921. c(function()
  922.  
  923.  
  924. for i=0, 1, .2 do
  925.  
  926.  
  927. wait()
  928.  
  929.  
  930. trail.Transparency=i
  931.  
  932.  
  933. end
  934.  
  935.  
  936. end)
  937.  
  938.  
  939. end
  940.  
  941.  
  942. end)
  943.  
  944.  
  945. end
  946.  
  947.  
  948.  
  949.  
  950.  
  951. local Attacks={
  952.  
  953.  
  954. ["DemonSlash"]=function(mouse) human.WalkSpeed=0 computePos(torso.CFrame.p, mouse.Hit.p) mana=mana-5
  955.  
  956.  
  957. for i=0, 1, .1 do wait()
  958.  
  959.  
  960. animate.ArmLeft(CFrame.Angles(math.rad(90)*i, -math.rad(45)*i, math.rad(15)*i))
  961.  
  962.  
  963. animate.ArmRight(CFrame.Angles(math.rad(90)*i, math.rad(45)*i, -math.rad(15)*i))
  964.  
  965.  
  966. end
  967.  
  968.  
  969. trailDeb=true trail(obj.PointLeft, CFrame.new()) trail(obj.PointRight, CFrame.new())
  970.  
  971.  
  972. for i, v in pairs(modelB:children()) do
  973.  
  974.  
  975. connection=v.Touched:connect(hit)
  976.  
  977.  
  978. end
  979.  
  980.  
  981. play("rbxasset://sounds//swordslash.wav", 1)
  982.  
  983.  
  984. for i=0, 1, .2 do wait()
  985.  
  986.  
  987. torso.CFrame=torso.CFrame+torso.CFrame.lookVector*(10*i)
  988.  
  989.  
  990. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  991.  
  992.  
  993. animate.ArmLeft(CFrame.Angles(math.rad(90), -math.rad(45)+(math.rad(45)*i), math.rad(15)-(math.rad(150)*i)))
  994.  
  995.  
  996. animate.ArmRight(CFrame.Angles(math.rad(90), math.rad(45)+(-math.rad(45)*i), -math.rad(15)-(-math.rad(150)*i)))
  997.  
  998.  
  999. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  1000.  
  1001.  
  1002. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  1003.  
  1004.  
  1005. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(90)*i)
  1006.  
  1007.  
  1008. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(90)*i)
  1009.  
  1010.  
  1011. end
  1012.  
  1013.  
  1014. wait(1)
  1015.  
  1016.  
  1017. for i=1, 0, -.1 do wait()
  1018.  
  1019.  
  1020. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  1021.  
  1022.  
  1023. animate.ArmLeft(CFrame.Angles(math.rad(90)*i, 0, -math.rad(90)*i))
  1024.  
  1025.  
  1026. animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, math.rad(90)*i))
  1027.  
  1028.  
  1029. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  1030.  
  1031.  
  1032. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  1033.  
  1034.  
  1035. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(135)*i)
  1036.  
  1037.  
  1038. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(135)*i)
  1039.  
  1040.  
  1041. end
  1042.  
  1043.  
  1044. trailDeb=false
  1045.  
  1046.  
  1047. human.WalkSpeed=speed
  1048.  
  1049.  
  1050. end;
  1051.  
  1052.  
  1053. ["PoundHo"]=function(mouse) human.WalkSpeed=0
  1054.  
  1055.  
  1056. for i=0, 1, .1 do wait()
  1057.  
  1058.  
  1059. animate.Torso(CFrame.new(0, 2.5*i, -5*i)*CFrame.Angles(-math.rad(90)*i, 0, 0))
  1060.  
  1061.  
  1062. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i))
  1063.  
  1064.  
  1065. animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i))
  1066.  
  1067.  
  1068. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(180)*i)
  1069.  
  1070.  
  1071. end
  1072.  
  1073.  
  1074. local spin=45
  1075.  
  1076.  
  1077. local rotate=45
  1078.  
  1079.  
  1080. trailDeb=true trail(obj.PointLeft, CFrame.new()) trail(obj.PointRight, CFrame.new()) trail(obj.PointHead, CFrame.new())
  1081.  
  1082.  
  1083. for i, v in pairs(modelB:children()) do
  1084.  
  1085.  
  1086. connection=v.Touched:connect(hit)
  1087.  
  1088.  
  1089. end
  1090.  
  1091.  
  1092. while loopDeb==true and mana>0 do wait() spin=spin+rotate mana=mana-1
  1093.  
  1094.  
  1095. --[[local wind=add.Part(model, true, false, "Cyan", .5, Vector3.new(1, 1, 1), body.Torso.CFrame*CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(90), 0, 0)) wind.Name="Trailz"
  1096.  
  1097.  
  1098. local windM=add.Mesh("SpecialMesh", wind, Vector3.new(1, 1, 1), nil, "File") windM.MeshId="http://www.roblox.com/asset/?id=3270017"
  1099.  
  1100.  
  1101. c(function()
  1102.  
  1103.  
  1104. for i=0, 3, .2 do wait()
  1105.  
  1106.  
  1107. wind.CFrame=body.Torso.CFrame*CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(90), 0, 0)
  1108.  
  1109.  
  1110. wind.Mesh.Scale=wind.Mesh.Scale+Vector3.new(i, i, i)
  1111.  
  1112.  
  1113. end
  1114.  
  1115.  
  1116. wind:remove()
  1117.  
  1118.  
  1119. end)]]
  1120.  
  1121.  
  1122. computePos((torso.CFrame*CFrame.new(0, 0, -1)*CFrame.Angles(-math.rad(90), 0, 0)).p, mouse.Hit.p)
  1123.  
  1124.  
  1125. animate.Torso(CFrame.new(0, 2.5, -5)*CFrame.Angles(-math.rad(90), -math.rad(spin), 0))
  1126.  
  1127.  
  1128. end
  1129.  
  1130.  
  1131. trailDeb=false
  1132.  
  1133.  
  1134. for i=1, 0, -.1 do wait() play("rbxasset://sounds//swordslash.wav", 1)
  1135.  
  1136.  
  1137. animate.Torso(CFrame.new(0, 2.5*i, -5*i)*CFrame.Angles(-math.rad(90)*i, 0, 0))
  1138.  
  1139.  
  1140. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i))
  1141.  
  1142.  
  1143. animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i))
  1144.  
  1145.  
  1146. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(180)*i)
  1147.  
  1148.  
  1149. end
  1150.  
  1151.  
  1152. human.WalkSpeed=speed
  1153.  
  1154.  
  1155. end;
  1156.  
  1157.  
  1158. ["ThousandWorlds"]=function(mouse) human.WalkSpeed=0 computePos(torso.CFrame.p, mouse.Hit.p) mana=mana-20
  1159.  
  1160.  
  1161. for i=0, 1, .1 do wait()
  1162.  
  1163.  
  1164. animate.ArmLeft(CFrame.new(.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, math.rad(45)*i))
  1165.  
  1166.  
  1167. animate.ArmRight(CFrame.new(-.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, -math.rad(45)*i))
  1168.  
  1169.  
  1170. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), math.rad(45)*i, math.rad(180)*i)
  1171.  
  1172.  
  1173. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), -math.rad(45)*i, 0)
  1174.  
  1175.  
  1176. end
  1177.  
  1178.  
  1179. trailDeb=true trail(obj.PointLeft, CFrame.new()) trail(obj.PointRight, CFrame.new())
  1180.  
  1181.  
  1182. for i, v in pairs(modelB:children()) do
  1183.  
  1184.  
  1185. connection=v.Touched:connect(hit)
  1186.  
  1187.  
  1188. end
  1189.  
  1190.  
  1191. for i=0, 50, 1 do wait() play("http://www.roblox.com/asset/?id=3931318", 1)
  1192.  
  1193.  
  1194. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), math.rad(45), math.rad(180)+i)
  1195.  
  1196.  
  1197. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), -math.rad(45), i)
  1198.  
  1199.  
  1200. end
  1201.  
  1202.  
  1203. play("rbxasset://sounds//swordslash.wav", 1)
  1204.  
  1205.  
  1206. for i=0, 1, .2 do wait()
  1207.  
  1208.  
  1209. local fakeP=add.Part(workspace, true, false, "White", 0, Vector3.new(5, 5, 5), CFrame.new((torso.CFrame*CFrame.new(0, 0, 1.5)).p, torso.CFrame.p)*CFrame.Angles(math.rad(90), 0, 0)) fakeP.Name="Trailz"
  1210.  
  1211.  
  1212. local mesh=add.Mesh("SpecialMesh", fakeP, Vector3.new(1, 1, 1), nil, "File") mesh.MeshId="http://www.roblox.com/asset/?id=20329976"
  1213.  
  1214.  
  1215. c(function()
  1216.  
  1217.  
  1218. for i=0, 1, .05 do
  1219.  
  1220.  
  1221. wait()
  1222.  
  1223.  
  1224. fakeP.Transparency=i
  1225.  
  1226.  
  1227. end
  1228.  
  1229.  
  1230. fakeP:remove()
  1231.  
  1232.  
  1233. end)
  1234.  
  1235.  
  1236. c(function()
  1237.  
  1238.  
  1239. for i=1, 20, 1 do
  1240.  
  1241.  
  1242. wait()
  1243.  
  1244.  
  1245. mesh.Scale=Vector3.new(i, i/2, i)
  1246.  
  1247.  
  1248. end
  1249.  
  1250.  
  1251. end)
  1252.  
  1253.  
  1254. torso.CFrame=torso.CFrame+torso.CFrame.lookVector*(20*i)
  1255.  
  1256.  
  1257. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  1258.  
  1259.  
  1260. animate.ArmLeft(CFrame.new(.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, 0))
  1261.  
  1262.  
  1263. animate.ArmRight(CFrame.new(-.5*i, 0, -.5*i)*CFrame.Angles(-math.rad(90)*i, 0, 0))
  1264.  
  1265.  
  1266. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(90)*i)
  1267.  
  1268.  
  1269. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(90)*i)
  1270.  
  1271.  
  1272. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  1273.  
  1274.  
  1275. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  1276.  
  1277.  
  1278. end
  1279.  
  1280.  
  1281. trailDeb=false
  1282.  
  1283.  
  1284. wait(3)
  1285.  
  1286.  
  1287. for i=1, 0, -.1 do wait()
  1288.  
  1289.  
  1290. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  1291.  
  1292.  
  1293. animate.ArmLeft(CFrame.new(.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, 0))
  1294.  
  1295.  
  1296. animate.ArmRight(CFrame.new(-.5*i, 0, -.5*i)*CFrame.Angles(-math.rad(90)*i, 0, 0))
  1297.  
  1298.  
  1299. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(90)*i)
  1300.  
  1301.  
  1302. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(90)*i)
  1303.  
  1304.  
  1305. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  1306.  
  1307.  
  1308. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  1309.  
  1310.  
  1311. end
  1312.  
  1313.  
  1314. human.WalkSpeed=speed
  1315.  
  1316.  
  1317. end;
  1318.  
  1319.  
  1320. ["Charge"]=function(mouse) human.WalkSpeed=0 computePos(torso.CFrame.p, mouse.Hit.p)
  1321.  
  1322.  
  1323. for i=0, 1, .1 do wait()
  1324.  
  1325.  
  1326. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  1327.  
  1328.  
  1329. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(180)-(-math.rad(90)*i)))
  1330.  
  1331.  
  1332. animate.ArmRight(CFrame.Angles(0, 0, -math.rad(180)-(math.rad(90)*i)))
  1333.  
  1334.  
  1335. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  1336.  
  1337.  
  1338. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  1339.  
  1340.  
  1341. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(45)*i)
  1342.  
  1343.  
  1344. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(45)*i)
  1345.  
  1346.  
  1347. end
  1348.  
  1349.  
  1350. while loopDeb==true do wait() if mana>=0 and mana<100 then mana=mana+1 end play("http://www.roblox.com/asset/?id=2101137", 1)
  1351.  
  1352.  
  1353. local aura=add.Part(model, true, false, "Really black", .5, Vector3.new(1, 1, 1), torso.CFrame*CFrame.new(0, -4, 0)*CFrame.Angles(0, math.rad(math.random(-45, 45)), 0)) aura.Name="Trailz"
  1354.  
  1355.  
  1356. local auraM=add.Mesh("SpecialMesh", aura, Vector3.new(1, 1, 1), nil, "File") auraM.MeshId="http://www.roblox.com/asset/?id=20329976"
  1357.  
  1358.  
  1359. local aura2=add.Part(model, true, false, "Really black", .5, Vector3.new(5, 5, 5), torso.CFrame*CFrame.new(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15))*CFrame.Angles(math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))))
  1360.  
  1361.  
  1362. aura2.Name="Trailz"
  1363.  
  1364.  
  1365. c(function()
  1366.  
  1367.  
  1368. for i=0, 3, .2 do wait()
  1369.  
  1370.  
  1371. auraM.Scale=auraM.Scale+Vector3.new(i, i/2, i)
  1372.  
  1373.  
  1374. end
  1375.  
  1376.  
  1377. c(function()
  1378.  
  1379.  
  1380. for i=.5, 1, .1 do
  1381.  
  1382.  
  1383. wait()
  1384.  
  1385.  
  1386. aura.Transparency=i aura2.Transparency=i
  1387.  
  1388.  
  1389. end
  1390.  
  1391.  
  1392. end)
  1393.  
  1394.  
  1395. aura:remove() aura2:remove()
  1396.  
  1397.  
  1398. end)
  1399.  
  1400.  
  1401. end
  1402.  
  1403.  
  1404. for i=1, 0, -.1 do wait()
  1405.  
  1406.  
  1407. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  1408.  
  1409.  
  1410. animate.ArmLeft(CFrame.Angles(0, 0, (-math.rad(90)*i)))
  1411.  
  1412.  
  1413. animate.ArmRight(CFrame.Angles(0, 0, (math.rad(90)*i)))
  1414.  
  1415.  
  1416. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  1417.  
  1418.  
  1419. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  1420.  
  1421.  
  1422. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(45)*i)
  1423.  
  1424.  
  1425. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(45)*i)
  1426.  
  1427.  
  1428. end
  1429.  
  1430.  
  1431. human.WalkSpeed=speed
  1432.  
  1433.  
  1434. end;
  1435.  
  1436.  
  1437. ["GreatTwister"]=function(mouse) human.WalkSpeed=0 computePos(torso.CFrame.p, mouse.Hit.p) mana=mana-40
  1438.  
  1439.  
  1440. for i=0, 1, .1 do wait()
  1441.  
  1442.  
  1443. animate.Torso(CFrame.new(0, 0, -50*i))
  1444.  
  1445.  
  1446. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i))
  1447.  
  1448.  
  1449. animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i))
  1450.  
  1451.  
  1452. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90)+(-math.rad(90)*i), math.rad(180)*i, 0)
  1453.  
  1454.  
  1455. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90)+(-math.rad(90)*i), 0, 0)
  1456.  
  1457.  
  1458. end
  1459.  
  1460.  
  1461. trailDeb=true trail(obj.PointLeft, CFrame.new()) trail(obj.PointRight, CFrame.new())
  1462.  
  1463.  
  1464. local tornado=add.Part(workspace, true, false, "Cyan", .5, Vector3.new(1, 1, 1), body.Torso.CFrame*CFrame.Angles(math.rad(180), 0, 0)) tornado.Name="Trailz"
  1465.  
  1466.  
  1467. local tornadoM=add.Mesh("SpecialMesh", tornado, Vector3.new(1, 1, 1), nil, "File") tornadoM.MeshId="http://www.roblox.com/asset/?id=36755354"
  1468.  
  1469.  
  1470. local spin=35
  1471.  
  1472.  
  1473. for i=0, 50, 1 do wait() play("rbxasset://sounds//swordslash.wav", 1)
  1474.  
  1475.  
  1476. animate.Torso(CFrame.new(0, 0, -50)*CFrame.Angles(0, -math.rad(i*45), 0))
  1477.  
  1478.  
  1479. tornado.CFrame=body.Torso.CFrame*CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(180), 0, 0)
  1480.  
  1481.  
  1482. tornado.Size=Vector3.new(i, i, i)
  1483.  
  1484.  
  1485. tornadoM.Scale=Vector3.new(i, i, i)
  1486.  
  1487.  
  1488. end
  1489.  
  1490.  
  1491. c(function() c(function()wait(10) tornado:remove() end) while true do wait() spin=spin+35 tornado.Touched:connect(hit) tornado.CFrame=tornado.CFrame*CFrame.new(0, 0, 0)*CFrame.Angles(0, math.rad(spin), 0) end end)
  1492.  
  1493.  
  1494. for i=1, 0, -.1 do wait()
  1495.  
  1496.  
  1497. animate.Torso(CFrame.new(0, 0, -50*i)*CFrame.Angles(0, -math.rad(i*45), 0))
  1498.  
  1499.  
  1500. animate.Torso(CFrame.Angles(0, 0, 0))
  1501.  
  1502.  
  1503. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i))
  1504.  
  1505.  
  1506. animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i))
  1507.  
  1508.  
  1509. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90)+(-math.rad(90)*i), math.rad(180)*i, 0)
  1510.  
  1511.  
  1512. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90)+(-math.rad(90)*i), 0, 0)
  1513.  
  1514.  
  1515. end
  1516.  
  1517.  
  1518. trailDeb=false
  1519.  
  1520.  
  1521. human.WalkSpeed=speed
  1522.  
  1523.  
  1524. end;
  1525.  
  1526.  
  1527. ["Block"]=function(mouse) human.WalkSpeed=0 computePos(torso.CFrame.p, mouse.Hit.p)
  1528.  
  1529.  
  1530. for i=0, 1, .1 do wait()
  1531.  
  1532.  
  1533. animate.ArmLeft(CFrame.Angles(math.rad(90)*i, -math.rad(45)*i, math.rad(15)*i))
  1534.  
  1535.  
  1536. animate.ArmRight(CFrame.Angles(math.rad(90)*i, math.rad(45)*i, -math.rad(15)*i))
  1537.  
  1538.  
  1539. end
  1540.  
  1541.  
  1542. local shieldPart=add.Part(model, true, false, "White", 1, Vector3.new(10, 10, 1), torso.CFrame+torso.CFrame.lookVector*1.5)
  1543.  
  1544.  
  1545. while loopDeb==true do wait() computePos(torso.CFrame.p, mouse.Hit.p) shieldPart.CFrame=torso.CFrame+torso.CFrame.lookVector*1.5
  1546.  
  1547.  
  1548. shieldPart.Touched:connect(function(h) while runDeb==false do wait() end
  1549.  
  1550.  
  1551. if h.Parent~=char and h.Parent~=modelB and h.Parent~=model and h.Name~="Trailz" and h.Name~="Base" and hitDeb==false then hitDeb=true print(h.Name)
  1552.  
  1553.  
  1554. local fakeP=add.Part(workspace, true, false, "Bright yellow", 0, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p))
  1555.  
  1556.  
  1557. local mesh=add.Mesh("SpecialMesh", fakeP, Vector3.new(1, 1, 1), nil, "File") mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
  1558.  
  1559.  
  1560. c(function()
  1561.  
  1562.  
  1563. for i=0, 1, .05 do
  1564.  
  1565.  
  1566. wait()
  1567.  
  1568.  
  1569. fakeP.Mesh.Scale=fakeP.Mesh.Scale+Vector3.new(i, i, 0)
  1570.  
  1571.  
  1572. end
  1573.  
  1574.  
  1575. fakeP:remove()
  1576.  
  1577.  
  1578. end)
  1579.  
  1580.  
  1581. c(function()
  1582.  
  1583.  
  1584. for i=0, 1, .05 do
  1585.  
  1586.  
  1587. wait()
  1588.  
  1589.  
  1590. fakeP.Transparency=i
  1591.  
  1592.  
  1593. end
  1594.  
  1595.  
  1596. end)
  1597.  
  1598.  
  1599. h.Anchored=false
  1600.  
  1601.  
  1602. local bp=Instance.new("BodyPosition", h) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=(CFrame.new(torso.CFrame.p, h.CFrame.p)*CFrame.new(0, 0, -50)).p
  1603.  
  1604.  
  1605. h.Velocity=Vector3.new(0, 0, 0) h.RotVelocity=Vector3.new(0, 0, 0)
  1606.  
  1607.  
  1608. game.Debris:addItem(bp, .2)
  1609.  
  1610.  
  1611. wait()
  1612.  
  1613.  
  1614. hitDeb=false
  1615.  
  1616.  
  1617. end
  1618.  
  1619.  
  1620. end)
  1621.  
  1622.  
  1623. end
  1624.  
  1625.  
  1626. shieldPart:remove()
  1627.  
  1628.  
  1629. for i=1, 0, -.1 do wait()
  1630.  
  1631.  
  1632. animate.ArmLeft(CFrame.Angles(math.rad(90)*i, -math.rad(45)*i, math.rad(15)*i))
  1633.  
  1634.  
  1635. animate.ArmRight(CFrame.Angles(math.rad(90)*i, math.rad(45)*i, -math.rad(15)*i))
  1636.  
  1637.  
  1638. end
  1639.  
  1640.  
  1641. human.WalkSpeed=speed
  1642.  
  1643.  
  1644. end
  1645.  
  1646.  
  1647. }
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653. bin.Selected:connect(function(mouse) createParts() human.WalkSpeed=speed
  1654.  
  1655.  
  1656. for i=0, 1, .1 do wait()
  1657.  
  1658.  
  1659. animate.ArmLeft(CFrame.Angles(0, math.rad(45)*i, -math.rad(45)*i))
  1660.  
  1661.  
  1662. animate.ArmRight(CFrame.Angles(0, -math.rad(45)*i, math.rad(45)*i))
  1663.  
  1664.  
  1665. end
  1666.  
  1667.  
  1668. human.Running:connect(function(speed)
  1669.  
  1670.  
  1671. if speed>0 then while keyDeb==true do wait() end
  1672.  
  1673.  
  1674. animate.ArmLeft(CFrame.Angles(0, math.rad(45), -math.rad(45)))
  1675.  
  1676.  
  1677. animate.ArmRight(CFrame.Angles(0, -math.rad(45), math.rad(45)))
  1678.  
  1679.  
  1680. body.LegLeft.Transparency=1 body.LegRight.Transparency=1
  1681.  
  1682.  
  1683. leg.Left.Transparency=0 leg.Right.Transparency=0
  1684.  
  1685.  
  1686. end
  1687.  
  1688.  
  1689. end)
  1690.  
  1691.  
  1692. mouse.KeyDown:connect(function(key)
  1693.  
  1694.  
  1695. if key=="q" and keyDeb==false and mana>=5 then keyDeb=true runDeb=true
  1696.  
  1697.  
  1698. Attacks.DemonSlash(mouse)
  1699.  
  1700.  
  1701. keyDeb=false runDeb=false
  1702.  
  1703.  
  1704. end
  1705.  
  1706.  
  1707. if key=="e" and keyDeb==false and mana>=0 then keyDeb=true runDeb=true loopDeb=true
  1708.  
  1709.  
  1710. Attacks.PoundHo(mouse)
  1711.  
  1712.  
  1713. keyDeb=false runDeb=false
  1714.  
  1715.  
  1716. end
  1717.  
  1718.  
  1719. if key=="r" and keyDeb==false and mana>=20 then keyDeb=true runDeb=true loopDeb=true
  1720.  
  1721.  
  1722. Attacks.ThousandWorlds(mouse)
  1723.  
  1724.  
  1725. keyDeb=false runDeb=false
  1726.  
  1727.  
  1728. end
  1729.  
  1730.  
  1731. if key=="z" and keyDeb==false then keyDeb=true runDeb=true loopDeb=true
  1732.  
  1733.  
  1734. Attacks.Charge(mouse)
  1735.  
  1736.  
  1737. keyDeb=false runDeb=false
  1738.  
  1739.  
  1740. end
  1741.  
  1742.  
  1743. if key=="f" and keyDeb==false and mana>=40 then keyDeb=true runDeb=true loopDeb=true
  1744.  
  1745.  
  1746. Attacks.GreatTwister(mouse)
  1747.  
  1748.  
  1749. keyDeb=false runDeb=false
  1750.  
  1751.  
  1752. end
  1753.  
  1754.  
  1755. if key=="x" and keyDeb==false and mana>=0 then keyDeb=true runDeb=true loopDeb=true
  1756.  
  1757.  
  1758. Attacks.Block(mouse)
  1759.  
  1760.  
  1761. keyDeb=false runDeb=false
  1762.  
  1763.  
  1764. end
  1765.  
  1766.  
  1767. end)
  1768.  
  1769.  
  1770. mouse.KeyUp:connect(function(key)
  1771.  
  1772.  
  1773. if key=="e" and keyDeb==true then loopDeb=false end
  1774.  
  1775.  
  1776. if key=="x" and keyDeb==true then loopDeb=false end
  1777.  
  1778.  
  1779. if key=="z" and keyDeb==true then loopDeb=false end
  1780.  
  1781.  
  1782. end)
  1783.  
  1784.  
  1785. c(function() while true do wait() label.Text=mana charge.Size=UDim2.new(mana/100, 0, 1, 0) end end)
  1786.  
  1787.  
  1788. end)
  1789.  
  1790.  
  1791. bin.Deselected:connect(function() removeParts() end)--mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement