Advertisement
Guest User

sword combo

a guest
Aug 29th, 2017
546
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --By Kysuto (=3)
  2. game.Players.ElementalAbilities.Character.Humanoid.WalkSpeed = 100
  3. plr = game.Players.LocalPlayer
  4. rig = plr.Character.Torso
  5. char = plr.Character
  6. mouse = plr:GetMouse()
  7. wait(2)
  8. local rekt = false
  9. print(rig["Left Shoulder"].C0)
  10. sound2 = Instance.new("Sound", rig)
  11. sound2.SoundId = "rbxassetid://186311262"
  12. sound2.Volume = 10
  13. sound2.Looped = false
  14. sound3 = Instance.new("Sound", rig)
  15. sound3.SoundId = "rbxassetid://162194532"
  16. sound3.Volume = 10
  17. sound3.Looped = false
  18. sword = Instance.new("Part", char["Right Arm"])
  19. sword.Position = sword.Position + Vector3.new(0,10,0)
  20. sword.Size = Vector3.new(1, 11, 1)
  21. mesh = Instance.new("SpecialMesh", sword)
  22. mesh.MeshId = "rbxassetid://438076439"
  23. mesh.TextureId = "rbxassetid://438076443"
  24. mesh.Scale = Vector3.new(0.4, 0.6, 0.8)
  25. weld = Instance.new("Weld", sword)
  26. weld.Part0 = char["Right Arm"]
  27. weld.Part1 = sword
  28. sword.CanCollide = false
  29. weld.C0 = weld.C0 * CFrame.Angles(-1.5,0,0)
  30. weld.C0 = weld.C0 * CFrame.new(0,3,-1)
  31. sword.Transparency = 1
  32. for i = 1,20 do
  33.     wait()
  34.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.08)
  35. end
  36. function combo(hand)
  37.     if not rekt then
  38.     rekt = true
  39.     rig["Left Shoulder"].C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  40.     char.Humanoid.WalkSpeed = 0
  41.     char.Humanoid.JumpPower = 0
  42.     local humanoid = hand.Parent:FindFirstChild("Humanoid")
  43.     print(humanoid)
  44.     local rootpart = hand.Parent:FindFirstChild("HumanoidRootPart")
  45.     print(rootpart)
  46.     local joint = rootpart:FindFirstChild("RootJoint")
  47.     print(joint)
  48.     local torso = hand.Parent:FindFirstChild("Torso")
  49.     print(torso)
  50.     humanoid.WalkSpeed = 0
  51.     humanoid.JumpPower = 0
  52.     for i = 1,50 do
  53.         wait()
  54.         sword.Transparency = sword.Transparency - 0.05
  55.     end
  56.     wait(0.2)
  57.     for i = 1,3 do
  58.         for i = 1,5 do
  59.     wait()
  60.     rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,0.2)
  61.         end
  62.     sound2:Play()
  63.     humanoid.Health = humanoid.Health - 10
  64.     wait()
  65.     for i = 1,5 do
  66.     wait()
  67.     rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.4)
  68.     end
  69.     for i = 1,5 do
  70.     wait()
  71.     rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,0.2)
  72.     end
  73.     wait()
  74.     end
  75.     for i = 1,10 do
  76.                 humanoid.WalkSpeed = 0
  77.             humanoid.JumpPower = 0
  78.         wait()
  79.         sword.Transparency = sword.Transparency + 0.1
  80.     end
  81.     char.Torso.Anchored = false
  82.     for i = 1,20 do
  83.         wait()
  84.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,2)
  85.         char.Humanoid.CameraOffset = char.Humanoid.CameraOffset + Vector3.new(0,2,0)
  86.     end
  87.     for i = 1,5 do
  88.         wait()
  89.         char.Humanoid.CameraOffset = char.Humanoid.CameraOffset + Vector3.new(0,1,0)
  90.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,1)
  91.     end
  92.     wait(0.1)
  93.     for i = 1,5 do
  94.         wait()
  95.         char.Humanoid.CameraOffset = char.Humanoid.CameraOffset + Vector3.new(0,-1,0)
  96.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-1)
  97.     end
  98.     for i = 1,20 do
  99.         wait()
  100.         char.Humanoid.CameraOffset = char.Humanoid.CameraOffset + Vector3.new(0,-2,0)
  101.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-2)
  102.     end
  103.     -------------------------------------
  104.     for i = 1,20 do
  105.         wait()
  106.         joint.C0 = joint.C0 * CFrame.new(0,0,2)
  107.         humanoid.CameraOffset = humanoid.CameraOffset + Vector3.new(0,2,0)
  108.     end
  109.     for i = 1,5 do
  110.         wait()
  111.         humanoid.CameraOffset = humanoid.CameraOffset + Vector3.new(0,1,0)
  112.         joint.C0 = joint.C0 * CFrame.new(0,0,1)
  113.     end
  114.     wait(0.1)
  115.     for i = 1,5 do
  116.         wait()
  117.         humanoid.CameraOffset = humanoid.CameraOffset + Vector3.new(0,-1,0)
  118.         joint.C0 = joint.C0 * CFrame.new(0,0,-1)
  119.     end
  120.     for i = 1,20 do
  121.         wait()
  122.         humanoid.CameraOffset = humanoid.CameraOffset + Vector3.new(0,-2,0)
  123.         joint.C0 = joint.C0 * CFrame.new(0,0,-2)
  124.     end
  125.     humanoid.Health = humanoid.Health - 20
  126.     for i = 1,6 do
  127.         wait()
  128.         char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,0.15,0)
  129.         rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,0.15)
  130.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-0.15)
  131.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.05,0,0)
  132.         rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(0.15,0.15,0)
  133.         rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
  134.         rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
  135.     end
  136.     for i = 1,10 do
  137.         wait()
  138.         humanoid.CameraOffset = humanoid.CameraOffset + Vector3.new(0,0,1)
  139.         joint.C0 = joint.C0 * CFrame.new(0,1,0)
  140.     end
  141.     for i = 1,10 do
  142.         wait()
  143.         humanoid.CameraOffset = humanoid.CameraOffset + Vector3.new(0,0,1)
  144.     end
  145.     for i = 1,3 do
  146.         wait()
  147.         joint.C0 = joint.C0 * CFrame.new(0,0.3,0)
  148.     end
  149.     wait(0.2)
  150.     for i = 1,6 do
  151.         wait()
  152.         char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,-0.15,0)
  153.         rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,-0.15)
  154.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,0.15)
  155.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.05,0,0)
  156.         rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(-0.15,-0.15,0)
  157.         rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,0.15)
  158.         rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,0.15)
  159.     end
  160.     wait(0.2)
  161.  
  162.     for i = 1,20 do
  163.     wait()
  164.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.08)
  165.     end
  166.     wait(0.2)
  167.     for i = 1, 5 do
  168.     local swordy = Instance.new("Sound", rig)
  169.     swordy.SoundId = "rbxassetid://220834000"
  170.     swordy:Play()
  171.     local slice = Instance.new("Part", workspace)
  172.     slice.Size = Vector3.new(10, 1, 2)
  173.     slice.Rotation = Vector3.new(0, 0, math.random(-25,55))
  174.     slice.BrickColor = BrickColor.new("Really red")
  175.     slice.Anchored = true
  176.     slice.CanCollide = false
  177.     slice.Position = torso.Position
  178.     slice.Transparency = 0.3
  179.     humanoid.Health = humanoid.Health - 10
  180.     wait(0.1)
  181.     slice:destroy()
  182.     end
  183.     wait(1)
  184.     local Rock = Instance.new("Part", workspace)
  185.     Rock.Anchored = true
  186.     Rock.Size = Vector3.new(6.5,6,6.5)
  187.     Rock.Position = torso.Position
  188.     Rock.Position = Rock.Position + Vector3.new(0,100,0)
  189.     Rock.CanCollide = false
  190.     for i = 1,50 do
  191.     wait()
  192.     humanoid.CameraOffset = Vector3.new(math.random(-0.6,0.6),math.random(-0.6,0.6),math.random(-0.6,0.6))
  193.     char.Humanoid.CameraOffset = Vector3.new(math.random(-0.6,0.6),math.random(-0.6,0.6),math.random(-0.6,0.6))
  194.      Rock.Position = Rock.Position + Vector3.new(0,-2,0)
  195.     end
  196.     sound3:Play()
  197.     for i = 1,30 do
  198.     wait()
  199.     humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  200.     char.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  201.     end
  202.     for i = 1,10 do
  203.     wait()
  204.     humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7))
  205.     char.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7))
  206.     end
  207.     humanoid.CameraOffset = Vector3.new(0,0,0)
  208.     char.Humanoid.CameraOffset = Vector3.new(0,0,0)
  209.     humanoid:destroy()
  210.     plr.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.fromEulerAnglesXYZ(0,4.7,0)
  211.     for i = 1,20 do
  212.     wait()
  213.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.08)
  214.         end
  215.     char.Humanoid.WalkSpeed = 16
  216.     char.Humanoid.JumpPower = 50
  217.     sword.Transparency = 1
  218.     rekt = false
  219.     end
  220.     end
  221. char["Left Arm"].Touched:connect(combo)
  222. --[[
  223.         joint.C0 = char.HumanoidRootPart.RootJoint.C0
  224.     --------------------------------------------
  225.     for i = 1,6 do
  226.         wait()
  227.         char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,0.15,0)
  228.         rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,0.15)
  229.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-0.15)
  230.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.05,0,0)
  231.         rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(0.15,0.15,0)
  232.         rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
  233.         rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
  234.     end
  235.  
  236. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement