Advertisement
Guest User

Untitled

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