Dark_EccentricYT

Untitled

Aug 15th, 2017
1,021
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.71 KB | None | 0 0
  1. wait(2)
  2. function lerp(weld,beglerp,endlerp,speed)
  3. weld.C0 = beglerp:lerp(endlerp,speed)
  4. return weld.C0
  5. end
  6.  
  7. Stats = Instance.new("BoolValue",Char)
  8.  
  9. Dmg = Instance.new("NumberValue",Stats)
  10. Dmg.Name = "Dmg"
  11. Dmg.Value = 1
  12. Def = Instance.new("NumberValue",Stats)
  13. Def.Name = "Def"
  14. Def.Value = 1
  15. Spd = Instance.new("NumberValue",Stats)
  16. Spd.Name = "Spd"
  17. Spd.Value = 1
  18.  
  19. math.randomseed(tick())
  20. local speed = 0.2
  21. local angle = 0
  22. local anglespeed = 2
  23. local armspeed = 0.2
  24. local armangle = 0
  25. local armanglespeed = 2
  26. local legspeed = 0.2
  27. local legangle = 0
  28. local leganglespeed = 2
  29. local mana = 0
  30. local holdx = false
  31. local eenabled = 0
  32. local zenabled = 0
  33. local xenabled = 0
  34. local cenabled = 0
  35. local venabled = 0
  36. ignore = {}
  37. on = false
  38. damen = true
  39. enabled = true
  40. combo = 1
  41. Player = game.Players.LocalPlayer
  42. mouse = Player:GetMouse()
  43. Char = Player.Character
  44. Human = Char.Humanoid
  45. Sounds = {"rbxasset://sounds/unsheath.wav", "rbxassetid://200632136","rbxassetid://2101137","rbxassetid://16976189"}
  46. Head = Char.Head
  47. LA = Char:findFirstChild("Left Arm")
  48. RA = Char:findFirstChild("Right Arm")
  49. LL = Char:findFirstChild("Left Leg")
  50. RL = Char:findFirstChild("Right Leg")
  51. T = Char:findFirstChild("Torso")
  52. LS = T:findFirstChild("Left Shoulder")
  53. RS = T:findFirstChild("Right Shoulder")
  54. LH = T:findFirstChild("Left Hip")
  55. RH = T:findFirstChild("Right Hip")
  56. Neck = T:findFirstChild("Neck")
  57. HM = Char:findFirstChild("HumanoidRootPart")
  58. RJ = Char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  59. WLS = Instance.new("Weld", nil)
  60. WLS.C0 = CFrame.new(-1.5, 0.5, 0)
  61. WLS.C1 = CFrame.new(0, 0.5, 0)
  62. WLS.Part0 = T
  63. WLS.Part1 = LA
  64. WRS = Instance.new("Weld", nil)
  65. WRS.Part0 = T
  66. WRS.Part1 = RA
  67. WRS.C0 = CFrame.new(1.5, 0.5, 0)
  68. WRS.C1 = CFrame.new(0, 0.5, 0)
  69. WLH = LH
  70. WRH = RH
  71. WRH.Part0 = T
  72. WRH.Part1 = RL
  73. LSC0 = WLS.C0
  74. RSC0 = WRS.C0
  75. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  76. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  77. LHC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  78. LHC1 = CFrame.new(-0.5, 1 ,0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  79. WRJ = Instance.new("Weld", nil)
  80. WRJ.Part0 = T
  81. WRJ.Part1 = HM
  82. WRJ.C0 = CFrame.new()
  83. WRJ.C1 = CFrame.new()
  84. RJC0 = WRJ.C0
  85. NC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  86. Run = game:GetService("RunService")
  87. hopbin = Instance.new("HopperBin",Player.Backpack)
  88. hopbin.Name = "Baile"
  89.  
  90. Character=Player.Character
  91. m=Instance.new('Model',Character)
  92. m.Name = "Baile"
  93. it=Instance.new
  94. function nooutline(part)
  95. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  96. end
  97. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  98. local fp=it("Part")
  99. fp.formFactor=formfactor
  100. fp.Parent=parent
  101. fp.Reflectance=reflectance
  102. fp.Transparency=transparency
  103. fp.CanCollide=false
  104. fp.Locked=true
  105. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  106. fp.Name=name
  107. fp.Size=size
  108. fp.Position=Character.Torso.Position
  109. nooutline(fp)
  110. fp.Material=material
  111. fp:BreakJoints()
  112. return fp
  113. end
  114. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  115. local mesh=it(Mesh)
  116. mesh.Parent=part
  117. if Mesh=="SpecialMesh" then
  118. mesh.MeshType=meshtype
  119. mesh.MeshId=meshid
  120. end
  121. mesh.Offset=offset
  122. mesh.Scale=scale
  123. return mesh
  124. end
  125. function weld(parent,part0,part1,c0,c1)
  126. local weld=it("Weld")
  127. weld.Parent=parent
  128. weld.Part0=part0
  129. weld.Part1=part1
  130. weld.C0=c0
  131. weld.C1=c1
  132. return weld
  133. end
  134.  
  135. Maraca1=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Bright green","Handle",Vector3.new(0.960000038, 3.02999997, 0.560000062))
  136. Maraca1weld=weld(m,Character["Torso"],Maraca1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.976939201, -0.434410095, 1.0708313, -9.28085553e-010, -1, -4.31144399e-005, -3.26636873e-005, 4.31144399e-005, -1, 1, 4.80190998e-010, -3.26636873e-005))
  137. mes = mesh("SpecialMesh",Maraca1,Enum.MeshType.FileMesh,"rbxassetid://21334876",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.600000024))
  138. mes.TextureId = "rbxassetid://21334865"
  139. Maraca2=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Bright green","Handle",Vector3.new(0.960000038, 3.02999997, 0.560000062))
  140. Maraca2weld=weld(m,Character["Torso"],Maraca2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02846956, -0.434394836, -1.11915588, -9.28085553e-010, -1, -4.31144399e-005, -3.26636873e-005, 4.31144399e-005, -1, 1, 4.80190998e-010, -3.26636873e-005))
  141. mes2 = mesh("SpecialMesh",Maraca2,Enum.MeshType.FileMesh,"rbxassetid://21334876",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.600000024))
  142. mes2.TextureId = "rbxassetid://21334865"
  143.  
  144. Meshes={
  145. Blast="20329976",
  146. Crown="1323306",
  147. Ring="3270017",
  148. Claw="10681506",
  149. Crystal="9756362",
  150. Coil="9753878",
  151. Cloud="1095708",
  152. Skull="4770583",
  153. }
  154.  
  155. function nooutlines(part)
  156. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  157. end
  158.  
  159. function getmesh(mesh)
  160. return "rbxassetid://"..mesh
  161. end
  162.  
  163. function effect(part,brickcolor,size,cframe,trans,transincrement,scaleby,loopwait,meshid,meshtype)
  164. local p = Instance.new("Part", part or workspace)
  165. p.Anchored = true
  166. p.CanCollide = false
  167. p.FormFactor = Enum.FormFactor.Custom
  168. p.Material = "SmoothPlastic"
  169. p.CFrame = cframe
  170. p.BrickColor = brickcolor
  171. p.Size = Vector3.new(1,1,1)
  172. p.Transparency = trans
  173. nooutlines(p)
  174. local m = Instance.new("SpecialMesh",p)
  175. if meshtype ~= nil and meshid == nil then
  176. m.MeshType = meshtype
  177. end
  178. if meshtype == nil and meshid ~= nil then
  179. m.MeshId = getmesh(meshid)
  180. end
  181. m.Scale = size
  182. coroutine.wrap(function()
  183. for i = 0,loopwait,0.1 do
  184. p.CFrame = p.CFrame
  185. p.Transparency = p.Transparency +transincrement
  186. m.Scale = m.Scale + scaleby
  187. wait(1/60)
  188. end
  189. p:Destroy()
  190. end)()
  191. return p
  192. end
  193.  
  194. PlaySound = function(part,volume,pitch,id)
  195. local Sound = Instance.new("Sound", part)
  196. Sound.SoundId = id
  197. Sound.Pitch = pitch
  198. Sound.Volume = volume
  199. Rwait()
  200. Sound:Play()
  201. Sound:Destroy()
  202. end
  203.  
  204. function GetDistance(Obj,Mag)
  205. for _,v in pairs(workspace:GetChildren()) do
  206. if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Char then
  207. local Mag2 = (v.Torso.Position - Obj.Position).magnitude
  208. if Mag2 < Mag then
  209. return v
  210. end
  211. end
  212. end
  213. end
  214.  
  215. ShowDmg = function(totake)
  216. local modl = Instance.new("Model", workspace)
  217. modl.Name = tostring(totake)
  218. local prt = Instance.new("Part", modl)
  219. prt.CanCollide = false
  220. prt.BrickColor = BrickColor.Red()
  221. prt.Name = "Head"
  222. prt.CFrame = HM.CFrame *CFrame.new(0, 1.5, 0)
  223. prt.TopSurface = 0
  224. prt.BottomSurface = 0
  225. prt.FormFactor = 3
  226. prt.Size = Vector3.new(1, 0.2, 1)
  227. local bm = Instance.new("BlockMesh", prt)
  228. local hum = Instance.new("Humanoid", modl)
  229. hum.Health = 0
  230. hum.MaxHealth = 0
  231. hum.WalkSpeed = 0
  232. bodypos = Instance.new("BodyPosition", prt)
  233. bodypos.position = Head.Position +Vector3.new(0, 1, 0)
  234. bodypos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  235. game.Debris:AddItem(modl, 1)
  236. coroutine.resume(coroutine.create(function()
  237. for i = 1, 3 do
  238. bodypos.position = bodypos.position +Vector3.new(0, 0.5, 0)
  239. Rwait()
  240. end
  241. end))
  242. end
  243.  
  244. function Damage(hit,mm,knockback)
  245. if hit ~= nil and hit.Parent ~= nil and damen == true and hit.Parent ~= Char and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health > 0 then
  246. if game.Players:FindFirstChild(hit.Parent) ~= nil and game.Players:FindFirstChild(hit.Parent).TeamColor == "Bright orange" then
  247. return
  248. end
  249. if hit.Parent:FindFirstChild("Data") ~= nil and hit.Parent:FindFirstChild("Data"):FindFirstChild("Defence") ~= nil then
  250. hit.Parent.Humanoid:TakeDamage(mm/hit.Parent.Data.Defence.Value)
  251. elseif hit.Parent:FindFirstChild("Data") == nil then
  252. hit.Parent.Humanoid:TakeDamage(mm)
  253. end
  254. if knockback ~= nil and knockback ~= 0 then
  255. local v = Instance.new("BodyVelocity",hit.Parent.Torso)
  256. v.maxForce = Vector3.new(20000,0,20000)
  257. v.P = 1e20
  258. v.velocity = HM.CFrame.lookVector *knockback
  259. game.Debris:AddItem(v,0.1)
  260. end
  261. coroutine.resume(coroutine.create(function()
  262. ShowDmg(mm)
  263. end))
  264. damen = false
  265. end
  266. end
  267.  
  268. function MagDamage(magnitude,part,damg,knockback,ignoretime)
  269. if ignoretime == 0 or ignoretime == nil then
  270. ignoretime = 0.5
  271. end
  272. local Body = GetDistance(part,magnitude)
  273. if Body ~= nil and Body.Humanoid and Body ~= Char and not ignore[Body] then
  274. ignore[Body] = true
  275. Body.Humanoid:TakeDamage(damg)
  276. spawn(function()
  277. ShowDmg(damg)
  278. end)
  279. if knockback ~= nil and knockback >= 0 and Body.Torso ~= nil then
  280. local v = Instance.new("BodyVelocity",Body.Torso)
  281. v.maxForce = Vector3.new(20000,0,20000)
  282. v.P = 1e15
  283. v.velocity = T.CFrame.lookVector *knockback
  284. game.Debris:AddItem(v,0.3)
  285. end
  286. coroutine.resume(coroutine.create(function()
  287. wait(ignoretime)
  288. ignore[Body] = false
  289. end))
  290. end
  291. end
  292.  
  293. function Rwait(long)
  294. if long == 0 or long == nil then
  295. Run.RenderStepped:wait()
  296. else
  297. for i = 0,long do
  298. Run.RenderStepped:wait()
  299. end
  300. end
  301. end
  302.  
  303. function Kick1()
  304. for i = 1,18 do
  305. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  306. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  307. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/1.2),legspeed)
  308. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,-math.pi/7),legspeed)
  309. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-1,0),speed)
  310. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/7,0,0),speed)
  311. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  312. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  313. Rwait()
  314. end
  315. damen = true
  316. local Damgbx = LL.Touched:connect(function(hit) Damage(hit,math.random(5,10)*Stats.Dmg.Value) end)
  317. PlaySound(Head,1,1,Sounds[2])
  318. for i = 1,18 do
  319. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  320. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  321. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/20),legspeed)
  322. lerp(WRH,WRH.C0,RHC0,legspeed)
  323. lerp(WRJ,WRJ.C0,RJC0,speed)
  324. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/10,0,0),speed)
  325. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  326. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  327. Rwait()
  328. end
  329. damen = false
  330. Damgbx:disconnect()
  331. end
  332.  
  333. function Kick2()
  334. for i = 1,18 do
  335. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  336. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  337. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/7),legspeed)
  338. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/1.2),legspeed)
  339. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-1,0),speed)
  340. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/7,0,0),speed)
  341. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  342. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  343. Rwait()
  344. end
  345. damen = true
  346. local Damgbx = RL.Touched:connect(function(hit) Damage(hit,math.random(5,10)*Stats.Dmg.Value) end)
  347. PlaySound(Head,1,1.1,Sounds[2])
  348. for i = 1,18 do
  349. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  350. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  351. lerp(WLH,WLH.C0,LHC0,legspeed)
  352. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/20),legspeed)
  353. lerp(WRJ,WRJ.C0,RJC0,speed)
  354. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/10,0,0),speed)
  355. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  356. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  357. Rwait()
  358. end
  359. damen = false
  360. Damgbx:disconnect()
  361. end
  362.  
  363. function Jabs3()
  364. for i = 1,2 do
  365. damen = true
  366. local Damgbx = Maraca1.Touched:connect(function(hit) Damage(hit,math.random(3,7)*Stats.Dmg.Value) end)
  367. PlaySound(Head,1,math.random(45,80)/100,Sounds[2])
  368. for i = 1,10 do
  369. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/2),armspeed)
  370. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,-math.pi/4),armspeed)
  371. lerp(WLH,WLH.C0,LHC0,legspeed)
  372. lerp(WRH,WRH.C0,RHC0,legspeed)
  373. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,math.pi/2,0),speed)
  374. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/2),speed)
  375. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-2.8,0) *CFrame.Angles(0,0,math.pi),speed)
  376. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-2.8,0) *CFrame.Angles(0,0,math.pi),speed)
  377. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  378. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  379. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  380. end
  381. Rwait()
  382. end
  383. damen = false
  384. Damgbx:disconnect()
  385. damen = true
  386. local Damgbx = Maraca2.Touched:connect(function(hit) Damage(hit,math.random(3,7)*Stats.Dmg.Value) end)
  387. PlaySound(Head,1,math.random(60,80)/100,Sounds[2])
  388. for i = 1,10 do
  389. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,math.pi/4),armspeed)
  390. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/2),armspeed)
  391. lerp(WLH,WLH.C0,LHC0,legspeed)
  392. lerp(WRH,WRH.C0,RHC0,legspeed)
  393. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,-math.pi/2,0),speed)
  394. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed)
  395. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-2.8,0) *CFrame.Angles(0,0,math.pi),speed)
  396. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-2.8,0) *CFrame.Angles(0,0,math.pi),speed)
  397. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  398. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  399. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  400. end
  401. Rwait()
  402. end
  403. damen = false
  404. Damgbx:disconnect()
  405. end
  406. end
  407.  
  408. function Slam4()
  409. for i = 1,24 do
  410. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/1.1,0,-math.pi/10),armspeed)
  411. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.1,0,math.pi/10),armspeed)
  412. lerp(WLH,WLH.C0,LHC0,legspeed)
  413. lerp(WRH,WRH.C0,RHC0,legspeed)
  414. lerp(WRJ,WRJ.C0,RJC0,speed)
  415. lerp(Neck,Neck.C0,NC0,speed)
  416. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  417. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  418. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  419. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  420. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  421. end
  422. Rwait()
  423. end
  424. damen = true
  425. PlaySound(Head,1,0.9,Sounds[2])
  426. local hitnow = false
  427. for i = 1,40 do
  428. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.65,-0.5,-0.5) *CFrame.Angles(math.pi/15,0,math.pi/8),armspeed)
  429. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.65,-0.5,-0.5) *CFrame.Angles(math.pi/15,0,-math.pi/8),armspeed)
  430. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/2),legspeed)
  431. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,1.5,-1),legspeed)
  432. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,1.5,0),speed)
  433. lerp(Neck,Neck.C0,NC0,speed)
  434. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  435. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  436. if i == 6 then
  437. BV = Instance.new("BodyVelocity",HM)
  438. BV.maxForce = Vector3.new(1e5,0,1e5)
  439. BV.P = 1e50
  440. BV.Velocity = HM.CFrame.lookVector *40
  441. game.Debris:AddItem(BV,0.4)
  442. damen = true
  443. p = Instance.new("Part",Char)
  444. p.Anchored = true
  445. p.CanCollide = false
  446. p.Transparency = 1
  447. p.TopSurface = 10
  448. p.BottomSurface = 10
  449. p.FormFactor = 3
  450. p.Size = Vector3.new(1,1,1)
  451. p.CFrame = Maraca1.CFrame *CFrame.new(0.3,0.5,0)
  452. game.Debris:AddItem(p,1)
  453. MagDamage(8,p,math.random(5,10)*Stats.Dmg.Value)
  454. end
  455. if i > 8 then
  456. BV.Velocity = HM.CFrame.lookVector *40
  457. p.CFrame = Maraca1.CFrame *CFrame.new(0.3,0.5,0)
  458. end
  459. Rwait()
  460. end
  461. damen = false
  462. end
  463.  
  464. function LosParachicos()
  465. Maraca1.Transparency = 1
  466. for i = 1,18 do
  467. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,math.pi/2,0),armspeed)
  468. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/8,0,0),armspeed)
  469. lerp(WLH,WLH.C0,LHC0,legspeed)
  470. lerp(WRH,WRH.C0,RHC0,legspeed)
  471. lerp(WRJ,WRJ.C0,RJC0,speed)
  472. lerp(Neck,Neck.C0,NC0,speed)
  473. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  474. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  475. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  476. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  477. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  478. end
  479. Rwait()
  480. end
  481. local Mask = Instance.new("Part",Char)
  482. Mask.CanCollide = false
  483. Mask.TopSurface = 0
  484. Mask.BottomSurface = 0
  485. Mask.FormFactor = 3
  486. Mask.Size = Vector3.new(1,1,1)
  487. local MaskM = Instance.new("SpecialMesh",Mask)
  488. MaskM.MeshId = "rbxassetid://13517453"
  489. MaskM.TextureId = "rbxassetid://13517459"
  490. MaskM.Scale = Vector3.new(0.992,0.992,1.191)
  491. local MaskW = Instance.new("Weld",Mask)
  492. MaskW.Part0 = Mask
  493. MaskW.Part1 = LA
  494. MaskW.C0 = CFrame.new(0,1.2,0) *CFrame.Angles(math.pi/2,0,0)
  495. for i = 1,6 do
  496. lerp(WLS,WLS.C0,LSC0,armspeed)
  497. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/8,0,0),armspeed)
  498. lerp(WLH,WLH.C0,LHC0,legspeed)
  499. lerp(WRH,WRH.C0,RHC0,legspeed)
  500. lerp(WRJ,WRJ.C0,RJC0,speed)
  501. lerp(Neck,Neck.C0,NC0,speed)
  502. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  503. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  504. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  505. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  506. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  507. end
  508. Rwait()
  509. end
  510. for i = 1,25 do
  511. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/1.1,0,math.pi/7),armspeed)
  512. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/8,0,0),armspeed)
  513. lerp(WLH,WLH.C0,LHC0,legspeed)
  514. lerp(WRH,WRH.C0,RHC0,legspeed)
  515. lerp(WRJ,WRJ.C0,RJC0,speed)
  516. lerp(Neck,Neck.C0,NC0,speed)
  517. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  518. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  519. lerp(MaskW,MaskW.C0,CFrame.new(-1.3,-0.6,0.5) *CFrame.Angles(math.pi/1.1,0,math.pi/7),speed)
  520. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  521. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  522. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  523. end
  524. Rwait()
  525. end
  526. Maraca1.Transparency = 0
  527. MaskW.Part1 = Head
  528. MaskW.C0 = CFrame.new(0,0,0.5)
  529. coroutine.wrap(function()
  530. wait(7)
  531. for i = 0,1,0.1 do
  532. Mask.Transparency = i
  533. wait(1/60)
  534. end
  535. Mask:Destroy()
  536. end)()
  537. end
  538.  
  539. function DdlTP()
  540. for i = 1,80 do
  541. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/1.1,0,0),armspeed)
  542. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.1,0,0),armspeed)
  543. lerp(WLH,WLH.C0,LHC0,legspeed)
  544. lerp(WRH,WRH.C0,RHC0,legspeed)
  545. lerp(WRJ,WRJ.C0,RJC0,speed)
  546. lerp(Neck,Neck.C0,NC0,speed)
  547. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  548. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  549. if i == 14 then
  550. ThrownMaraca1 = Maraca1:Clone()
  551. ThrownMaraca2 = Maraca2:Clone()
  552. Maraca1.Transparency = 1
  553. Maraca2.Transparency = 1
  554. ThrownMaraca1.CFrame = CFrame.new(LA.Position)
  555. ThrownMaraca1.CFrame = ThrownMaraca1.CFrame *CFrame.new(0,1.5,0)
  556. ThrownMaraca2.CFrame = CFrame.new(RA.Position)
  557. ThrownMaraca2.CFrame = ThrownMaraca2.CFrame *CFrame.new(0,1.5,0)
  558. ThrownMaraca1.CanCollide = true
  559. ThrownMaraca2.CanCollide = true
  560. ThrownMaraca1.Parent = Char
  561. ThrownMaraca2.Parent = Char
  562. ThrownMaraca1.CFrame = LA.CFrame *CFrame.new(0,1.5,0)
  563. ThrownMaraca2.CFrame = RA.CFrame *CFrame.new(0,1.5,0)
  564. local BV = Instance.new("BodyVelocity",ThrownMaraca1)
  565. BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  566. BV.Velocity = HM.CFrame.lookVector *50
  567. BV.Velocity = BV.Velocity +Vector3.new(0,12,0)
  568. local BV2 = BV:Clone()
  569. BV2.Parent = ThrownMaraca2
  570. game.Debris:AddItem(BV,0.5)
  571. game.Debris:AddItem(BV2,0.5)
  572. game.Debris:AddItem(ThrownMaraca1,1)
  573. game.Debris:AddItem(ThrownMaraca2,1)
  574. end
  575. Rwait()
  576. end
  577. Maraca1.Transparency = 0
  578. Maraca2.Transparency = 0
  579. end
  580.  
  581. function Fiesta()
  582. while holdx == true and xenabled > 0 do
  583. if xenabled <= 0 then return end
  584. xenabled = xenabled -0.1
  585. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/1.01,0,-math.cos(math.sin(armangle)*2)),armspeed)
  586. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.01,0,math.cos(math.sin(armangle)*2)),armspeed)
  587. lerp(WLH,WLH.C0,LHC0,legspeed)
  588. lerp(WRH,WRH.C0,RHC0,legspeed)
  589. lerp(WRJ,WRJ.C0,RJC0,speed)
  590. lerp(Neck,Neck.C0,NC0,speed)
  591. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  592. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  593. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  594. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  595. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  596. end
  597. Rwait()
  598. end
  599. end
  600.  
  601. function Rapido()
  602. local BV = Instance.new("BodyVelocity",HM)
  603. BV.maxForce = Vector3.new(20000,0,20000)
  604. BV.P = 1e50
  605. BV.Velocity = HM.CFrame.lookVector *50
  606. game.Debris:AddItem(BV,2.7)
  607. for i = 1,150 do
  608. if i <= 100 then
  609. BV.Velocity = HM.CFrame.lookVector *50
  610. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/2.2+math.cos(armangle*3)*0.2,0,0),armspeed)
  611. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/2.2+math.cos(armangle*3)*0.2,0,0),armspeed)
  612. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-math.cos(legangle)*0.05,0,0) *CFrame.Angles(0,0,math.sin(legangle*2)),legspeed)
  613. lerp(WRH,WRH.C0,RHC0 *CFrame.new(-math.cos(legangle)*0.05,0,0) *CFrame.Angles(0,0,math.sin(legangle*2)),legspeed)
  614. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/7+math.cos(angle)*0.1,0,0),speed)
  615. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/7+math.sin(angle*1.5)*0.1,0,0,0),speed)
  616. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  617. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  618. elseif i <= 150 then
  619. BV.Velocity = HM.CFrame.lookVector *50/(i*0.02)
  620. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/5),armspeed)
  621. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/6),armspeed)
  622. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0.5,0,-0.5) *CFrame.Angles(-math.pi/6,math.pi/2,0),legspeed)
  623. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/8),legspeed)
  624. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,math.pi/2,0),speed)
  625. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/2),speed)
  626. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  627. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  628. end
  629. Rwait()
  630. end
  631. end
  632.  
  633. function Selected()
  634. click = mouse.Button1Down:connect(function()
  635. if on == false then return end
  636. coroutine.wrap(function()
  637. Rwait(400)
  638. if combo ~= 1 and enabled == true then
  639. combo = 1
  640. end
  641. end)()
  642. if combo == 1 and enabled == true then
  643. enabled = false
  644. Kick1()
  645. enabled = true
  646. combo = 2
  647. elseif combo == 2 and enabled == true then
  648. enabled = false
  649. Kick2()
  650. enabled = true
  651. combo = 3
  652. elseif combo == 3 and enabled == true then
  653. enabled = false
  654. Jabs3()
  655. enabled = true
  656. combo = 4
  657. elseif combo == 4 and enabled == true then
  658. enabled = false
  659. Slam4()
  660. enabled = true
  661. combo = 1
  662. end
  663. end)
  664. keys = mouse.KeyDown:connect(function(key)
  665. key = key:lower()
  666. if enabled == false then return end
  667. if key == "f" then
  668. on = not on
  669. if on == false then
  670. enabled = false
  671. for i = 1,15 do
  672. lerp(WLS,WLS.C0,LSC0,armspeed)
  673. lerp(WRS,WRS.C0,RSC0,armspeed)
  674. lerp(WLH,WLH.C0,LHC0,legspeed)
  675. lerp(WRH,WRH.C0,RHC0,legspeed)
  676. lerp(WRJ,WRJ.C0,RJC0,speed)
  677. lerp(Neck,Neck.C0,NC0,speed)
  678. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  679. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  680. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  681. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  682. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  683. end
  684. Rwait()
  685. end
  686. Maraca1weld.Part0 = T
  687. Maraca2weld.Part0 = T
  688. Maraca1weld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  689. Maraca2weld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  690. Maraca1weld.C1 = CFrame.new(-0.976939201, -0.434410095, 1.0708313, -9.28085553e-010, -1, -4.31144399e-005, -3.26636873e-005, 4.31144399e-005, -1, 1, 4.80190998e-010, -3.26636873e-005)
  691. Maraca2weld.C1 = CFrame.new(-1.02846956, -0.434394836, -1.11915588, -9.28085553e-010, -1, -4.31144399e-005, -3.26636873e-005, 4.31144399e-005, -1, 1, 4.80190998e-010, -3.26636873e-005)
  692. Rwait(1)
  693. WLS.Parent = nil
  694. WRS.Parent = nil
  695. WLH.Parent = nil
  696. WRH.Parent = nil
  697. WRJ.Parent = nil
  698. LSH.Parent = T
  699. RSH.Parent = T
  700. LHH.Parent = T
  701. RHH.Parent = T
  702. RJC.Parent = HM
  703. Neck.C0 = NC0
  704. Anim.Parent = Char
  705. Animate.Parent = Human
  706. wait(1)
  707. enabled = true
  708. end
  709. if on == true then
  710. enabled = false
  711. RJC = RJ:Clone()
  712. LSH = LS:Clone()
  713. RSH = RS:Clone()
  714. LHH = LH:Clone()
  715. RHH = RH:Clone()
  716. Anim = Char:FindFirstChild("Animate")
  717. if Anim ~= nil then
  718. Anim.Parent = nil
  719. end
  720. Animate = Human:FindFirstChild("Animator")
  721. if Animate ~= nil then
  722. Animate.Parent = nil
  723. end
  724. WLS.Parent = T
  725. WRS.Parent = T
  726. WLH.Parent = T
  727. WRH.Parent = T
  728. WRJ.Parent = T
  729. for i = 1,10 do
  730. lerp(WLS,WLS.C0,LSC0,armspeed)
  731. lerp(WRS,WRS.C0,RSC0,armspeed)
  732. lerp(WLH,WLH.C0,LHC0,legspeed)
  733. lerp(WRH,WRH.C0,RHC0,legspeed)
  734. lerp(WRJ,WRJ.C0,RJC0,speed)
  735. lerp(Neck,Neck.C0,NC0,speed)
  736. end
  737. for i = 1,40 do
  738. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,math.pi/8),armspeed)
  739. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,-math.pi/8),armspeed)
  740. lerp(WLH,WLH.C0,LHC0,legspeed)
  741. lerp(WRH,WRH.C0,RHC0,legspeed)
  742. lerp(WRJ,WRJ.C0,RJC0,speed)
  743. lerp(Neck,Neck.C0,NC0,speed)
  744. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  745. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  746. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  747. end
  748. Rwait()
  749. end
  750. Maraca1weld.Part0 = LA
  751. Maraca2weld.Part0 = RA
  752. Maraca1weld.C1 = CFrame.new(0,0.5,0)
  753. Maraca2weld.C1 = CFrame.new(0,0.5,0)
  754. enabled = true
  755. end
  756. end
  757. if key == "e" and on == true and eenabled >= 100 then
  758. enabled = false
  759. eenabled = 0
  760. LosParachicos()
  761. enabled = true
  762. end
  763. if key == "z" and on == true and zenabled >= 20 then
  764. enabled = false
  765. zenabled = 0
  766. DdlTP()
  767. enabled = true
  768. end
  769. if key == "x" and on == true and xenabled >= 40 then
  770. enabled = false
  771. holdx = true
  772. Fiesta()
  773. enabled = true
  774. end
  775. if key == "c" and on == true and cenabled >= 60 then
  776. enabled = false
  777. cenabled = 0
  778. Rapido()
  779. enabled = true
  780. end
  781. if key == "v" and on == true and venabled >= 80 then
  782. enabled = false
  783. venabled = 0
  784. --ElJarabe()
  785. enabled = true
  786. end
  787. end)
  788. keysup = mouse.KeyUp:connect(function(key2)
  789. if key2 == "x" then
  790. holdx = false
  791. end
  792. end)
  793. end
  794.  
  795. function Deselected()
  796. click:disconnect()
  797. keys:disconnect()
  798. keysup:disconnect()
  799. end
  800.  
  801. hopbin.Selected:connect(Selected)
  802. hopbin.Deselected:connect(Deselected)
  803.  
  804. function updateskills()
  805. if eenabled <= 100 then
  806. eenabled = eenabled + 1 / 5
  807. end
  808. if zenabled <= 20 then
  809. zenabled = zenabled + 1 / 5
  810. end
  811. if enabled == true then
  812. if xenabled <= 40 then
  813. xenabled = xenabled + 1 / 5
  814. end
  815. end
  816. if cenabled <= 60 then
  817. cenabled = cenabled + 1 / 5
  818. end
  819. if venabled <= 80 then
  820. venabled = venabled + 1 / 5
  821. end
  822. if mana <= 100 then
  823. mana = mana + 1 / 5
  824. end
  825. end
  826.  
  827. function Cast(Pos,Dir,Amp,IgnoreList)
  828. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit*Amp), IgnoreList)
  829. end
  830.  
  831. while true do
  832. surface = Cast(HM.Position,(CFrame.new(HM.Position,HM.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  833. updateskills()
  834. if on == true then
  835. angle = (angle % 100) +anglespeed/10
  836. armangle = (armangle % 100) +armanglespeed/10
  837. legangle = (legangle % 100) +leganglespeed/10
  838. if action == "Idle" and enabled == true and surface ~= nil then
  839. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.sin(armangle*0.25)*0.3,0,-math.pi/6),armspeed)
  840. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.sin(armangle*0.25)*0.3,0,math.pi/6),armspeed)
  841. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0.1,0.1+math.cos(legangle*0.5)*0.1,0) *CFrame.Angles(0,math.pi/7,math.pi/12),legspeed)
  842. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.5,0.1+math.cos(legangle*0.5)*0.1,0) *CFrame.Angles(0,math.pi/7,0),legspeed)
  843. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0.1+math.cos(angle*0.5)*0.1,0) *CFrame.Angles(0,math.pi/7,0),speed)
  844. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/7),speed)
  845. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  846. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  847. end
  848. if action == "Walk" and enabled == true and surface ~= nil then
  849. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/20,0,-math.pi/6),armspeed)
  850. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/20,0,math.pi/6),armspeed)
  851. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  852. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)*Stats.Spd.Value),legspeed)
  853. lerp(WRJ,WRJ.C0,RJC0,speed)
  854. lerp(Neck,Neck.C0,NC0,speed)
  855. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  856. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  857. end
  858. if HM.Velocity.Y >= 1 and enabled == true and surface == nil then
  859. action = "Jump"
  860. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/1.05,0,0),armspeed)
  861. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.05,0,0),armspeed)
  862. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed)
  863. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.5,0) *CFrame.Angles(0,0,-math.pi/8),legspeed)
  864. lerp(WRJ,WRJ.C0,RJC0,speed)
  865. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/8,0,0),speed)
  866. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  867. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  868. Rwait()
  869. end
  870. if HM.Velocity.Y <= -1 and enabled == true and surface == nil then
  871. action = "Fall"
  872. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/20,0,0),armspeed)
  873. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/20,0,0),armspeed)
  874. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/10),legspeed)
  875. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/4),legspeed)
  876. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/20,0,0),speed)
  877. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
  878. lerp(Maraca1weld,Maraca1weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  879. lerp(Maraca2weld,Maraca2weld.C0,CFrame.new(0,-1,-1) *CFrame.Angles(-math.pi/2,0,0),speed)
  880. Rwait()
  881. end
  882. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude <= 2 then
  883. action = "Idle"
  884. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  885. action = "Walk"
  886. end
  887. end
  888. Rwait()
  889. end
Add Comment
Please, Sign In to add comment