Dark_EccentricYT

Untitled

Jun 23rd, 2020
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.80 KB | None | 0 0
  1. while not getmetatable(shared) do
  2. wait()
  3. end
  4. shared(script)
  5. local Player = game:GetService("Players").LocalPlayer
  6. local Char = Player.Character
  7. local Mouse = Player:GetMouse()
  8. local PlayerGui = Player.PlayerGui
  9. local HuRoot = Char:FindFirstChild("HumanoidRootPart")
  10. local Torso = Char.Torso
  11. local Head = Char.Head
  12. local RightArm = Char["Right Arm"]
  13. local LeftArm = Char["Left Arm"]
  14. local LeftLeg = Char["Left Leg"]
  15. local RightLeg = Char["Right Leg"]
  16. local Humanoid = Char.Humanoid
  17. local RJ = HuRoot.RootJoint
  18. local NK = Torso.Neck
  19. local LH = Torso["Left Hip"]
  20. local RH = Torso["Right Hip"]
  21. Torso:FindFirstChild("Left Shoulder"):Destroy()
  22. Torso:FindFirstChild("Right Shoulder"):Destroy()
  23. local LS = Instance.new("ManualWeld", Torso)
  24. local RS = Instance.new("ManualWeld", Torso)
  25. LS.Name = "Left Shoulder"
  26. LS.Part0 = Torso
  27. LS.Part1 = LeftArm
  28. LS.C0 = CFrame.new(-1, 0.5, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8)
  29. LS.C1 = CFrame.new(0.5, 0.5, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8)
  30. RS.Name = "Right Shoulder"
  31. RS.Part0 = Torso
  32. RS.Part1 = RightArm
  33. RS.C0 = CFrame.new(1, 0.5, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8)
  34. RS.C1 = CFrame.new(-0.5, 0.5, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8)
  35. CanUseAnimations = true
  36. Idle = false
  37. Walk = false
  38. Jump = false
  39. Fall = false
  40. Swim = false
  41. Stunned = false
  42. CanClickAttack = false
  43. CanClickAttackDamage = false
  44. ClickProgress = 0
  45. PunchAnim1 = false
  46. PunchAnim2 = false
  47. damageMultiplyer = 1
  48. defenceMultiplyer = 1
  49. canclickopenclose = true
  50. game:GetService("RunService").RenderStepped:connect(function()
  51. Humanoid.MaxHealth = Humanoid.MaxHealth * defenceMultiplyer
  52. if CanUseAnimations == true then
  53. if Idle then
  54. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  55. RJ.C1 = RJ.C1:lerp(CFrame.new(-0.0599678755, 0.263537616, -0.0940124542, -0.880678296, 0.472979337, -0.0263881497, -0.024495516, 0.0101615489, 0.999648273, 0.473081142, 0.881014943, 0.00263682008), 0.1)
  56. NK.C0 = NK.C0:lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  57. NK.C1 = NK.C1:lerp(CFrame.new(0, -0.5, 0, -0.876219034, -0.481913149, 0, 0, 0, 1, -0.481913149, 0.876219034, 0), 0.1)
  58. LS.C0 = LS.C0:lerp(CFrame.new(-1, 0.5, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  59. LS.C1 = LS.C1:lerp(CFrame.new(0.0479653478, 0.147130907, -0.594825864, -0.180627942, -0.351361483, -0.918650448, 0.328128248, -0.902030349, 0.28048709, -0.92720294, -0.250771374, 0.278223515), 0.1)
  60. RS.C0 = RS.C0:lerp(CFrame.new(1, 0.5, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  61. RS.C1 = RS.C1:lerp(CFrame.new(-0.607181191, 0.624071479, -0.734454036, 0.713451028, 0.564803064, 0.414711028, -0.356187731, -0.217351019, 0.90878433, 0.603421986, -0.796088099, 0.0461065732), 0.1)
  62. LH.C0 = LH.C0:lerp(CFrame.new(-1, -1, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  63. LH.C1 = LH.C1:lerp(CFrame.new(-0.699635029, 0.761355281, 0.418607026, -0.520770729, -0.181128234, -0.834260464, -0.016961487, 0.979235411, -0.202016175, 0.853528082, -0.0910538062, -0.513029277), 0.1)
  64. RH.C0 = RH.C0:lerp(CFrame.new(1, -1, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  65. RH.C1 = RH.C1:lerp(CFrame.new(0.454061151, 0.830899656, 0.193133831, 0.15651153, 0.210319534, 0.96502322, 0.576116741, 0.774182975, -0.262164384, -0.802242875, 0.596997797, -3.50671492E-8), 0.1)
  66. end
  67. if Walk then
  68. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  69. RJ.C1 = RJ.C1:lerp(CFrame.new(0, -0.00653108442, 0.181265086, -1, 0, 0, 0, -0.136834219, 0.99059391, 0, 0.99059391, 0.136834219), 0.1)
  70. NK.C0 = NK.C0:lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  71. NK.C1 = NK.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0743306801, 0.997233629, 0, 0.997233629, -0.0743306801), 0.1)
  72. LS.C0 = LS.C0:lerp(CFrame.new(-1, 0.5, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  73. LS.C1 = LS.C1:lerp(CFrame.new(0.49999997, 0.5, 0, -0.150980204, -0.0523474067, -0.987149775, 0.0336370207, 0.997746587, -0.0580539741, 0.987964392, -0.0419697836, -0.14887917), 0.1)
  74. RS.C0 = RS.C0:lerp(CFrame.new(1, 0.5, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  75. RS.C1 = RS.C1:lerp(CFrame.new(-0.5, 0.5, -7.4505806E-9, -0.155062318, 0.0924798623, 0.983566523, 4.09191614E-9, 0.995608747, -0.0936121345, -0.987904668, -0.0145157101, -0.154381394), 0.1)
  76. LH.C0 = LH.C0:lerp(CFrame.new(-1, -1, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  77. LH.C1 = LH.C1:lerp(CFrame.new(-0.467875719, 1, 0, -4.37113883E-8, 0, -1, 0.0854092315, 0.996345937, -3.73335629E-9, 0.996345937, -0.0854092315, -4.35516654E-8), 0.1)
  78. RH.C0 = RH.C0:lerp(CFrame.new(1, -1, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  79. RH.C1 = RH.C1:lerp(CFrame.new(0.452878892, 1, 0, -4.37113883E-8, 0, 1, -0.0370549373, 0.999313235, -1.6197228E-9, -0.999313235, -0.0370549373, -4.36813679E-8), 0.1)
  80. end
  81. if Jump then
  82. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  83. RJ.C1 = RJ.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.135610417, 0.990762234, 0, 0.990762234, -0.135610417), 0.1)
  84. NK.C0 = NK.C0:lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  85. NK.C1 = NK.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.252793014, 0.967520356, 0, 0.967520356, -0.252793014), 0.1)
  86. LS.C0 = LS.C0:lerp(CFrame.new(-1, 0.5, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  87. LS.C1 = LS.C1:lerp(CFrame.new(0.5, 0.5, 0, -4.31810605E-8, -0.155299395, -0.987867475, -6.7883521E-9, 0.987867475, -0.155299395, 1, 0, -4.37113883E-8), 0.1)
  88. RS.C0 = RS.C0:lerp(CFrame.new(1, 0.5, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  89. RS.C1 = RS.C1:lerp(CFrame.new(-0.5, 0.50000006, 0, -4.35613892E-8, 0.0827726871, 0.996568441, 3.61810915E-9, 0.996568441, -0.0827726871, -1, 0, -4.37113883E-8), 0.1)
  90. LH.C0 = LH.C0:lerp(CFrame.new(-1, -1, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  91. LH.C1 = LH.C1:lerp(CFrame.new(-0.5, 1, 0.413039833, -4.37113883E-8, 0, -1, 0.312294096, 0.949985504, -1.36508085E-8, 0.949985504, -0.312294096, -4.15251868E-8), 0.1)
  92. RH.C0 = RH.C0:lerp(CFrame.new(1, -1, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  93. RH.C1 = RH.C1:lerp(CFrame.new(0.5, 1.25988173, -0.0857533813, -4.37113883E-8, 0, 1, 0.649969757, 0.759960055, 2.84110797E-8, -0.759960055, 0.649969757, -3.32189103E-8), 0.1)
  94. end
  95. if Fall then
  96. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  97. RJ.C1 = RJ.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.10274113, 0.994708121, 0, 0.994708121, 0.10274113), 0.1)
  98. NK.C0 = NK.C0:lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  99. NK.C1 = NK.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.0785602033, 0.99690938, 0, 0.99690938, 0.0785602033), 0.1)
  100. LS.C0 = LS.C0:lerp(CFrame.new(-1, 0.5, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  101. LS.C1 = LS.C1:lerp(CFrame.new(0.138767123, 0.983813465, -0.0868017524, 1.30355549E-8, -0.954497576, 0.298218727, 0.176591963, -0.293531984, -0.939496875, 0.984284163, 0.0526630431, 0.168556601), 0.1)
  102. RS.C0 = RS.C0:lerp(CFrame.new(1, 0.5, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  103. RS.C1 = RS.C1:lerp(CFrame.new(-0.2661708, 1.03134346, 0.15178445, 8.97407038E-9, 0.978698492, -0.205302805, 0.274674356, -0.197406307, -0.941055119, -0.961537302, -0.0563914105, -0.268823385), 0.1)
  104. LH.C0 = LH.C0:lerp(CFrame.new(-1, -1, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  105. LH.C1 = LH.C1:lerp(CFrame.new(-0.5, 1.06891787, 0.139980257, -4.37113883E-8, 0, -1, -0.766496718, 0.642248213, 3.35046373E-8, 0.642248213, 0.766496718, -2.80735613E-8), 0.1)
  106. RH.C0 = RH.C0:lerp(CFrame.new(1, -1, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  107. RH.C1 = RH.C1:lerp(CFrame.new(0.5, 1, 0.329321623, -4.37113883E-8, 0, 1, -0.616365314, 0.787460387, -2.69421836E-8, -0.787460387, -0.616365314, -3.44209852E-8), 0.1)
  108. end
  109. if Swim then
  110. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  111. RJ.C1 = RJ.C1:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  112. NK.C0 = NK.C0:lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  113. NK.C1 = NK.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  114. LS.C0 = LS.C0:lerp(CFrame.new(-1, 0.5, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  115. LS.C1 = LS.C1:lerp(CFrame.new(0.0367999673, 0.958289385, 0, 4.07103268E-10, -0.999956608, 0.00931343716, -4.37094911E-8, -0.00931343716, -0.999956608, 1, 0, -4.37113883E-8), 0.1)
  116. RS.C0 = RS.C0:lerp(CFrame.new(1, 0.5, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  117. RS.C1 = RS.C1:lerp(CFrame.new(-0.0404959619, 0.960685313, 0, -1.04967612E-9, 0.999711633, 0.0240137894, 4.36987833E-8, 0.0240137894, -0.999711633, -1, 0, -4.37113883E-8), 0.1)
  118. LH.C0 = LH.C0:lerp(CFrame.new(-1, -1, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  119. LH.C1 = LH.C1:lerp(CFrame.new(-0.357407629, 1.02051449, 0, -4.32659206E-8, -0.142402217, -0.989808857, -6.22459861E-9, 0.989808857, -0.142402217, 1, 0, -4.37113883E-8), 0.1)
  120. RH.C0 = RH.C0:lerp(CFrame.new(1, -1, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  121. RH.C1 = RH.C1:lerp(CFrame.new(0.394455612, 1.01336467, 0, -4.33651053E-8, 0.12562339, 0.992078006, 5.49117285E-9, 0.992078006, -0.12562339, -1, 0, -4.37113883E-8), 0.1)
  122. end
  123. if Stunned then
  124. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  125. RJ.C1 = RJ.C1:lerp(CFrame.new(0, 0.00787734985, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  126. NK.C0 = NK.C0:lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.1)
  127. NK.C1 = NK.C1:lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.251089305, 0.967963934, 0, 0.967963934, 0.251089305), 0.1)
  128. LS.C0 = LS.C0:lerp(CFrame.new(-1, 0.5, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  129. LS.C1 = LS.C1:lerp(CFrame.new(0.5, 0.5, 0, 0.96788609, 0.145687819, -0.204870015, 0.221851692, -0.111733809, 0.968657613, 0.118230738, -0.983000815, -0.14046669), 0.1)
  130. RS.C0 = RS.C0:lerp(CFrame.new(1, 0.5, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  131. RS.C1 = RS.C1:lerp(CFrame.new(-0.5, 0.50000006, 7.4505806E-9, 0.34550634, -0.716668427, 0.605814934, -0.938260555, -0.252058893, 0.236924469, -0.0170952231, -0.650271237, -0.759509683), 0.1)
  132. LH.C0 = LH.C0:lerp(CFrame.new(-1, -1, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.1)
  133. LH.C1 = LH.C1:lerp(CFrame.new(-0.502830684, 1.28182256, 0.209705651, -0.0782996044, -0.0901469588, -0.992845714, 0.996918142, -0.0119161196, -0.0775388256, -0.00484097889, -0.995857179, 0.0908021554), 0.1)
  134. RH.C0 = RH.C0:lerp(CFrame.new(1, -1, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.1)
  135. RH.C1 = RH.C1:lerp(CFrame.new(0.792719603, -0.35184139, 0.975364566, -0.283124149, -0.049664963, 0.957796514, -0.172779441, 0.984960496, -7.5524289E-9, -0.94339174, -0.165487543, -0.287447214), 0.1)
  136. end
  137. elseif CanUseAnimations == false then
  138. Idle = false
  139. Walk = false
  140. Fall = false
  141. Jump = false
  142. Swim = false
  143. Stunned = false
  144. end
  145. end)
  146. game:GetService("RunService").RenderStepped:connect(function()
  147. if PunchAnim1 then
  148. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.2)
  149. RJ.C1 = RJ.C1:lerp(CFrame.new(-0.378869504, 1.25988078, -0.842275977, -0.938668132, 0.316512167, 0.13682878, 0.0252757426, -0.332586288, 0.942734063, 0.343894184, 0.888372898, 0.304188073), 0.2)
  150. NK.C0 = NK.C0:lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.2)
  151. NK.C1 = NK.C1:lerp(CFrame.new(0, -0.5, 0, -0.923091531, -0.384467721, -0.00930224173, -0.110133648, 0.241096735, 0.964231789, -0.368473291, 0.891098738, -0.264897197), 0.2)
  152. LS.C0 = LS.C0:lerp(CFrame.new(-1, 0.5, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.2)
  153. LS.C1 = LS.C1:lerp(CFrame.new(0.5, 0.50000006, 0, 0.935272157, -0.147802636, -0.321590543, 0.31764853, -0.0501985252, 0.94687885, -0.156094551, -0.987742126, 6.82310963E-9), 0.2)
  154. RS.C0 = RS.C0:lerp(CFrame.new(1, 0.5, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.2)
  155. RS.C1 = RS.C1:lerp(CFrame.new(-0.576898575, 0.697948158, 0, -0.905961394, -0.293397486, 0.305207968, -0.302170604, -0.056812387, -0.951559365, 0.296524704, -0.95430088, -0.0371862724), 0.2)
  156. LH.C0 = LH.C0:lerp(CFrame.new(-1, -1, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.2)
  157. LH.C1 = LH.C1:lerp(CFrame.new(-0.49999997, -0.0115736127, 0.231806278, -0.345441461, -0.133836955, -0.928847611, 0.209614262, 0.953767061, -0.215383828, 0.914730608, -0.269102216, -0.301416546), 0.2)
  158. RH.C0 = RH.C0:lerp(CFrame.new(1, -1, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.2)
  159. RH.C1 = RH.C1:lerp(CFrame.new(0.5, 1, 5.96046448E-8, 0.265015811, -0.0730493143, 0.961472988, 0.604139686, 0.789726734, -0.10652151, -0.75151968, 0.609093964, 0.253422052), 0.2)
  160. end
  161. if PunchAnim2 then
  162. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.23)
  163. RJ.C1 = RJ.C1:lerp(CFrame.new(-1.25705326, 9.14812088E-4, 1.89397597, -0.791667581, -0.610952079, 0, -5.80318272E-4, 7.51972198E-4, 0.999999523, -0.610951781, 0.791667163, -9.49859619E-4), 0.23)
  164. NK.C0 = NK.C0:lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.23)
  165. NK.C1 = NK.C1:lerp(CFrame.new(0, -0.5, 0, -0.923091531, -0.384467721, -0.00930224173, -0.110133648, 0.241096735, 0.964231789, -0.368473291, 0.891098738, -0.264897197), 0.23)
  166. LS.C0 = LS.C0:lerp(CFrame.new(-1, 0.5, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.23)
  167. LS.C1 = LS.C1:lerp(CFrame.new(0.49999997, 0.876227498, 0, -0.874575853, 0.138210699, 0.464774162, -0.45907703, 0.0725487024, -0.885429263, -0.156094536, -0.987742066, 6.82310874E-9), 0.23)
  168. RS.C0 = RS.C0:lerp(CFrame.new(1, 0.5, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.23)
  169. RS.C1 = RS.C1:lerp(CFrame.new(-0.58966732, 0.855955124, -0.36041823, 0.845101237, 0.244059175, 0.475645989, -0.444833755, -0.172466964, 0.87885046, 0.296524704, -0.95430088, -0.0371862724), 0.23)
  170. LH.C0 = LH.C0:lerp(CFrame.new(-1, -1, 0, -4.37113883E-8, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883E-8), 0.23)
  171. LH.C1 = LH.C1:lerp(CFrame.new(-0.567647576, 0.483614296, 0.48280865, 0.465665579, -0.0613492429, -0.882831693, -0.781806469, 0.438905209, -0.442878038, 0.414649695, 0.896436572, 0.156419814), 0.23)
  172. RH.C0 = RH.C0:lerp(CFrame.new(1, -1, 0, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8), 0.23)
  173. RH.C1 = RH.C1:lerp(CFrame.new(0.5, 1, -2.98023224E-8, -0.579990566, 0.12594974, 0.804827631, 0.542340636, 0.796897054, 0.266123384, -0.607846737, 0.590839803, -0.530500352), 0.23)
  174. end
  175. end)
  176. Idle = true
  177. function xWalk(spd)
  178. if spd >= 1.0E-5 then
  179. Walk = true
  180. Idle = false
  181. Jump = false
  182. Fall = false
  183. Swim = false
  184. Stunned = false
  185. else
  186. Walk = false
  187. Idle = true
  188. Jump = false
  189. Fall = false
  190. Swim = false
  191. Stunned = false
  192. end
  193. end
  194. function xJump()
  195. Walk = false
  196. Idle = false
  197. Jump = true
  198. Fall = false
  199. Swim = false
  200. Stunned = false
  201. wait(0.25)
  202. Walk = false
  203. Idle = false
  204. Jump = false
  205. Fall = true
  206. Swim = false
  207. Stunned = false
  208. end
  209. function xSwim()
  210. Walk = false
  211. Idle = false
  212. Jump = false
  213. Fall = false
  214. Swim = true
  215. Stunned = false
  216. end
  217. function xStunned()
  218. Walk = false
  219. Idle = false
  220. Jump = false
  221. Fall = false
  222. Swim = false
  223. Stunned = true
  224. end
  225. RightArm.Touched:connect(function(part)
  226. if CanClickAttackDamage == true then
  227. local plr = part.Parent
  228. local Hum = plr:FindFirstChild("Humanoid")
  229. if Hum then
  230. Hum:TakeDamage(math.random(5, 8) * damageMultiplyer)
  231. CanClickAttackDamage = false
  232. print("Damaged " .. plr.Name)
  233. end
  234. end
  235. end)
  236. function ClickAttack1()
  237. if CanClickAttack == false then
  238. print("Attacking")
  239. CanClickAttack = true
  240. CanClickAttackDamage = true
  241. CanUseAnimations = false
  242. Humanoid.WalkSpeed = 0
  243. wait(0.1)
  244. PunchAnim1 = true
  245. PunchAnim2 = false
  246. wait(0.2)
  247. PunchAnim1 = false
  248. PunchAnim2 = true
  249. wait(0.23)
  250. PunchAnim1 = false
  251. PunchAnim2 = false
  252. Idle = true
  253. CanUseAnimations = true
  254. Humanoid.WalkSpeed = 16
  255. CanClickAttack = false
  256. CanClickAttackDamage = false
  257. end
  258. end
  259. Mouse.Button1Down:connect(function()
  260. if ClickProgress == 0 then
  261. print("Click")
  262. ClickAttack1()
  263. ClickProgress = 0
  264. end
  265. end)
  266. Humanoid.Running:connect(xWalk)
  267. Humanoid.Jumping:connect(xJump)
  268. Humanoid.Swimming:connect(xSwim)
  269. Humanoid.PlatformStanding:connect(xStunned)
  270. local CripAttack = Instance.new("ScreenGui")
  271. local Settings = Instance.new("Frame")
  272. local TextDamage = Instance.new("TextLabel")
  273. local DamageMultContainer = Instance.new("TextBox")
  274. local UpdateAttack = Instance.new("TextButton")
  275. local DefenceMultCointainer = Instance.new("TextBox")
  276. local UpdateDefence = Instance.new("TextButton")
  277. local TextDefence = Instance.new("TextLabel")
  278. local CloseOpener = Instance.new("TextButton")
  279. CripAttack.Name = "CripAttack"
  280. CripAttack.Parent = PlayerGui
  281. Settings.Name = "Settings"
  282. Settings.Parent = CripAttack
  283. Settings.BackgroundColor3 = Color3.new(1, 1, 1)
  284. Settings.Position = UDim2.new(0.824404776, 0, 0.466772139, 0)
  285. Settings.Size = UDim2.new(0.179563493, 0, 0.32911393, 0)
  286. Settings.Style = Enum.FrameStyle.DropShadow
  287. TextDamage.Name = "TextDamage"
  288. TextDamage.Parent = Settings
  289. TextDamage.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  290. TextDamage.BackgroundTransparency = 0.60000002384186
  291. TextDamage.BorderColor3 = Color3.new(1, 1, 1)
  292. TextDamage.Size = UDim2.new(1, 0, 0.264423072, 0)
  293. TextDamage.Font = Enum.Font.SourceSans
  294. TextDamage.FontSize = Enum.FontSize.Size14
  295. TextDamage.Text = "Damage Multiplyer"
  296. TextDamage.TextColor3 = Color3.new(1, 1, 1)
  297. TextDamage.TextSize = 14
  298. DamageMultContainer.Name = "DamageMultContainer"
  299. DamageMultContainer.Parent = Settings
  300. DamageMultContainer.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  301. DamageMultContainer.BackgroundTransparency = 0.5
  302. DamageMultContainer.BorderColor3 = Color3.new(1, 1, 0)
  303. DamageMultContainer.Position = UDim2.new(0.0441988967, 0, 0.302884609, 0)
  304. DamageMultContainer.Size = UDim2.new(0.243093923, 0, 0.129807696, 0)
  305. DamageMultContainer.Font = Enum.Font.SourceSans
  306. DamageMultContainer.FontSize = Enum.FontSize.Size14
  307. DamageMultContainer.Text = "1"
  308. DamageMultContainer.TextColor3 = Color3.new(1, 1, 1)
  309. DamageMultContainer.TextScaled = true
  310. DamageMultContainer.TextSize = 14
  311. DamageMultContainer.TextWrapped = true
  312. UpdateAttack.Name = "UpdateAttack"
  313. UpdateAttack.Parent = Settings
  314. UpdateAttack.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  315. UpdateAttack.BackgroundTransparency = 0.60000002384186
  316. UpdateAttack.BorderColor3 = Color3.new(0.333333, 1, 0)
  317. UpdateAttack.Position = UDim2.new(0.3480663, 0, 0.302884609, 0)
  318. UpdateAttack.Size = UDim2.new(0.640883982, 0, 0.129807696, 0)
  319. UpdateAttack.Font = Enum.Font.SourceSans
  320. UpdateAttack.FontSize = Enum.FontSize.Size14
  321. UpdateAttack.Text = "Update"
  322. UpdateAttack.TextColor3 = Color3.new(1, 1, 1)
  323. UpdateAttack.TextSize = 14
  324. DefenceMultCointainer.Name = "DefenceMultCointainer"
  325. DefenceMultCointainer.Parent = Settings
  326. DefenceMultCointainer.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  327. DefenceMultCointainer.BackgroundTransparency = 0.5
  328. DefenceMultCointainer.BorderColor3 = Color3.new(1, 1, 0)
  329. DefenceMultCointainer.Position = UDim2.new(0.0441988967, 0, 0.800000012, 0)
  330. DefenceMultCointainer.Size = UDim2.new(0.243093923, 0, 0.129807696, 0)
  331. DefenceMultCointainer.Font = Enum.Font.SourceSans
  332. DefenceMultCointainer.FontSize = Enum.FontSize.Size14
  333. DefenceMultCointainer.Text = "1"
  334. DefenceMultCointainer.TextColor3 = Color3.new(1, 1, 1)
  335. DefenceMultCointainer.TextScaled = true
  336. DefenceMultCointainer.TextSize = 14
  337. DefenceMultCointainer.TextWrapped = true
  338. UpdateDefence.Name = "UpdateDefence"
  339. UpdateDefence.Parent = Settings
  340. UpdateDefence.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  341. UpdateDefence.BackgroundTransparency = 0.60000002384186
  342. UpdateDefence.BorderColor3 = Color3.new(0.333333, 1, 0)
  343. UpdateDefence.Position = UDim2.new(0.3480663, 0, 0.800000012, 0)
  344. UpdateDefence.Size = UDim2.new(0.640883982, 0, 0.129807696, 0)
  345. UpdateDefence.Font = Enum.Font.SourceSans
  346. UpdateDefence.FontSize = Enum.FontSize.Size14
  347. UpdateDefence.Text = "Update"
  348. UpdateDefence.TextColor3 = Color3.new(1, 1, 1)
  349. UpdateDefence.TextSize = 14
  350. TextDefence.Name = "TextDefence"
  351. TextDefence.Parent = Settings
  352. TextDefence.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  353. TextDefence.BackgroundTransparency = 0.60000002384186
  354. TextDefence.BorderColor3 = Color3.new(1, 1, 1)
  355. TextDefence.Position = UDim2.new(0, 0, 0.5, 0)
  356. TextDefence.Size = UDim2.new(1, 0, 0.264423072, 0)
  357. TextDefence.Font = Enum.Font.SourceSans
  358. TextDefence.FontSize = Enum.FontSize.Size14
  359. TextDefence.Text = "Defence Multiplyer"
  360. TextDefence.TextColor3 = Color3.new(1, 1, 1)
  361. TextDefence.TextSize = 14
  362. CloseOpener.Name = "CloseOpener"
  363. CloseOpener.Parent = Settings
  364. CloseOpener.BackgroundColor3 = Color3.new(1, 1, 1)
  365. CloseOpener.Position = UDim2.new(-0.287292808, 0, 0.384615391, 0)
  366. CloseOpener.Size = UDim2.new(0.281767964, 0, 0.264423072, 0)
  367. CloseOpener.Style = Enum.ButtonStyle.RobloxRoundButton
  368. CloseOpener.Font = Enum.Font.SourceSans
  369. CloseOpener.FontSize = Enum.FontSize.Size14
  370. CloseOpener.Text = ">"
  371. CloseOpener.TextColor3 = Color3.new(0.333333, 1, 0)
  372. CloseOpener.TextScaled = true
  373. CloseOpener.TextSize = 14
  374. CloseOpener.TextStrokeTransparency = 0
  375. CloseOpener.TextWrapped = true
  376. UpdateAttack.MouseButton1Down:connect(function()
  377. damageMultiplyer = DamageMultContainer.Text
  378. end)
  379. UpdateDefence.MouseButton1Down:connect(function()
  380. defenceMultiplyer = DefenceMultCointainer.Text
  381. end)
  382. if canclickopenclose == true then
  383. CloseOpener.MouseButton1Down:connect(function()
  384. if CloseOpener.Text == ">" then
  385. canclickopenclose = false
  386. CloseOpener.Text = "<"
  387. Settings:TweenPosition(UDim2.new(1, 0, 0.467, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5)
  388. wait(0.5)
  389. canclickopenclose = true
  390. elseif CloseOpener.Text == "<" then
  391. CloseOpener.Text = ">"
  392. canclickopenclose = false
  393. Settings:TweenPosition(UDim2.new(0.824, 0, 0.467, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5)
  394. wait(0.5)
  395. canclickopenclose = true
  396. end
  397. end)
  398. end
Add Comment
Please, Sign In to add comment