Advertisement
Unspecifi_ed

Untitled

Mar 4th, 2018
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.25 KB | None | 0 0
  1. local Player = game.Players.localPlayer
  2. local Character = Player.Character
  3. local red = 255
  4. local green = 255
  5. local blue = 255
  6. local Humanoid = Character.Humanoid
  7. local mouse = Player:GetMouse()
  8. local m = Instance.new("Model", Character)
  9. m.Name = "WeaponModel"
  10. local LeftArm = Character["Left Arm"]
  11. local RightArm = Character["Right Arm"]
  12. local LeftLeg = Character["Left Leg"]
  13. local RightLeg = Character["Right Leg"]
  14. local Head = Character.Head
  15. local Torso = Character.Torso
  16. local cam = game.Workspace.CurrentCamera
  17. local RootPart = Character.HumanoidRootPart
  18. local RootJoint = RootPart.RootJoint
  19. local equipped = false
  20. local attack = false
  21. local Anim = "Idle"
  22. local idle = 0
  23. local attacktype = 1
  24. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  25. local velocity = RootPart.Velocity.y
  26. local sine = 0
  27. local change = 1
  28. local grabbed = false
  29. local cn = CFrame.new
  30. local mr = math.rad
  31. local angles = CFrame.Angles
  32. local ud = UDim2.new
  33. local c3 = Color3.new
  34. local lim = 0
  35. local st = 0
  36. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  37. local attacktype = 1
  38. local ZTarget, RocketTarget = nil, nil
  39. local euler = CFrame.fromEulerAnglesXYZ
  40. function clerp(a,b,t)
  41. local qa = {QuaternionFromCFrame(a)}
  42. local qb = {QuaternionFromCFrame(b)}
  43. local ax, ay, az = a.x, a.y, a.z
  44. local bx, by, bz = b.x, b.y, b.z
  45. local _t = 1-t
  46. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  47. end
  48.  
  49. function QuaternionFromCFrame(cf)
  50. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  51. local trace = m00 + m11 + m22
  52. if trace > 0 then
  53. local s = math.sqrt(1 + trace)
  54. local recip = 0.5/s
  55. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  56. else
  57. local i = 0
  58. if m11 > m00 then
  59. i = 1
  60. end
  61. if m22 > (i == 0 and m00 or m11) then
  62. i = 2
  63. end
  64. if i == 0 then
  65. local s = math.sqrt(m00-m11-m22+1)
  66. local recip = 0.5/s
  67. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  68. elseif i == 1 then
  69. local s = math.sqrt(m11-m22-m00+1)
  70. local recip = 0.5/s
  71. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  72. elseif i == 2 then
  73. local s = math.sqrt(m22-m00-m11+1)
  74. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  75. end
  76. end
  77. end
  78.  
  79. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  80. local xs, ys, zs = x + x, y + y, z + z
  81. local wx, wy, wz = w*xs, w*ys, w*zs
  82. local xx = x*xs
  83. local xy = x*ys
  84. local xz = x*zs
  85. local yy = y*ys
  86. local yz = y*zs
  87. local zz = z*zs
  88. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  89. end
  90.  
  91. function QuaternionSlerp(a, b, t)
  92. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  93. local startInterp, finishInterp;
  94. if cosTheta >= 0.0001 then
  95. if (1 - cosTheta) > 0.0001 then
  96. local theta = math.acos(cosTheta)
  97. local invSinTheta = 1/math.sin(theta)
  98. startInterp = math.sin((1-t)*theta)*invSinTheta
  99. finishInterp = math.sin(t*theta)*invSinTheta
  100. else
  101. startInterp = 1-t
  102. finishInterp = t
  103. end
  104. else
  105. if (1+cosTheta) > 0.0001 then
  106. local theta = math.acos(-cosTheta)
  107. local invSinTheta = 1/math.sin(theta)
  108. startInterp = math.sin((t-1)*theta)*invSinTheta
  109. finishInterp = math.sin(t*theta)*invSinTheta
  110. else
  111. startInterp = t-1
  112. finishInterp = t
  113. end
  114. end
  115. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  116. end
  117. rayCast = function(Position, Direction, Range, Ignore)
  118. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  119. end
  120. local v = game.Players.localPlayer
  121. local torso = v.Character.Torso
  122. wait(1)
  123. local p = Instance.new("Part", v.Character)
  124. p.Name = "kit"
  125. p.Anchored = true
  126. p.Transparency = 0
  127. p.Material = "Plastic"
  128. p.CanCollide = false
  129. p.TopSurface = 0
  130. p.BottomSurface = 0
  131. p.Size = Vector3.new(0.2, 0.2, 0.2)
  132. p.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  133. local msh = Instance.new("SpecialMesh", p)
  134. msh.Scale = Vector3.new(-2, 2, 2)
  135. msh.MeshId = "http://www.roblox.com/asset/?id=188635159"
  136. msh.TextureId = "http://www.roblox.com/asset/?id=188539332"
  137. msh.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  138. local pn = Instance.new("Part", v.Character.kit)
  139. pn.Name = "tail"
  140. pn.Anchored = true
  141. pn.Transparency = 0
  142. pn.Material = "Plastic"
  143. pn.CanCollide = false
  144. pn.TopSurface = 0
  145. pn.BottomSurface = 0
  146. pn.Size = Vector3.new(5, 3, 3)
  147. pn.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  148. local mshn = Instance.new("SpecialMesh", pn)
  149. mshn.Scale = Vector3.new(2, 2, 2)
  150. mshn.MeshId = "http://www.roblox.com/asset/?id=188635159"
  151. mshn.TextureId = "http://www.roblox.com/asset/?id=188539332"
  152. mshn.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  153. local pn3 = Instance.new("Part", v.Character.kit)
  154. pn3.Name = "tail"
  155. pn3.Anchored = true
  156. pn3.Transparency = 0
  157. pn3.Material = "Plastic"
  158. pn3.CanCollide = false
  159. pn3.TopSurface = 0
  160. pn3.BottomSurface = 0
  161. pn3.Size = Vector3.new(0.2, 0.2, 0.2)
  162. pn3.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  163. local mshn3 = Instance.new("SpecialMesh", pn3)
  164. mshn3.Scale = Vector3.new(2, 2, 2)
  165. mshn3.MeshId = "http://www.roblox.com/asset/?id=188635159"
  166. mshn3.TextureId = "http://www.roblox.com/asset/?id=188539332"
  167. mshn3.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  168. local pn4 = Instance.new("Part", v.Character.kit)
  169. pn4.Name = "tail"
  170. pn4.Anchored = true
  171. pn4.Transparency = 0
  172. pn4.Material = "Plastic"
  173. pn4.CanCollide = false
  174. pn4.TopSurface = 0
  175. pn4.BottomSurface = 0
  176. pn4.Size = Vector3.new(0.2, 0.2, 0.2)
  177. pn4.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  178. local mshn4 = Instance.new("SpecialMesh", pn4)
  179. mshn4.Scale = Vector3.new(-2, 2, 2)
  180. mshn4.MeshId = "http://www.roblox.com/asset/?id=188635159"
  181. mshn4.TextureId = "http://www.roblox.com/asset/?id=188539332"
  182. mshn4.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  183. local pn5 = Instance.new("Part", v.Character.kit)
  184. pn5.Name = "tail"
  185. pn5.Anchored = true
  186. pn5.Transparency = 0
  187. pn5.Material = "Plastic"
  188. pn5.CanCollide = false
  189. pn5.TopSurface = 0
  190. pn5.BottomSurface = 0
  191. pn5.Size = Vector3.new(0.2, 0.2, 0.2)
  192. pn5.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  193. local mshn5 = Instance.new("SpecialMesh", pn5)
  194. mshn5.Scale = Vector3.new(2, 2, 2)
  195. mshn5.MeshId = "http://www.roblox.com/asset/?id=188635159"
  196. mshn5.TextureId = "http://www.roblox.com/asset/?id=188539332"
  197. mshn5.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  198. local pn6 = Instance.new("Part", v.Character.kit)
  199. pn6.Name = "tail"
  200. pn6.Anchored = true
  201. pn6.Transparency = 0
  202. pn6.Material = "Plastic"
  203. pn6.CanCollide = false
  204. pn6.TopSurface = 0
  205. pn6.BottomSurface = 0
  206. pn6.Size = Vector3.new(0.2, 0.2, 0.2)
  207. pn6.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  208. local mshn6 = Instance.new("SpecialMesh", pn6)
  209. mshn6.Scale = Vector3.new(2, 2, 2)
  210. mshn6.MeshId = "http://www.roblox.com/asset/?id=188635159"
  211. mshn6.TextureId = "http://www.roblox.com/asset/?id=188539332"
  212. mshn6.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  213. local pn7 = Instance.new("Part", v.Character.kit)
  214. pn7.Name = "tail"
  215. pn7.Anchored = true
  216. pn7.Transparency = 0
  217. pn7.Material = "Plastic"
  218. pn7.CanCollide = false
  219. pn7.TopSurface = 0
  220. pn7.BottomSurface = 0
  221. pn7.Size = Vector3.new(0.2, 0.2, 0.2)
  222. pn7.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  223. local mshn7 = Instance.new("SpecialMesh", pn7)
  224. mshn7.Scale = Vector3.new(2, 2, 2)
  225. mshn7.MeshId = "http://www.roblox.com/asset/?id=188635159"
  226. mshn7.TextureId = "http://www.roblox.com/asset/?id=188539332"
  227. mshn7.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  228. local pn8 = Instance.new("Part", v.Character.kit)
  229. pn8.Name = "tail"
  230. pn8.Anchored = true
  231. pn8.Transparency = 0
  232. pn8.Material = "Plastic"
  233. pn8.CanCollide = false
  234. pn8.TopSurface = 0
  235. pn8.BottomSurface = 0
  236. pn8.Size = Vector3.new(0.2, 0.2, 0.2)
  237. pn8.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  238. local mshn8 = Instance.new("SpecialMesh", pn8)
  239. mshn8.Scale = Vector3.new(-2, 2, 2)
  240. mshn8.MeshId = "http://www.roblox.com/asset/?id=188635159"
  241. mshn8.TextureId = "http://www.roblox.com/asset/?id=188539332"
  242. mshn8.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  243. local pn9 = Instance.new("Part", v.Character.kit)
  244. pn9.Name = "tail"
  245. pn9.Anchored = true
  246. pn9.Transparency = 0
  247. pn9.Material = "Plastic"
  248. pn9.CanCollide = false
  249. pn9.TopSurface = 0
  250. pn9.BottomSurface = 0
  251. pn9.Size = Vector3.new(0.2, 0.2, 0.2)
  252. pn9.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  253. local mshn9 = Instance.new("SpecialMesh", pn9)
  254. mshn9.Scale = Vector3.new(-2, 2, 2)
  255. mshn9.MeshId = "http://www.roblox.com/asset/?id=188635159"
  256. mshn9.TextureId = "http://www.roblox.com/asset/?id=188539332"
  257. mshn9.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  258. local pn0 = Instance.new("Part", v.Character.kit)
  259. pn0.Name = "ears"
  260. pn0.Anchored = true
  261. pn0.Transparency = 0
  262. pn0.Material = "Plastic"
  263. pn0.CanCollide = false
  264. pn0.TopSurface = 0
  265. pn0.BottomSurface = 0
  266. pn0.Size = Vector3.new(0.2, 0.2, 0.2)
  267. pn0.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  268. local mshn0 = Instance.new("SpecialMesh", pn0)
  269. mshn0.Scale = Vector3.new(0.5, 0.5, 0.5)
  270. mshn0.MeshId = "http://www.roblox.com/asset/?id=361948302"
  271. mshn0.TextureId = "http://www.roblox.com/asset/?id=50657528"
  272. mshn0.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  273. p.Anchored = false
  274. local motor1 = Instance.new("Weld", p)
  275. motor1.Part0 = p
  276. motor1.Part1 = torso
  277. motor1.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  278. motor1.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  279. pn.Anchored = false
  280. local motor2 = Instance.new("Weld", pn)
  281. motor2.Part0 = pn
  282. motor2.Part1 = torso
  283. motor2.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  284. motor2.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  285. pn3.Anchored = false
  286. local motor3 = Instance.new("Weld", pn3)
  287. motor3.Part0 = pn3
  288. motor3.Part1 = torso
  289. motor3.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  290. motor3.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  291. pn4.Anchored = false
  292. local motor4 = Instance.new("Weld", pn4)
  293. motor4.Part0 = pn4
  294. motor4.Part1 = torso
  295. motor4.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  296. motor4.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  297. pn5.Anchored = false
  298. local motor5 = Instance.new("Weld", pn5)
  299. motor5.Part0 = pn5
  300. motor5.Part1 = torso
  301. motor5.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  302. motor5.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  303. pn6.Anchored = false
  304. local motor6 = Instance.new("Weld", pn6)
  305. motor6.Part0 = pn6
  306. motor6.Part1 = torso
  307. motor6.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  308. motor6.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  309. pn7.Anchored = false
  310. local motor7 = Instance.new("Weld", pn7)
  311. motor7.Part0 = pn7
  312. motor7.Part1 = torso
  313. motor7.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  314. motor7.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  315. pn8.Anchored = false
  316. local motor8 = Instance.new("Weld", pn8)
  317. motor8.Part0 = pn8
  318. motor8.Part1 = torso
  319. motor8.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  320. motor8.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  321. pn9.Anchored = false
  322. local motor9 = Instance.new("Weld", pn9)
  323. motor9.Part0 = pn9
  324. motor9.Part1 = torso
  325. motor9.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  326. motor9.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  327. pn0.Anchored = false
  328. local motor0 = Instance.new("Weld", pn0)
  329. motor0.Part0 = pn0
  330. motor0.Part1 = v.Character.Head
  331. motor0.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  332. game:GetService("RunService").Stepped:connect(function()
  333. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  334. velocity = RootPart.Velocity.y
  335. sine = sine + change
  336. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  337. if equipped == true or equipped == false then
  338. if RootPart.Velocity.y > 1 and hit == nil then
  339. Anim = "Jump"
  340. if attack == false then
  341. motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1)
  342. motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  343. motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-110 + 0 * math.cos(sine / 25))), 0.1)
  344. motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(110 + 0 * math.cos(sine / 25))), 0.1)
  345. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  346. motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  347. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  348. motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1)
  349. motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(-90 + 0 * math.cos(sine / 10)), math.rad(80 + 0 * math.cos(sine / 25))), 0.1)
  350. end
  351. else
  352. if RootPart.Velocity.y < -1 and hit == nil then
  353. Anim = "Fall"
  354. if attack == false then
  355. motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
  356. motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  357. motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  358. motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
  359. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  360. motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  361. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  362. motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
  363. motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(70 + 0 * math.cos(sine / 25))), 0.1)
  364. end
  365. else
  366. if Torsovelocity < 1 and hit ~= nil then
  367. Anim = "Idle"
  368. if attack == false then
  369. change = 1
  370. motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-5 + 5 * math.cos(sine / 50)), math.rad(0 + 5 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  371. motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-5 + -5 * math.cos(sine / 70)), math.rad(0 + -5 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  372. motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-5 + -5 * math.cos(sine / 80)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(-50 + 0 * math.cos(sine / 25))), 0.1)
  373. motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(0 + 5 * math.cos(sine / 40)), math.rad(0 + 5 * math.cos(sine / 70)), math.rad(-40 + 0 * math.cos(sine / 25))), 0.1)
  374. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(0 + 5 * math.cos(sine / 60)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(40 + 0 * math.cos(sine / 25))), 0.1)
  375. motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 35)), math.rad(0 + 5 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  376. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 70)), math.rad(0 + 5 * math.cos(sine / 35)), math.rad(-45 + 0 * math.cos(sine / 25))), 0.1)
  377. motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 55)), math.rad(0 + 5 * math.cos(sine / 55)), math.rad(-10 + 0 * math.cos(sine / 25))), 0.1)
  378. motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 65)), math.rad(0 + 5 * math.cos(sine / 60)), math.rad(35 + 0 * math.cos(sine / 25))), 0.1)
  379. end
  380. else
  381. if Torsovelocity > 2 and hit ~= nil then
  382. Anim = "Walk"
  383. if attack == false then
  384. motor1.C0 = clerp(motor1.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
  385. motor2.C0 = clerp(motor2.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  386. motor3.C0 = clerp(motor3.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  387. motor4.C0 = clerp(motor4.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
  388. motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  389. motor6.C0 = clerp(motor6.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  390. motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 10)), math.rad(45 + 10 * math.cos(sine / 10)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  391. motor8.C0 = clerp(motor8.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
  392. motor9.C0 = clerp(motor9.C0, CFrame.new(2.36, -1.8, -0.87) * angles(math.rad(-60 + -10 * math.cos(sine / 10)), math.rad(-45 + 10 * math.cos(sine / 10)), math.rad(45 + 0 * math.cos(sine / 10))), 0.1)
  393. end
  394. end
  395. end
  396. end
  397. end
  398. end
  399. end)
  400.  
  401. wait(0.2)
  402.  
  403.  
  404.  
  405. Player = game:GetService("Players").Unspecifi_ed
  406. PlayerGui = Player.PlayerGui
  407. Cam = workspace.CurrentCamera
  408. Backpack = Player.Backpack
  409. Character = Player.Character
  410. Humanoid = Character.Humanoid
  411. Mouse = Player:GetMouse()
  412. RootPart = Character["HumanoidRootPart"]
  413. Torso = Character["Torso"]
  414. Head = Character["Head"]
  415. RightArm = Character["Right Arm"]
  416. LeftArm = Character["Left Arm"]
  417. RightLeg = Character["Right Leg"]
  418. LeftLeg = Character["Left Leg"]
  419. RootJoint = RootPart["RootJoint"]
  420. Neck = Torso["Neck"]
  421. RightShoulder = Torso["Right Shoulder"]
  422. LeftShoulder = Torso["Left Shoulder"]
  423. RightHip = Torso["Right Hip"]
  424. LeftHip = Torso["Left Hip"]
  425. local sick = Instance.new("Sound",Character)
  426. sick.SoundId = "rbxassetid://853029803"
  427. sick.Looped = true
  428. sick.Pitch = 1
  429. sick.Volume = 5
  430. sick:Play()
  431.  
  432. IT = Instance.new
  433. CF = CFrame.new
  434. VT = Vector3.new
  435. RAD = math.rad
  436. C3 = Color3.new
  437. UD2 = UDim2.new
  438. BRICKC = BrickColor.new
  439. ANGLES = CFrame.Angles
  440. EULER = CFrame.fromEulerAnglesXYZ
  441. COS = math.cos
  442. ACOS = math.acos
  443. SIN = math.sin
  444. ASIN = math.asin
  445. ABS = math.abs
  446. MRANDOM = math.random
  447. FLOOR = math.floor
  448.  
  449. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  450. local NEWMESH = IT(MESH)
  451. if MESH == "SpecialMesh" then
  452. NEWMESH.MeshType = MESHTYPE
  453. if MESHID ~= "nil" and MESHID ~= "" then
  454. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  455. end
  456. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  457. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  458. end
  459. end
  460. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  461. NEWMESH.Scale = SCALE
  462. NEWMESH.Parent = PARENT
  463. return NEWMESH
  464. end
  465.  
  466. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  467. local NEWPART = IT("Part")
  468. NEWPART.formFactor = FORMFACTOR
  469. NEWPART.Reflectance = REFLECTANCE
  470. NEWPART.Transparency = TRANSPARENCY
  471. NEWPART.CanCollide = false
  472. NEWPART.Locked = true
  473. NEWPART.Anchored = true
  474. if ANCHOR == false then
  475. NEWPART.Anchored = false
  476. end
  477. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  478. NEWPART.Name = NAME
  479. NEWPART.Size = SIZE
  480. NEWPART.Position = Torso.Position
  481. NEWPART.Material = MATERIAL
  482. NEWPART:BreakJoints()
  483. NEWPART.Parent = PARENT
  484. return NEWPART
  485. end
  486.  
  487. --//=================================\\
  488. --|| CUSTOMIZATION
  489. --\\=================================//
  490.  
  491. Player_Size = 1 --Size of the player.
  492. Animation_Speed = 3
  493. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  494.  
  495. local Speed = 16
  496. local Effects2 = {}
  497.  
  498. --//=================================\\
  499. --|| END OF CUSTOMIZATION
  500. --\\=================================//
  501.  
  502. local function weldBetween(a, b)
  503. local weldd = Instance.new("ManualWeld")
  504. weldd.Part0 = a
  505. weldd.Part1 = b
  506. weldd.C0 = CFrame.new()
  507. weldd.C1 = b.CFrame:inverse() * a.CFrame
  508. weldd.Parent = a
  509. return weldd
  510. end
  511.  
  512. --//=================================\\
  513. --|| USEFUL VALUES
  514. --\\=================================//
  515.  
  516. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  517. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  518. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  519. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  520. local CHANGEDEFENSE = 0
  521. local CHANGEDAMAGE = 0
  522. local CHANGEMOVEMENT = 0
  523. local ANIM = "Idle"
  524. local ATTACK = false
  525. local EQUIPPED = false
  526. local HOLD = false
  527. local COMBO = 1
  528. local Rooted = false
  529. local SINE = 0
  530. local KEYHOLD = false
  531. local CHANGE = 2 / Animation_Speed
  532. local WALKINGANIM = false
  533. local WALK = 0
  534. local VALUE1 = false
  535. local VALUE2 = false
  536. local ROBLOXIDLEANIMATION = IT("Animation")
  537. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  538. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  539. --ROBLOXIDLEANIMATION.Parent = Humanoid
  540. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  541. WEAPONGUI.Name = "Weapon GUI"
  542. local Weapon = IT("Model")
  543. Weapon.Name = "Adds"
  544. local HITFLOOR = nil
  545. local Effects = IT("Folder", Weapon)
  546. Effects.Name = "Effects"
  547. local ANIMATOR = Humanoid.Animator
  548. local ANIMATE = Character.Animate
  549. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  550. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  551. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  552. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  553. local UNANCHOR = true
  554.  
  555. local SKILLTEXTCOLOR = C3(0,255/255,0)
  556.  
  557. --//=================================\\
  558. --\\=================================//
  559.  
  560.  
  561. --//=================================\\
  562. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  563. --\\=================================//
  564.  
  565. ArtificialHB = Instance.new("BindableEvent", script)
  566. ArtificialHB.Name = "ArtificialHB"
  567.  
  568. script:WaitForChild("ArtificialHB")
  569.  
  570. frame = Frame_Speed
  571. tf = 0
  572. allowframeloss = false
  573. tossremainder = false
  574. lastframe = tick()
  575. script.ArtificialHB:Fire()
  576.  
  577. game:GetService("RunService").Heartbeat:connect(function(s, p)
  578. tf = tf + s
  579. if tf >= frame then
  580. if allowframeloss then
  581. script.ArtificialHB:Fire()
  582. lastframe = tick()
  583. else
  584. for i = 1, math.floor(tf / frame) do
  585. script.ArtificialHB:Fire()
  586. end
  587. lastframe = tick()
  588. end
  589. if tossremainder then
  590. tf = 0
  591. else
  592. tf = tf - frame * math.floor(tf / frame)
  593. end
  594. end
  595. end)
  596.  
  597. --//=================================\\
  598. --\\=================================//
  599.  
  600.  
  601.  
  602.  
  603.  
  604. --//=================================\\
  605. --|| SOME FUNCTIONS
  606. --\\=================================//
  607.  
  608. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  609. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  610. end
  611.  
  612. function PositiveAngle(NUMBER)
  613. if NUMBER >= 0 then
  614. NUMBER = 0
  615. end
  616. return NUMBER
  617. end
  618.  
  619. function NegativeAngle(NUMBER)
  620. if NUMBER <= 0 then
  621. NUMBER = 0
  622. end
  623. return NUMBER
  624. end
  625.  
  626. function Swait(NUMBER)
  627. if NUMBER == 0 or NUMBER == nil then
  628. ArtificialHB.Event:wait()
  629. else
  630. for i = 1, NUMBER do
  631. ArtificialHB.Event:wait()
  632. end
  633. end
  634. end
  635.  
  636. function QuaternionFromCFrame(cf)
  637. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  638. local trace = m00 + m11 + m22
  639. if trace > 0 then
  640. local s = math.sqrt(1 + trace)
  641. local recip = 0.5 / s
  642. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  643. else
  644. local i = 0
  645. if m11 > m00 then
  646. i = 1
  647. end
  648. if m22 > (i == 0 and m00 or m11) then
  649. i = 2
  650. end
  651. if i == 0 then
  652. local s = math.sqrt(m00 - m11 - m22 + 1)
  653. local recip = 0.5 / s
  654. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  655. elseif i == 1 then
  656. local s = math.sqrt(m11 - m22 - m00 + 1)
  657. local recip = 0.5 / s
  658. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  659. elseif i == 2 then
  660. local s = math.sqrt(m22 - m00 - m11 + 1)
  661. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  662. end
  663. end
  664. end
  665.  
  666. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  667. local xs, ys, zs = x + x, y + y, z + z
  668. local wx, wy, wz = w * xs, w * ys, w * zs
  669. local xx = x * xs
  670. local xy = x * ys
  671. local xz = x * zs
  672. local yy = y * ys
  673. local yz = y * zs
  674. local zz = z * zs
  675. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  676. end
  677.  
  678. function QuaternionSlerp(a, b, t)
  679. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  680. local startInterp, finishInterp;
  681. if cosTheta >= 0.0001 then
  682. if (1 - cosTheta) > 0.0001 then
  683. local theta = ACOS(cosTheta)
  684. local invSinTheta = 1 / SIN(theta)
  685. startInterp = SIN((1 - t) * theta) * invSinTheta
  686. finishInterp = SIN(t * theta) * invSinTheta
  687. else
  688. startInterp = 1 - t
  689. finishInterp = t
  690. end
  691. else
  692. if (1 + cosTheta) > 0.0001 then
  693. local theta = ACOS(-cosTheta)
  694. local invSinTheta = 1 / SIN(theta)
  695. startInterp = SIN((t - 1) * theta) * invSinTheta
  696. finishInterp = SIN(t * theta) * invSinTheta
  697. else
  698. startInterp = t - 1
  699. finishInterp = t
  700. end
  701. end
  702. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  703. end
  704.  
  705. function Clerp(a, b, t)
  706. local qa = {QuaternionFromCFrame(a)}
  707. local qb = {QuaternionFromCFrame(b)}
  708. local ax, ay, az = a.x, a.y, a.z
  709. local bx, by, bz = b.x, b.y, b.z
  710. local _t = 1 - t
  711. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  712. end
  713.  
  714. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  715. local frame = IT("Frame")
  716. frame.BackgroundTransparency = TRANSPARENCY
  717. frame.BorderSizePixel = BORDERSIZEPIXEL
  718. frame.Position = POSITION
  719. frame.Size = SIZE
  720. frame.BackgroundColor3 = COLOR
  721. frame.BorderColor3 = BORDERCOLOR
  722. frame.Name = NAME
  723. frame.Parent = PARENT
  724. return frame
  725. end
  726.  
  727. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  728. local label = IT("TextLabel")
  729. label.BackgroundTransparency = 1
  730. label.Size = UD2(1, 0, 1, 0)
  731. label.Position = UD2(0, 0, 0, 0)
  732. label.TextColor3 = TEXTCOLOR
  733. label.TextStrokeTransparency = STROKETRANSPARENCY
  734. label.TextTransparency = TRANSPARENCY
  735. label.FontSize = TEXTFONTSIZE
  736. label.Font = TEXTFONT
  737. label.BorderSizePixel = BORDERSIZEPIXEL
  738. label.TextScaled = false
  739. label.Text = TEXT
  740. label.Name = NAME
  741. label.Parent = PARENT
  742. return label
  743. end
  744.  
  745. function NoOutlines(PART)
  746. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  747. end
  748.  
  749.  
  750. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  751. local NEWWELD = IT(TYPE)
  752. NEWWELD.Part0 = PART0
  753. NEWWELD.Part1 = PART1
  754. NEWWELD.C0 = C0
  755. NEWWELD.C1 = C1
  756. NEWWELD.Parent = PARENT
  757. return NEWWELD
  758. end
  759.  
  760. function CreateSound(ID, PARENT, VOLUME, PITCH)
  761. local NEWSOUND = nil
  762. coroutine.resume(coroutine.create(function()
  763. NEWSOUND = IT("Sound", PARENT)
  764. NEWSOUND.Volume = VOLUME
  765. NEWSOUND.Pitch = PITCH
  766. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  767. Swait()
  768. NEWSOUND:play()
  769. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  770. end))
  771. return NEWSOUND
  772. end
  773.  
  774. function CFrameFromTopBack(at, top, back)
  775. local right = top:Cross(back)
  776. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  777. end
  778.  
  779. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  780. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(0,0,0))
  781. local mesh = IT("SpecialMesh",wave)
  782. mesh.MeshType = "FileMesh"
  783. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  784. mesh.Scale = SIZE
  785. mesh.Offset = VT(0,0,-SIZE.X/8)
  786. wave.CFrame = CFRAME
  787. coroutine.resume(coroutine.create(function(PART)
  788. for i = 1, WAIT do
  789. Swait()
  790. mesh.Scale = mesh.Scale + GROW
  791. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  792. if DOESROT == true then
  793. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  794. end
  795. wave.Transparency = wave.Transparency + (0.5/WAIT)
  796. if wave.Transparency > 0.99 then
  797. wave:remove()
  798. end
  799. end
  800. end))
  801. end
  802.  
  803. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  804. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(0,0,0))
  805. local mesh = IT("SpecialMesh",wave)
  806. mesh.MeshType = "FileMesh"
  807. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  808. mesh.Scale = SIZE
  809. --mesh.Offset = VT(0,0,-SIZE.X/8)
  810. wave.CFrame = CFRAME
  811. coroutine.resume(coroutine.create(function(PART)
  812. for i = 1, WAIT do
  813. Swait()
  814. mesh.Scale = mesh.Scale + GROW
  815. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  816. if DOESROT == true then
  817. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  818. end
  819. wave.Transparency = wave.Transparency + (0.5/WAIT)
  820. if wave.Transparency > 0.99 then
  821. wave:remove()
  822. end
  823. end
  824. end))
  825. end
  826.  
  827. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  828. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(0,0,0))
  829. local mesh = IT("SpecialMesh",wave)
  830. mesh.MeshType = "FileMesh"
  831. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  832. mesh.Scale = SIZE
  833. wave.CFrame = CFRAME
  834. coroutine.resume(coroutine.create(function(PART)
  835. for i = 1, WAIT do
  836. Swait()
  837. mesh.Scale = mesh.Scale + GROW
  838. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  839. if DOESROT == true then
  840. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  841. end
  842. wave.Transparency = wave.Transparency + (0.5/WAIT)
  843. if wave.Transparency > 0.99 then
  844. wave:remove()
  845. end
  846. end
  847. end))
  848. end
  849.  
  850.  
  851. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  852. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(1,1,1), true)
  853. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  854. wave.CFrame = CFRAME
  855. coroutine.resume(coroutine.create(function(PART)
  856. for i = 1, WAIT do
  857. Swait()
  858. mesh.Scale = mesh.Scale * GROW
  859. wave.Transparency = wave.Transparency + (0.5/WAIT)
  860. if wave.Transparency > 0.99 then
  861. wave:remove()
  862. end
  863. end
  864. end))
  865. end
  866.  
  867. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  868. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Crimson"), "Effect", VT(1,1,1), true)
  869. local mesh = IT("SpecialMesh",wave)
  870. mesh.MeshType = "Sphere"
  871. mesh.Scale = SIZE
  872. mesh.Offset = VT(0,0,0)
  873. wave.CFrame = CFRAME
  874. coroutine.resume(coroutine.create(function(PART)
  875. for i = 1, WAIT do
  876. Swait()
  877. mesh.Scale = mesh.Scale + GROW
  878. wave.Transparency = wave.Transparency + (1/WAIT)
  879. if wave.Transparency > 0.99 then
  880. wave:remove()
  881. end
  882. end
  883. end))
  884. end
  885.  
  886. function MakeForm(PART,TYPE)
  887. if TYPE == "Cyl" then
  888. local MSH = IT("CylinderMesh",PART)
  889. elseif TYPE == "Ball" then
  890. local MSH = IT("SpecialMesh",PART)
  891. MSH.MeshType = "Sphere"
  892. elseif TYPE == "Wedge" then
  893. local MSH = IT("SpecialMesh",PART)
  894. MSH.MeshType = "Wedge"
  895. end
  896. end
  897.  
  898. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  899. if FLOOR ~= nil then
  900. coroutine.resume(coroutine.create(function()
  901. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  902. PART.CFrame = CF(POSITION)
  903. for i = 1, 45 do
  904. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  905. RingPiece.Material = FLOOR.Material
  906. RingPiece.Color = FLOOR.Color
  907. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  908. Debris:AddItem(RingPiece,SWAIT/100)
  909. end
  910. PART:remove()
  911. end))
  912. end
  913. end
  914.  
  915. function CheckTableForString(Table, String)
  916. for i, v in pairs(Table) do
  917. if string.find(string.lower(String), string.lower(v)) then
  918. return true
  919. end
  920. end
  921. return false
  922. end
  923.  
  924. function CheckIntangible(Hit)
  925. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  926. if Hit and Hit.Parent then
  927. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  928. return true
  929. end
  930. end
  931. return false
  932. end
  933.  
  934. Debris = game:GetService("Debris")
  935.  
  936. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  937. local Direction = CFrame.new(StartPos, Vec).lookVector
  938. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  939. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  940. if RayHit and CheckIntangible(RayHit) then
  941. if DelayIfHit then
  942. wait()
  943. end
  944. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  945. end
  946. return RayHit, RayPos, RayNormal
  947. end
  948.  
  949. function turnto(position)
  950. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  951. end
  952.  
  953. --//=================================\\
  954. --|| WEAPON CREATION
  955. --\\=================================//
  956.  
  957. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Crimson", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  958. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  959. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Crimson", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  960. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  961.  
  962. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Crimson", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  963. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  964. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Crimson", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  965. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  966. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Crimson", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  967. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  968. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Crimson", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  969. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  970.  
  971. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Crimson", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  972. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  973. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Crimson", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  974. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  975. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Crimson", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  976. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  977. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Crimson", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  978. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  979. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Crimson", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  980. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  981.  
  982. for _, c in pairs(Weapon:GetChildren()) do
  983. if c.ClassName == "Part" then
  984. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  985. end
  986. end
  987.  
  988. Weapon.Parent = Character
  989.  
  990. Humanoid.Died:connect(function()
  991. ATTACK = true
  992. end)
  993.  
  994. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  995. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  996. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  997. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  998.  
  999. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Death's Agreement", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  1000. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Grab Time", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  1001. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Max Speed", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
  1002. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Green's Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
  1003.  
  1004. --//=================================\\
  1005. --|| DAMAGE FUNCTIONS
  1006. --\\=================================//
  1007.  
  1008. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1009. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1010. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1011. local BODYGYRO = IT("BodyGyro", STATPART)
  1012. local BODYPOSITION = IT("BodyPosition", STATPART)
  1013. BODYPOSITION.P = 2000
  1014. BODYPOSITION.D = 100
  1015. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1016. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1017. game:GetService("Debris"):AddItem(STATPART ,5)
  1018. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1019. BILLBOARDGUI.Adornee = STATPART
  1020. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1021. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1022. BILLBOARDGUI.AlwaysOnTop = false
  1023. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1024. TEXTLABEL.BackgroundTransparency = 1
  1025. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1026. TEXTLABEL.Text = TEXT
  1027. TEXTLABEL.Font = "SciFi"
  1028. TEXTLABEL.FontSize="Size42"
  1029. TEXTLABEL.TextColor3 = COLOR
  1030. TEXTLABEL.TextStrokeTransparency = 1
  1031. TEXTLABEL.TextScaled = true
  1032. TEXTLABEL.TextWrapped = true
  1033. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1034. if LABELTYPE == "Normal" then
  1035. for i = 1, 30 do
  1036. Swait()
  1037. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  1038. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1039. end
  1040. elseif LABELTYPE == "Debuff" then
  1041. for i = 1, 30 do
  1042. Swait()
  1043. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  1044. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1045. end
  1046. elseif LABELTYPE == "Shock" then
  1047. local ORIGIN = STATPART.Position
  1048. for i = 1, 30 do
  1049. Swait()
  1050. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  1051. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1052. end
  1053. end
  1054. THEPART.Parent = nil
  1055. end),STATPART, BODYPOSITION, TEXTLABEL)
  1056. end
  1057.  
  1058. --//=================================\\
  1059. --|| DAMAGING
  1060. --\\=================================//
  1061.  
  1062. function killnearest(position,range,maxstrength,direction)
  1063. for i,v in ipairs(workspace:GetChildren()) do
  1064. local body = v:GetChildren()
  1065. for part = 1, #body do
  1066. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1067. if(body[part].Position - position).Magnitude < range then
  1068. if v.ClassName == "Model" then
  1069. --v:BreakJoints()
  1070. end
  1071. local POS = position
  1072. coroutine.resume(coroutine.create(function()
  1073. body[part].Anchored = true
  1074. body[part].Parent = Effects
  1075. body[part].CanCollide = true
  1076. local SIZE = body[part].Size
  1077. body[part].Material = "Neon"
  1078. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1079. for i = 1, 75 do
  1080. Swait()
  1081. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1082. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1083. end
  1084. coroutine.resume(coroutine.create(function()
  1085. while true do
  1086. Swait()
  1087. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1088. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1089. end
  1090. end))
  1091. body[part].Anchored = false
  1092. body[part].Velocity = direction.lookVector*maxstrength
  1093. end))
  1094. end
  1095. end
  1096. end
  1097. if v.ClassName == "Part" then
  1098. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1099. local POS = position
  1100. coroutine.resume(coroutine.create(function()
  1101. v.Anchored = true
  1102. v.Parent = Effects
  1103. local SIZE = v.Size
  1104. v.Material = "Neon"
  1105. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1106. for i = 1, 75 do
  1107. Swait()
  1108. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1109. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1110. end
  1111. coroutine.resume(coroutine.create(function()
  1112. while true do
  1113. Swait()
  1114. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1115. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1116. end
  1117. end))
  1118. v.Anchored = false
  1119. v.Velocity = direction.lookVector*maxstrength
  1120. end))
  1121. end
  1122. end
  1123. end
  1124. end
  1125.  
  1126. --//=================================\\
  1127. --|| ATTACK FUNCTIONS AND STUFF
  1128. --\\=================================//
  1129.  
  1130. function AttackTemplate()
  1131. ATTACK = true
  1132. Rooted = false
  1133. for i=0, 1, 0.1 / Animation_Speed do
  1134. Swait()
  1135. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1136. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1138. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1139. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1140. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1141. end
  1142. ATTACK = false
  1143. Rooted = false
  1144. end
  1145.  
  1146. function DeathAgreement()
  1147. ATTACK = true
  1148. Rooted = false
  1149. local SPEED = Speed
  1150. Speed = 8
  1151. CreateSound("357202141", RightArm, 10, 1.1)
  1152. for i=0, 4, 0.1 / Animation_Speed do
  1153. Swait()
  1154. turnto(Mouse.Hit.p)
  1155. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Crimson",VT(-1/15,-1/15,-1/15))
  1156. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Crimson",VT(-2/15,-2/15,-2/15))
  1157. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  1158. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  1159. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1160. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1161. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1162. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1163. end
  1164. for i=0, 0.15, 0.1 / Animation_Speed do
  1165. Swait()
  1166. turnto(Mouse.Hit.p)
  1167. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1168. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1169. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1170. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1171. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1172. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1173. end
  1174. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Crimson", "Punch", VT(50,50,50),false)
  1175. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  1176. PART.Shape = "Ball"
  1177. local bv = Instance.new("BodyVelocity")
  1178. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1179. bv.velocity = RootPart.CFrame.lookVector*600
  1180. bv.Parent = PART
  1181. bv.Name = "PROJECTILEVELOCITY"
  1182. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Crimson",VT(2.5,0.2,2.5))
  1183. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Crimson",VT(3,0.2,3))
  1184. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Crimson",VT(2,0.6,2))
  1185. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Crimson",VT(2.2,0.6,2.2))
  1186. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  1187. coroutine.resume(coroutine.create(function()
  1188. for i = 1, 10 do
  1189. Swait()
  1190. PART.Transparency = PART.Transparency + 0.2/10
  1191. PART.Size = PART.Size + VT(5,5,5)
  1192. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  1193. end
  1194. PART:Destroy()
  1195. end))
  1196. for i=0, 1, 0.1 / Animation_Speed do
  1197. Swait()
  1198. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1199. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1200. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1201. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1202. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1203. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1204. end
  1205. Speed = SPEED
  1206. ATTACK = false
  1207. Rooted = false
  1208. end
  1209.  
  1210. function GrabTime()
  1211. ATTACK = true
  1212. Rooted = false
  1213. local HASGRABBED = false
  1214. local WELD = nil
  1215. local TORS = nil
  1216. local hitting = FIST.Touched:connect(function(hit)
  1217. if hit.Parent:FindFirstChild("Humanoid") then
  1218. if hit.Parent.Humanoid.Health ~= 0 then
  1219. UNANCHOR = false
  1220. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1221. TORS.Anchored = true
  1222. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1223. WELD = weldBetween(RightArm,TORS)
  1224. HASGRABBED = true
  1225. Rooted = true
  1226. end
  1227. end
  1228. end)
  1229. for i=0, 1, 0.1 / Animation_Speed do
  1230. Swait()
  1231. if HASGRABBED == true then
  1232. break
  1233. end
  1234. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  1235. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1236. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1237. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1238. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1239. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1240. end
  1241. hitting:disconnect()
  1242. if HASGRABBED == true then
  1243. TORS.Anchored = false
  1244. RootPart.Anchored = true
  1245. for i=0, 2, 0.1 / Animation_Speed do
  1246. Swait()
  1247. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1248. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1249. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1250. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1251. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1252. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1253. end
  1254. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  1255. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  1256. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Sound", VT(0,0,0))
  1257. SOUNDPART.CFrame = RootPart.CFrame
  1258. Debris:AddItem(SOUNDPART,5)
  1259. CreateSound("357202073", SOUNDPART, 2, 1)
  1260. for i = 1, 15 do
  1261. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  1262. end
  1263. for i=0, 2, 0.1 / Animation_Speed do
  1264. Swait()
  1265. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1266. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1267. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1268. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1269. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1270. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1271. end
  1272. for i=0, 0.25, 0.1 / Animation_Speed do
  1273. Swait()
  1274. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  1275. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1276. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1277. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1278. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1279. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1280. end
  1281. if HITFLOOR ~= nil then
  1282. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  1283. end
  1284. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  1285. WELD:remove()
  1286. for i = 1, 25 do
  1287. Swait()
  1288. killnearest(RootPart.Position,45,100,Torso.CFrame)
  1289. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  1290. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Crimson",VT(1,0.4,1))
  1291. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Crimson",VT(2.3,0.3,2.3))
  1292. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  1293. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Crimson", 1 + MRANDOM(1,30)/15)
  1294. end
  1295. end
  1296. UNANCHOR = true
  1297. ATTACK = false
  1298. Rooted = false
  1299. end
  1300.  
  1301. function MaxSpeed()
  1302. local ORIGIN = RootPart.Position
  1303. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1304. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1305. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Sound", VT(0,0,0))
  1306. SOUNDPART.CFrame = RootPart.CFrame
  1307. Debris:AddItem(SOUNDPART,5)
  1308. CreateSound("357202032", SOUNDPART, 2, 1)
  1309. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  1310. Swait()
  1311. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  1312. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  1313. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Sound", VT(0,0,0))
  1314. SOUNDPART.CFrame = RootPart.CFrame
  1315. Debris:AddItem(SOUNDPART,5)
  1316. CreateSound("1295446488", SOUNDPART, 2, 1)
  1317. if MRANDOM(1,8) == 1 then
  1318. ATTACK = true
  1319. Rooted = true
  1320. local FRUITSTABLE = {
  1321. {MeshId = "16190555", TextureId = "16190577", Color = "Really red"},
  1322. {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
  1323. {MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
  1324. }
  1325. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  1326. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  1327. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  1328. FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
  1329. weldBetween(RightArm,FRUITMODEL)
  1330. for i=0, 4, 0.1 / Animation_Speed do
  1331. Swait()
  1332. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1333. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1334. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1335. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1336. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1337. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1338. end
  1339. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  1340. FRUITMODEL:remove()
  1341. for i = 1, 15 do
  1342. Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  1343. end
  1344. for i=0, 0.5, 0.1 / Animation_Speed do
  1345. Swait()
  1346. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1347. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1348. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1349. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1350. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1351. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1352. end
  1353. ATTACK = false
  1354. Rooted = false
  1355. end
  1356. end
  1357.  
  1358. function GreenUltimate()
  1359. ATTACK = true
  1360. Rooted = true
  1361. CreateSound("358080470", RightArm, 10, 0.8)
  1362. for i=0, 8, 0.1 / Animation_Speed do
  1363. Swait()
  1364. turnto(Mouse.Hit.p)
  1365. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Crimson",VT(0.2,0,0.2))
  1366. Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Crimson", 1.1)
  1367. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
  1368. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Crimson",VT(0.001,0.001,2),0)
  1369. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Crimson",VT(-1/15,-1/15,-1/15))
  1370. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Crimson",VT(-2/15,-2/15,-2/15))
  1371. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  1372. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  1373. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1374. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1375. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1376. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1377. end
  1378. for i=0, 0.15, 0.1 / Animation_Speed do
  1379. Swait()
  1380. turnto(Mouse.Hit.p)
  1381. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1382. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1383. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1384. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1385. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1386. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1387. end
  1388. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Crimson",VT(-0.04,-0.04,-0.04))
  1389. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
  1390. coroutine.resume(coroutine.create(function()
  1391. Swait(100)
  1392. for i = 1, 5 do
  1393. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Crimson",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  1394. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Crimson",VT(4.5*i,0.2,4.5*i))
  1395. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Crimson",VT(5*i,0.2,5*i))
  1396. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Crimson",VT(4*i,0.6,4*i))
  1397. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Crimson",VT(5.2*i,0.6,5.2*i))
  1398. end
  1399. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  1400. for i = 1, 5 do
  1401. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1402. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1403. end
  1404. coroutine.resume(coroutine.create(function()
  1405. for i = 1, 50 do
  1406. Swait()
  1407. for i = 1, 1 do
  1408. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  1409. end
  1410. for i = 1, 2 do
  1411. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Crimson", 1 + MRANDOM(1,30)/3)
  1412. end
  1413. end
  1414. end))
  1415. end))
  1416. for i=0, 4, 0.1 / Animation_Speed do
  1417. Swait()
  1418. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1419. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1420. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1421. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1422. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1423. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1424. end
  1425. ATTACK = false
  1426. Rooted = false
  1427. end
  1428.  
  1429. --//=================================\\
  1430. --|| ASSIGN THINGS TO KEYS
  1431. --\\=================================//
  1432.  
  1433. function MouseDown(Mouse)
  1434. if ATTACK == false then
  1435. end
  1436. end
  1437.  
  1438. function MouseUp(Mouse)
  1439. HOLD = false
  1440. end
  1441.  
  1442. function KeyDown(Key)
  1443. KEYHOLD = true
  1444. if Key == "z" and ATTACK == false then
  1445. DeathAgreement()
  1446. end
  1447.  
  1448. if Key == "b" and ATTACK == false then
  1449. GrabTime()
  1450. end
  1451.  
  1452. if Key == "c" and ATTACK == false then
  1453. MaxSpeed()
  1454. end
  1455.  
  1456. if Key == "x" and ATTACK == false then
  1457. GreenUltimate()
  1458. end
  1459.  
  1460. if Key == "p" and ATTACK == false then
  1461. if Speed == 16 then
  1462. Speed = 150
  1463. elseif Speed == 150 then
  1464. Speed = 16
  1465. end
  1466. end
  1467. end
  1468.  
  1469. function KeyUp(Key)
  1470. KEYHOLD = false
  1471. end
  1472.  
  1473. Mouse.Button1Down:connect(function(NEWKEY)
  1474. MouseDown(NEWKEY)
  1475. end)
  1476. Mouse.Button1Up:connect(function(NEWKEY)
  1477. MouseUp(NEWKEY)
  1478. end)
  1479. Mouse.KeyDown:connect(function(NEWKEY)
  1480. KeyDown(NEWKEY)
  1481. end)
  1482. Mouse.KeyUp:connect(function(NEWKEY)
  1483. KeyUp(NEWKEY)
  1484. end)
  1485.  
  1486. --//=================================\\
  1487. --\\=================================//
  1488.  
  1489.  
  1490. function unanchor()
  1491. if UNANCHOR == true then
  1492. g = Character:GetChildren()
  1493. for i = 1, #g do
  1494. if g[i].ClassName == "Part" then
  1495. g[i].Anchored = false
  1496. end
  1497. end
  1498. end
  1499. end
  1500.  
  1501.  
  1502. --//=================================\\
  1503. --|| WRAP THE WHOLE SCRIPT UP
  1504. --\\=================================//
  1505.  
  1506. Humanoid.Changed:connect(function(Jump)
  1507. if Jump == "Jump" and (Disable_Jump == true) then
  1508. Humanoid.Jump = false
  1509. end
  1510. end)
  1511.  
  1512. while true do
  1513. Swait()
  1514. ANIMATE.Parent = nil
  1515. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1516. IDLEANIMATION:Play()
  1517. SINE = SINE + CHANGE
  1518. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1519. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1520. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1521. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1522. local WALKSPEEDVALUE = 0
  1523. if Speed < 35 then
  1524. WALKSPEEDVALUE = 6
  1525. else
  1526. WALKSPEEDVALUE = 3
  1527. end
  1528. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  1529. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
  1530. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1531. if Speed < 35 then
  1532. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1533. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1534. else
  1535. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1536. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  1537. end
  1538. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  1539. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1540. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1541. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1542. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1543. end
  1544. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1545. ANIM = "Jump"
  1546. if ATTACK == false then
  1547. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1548. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1549. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1550. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1551. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1552. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1553. end
  1554. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1555. ANIM = "Fall"
  1556. if ATTACK == false then
  1557. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1558. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1559. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1560. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1561. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1562. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1563. end
  1564. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1565. ANIM = "Idle"
  1566. if ATTACK == false then
  1567. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1568. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1569. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1570. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1571. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1572. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1573. end
  1574. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  1575. ANIM = "Walk"
  1576. WALK = WALK + 1 / Animation_Speed
  1577. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1578. WALK = 0
  1579. if WALKINGANIM == true then
  1580. WALKINGANIM = false
  1581. elseif WALKINGANIM == false then
  1582. WALKINGANIM = true
  1583. end
  1584. end
  1585. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1586. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1587. if ATTACK == false then
  1588. if Speed < 35 then
  1589. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1590. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1591. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1592. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1593. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1594. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1595. else
  1596. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1597. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1599. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1600. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1601. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1602. end
  1603. end
  1604. end
  1605. unanchor()
  1606. Humanoid.MaxHealth = "inf"
  1607. Humanoid.Health = "inf"
  1608. if Rooted == false then
  1609. Disable_Jump = false
  1610. Humanoid.WalkSpeed = Speed
  1611. elseif Rooted == true then
  1612. Disable_Jump = true
  1613. Humanoid.WalkSpeed = 0
  1614. end
  1615. local MATHS = {"0","1"}
  1616. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1617. Humanoid.PlatformStand = false
  1618. end
  1619.  
  1620. --//=================================\\
  1621. --\\=================================//
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627. --//====================================================\\--
  1628. --|| END OF SCRIPT
  1629. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement