Advertisement
UltimateGate

The Magic Kick (Edit)

Nov 25th, 2017
694
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.41 KB | None | 0 0
  1. --yay by soemone and got leaked by ultimategate so don't friccin blame him because someone requested this for him.
  2. mouse = game.Players.LocalPlayer:GetMouse()
  3. used = false
  4. attacking = false
  5. smashing = false
  6. kick = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  7. kick.SoundId = "rbxassetid://507150998"
  8. kick.Volume = 6
  9. kick1 = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  10. kick1.SoundId = "rbxassetid://992183181"
  11. kick1.Volume = 5
  12. kick11 = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  13. kick11.SoundId = "rbxassetid://165969964"
  14. kick11.Volume = 50
  15. function sensor(key)
  16. key = key:lower()
  17. if key == "e" then
  18. if not used then
  19. used = true
  20. local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
  21. detect.Size = Vector3.new(6,6,5)
  22. detect:BreakJoints()
  23. detect.CanCollide = false
  24. detect.Transparency = 0.95
  25. detect.BrickColor = BrickColor.new("Really red")
  26. local weld = Instance.new("Weld", detect)
  27. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  28. weld.Part1 = detect
  29. weld.C0 = weld.C0 * CFrame.new(0,-1,0)
  30. local function attack(part)
  31. if not attacking then
  32. attacking = true
  33. local torso = part.Parent:findFirstChild("Torso")
  34. if torso ~= nil then
  35. local humanoid = part.Parent:findFirstChild("Humanoid")
  36. if humanoid ~= nil then
  37. local weld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  38. humanoid.WalkSpeed = 0
  39. humanoid.JumpPower = 0
  40. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  41. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  42. for i = 1,5 do
  43. wait()
  44. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,0.25)
  45. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.25)
  46. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.2)
  47. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.2)
  48. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
  49. end
  50. kick:Play()
  51. used = true
  52. local bodyvelocity = Instance.new("BodyVelocity", torso)
  53. bodyvelocity.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 67
  54. bodyvelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  55. wait(1.4)
  56. local bodyposition = Instance.new("BodyPosition", torso)
  57. bodyposition.Position = torso.Position
  58. bodyposition.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  59. bodyvelocity:destroy()
  60. wait(1)
  61. for i = 1,5 do
  62. wait()
  63. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.25)
  64. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.25)
  65. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.2)
  66. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.2)
  67. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.2,0,0)
  68. end
  69. for i = 1,5 do
  70. wait()
  71. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,0.25)
  72. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.25)
  73. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.2)
  74. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.2)
  75. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.2,0,0)
  76. end
  77. wait(1)
  78. for i = 1,5 do
  79. wait()
  80. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.25)
  81. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.25)
  82. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.1)
  83. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.1)
  84. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.1,0,0)
  85. end
  86. local bodypositionme = Instance.new("BodyPosition", game.Players.LocalPlayer.Character.Torso)
  87. bodypositionme.Position = torso.Position
  88. bodypositionme.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  89. wait(1.1)
  90. for i = 1,5 do
  91. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,0.25)
  92. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.25)
  93. end
  94. kick1:Play()
  95. bodypositionme:destroy()
  96. local torsowelding = Instance.new("Weld", torso)
  97. torsowelding.Part0 = torso
  98. torsowelding.Part1 = game.Players.LocalPlayer.Character.Torso
  99. torsowelding.C0 = torsowelding.C0 * CFrame.new(0,0,-2)
  100. torsowelding.C0 = torsowelding.C0 * CFrame.Angles(0,3.08,0)
  101. wait(1.3)
  102. torsowelding:destroy()
  103. bodyposition:destroy()
  104. local mybodyvel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  105. mybodyvel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -90
  106. mybodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  107. local bodyvel = Instance.new("BodyVelocity", torso)
  108. bodyvel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 80
  109. bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  110. humanoid.PlatformStand = true
  111. wait(0.3)
  112. bodyvel:destroy()
  113. mybodyvel:destroy()
  114. wait(0.25)
  115. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  116. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  117. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  118. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  119. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  120. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  121. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  122. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  123. wait(2.5)
  124. local block = Instance.new("Part", workspace)
  125. block.Position = torso.Position + Vector3.new(0,500,0)
  126. block.Size = Vector3.new(50,70,50)
  127. local function smash()
  128. if not smashing then
  129. smashing = true
  130. local explosion = Instance.new("Explosion", block)
  131. explosion.BlastRadius = 45
  132. humanoid.Health = 0
  133. kick11:Play()
  134. explosion.Position = torso.Position
  135. wait(6)
  136. smashing = false
  137. end
  138. end
  139. block.Touched:connect(smash)
  140. used = false
  141. attacking = false
  142. wait(7)
  143. block:destroy()
  144. end
  145. end
  146. wait(1)
  147. attacking = false
  148. end
  149. end
  150. detect.Touched:connect(attack)
  151. wait(0.1)
  152. detect:destroy()
  153. used = false
  154. end
  155. end
  156. end
  157. mouse.KeyDown:connect(sensor)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement