Advertisement
Dark_EccentricYT

Untitled

Feb 17th, 2017
1,893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.42 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 Player_UI = Player.PlayerGui
  7. local Character = Player.Character
  8. local Player_Backpack = Player.Backpack
  9. local Cam = workspace.CurrentCamera
  10. local Humanoid = Character.Humanoid
  11. local HuRoot = Character.HumanoidRootPart
  12. local TR = Character.Torso
  13. local HE = Character.Head
  14. local LA = Character["Left Arm"]
  15. local RA = Character["Right Arm"]
  16. local RL = Character["Right Leg"]
  17. local LL = Character["Left Leg"]
  18. local Mouse = Player:GetMouse()
  19. HuRoot.Size = Vector3.new(4, 2, 2)
  20. TR.Size = Vector3.new(4, 2, 2)
  21. HE.Size = Vector3.new(0, 0, 0)
  22. LA.Size = Vector3.new(4, 1, 2)
  23. RA.Size = Vector3.new(4, 1, 2)
  24. RL.Size = Vector3.new(4, 1, 2)
  25. LL.Size = Vector3.new(4, 1, 2)
  26. local newhed = Instance.new("Part", Character)
  27. newhed.Position = Vector3.new(2, 555, 2)
  28. newhed.Size = Vector3.new(3, 1, 2)
  29. newhed.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  30. newhed.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  31. newhed.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  32. newhed.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  33. newhed.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  34. newhed.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  35. newhed.BrickColor = HE.BrickColor
  36. HE.Transparency = 1
  37. local RJ = Instance.new("Motor6D", HuRoot)
  38. local NK = Instance.new("Motor6D", TR)
  39. local LS = Instance.new("ManualWeld", TR)
  40. local RS = Instance.new("ManualWeld", TR)
  41. local RH = Instance.new("Motor6D", TR)
  42. local LH = Instance.new("Motor6D", TR)
  43. RJ.Part0 = HuRoot
  44. RJ.Part1 = TR
  45. NK.Part0 = TR
  46. NK.Part1 = newhed
  47. LS.Part0 = TR
  48. LS.Part1 = LA
  49. RS.Part0 = TR
  50. RS.Part1 = RA
  51. RH.Part0 = TR
  52. RH.Part1 = RL
  53. LH.Part0 = TR
  54. LH.Part1 = LL
  55. local savethehedlol = Instance.new("Motor6D", TR)
  56. savethehedlol.Part0 = TR
  57. savethehedlol.Part1 = HE
  58. local seat = Instance.new("Seat", Character)
  59. seat.Position = Vector3.new(2, 2222, 22)
  60. seat.Size = Vector3.new(1, 1, 1)
  61. local seatweld = Instance.new("Motor6D", Character)
  62. seatweld.Part0 = TR
  63. seatweld.Part1 = seat
  64. seatweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  65. seatweld.C1 = CFrame.new(-0.0499801636, -0.489192486, 1.52587891E-5, -4.37113883E-8, 2.10107532E-6, -1, -2.08614324E-7, 0.99999994, 2.1010751E-6, 1, 2.08614424E-7, -4.37109513E-8)
  66. RJ.C0 = RJ.C0:lerp(CFrame.new(0, -3.70000005, -0.260758221, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  67. RJ.C1 = RJ.C1:lerp(CFrame.new(-0.0107803345, 0.0892168954, -1.92181433E-5, 0, -2.08616299E-7, 1, 2.10109511E-6, 1, 2.08616299E-7, -1, 2.10109511E-6, 4.38322691E-13), 1)
  68. NK.C0 = NK.C0:lerp(CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  69. NK.C1 = NK.C1:lerp(CFrame.new(1.5, -0.300000072, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  70. LS.C0 = LS.C0:lerp(CFrame.new(-1.39999998, -0.5, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  71. LS.C1 = LS.C1:lerp(CFrame.new(1.60000002, -3.9562583E-6, -0.900001168, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  72. RS.C0 = RS.C0:lerp(CFrame.new(-1.39999998, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  73. RS.C1 = RS.C1:lerp(CFrame.new(1.60000002, -3.93390656E-6, 0.899997354, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  74. LH.C0 = LH.C0:lerp(CFrame.new(1.10000002, -0.49999997, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  75. LH.C1 = LH.C1:lerp(CFrame.new(-1.89999998, -3.91155481E-6, -0.900001168, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  76. RH.C0 = RH.C0:lerp(CFrame.new(1.10000002, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  77. RH.C1 = RH.C1:lerp(CFrame.new(-1.9000001, -3.9562583E-6, 0.899997354, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  78. Humanoid.HipHeight = 2.6
  79. Humanoid.WalkSpeed = 20
  80. Walk = false
  81. Idle = false
  82. Jump = false
  83. Fall = false
  84. Swim = false
  85. Stunned = false
  86. CanClickAttack = false
  87. CanAttack = false
  88. CanClickDamageAttack = false
  89. CanDamageAttack = false
  90. attack1anim = false
  91. attack2anim = false
  92. local attackprog = 0
  93. function HeadRoar()
  94. spawn(function()
  95. local soundeff = Instance.new("Sound", newhed)
  96. soundeff.Volume = 1.2
  97. soundeff.Pitch = 1.3
  98. soundeff.SoundId = "rbxassetid://150829983"
  99. soundeff.Looped = false
  100. soundeff:Play()
  101. soundeff.Ended:connect(function()
  102. soundeff:Destroy()
  103. end)
  104. end)
  105. end
  106. function Swoosh()
  107. spawn(function()
  108. local soundeff = Instance.new("Sound", newhed)
  109. soundeff.Volume = 1.2
  110. soundeff.Pitch = 1
  111. soundeff.SoundId = "rbxassetid://234365549"
  112. soundeff.Looped = false
  113. soundeff:Play()
  114. soundeff.Ended:connect(function()
  115. soundeff:Destroy()
  116. end)
  117. end)
  118. end
  119. game:GetService("RunService").RenderStepped:connect(function()
  120. if Walk then
  121. RJ.C0 = RJ.C0:lerp(CFrame.new(0, -3.70000005, -0.260758221, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  122. RJ.C1 = RJ.C1:lerp(CFrame.new(-0.0107803345, 0.0892168954, -1.92181433E-5, 0, -2.08616299E-7, 1, 2.10109511E-6, 1, 2.08616299E-7, -1, 2.10109511E-6, 4.38322691E-13), 0.1)
  123. NK.C0 = NK.C0:lerp(CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  124. NK.C1 = NK.C1:lerp(CFrame.new(1.5, -0.300000072, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  125. LS.C0 = LS.C0:lerp(CFrame.new(-1.39999998, -0.5, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  126. LS.C1 = LS.C1:lerp(CFrame.new(1.60000002, -3.9562583E-6, -0.900001168, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  127. RS.C0 = RS.C0:lerp(CFrame.new(-1.39999998, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  128. RS.C1 = RS.C1:lerp(CFrame.new(1.60000002, -3.93390656E-6, 0.899997354, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  129. LH.C0 = LH.C0:lerp(CFrame.new(1.10000002, -0.49999997, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  130. LH.C1 = LH.C1:lerp(CFrame.new(-1.89999998, -3.91155481E-6, -0.900001168, 0.998419344, 0, 0.0562028214, 0, 1, 0, -0.0562028214, 0, 0.998419344), 0.1)
  131. RH.C0 = RH.C0:lerp(CFrame.new(1.10000002, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  132. RH.C1 = RH.C1:lerp(CFrame.new(-1.9000001, -3.9562583E-6, 0.899997354, 0.998049259, 0, -0.0624323189, 0, 1, 0, 0.0624323189, 0, 0.998049259), 0.1)
  133. end
  134. if Idle then
  135. RJ.C0 = RJ.C0:lerp(CFrame.new(0, -3.70000005, -0.260758221, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  136. RJ.C1 = RJ.C1:lerp(CFrame.new(-0.0107803345, 0.0892168954, -1.92181433E-5, 2.20373025E-7, 0.104884632, 0.994484365, 2.08950632E-6, 0.994484365, -0.104884632, -1, 2.10109511E-6, 4.38322691E-13), 0.1)
  137. NK.C0 = NK.C0:lerp(CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  138. NK.C1 = NK.C1:lerp(CFrame.new(1.5, -0.300000072, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  139. LS.C0 = LS.C0:lerp(CFrame.new(-1.39999998, -0.5, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  140. LS.C1 = LS.C1:lerp(CFrame.new(1.60000002, -3.96370888E-6, -0.900001168, 0.988732576, 0.149692476, 0, -0.149692476, 0.988732576, 0, 0, 0, 1), 0.1)
  141. RS.C0 = RS.C0:lerp(CFrame.new(-1.39999998, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  142. RS.C1 = RS.C1:lerp(CFrame.new(1.60000002, -3.93390656E-6, 0.899997354, 0.991158009, 0.132686943, 0, -0.132686943, 0.991158009, 0, 0, 0, 1), 0.1)
  143. LH.C0 = LH.C0:lerp(CFrame.new(1.10000002, -0.49999997, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  144. LH.C1 = LH.C1:lerp(CFrame.new(-1.89999986, -3.87430191E-6, -0.900001168, 0.949941158, -0.312428832, 0, 0.312428832, 0.949941158, 0, 0, 0, 1), 0.1)
  145. RH.C0 = RH.C0:lerp(CFrame.new(1.10000002, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  146. RH.C1 = RH.C1:lerp(CFrame.new(-1.9000001, -3.9935112E-6, 0.899997354, 0.928876162, -0.370390236, 0, 0.370390236, 0.928876162, 0, 0, 0, 1), 0.1)
  147. end
  148. if Jump then
  149. RJ.C0 = RJ.C0:lerp(CFrame.new(0, -3.70000005, -0.260758221, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  150. RJ.C1 = RJ.C1:lerp(CFrame.new(-0.0107803345, 0.0892168954, -1.92181433E-5, -3.8283045E-7, -0.182205409, 0.983260453, 2.06592381E-6, 0.983260453, 0.182205409, -1, 2.10109511E-6, 4.38322691E-13), 0.1)
  151. NK.C0 = NK.C0:lerp(CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  152. NK.C1 = NK.C1:lerp(CFrame.new(1.5, -0.300000072, 0, 0.988958359, -0.148193866, 0, 0.148193866, 0.988958359, 0, 0, 0, 1), 0.1)
  153. LS.C0 = LS.C0:lerp(CFrame.new(-1.39999998, -0.5, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  154. LS.C1 = LS.C1:lerp(CFrame.new(1.60000002, -3.93390656E-6, -0.900001168, 0.910904825, -0.412616551, 0, 0.412616551, 0.910904825, 0, 0, 0, 1), 0.1)
  155. RS.C0 = RS.C0:lerp(CFrame.new(-1.39999998, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  156. RS.C1 = RS.C1:lerp(CFrame.new(1.60000002, -3.93390656E-6, 0.899997354, 0.949260056, -0.314492255, 0, 0.314492255, 0.949260056, 0, 0, 0, 1), 0.1)
  157. LH.C0 = LH.C0:lerp(CFrame.new(1.10000002, -0.49999997, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  158. LH.C1 = LH.C1:lerp(CFrame.new(-1.43983817, -3.90410423E-6, -0.900001168, 0.978067756, 0.208286911, 0, -0.208286911, 0.978067756, 0, 0, 0, 1), 0.1)
  159. RH.C0 = RH.C0:lerp(CFrame.new(1.10000002, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  160. RH.C1 = RH.C1:lerp(CFrame.new(-1.9000001, -3.93390656E-6, 0.899997354, 0.866223693, -0.499656409, 0, 0.499656409, 0.866223693, 0, 0, 0, 1), 0.1)
  161. end
  162. if Fall then
  163. RJ.C0 = RJ.C0:lerp(CFrame.new(0, -3.70000005, -0.260758221, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  164. RJ.C1 = RJ.C1:lerp(CFrame.new(0.25222981, 0.0235100985, -1.92181433E-5, 1.29316817E-7, 0.0615471303, 0.998104155, 2.09711175E-6, 0.998104155, -0.0615471303, -1, 2.10109511E-6, 4.38322691E-13), 0.1)
  165. NK.C0 = NK.C0:lerp(CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  166. NK.C1 = NK.C1:lerp(CFrame.new(1.50000012, -0.300000072, 0, 0.978680253, 0.205390021, 0, -0.205390021, 0.978680253, 0, 0, 0, 1), 0.1)
  167. LS.C0 = LS.C0:lerp(CFrame.new(-1.39999998, -0.5, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  168. LS.C1 = LS.C1:lerp(CFrame.new(1.60000002, -3.93390656E-6, -0.900001168, 0.950293183, 0.311356664, 0, -0.311356664, 0.950293183, 0, 0, 0, 1), 0.1)
  169. RS.C0 = RS.C0:lerp(CFrame.new(-1.39999998, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  170. RS.C1 = RS.C1:lerp(CFrame.new(1.60000014, -3.93390656E-6, 0.899997354, 0.957487881, 0.288473636, 0, -0.288473636, 0.957487881, 0, 0, 0, 1), 0.1)
  171. LH.C0 = LH.C0:lerp(CFrame.new(1.10000002, -0.49999997, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  172. LH.C1 = LH.C1:lerp(CFrame.new(-1.36659455, 0.721735358, -0.900001168, 0.944808245, -0.327623725, 0, 0.327623725, 0.944808245, 0, 0, 0, 1), 0.1)
  173. RH.C0 = RH.C0:lerp(CFrame.new(1.10000002, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  174. RH.C1 = RH.C1:lerp(CFrame.new(-1.9000001, 0.522157133, 0.899997354, 0.998676419, 0.0514329076, 0, -0.0514329076, 0.998676419, 0, 0, 0, 1), 0.1)
  175. end
  176. if Swim then
  177. RJ.C0 = RJ.C0:lerp(CFrame.new(0, -3.70000005, -0.260758221, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  178. RJ.C1 = RJ.C1:lerp(CFrame.new(-0.0107803345, 0.0892168954, -1.92181433E-5, 0, -2.08616299E-7, 1, 2.10109511E-6, 1, 2.08616299E-7, -1, 2.10109511E-6, 4.38322691E-13), 0.1)
  179. NK.C0 = NK.C0:lerp(CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  180. NK.C1 = NK.C1:lerp(CFrame.new(1.5, -0.300000072, 0, 0.997048616, -0.0767725334, 0, 0.0767725334, 0.997048616, 0, 0, 0, 1), 0.1)
  181. LS.C0 = LS.C0:lerp(CFrame.new(-1.39999998, -0.5, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  182. LS.C1 = LS.C1:lerp(CFrame.new(1.60000002, -3.9562583E-6, -0.900001168, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  183. RS.C0 = RS.C0:lerp(CFrame.new(-1.39999998, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  184. RS.C1 = RS.C1:lerp(CFrame.new(1.60000002, -3.93390656E-6, 0.899997354, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  185. LH.C0 = LH.C0:lerp(CFrame.new(1.10000002, -0.49999997, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  186. LH.C1 = LH.C1:lerp(CFrame.new(-1.89999998, -3.91900539E-6, -0.900001287, 0.917724729, 0, -0.397217035, 0.0544946715, 0.990544617, 0.125903741, 0.393461198, -0.137191176, 0.909047306), 0.1)
  187. RH.C0 = RH.C0:lerp(CFrame.new(1.10000002, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  188. RH.C1 = RH.C1:lerp(CFrame.new(-1.9000001, -3.96370888E-6, 0.899997354, 0.909526825, 0, 0.415645182, 0.0364658684, 0.996143997, -0.079795666, -0.414042443, 0.0877331644, 0.906019688), 0.1)
  189. end
  190. if Stunned then
  191. RJ.C0 = RJ.C0:lerp(CFrame.new(0, -3.70000005, -0.260758221, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  192. RJ.C1 = RJ.C1:lerp(CFrame.new(-0.0107803345, 0.0892168954, -1.92181433E-5, 0, -2.08616299E-7, 1, 2.10109511E-6, 1, 2.08616299E-7, -1, 2.10109511E-6, 4.38322691E-13), 0.1)
  193. NK.C0 = NK.C0:lerp(CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  194. NK.C1 = NK.C1:lerp(CFrame.new(1.5, -0.300000072, 0, 0.800809741, 0.598918855, 0, -0.598918855, 0.800809741, 0, 0, 0, 1), 0.1)
  195. LS.C0 = LS.C0:lerp(CFrame.new(-1.39999998, -0.5, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  196. LS.C1 = LS.C1:lerp(CFrame.new(1.60000014, -3.9935112E-6, -0.900001049, 0.74758172, -0.240051031, 0.619271398, 0.0498106331, 0.95003736, 0.308136195, -0.662299395, -0.199510679, 0.722187638), 0.1)
  197. RS.C0 = RS.C0:lerp(CFrame.new(-1.39999998, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  198. RS.C1 = RS.C1:lerp(CFrame.new(1.5999999, -3.97115946E-6, 0.899997354, 0.764060438, -0.176157549, -0.620628893, 0.136733249, 0.984362006, -0.111065298, 0.630488455, 0, 0.776198626), 0.1)
  199. LH.C0 = LH.C0:lerp(CFrame.new(1.10000002, -0.49999997, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  200. LH.C1 = LH.C1:lerp(CFrame.new(-1.21040952, -3.91155481E-6, -0.375465035, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  201. RH.C0 = RH.C0:lerp(CFrame.new(1.10000002, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  202. RH.C1 = RH.C1:lerp(CFrame.new(-0.92249918, -3.9562583E-6, 0.106937051, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.1)
  203. end
  204. if attack1anim then
  205. RJ.C0 = RJ.C0:lerp(CFrame.new(0, -3.70000005, -0.260758221, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.2)
  206. RJ.C1 = RJ.C1:lerp(CFrame.new(-0.697819293, 0.110060155, -1.92181433E-5, 6.37133226E-8, 0.0303236544, 0.99954015, 2.100129E-6, 0.99954015, -0.0303236544, -1, 2.10109511E-6, 4.38322691E-13), 0.2)
  207. NK.C0 = NK.C0:lerp(CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.2)
  208. NK.C1 = NK.C1:lerp(CFrame.new(1.5, -0.300000072, 0, 0.956970215, 0.290186107, 0, -0.290186107, 0.956970215, 0, 0, 0, 1), 0.2)
  209. LS.C0 = LS.C0:lerp(CFrame.new(-1.39999998, -0.5, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.2)
  210. LS.C1 = LS.C1:lerp(CFrame.new(1.60000002, -3.96370888E-6, -0.900001168, 0.95271945, 0.303851306, 0, -0.303851306, 0.95271945, 0, 0, 0, 1), 0.2)
  211. RS.C0 = RS.C0:lerp(CFrame.new(-1.39999998, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.2)
  212. RS.C1 = RS.C1:lerp(CFrame.new(1.60000002, -3.93390656E-6, 0.899997354, 0.98641181, 0.164291799, 0, -0.164291799, 0.98641181, 0, 0, 0, 1), 0.2)
  213. LH.C0 = LH.C0:lerp(CFrame.new(1.10000002, -0.49999997, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.2)
  214. LH.C1 = LH.C1:lerp(CFrame.new(-1.89999998, -3.90410423E-6, -0.900001168, 0.979591608, -0.200998351, 0, 0.200998351, 0.979591608, 0, 0, 0, 1), 0.2)
  215. RH.C0 = RH.C0:lerp(CFrame.new(1.10000002, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.2)
  216. RH.C1 = RH.C1:lerp(CFrame.new(-1.9000001, -3.96370888E-6, 0.899997354, 0.993240833, -0.116071977, 0, 0.116071977, 0.993240833, 0, 0, 0, 1), 0.2)
  217. end
  218. if attack2anim then
  219. RJ.C0 = RJ.C0:lerp(CFrame.new(0, -3.70000005, -0.260758221, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.23)
  220. RJ.C1 = RJ.C1:lerp(CFrame.new(3.51115322, -0.0341197625, -1.92181433E-5, -3.7701335E-7, -0.179436803, 0.983769536, 2.06699337E-6, 0.983769536, 0.179436803, -1, 2.10109511E-6, 4.38322691E-13), 0.23)
  221. NK.C0 = NK.C0:lerp(CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.23)
  222. NK.C1 = NK.C1:lerp(CFrame.new(1.5, -0.300000101, 0, 0.995598793, 0.0937175155, 0, -0.0937175155, 0.995598793, 0, 0, 0, 1), 0.23)
  223. LS.C0 = LS.C0:lerp(CFrame.new(-1.39999998, -0.5, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.23)
  224. LS.C1 = LS.C1:lerp(CFrame.new(1.60000014, 0.204938829, -0.900001049, 0.650523841, -0.0244942419, 0.759090722, 0.0376264453, 0.999291837, 0, -0.758553147, 0.0285618864, 0.650984824), 0.23)
  225. RS.C0 = RS.C0:lerp(CFrame.new(-1.39999998, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.23)
  226. RS.C1 = RS.C1:lerp(CFrame.new(1.60000002, -3.93390656E-6, 0.899997473, 0.594302475, 0.0989840403, -0.798126996, -0.164291799, 0.98641181, 0, 0.787281871, 0.131125718, 0.602489233), 0.23)
  227. LH.C0 = LH.C0:lerp(CFrame.new(1.10000002, -0.49999997, 0.900000036, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.23)
  228. LH.C1 = LH.C1:lerp(CFrame.new(-1.89999998, -3.96370888E-6, -0.900001168, 0.980351269, 0.197259918, 0, -0.197259918, 0.980351269, 0, 0, 0, 1), 0.23)
  229. RH.C0 = RH.C0:lerp(CFrame.new(1.10000002, -0.5, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1), 0.23)
  230. RH.C1 = RH.C1:lerp(CFrame.new(-1.90000021, -3.9935112E-6, 0.899997354, 0.973342538, -0.229356468, 0, 0.229356468, 0.973342538, 0, 0, 0, 1), 0.23)
  231. end
  232. end)
  233. function onWalk(spd)
  234. if spd >= 0.01 then
  235. Walk = true
  236. Idle = false
  237. Jump = false
  238. Fall = false
  239. Swim = false
  240. Stunned = false
  241. else
  242. Walk = false
  243. Idle = true
  244. Jump = false
  245. Fall = false
  246. Swim = false
  247. Stunned = false
  248. end
  249. end
  250. function onJump()
  251. Walk = false
  252. Idle = false
  253. Jump = true
  254. Fall = false
  255. Swim = false
  256. Stunned = false
  257. wait(0.25)
  258. Jump = false
  259. Fall = true
  260. end
  261. function onSwim()
  262. Walk = false
  263. Idle = false
  264. Jump = false
  265. Fall = false
  266. Swim = true
  267. Stunned = false
  268. end
  269. function onStunned()
  270. Walk = false
  271. Idle = false
  272. Jump = false
  273. Fall = false
  274. Swim = false
  275. Stunned = true
  276. end
  277. RA.Touched:connect(function(part)
  278. spawn(function()
  279. if CanClickDamageAttack == true then
  280. local plr = part.Parent
  281. local hum = plr:FindFirstChild("Humanoid")
  282. if hum then
  283. hum:TakeDamage(5)
  284. end
  285. end
  286. end)
  287. end)
  288. function ClickAttack1()
  289. if CanClickAttack == false then
  290. HeadRoar()
  291. CanClickAttack = true
  292. CanAttack = true
  293. CanClickDamageAttack = true
  294. CanDamageAttack = false
  295. Walk = false
  296. Idle = false
  297. Jump = false
  298. Fall = false
  299. Swim = false
  300. Stunned = false
  301. wait(0.1)
  302. attack1anim = true
  303. attack2anim = false
  304. Swoosh()
  305. wait(0.3)
  306. attack1anim = false
  307. attack2anim = true
  308. Swoosh()
  309. wait(0.3)
  310. attack1anim = false
  311. attack2anim = false
  312. Idle = true
  313. CanClickAttack = false
  314. CanAttack = false
  315. CanClickDamageAttack = false
  316. CanDamageAttack = false
  317. end
  318. end
  319. Mouse.Button1Down:connect(function()
  320. if attackprog == 0 then
  321. attackprog = 0
  322. ClickAttack1()
  323. end
  324. end)
  325. Mouse.KeyDown:connect(function(key)
  326. if key == "f" then
  327. spawn(function()
  328. seat.Disabled = true
  329. wait(0.4)
  330. seat.Disabled = false
  331. end)
  332. end
  333. end)
  334. Humanoid.Running:connect(onWalk)
  335. Humanoid.Jumping:connect(onJump)
  336. Humanoid.Swimming:connect(onSwim)
  337. Humanoid.PlatformStanding:connect(onStunned)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement