DontAskme

Kitty cat fist

Oct 30th, 2017
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.46 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local chr = plr.Character
  3. local maus = plr:GetMouse()
  4. local PGui=plr.PlayerGui
  5. local lleg = chr["Left Leg"]
  6. local rleg = chr["Right Leg"]
  7. local larm = chr["Left Arm"]
  8. local rarm = chr["Right Arm"]
  9. local hed = chr.Head
  10. local rutprt = chr.HumanoidRootPart
  11. local torso = chr.Torso
  12. local otheranims=false
  13. local armmovement=false
  14. local equipped=false
  15. chr.Animate.Disabled=true
  16. local RunSpeed=40
  17. local WlkSpeed=20
  18. local CrawlSpeed=10
  19. local CrawlDashSpeed=20
  20. local runnin=false
  21. local tik=0
  22. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  23. local Meows={"60871617","151742282","138093919"}
  24. local leftnekoface="260195370"
  25. local rightnekoface="260196558"
  26. local swing="Right"
  27. local armanim=""
  28. local hitdb=false
  29.  
  30. local RightNekoColor=BrickColor.new("Really black")
  31. local LeftNekoColor=BrickColor.new("Institutional white")
  32.  
  33. local s = Instance.new("Sound")
  34.  
  35. s.Name = "Sound"
  36. s.SoundId = "http://www.roblox.com/asset/?id=224845627"
  37. s.Volume = 2
  38. s.Looped = true
  39. s.archivable = false
  40.  
  41. s.Parent = game.Workspace
  42.  
  43. wait(3)
  44.  
  45. s:play()
  46.  
  47. coroutine.wrap(function()
  48. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  49. function Lerp(a, b, i)
  50. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  51. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  52. local calx = com1[1] + (com2[1] - com1[1]) * i
  53. local caly = com1[2] + (com2[2] - com1[2]) * i
  54. local calz = com1[3] + (com2[3] - com1[3]) * i
  55. local cala = com1[4] + (com2[4] - com1[4]) * i
  56. local calb = com1[5] + (com2[5] - com1[5]) * i
  57. local calc = com1[6] + (com2[6] - com1[6]) * i
  58. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  59. end
  60. function TwnSingleNumber(s,f,m)
  61. local wot=s+(f-s)*m
  62. return wot
  63. end
  64. function TwnVector3(q,w,e)
  65. local begin={q.x,q.y,q.z}
  66. local ending={w.x,w.y,w.z}
  67. local bgx=begin[1]+(ending[1]-begin[1])*e
  68. local bgy=begin[2]+(ending[2]-begin[2])*e
  69. local bgz=begin[3]+(ending[3]-begin[3])*e
  70. return Vector3.new(bgx,bgy,bgz)
  71. end
  72. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  73. wld = Instance.new("Weld", wp1)
  74. wld.Part0 = wp0
  75. wld.Part1 = wp1
  76. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  77. end
  78. function Avg(a, b)
  79. return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
  80. end
  81.  
  82. newWeld(law, torso, larm, -1.5, 0.5, 0)
  83. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  84. newWeld(llw, torso, lleg, -.5, -2, 0)
  85. newWeld(rlw, torso, rleg, .5, -2, 0)
  86. newWeld(hw, torso, hed, 0, 1.5, 0)
  87. local rutwald=Instance.new('Weld',rutprt)
  88. rutwald.Part0=rutprt
  89. rutwald.Part1=torso
  90. rutwald.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  91. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  92. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  93. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  94. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  95.  
  96.  
  97. local anim = "Idling"
  98. local lastanim = "Idling"
  99. local val = 0
  100. local syne = 0
  101. local num = 0
  102. local runtime = 0
  103.  
  104.  
  105.  
  106.  
  107. local NekoNekoKnuckles=Instance.new("Model",chr)
  108. NekoNekoKnuckles.Name="Neko Neko Knuckles"
  109. local RightNeko=Instance.new("Model",NekoNekoKnuckles)
  110. RightNeko.Name="Right Neko"
  111. local LeftNeko=Instance.new("Model",NekoNekoKnuckles)
  112. LeftNeko.Name="Left Neko"
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119. --[[ Right Neko ]]--
  120.  
  121.  
  122.  
  123.  
  124.  
  125. local rn1=Instance.new("Part",RightNeko)
  126. rn1.Name="RightHandle"
  127. rn1.Material="SmoothPlastic"
  128. rn1.TopSurface=10
  129. rn1.BottomSurface=10
  130. rn1.LeftSurface=10
  131. rn1.RightSurface=10
  132. rn1.FrontSurface=10
  133. rn1.BackSurface=10
  134. rn1.BrickColor=RightNekoColor
  135. rn1.formFactor=3
  136. rn1.Size=Vector3.new(1.1,1.3,1.1)
  137. rn1.CanCollide=false
  138. rn1:breakJoints''
  139. local rn1w=Instance.new("Weld",rn1)
  140. rn1w.Part0=rn1
  141. rn1w.Part1=rarm
  142. rn1w.C0=CFrame.new(0,.4,0)
  143.  
  144. local rn2=Instance.new("Part",RightNeko)
  145. rn2.Name="RightHandle"
  146. rn2.Material="SmoothPlastic"
  147. rn2.TopSurface=10
  148. rn2.BottomSurface=10
  149. rn2.LeftSurface=10
  150. rn2.RightSurface=10
  151. rn2.FrontSurface=10
  152. rn2.BackSurface=10
  153. rn2.BrickColor=RightNekoColor
  154. rn2.formFactor=3
  155. rn2.Size=Vector3.new(1.2,.4,1.2)
  156. rn2.CanCollide=false
  157. rn2:breakJoints''
  158. local rn2w=Instance.new("Weld",rn2)
  159. rn2w.Part0=rn2
  160. rn2w.Part1=rarm
  161. rn2w.C0=CFrame.new(0,-.1,0)
  162.  
  163. local rnbell=Instance.new("Part",RightNeko)
  164. rnbell.Name="RightBell"
  165. rnbell.Material="SmoothPlastic"
  166. rnbell.TopSurface=10
  167. rnbell.BottomSurface=10
  168. rnbell.LeftSurface=10
  169. rnbell.RightSurface=10
  170. rnbell.FrontSurface=10
  171. rnbell.BackSurface=10
  172. rnbell.BrickColor=BrickColor.new("New Yeller")
  173. rnbell.Reflectance=.6
  174. rnbell.formFactor=3
  175. rnbell.Size=Vector3.new(.45,.45,.45)
  176. rnbell.CanCollide=false
  177. rnbell:breakJoints''
  178. local rnbellw=Instance.new("Weld",rnbell)
  179. rnbellw.Part0=rnbell
  180. rnbellw.Part1=rarm
  181. rnbellw.C0=CFrame.new(0,.3,.65)
  182. local rnbellm=Instance.new("SpecialMesh",rnbell)
  183. rnbellm.MeshType="Sphere"
  184.  
  185. local rnbf=Instance.new("PointLight",rnbell)
  186. rnbf.Shadows=true
  187. rnbf.Range=15
  188. rnbf.Brightness=10
  189.  
  190. local rnding=Instance.new("Sound",rnbell)
  191. rnding.SoundId="http://www.roblox.com/asset?id=138134386"
  192. rnding.Volume=.2
  193.  
  194. local rn3=Instance.new("Part",RightNeko)
  195. rn3.Name="RightHead"
  196. rn3.Material="SmoothPlastic"
  197. rn3.TopSurface=10
  198. rn3.BottomSurface=10
  199. rn3.LeftSurface=10
  200. rn3.RightSurface=10
  201. rn3.FrontSurface=10
  202. rn3.BackSurface=10
  203. rn3.BrickColor=RightNekoColor
  204. rn3.formFactor=3
  205. rn3.Size=Vector3.new(1.575,1.65,1.575)
  206. rn3.CanCollide=false
  207. rn3:breakJoints''
  208. local rn3w=Instance.new("Weld",rn3)
  209. rn3w.Part0=rn3
  210. rn3w.Part1=rarm
  211. rn3w.C0=CFrame.new(0,.95,0)
  212. local rn3m=Instance.new("SpecialMesh",rn3)
  213. rn3m.MeshType="Sphere"
  214.  
  215. local rnface=Instance.new("Decal",rn3)
  216. rnface.Texture="http://www.roblox.com/asset?id="..rightnekoface
  217. rnface.Face="Bottom"
  218.  
  219. local rnpunch=Instance.new("Sound",rn3)
  220. rnpunch.SoundId="http://www.roblox.com/asset?id=146163534"
  221. rnpunch.Volume=.3
  222.  
  223. rn3.Touched:connect(function(hit)
  224. if hit and swing=="Right" and crawling and armmovement and crawldig then
  225. local j=2
  226. for jx=-j,j,4 do
  227. for jy=-j,j,4 do
  228. for jz=-j,j,4 do
  229. local spot=workspace.Terrain:WorldToCell(rn3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  230. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  231. end
  232. end
  233. end
  234. end
  235. coroutine.wrap(function()
  236. if hit and swing=="Right" and armmovement then
  237. coroutine.resume(coroutine.create(function()
  238. local j=2
  239. for jx=-j,j,4 do
  240. for jy=-j,j,4 do
  241. for jz=-j,j,4 do
  242. local spot=workspace.Terrain:WorldToCell(rn3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  243. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  244. end
  245. end
  246. end
  247. end))
  248. if hit.Parent then
  249. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  250. local hawm=hit.Parent and hyoom and hit.Parent.Parent
  251. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and not hitdb then
  252. hitdb=true
  253. local nyaa=Instance.new("Sound",rn3)
  254. nyaa.SoundId="http://www.roblox.com/asset?id="..Meows[math.random(1,#Meows)]
  255. nyaa:Play''
  256. rnpunch:Play''
  257. game:service'Debris':AddItem(nyaa,2)
  258. if hyoom.Parent and hyoom.Parent:findFirstChild("Torso") then
  259. local asd=Instance.new("BodyVelocity",hyoom.Parent.Torso)
  260. asd.maxForce=Vector3.new(1/0,1/0,1/0)
  261. asd.velocity=((rn3.CFrame.p-hyoom.Parent.Torso.CFrame.p).unit*-20)+Vector3.new(0,10,0)
  262. game:service'Debris':AddItem(asd,.2)
  263. end
  264. hyoom.Sit=true
  265. if crawling then
  266. hyoom.Health=hyoom.Health-(math.random(15,20)*(hyoom.MaxHealth/100))
  267. wait(.5)
  268. hitdb=false
  269. else
  270. hyoom.Health=hyoom.Health-(math.random(20,40)*(hyoom.MaxHealth/100))
  271. wait(1)
  272. hitdb=false
  273. end
  274. end
  275. end
  276. end
  277. end)()
  278. end)
  279.  
  280. local rn4=Instance.new("Part",RightNeko)
  281. rn4.Name="RightHandle"
  282. rn4.Material="SmoothPlastic"
  283. rn4.TopSurface=10
  284. rn4.BottomSurface=10
  285. rn4.LeftSurface=10
  286. rn4.RightSurface=10
  287. rn4.FrontSurface=10
  288. rn4.BackSurface=10
  289. rn4.BrickColor=RightNekoColor
  290. rn4.formFactor=3
  291. rn4.Size=Vector3.new(1.575,.2,1.575)
  292. rn4.CanCollide=false
  293. rn4:breakJoints''
  294. local rn4w=Instance.new("Weld",rn4)
  295. rn4w.Part0=rn4
  296. rn4w.Part1=rn3
  297. rn4w.C0=CFrame.new(0,-.75,.15)*CFrame.Angles(math.rad(90),0,0)
  298. local rn4m=Instance.new("SpecialMesh",rn4)
  299. rn4m.Scale=Vector3.new(1.2,1.2,1.2)
  300. rn4m.MeshId="http://www.roblox.com/asset?id=1374148"
  301. rn4m.TextureId="http://www.roblox.com/asset?id=1374132"
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313. local ln1=Instance.new("Part",LeftNeko)
  314. ln1.Name="LeftHandle"
  315. ln1.Material="SmoothPlastic"
  316. ln1.TopSurface=10
  317. ln1.BottomSurface=10
  318. ln1.LeftSurface=10
  319. ln1.RightSurface=10
  320. ln1.FrontSurface=10
  321. ln1.BackSurface=10
  322. ln1.BrickColor=LeftNekoColor
  323. ln1.formFactor=3
  324. ln1.Size=Vector3.new(1.1,1.3,1.1)
  325. ln1.CanCollide=false
  326. ln1:breakJoints''
  327. local ln1w=Instance.new("Weld",ln1)
  328. ln1w.Part0=ln1
  329. ln1w.Part1=larm
  330. ln1w.C0=CFrame.new(0,.4,0)
  331.  
  332. local ln2=Instance.new("Part",LeftNeko)
  333. ln2.Name="LeftHandle"
  334. ln2.Material="SmoothPlastic"
  335. ln2.TopSurface=10
  336. ln2.BottomSurface=10
  337. ln2.LeftSurface=10
  338. ln2.RightSurface=10
  339. ln2.FrontSurface=10
  340. ln2.BackSurface=10
  341. ln2.BrickColor=LeftNekoColor
  342. ln2.formFactor=3
  343. ln2.Size=Vector3.new(1.2,.4,1.2)
  344. ln2.CanCollide=false
  345. ln2:breakJoints''
  346. local ln2w=Instance.new("Weld",ln2)
  347. ln2w.Part0=ln2
  348. ln2w.Part1=larm
  349. ln2w.C0=CFrame.new(0,-.1,0)
  350.  
  351. local lnbell=Instance.new("Part",LeftNeko)
  352. lnbell.Name="LeftBell"
  353. lnbell.Material="SmoothPlastic"
  354. lnbell.TopSurface=10
  355. lnbell.BottomSurface=10
  356. lnbell.LeftSurface=10
  357. lnbell.RightSurface=10
  358. lnbell.FrontSurface=10
  359. lnbell.BackSurface=10
  360. lnbell.BrickColor=BrickColor.new("New Yeller")
  361. lnbell.Reflectance=.6
  362. lnbell.formFactor=3
  363. lnbell.Size=Vector3.new(.45,.45,.45)
  364. lnbell.CanCollide=false
  365. lnbell:breakJoints''
  366. local lnbellw=Instance.new("Weld",lnbell)
  367. lnbellw.Part0=lnbell
  368. lnbellw.Part1=larm
  369. lnbellw.C0=CFrame.new(0,.3,.65)
  370. local lnbellm=Instance.new("SpecialMesh",lnbell)
  371. lnbellm.MeshType="Sphere"
  372.  
  373. local lnbf=Instance.new("PointLight",lnbell)
  374. lnbf.Shadows=true
  375. lnbf.Range=15
  376. lnbf.Brightness=10
  377.  
  378. local lnding=Instance.new("Sound",lnbell)
  379. lnding.SoundId="http://www.roblox.com/asset?id=138134386"
  380. lnding.Volume=.2
  381.  
  382. local ln3=Instance.new("Part",LeftNeko)
  383. ln3.Name="LeftHead"
  384. ln3.Material="SmoothPlastic"
  385. ln3.TopSurface=10
  386. ln3.BottomSurface=10
  387. ln3.LeftSurface=10
  388. ln3.RightSurface=10
  389. ln3.FrontSurface=10
  390. ln3.BackSurface=10
  391. ln3.BrickColor=LeftNekoColor
  392. ln3.formFactor=3
  393. ln3.Size=Vector3.new(1.575,1.65,1.575)
  394. ln3.CanCollide=false
  395. ln3:breakJoints''
  396. local ln3w=Instance.new("Weld",ln3)
  397. ln3w.Part0=ln3
  398. ln3w.Part1=larm
  399. ln3w.C0=CFrame.new(0,.95,0)
  400. local ln3m=Instance.new("SpecialMesh",ln3)
  401. ln3m.MeshType="Sphere"
  402.  
  403. local lnface=Instance.new("Decal",ln3)
  404. lnface.Texture="http://www.roblox.com/asset?id="..leftnekoface
  405. lnface.Face="Bottom"
  406.  
  407.  
  408. local lnpunch=Instance.new("Sound",ln3)
  409. lnpunch.SoundId="http://www.roblox.com/asset?id=146163534"
  410. lnpunch.Volume=.3
  411.  
  412. ln3.Touched:connect(function(hit)
  413. if hit and swing=="Left" and crawling and armmovement and crawldig then
  414. local j=2
  415. for jx=-j,j,4 do
  416. for jy=-j,j,4 do
  417. for jz=-j,j,4 do
  418. local spot=workspace.Terrain:WorldToCell(ln3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  419. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  420. end
  421. end
  422. end
  423. end
  424. coroutine.wrap(function()
  425. if hit and swing=="Left" and armmovement then
  426. coroutine.resume(coroutine.create(function()
  427. local j=2
  428. for jx=-j,j,4 do
  429. for jy=-j,j,4 do
  430. for jz=-j,j,4 do
  431. local spot=workspace.Terrain:WorldToCell(ln3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  432. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  433. end
  434. end
  435. end
  436. end))
  437. if hit.Parent then
  438. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  439. local hawm=hit.Parent and hyoom and hit.Parent.Parent
  440. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and not hitdb then
  441.  
  442. hitdb=true
  443. local nyaa=Instance.new("Sound",rn3)
  444. nyaa.SoundId="http://www.roblox.com/asset?id="..Meows[math.random(1,#Meows)]
  445. nyaa:Play''
  446. rnpunch:Play''
  447. game:service'Debris':AddItem(nyaa,3)
  448. if hyoom.Parent:findFirstChild("Torso") then
  449. local asd=Instance.new("BodyVelocity",hyoom.Parent.Torso)
  450. asd.maxForce=Vector3.new(1/0,1/0,1/0)
  451. asd.velocity=((ln3.CFrame.p-hyoom.Parent.Torso.CFrame.p).unit*-20)+Vector3.new(0,10,0)
  452. game:service'Debris':AddItem(asd,.2)
  453. end
  454. hyoom.Sit=true
  455. if crawling then
  456. hyoom.Health=hyoom.Health-(math.random(15,20)*(hyoom.MaxHealth/100))
  457. wait(.5)
  458. hitdb=false
  459. else
  460. hyoom.Health=hyoom.Health-(math.random(20,40)*(hyoom.MaxHealth/100))
  461. wait(1)
  462. hitdb=false
  463. end
  464. end
  465. end
  466. end
  467. end)()
  468. end)
  469.  
  470. local ln4=Instance.new("Part",LeftNeko)
  471. ln4.Name="LeftHandle"
  472. ln4.Material="SmoothPlastic"
  473. ln4.TopSurface=10
  474. ln4.BottomSurface=10
  475. ln4.LeftSurface=10
  476. ln4.RightSurface=10
  477. ln4.FrontSurface=10
  478. ln4.BackSurface=10
  479. ln4.BrickColor=LeftNekoColor
  480. ln4.formFactor=3
  481. ln4.Size=Vector3.new(1.575,.2,1.575)
  482. ln4.CanCollide=false
  483. ln4:breakJoints''
  484. local ln4w=Instance.new("Weld",ln4)
  485. ln4w.Part0=ln4
  486. ln4w.Part1=ln3
  487. ln4w.C0=CFrame.new(0,-.75,.15)*CFrame.Angles(math.rad(90),0,0)
  488. local ln4m=Instance.new("SpecialMesh",ln4)
  489. ln4m.Scale=Vector3.new(1.2,1.2,1.2)
  490. ln4m.MeshId="http://www.roblox.com/asset?id=1374148"
  491. ln4m.TextureId="http://www.roblox.com/asset?id=59596104"
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499. maus.KeyDown:connect(function(kei)
  500. if string.byte(kei)==48 and not otheranims and not sitting and not disabled then
  501. runnin=true
  502. end
  503. if string.byte(kei)==48 and crawling and not sitting and not disabled then
  504. crawldash=true
  505. end
  506. if kei=='w' then fldb.w=true end
  507. if kei=='a' then fldb.a=true end
  508. if kei=='s' then fldb.s=true end
  509. if kei=='d' then fldb.d=true end
  510.  
  511.  
  512. if string.byte(kei)==50 and not crawling then
  513. if crouching then
  514. otheranims=false
  515. crouching=false
  516. chr.Humanoid.WalkSpeed=18
  517. elseif not crouching and not otheranims then
  518. otheranims=true
  519. crouching=true
  520. anim="Crouching"
  521. end
  522. end
  523.  
  524. if kei=='j' and not otheranims and not armmovement and not disabled and not lit then
  525. otheranims=true
  526. anim="PreSuperJump"
  527. chr.Humanoid.WalkSpeed=0
  528. jumpcharge=true
  529. end
  530.  
  531. if kei=='c' and not armmovement and not sitting and not disabled then
  532. if (torso.Velocity*Vector3.new(1,0,1)).magnitude>=RunSpeed-2.5 and not otheranims and not crawling then
  533. otheranims=true
  534. anim="Sliding"
  535. local tempvelocity=Instance.new('BodyVelocity',rutprt)
  536. tempvelocity.Name="TemporaryVelocity"
  537. tempvelocity.maxForce=Vector3.new(math.huge,0,math.huge)
  538. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed
  539. coroutine.resume(coroutine.create(function()
  540. local totesvelocity=RunSpeed
  541. repeat
  542. if (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude<=1 then otheranims=false tempvelocity:destroy''
  543. elseif (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude>1 then
  544. totesvelocity=totesvelocity-(2.5*(RunSpeed/100))
  545. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*totesvelocity
  546. end
  547. wait''
  548. until tempvelocity.Parent==nil
  549. end))
  550. elseif (torso.Velocity*Vector3.new(1,0,1)).magnitude<=RunSpeed-2.5 then
  551. if not crawling then otheranims=true anim='PreCrawl' wait'.2' crawling=true chr.Humanoid.WalkSpeed=8
  552. elseif crawling then crawling=false otheranims=false chr.Humanoid.WalkSpeed=WlkSpeed end
  553. end
  554. end
  555. end)
  556. maus.KeyUp:connect(function(kei)
  557. if string.byte(kei)==48 and not otheranims and not sitting and not disabled then
  558. runnin=false
  559. end
  560. if string.byte(kei)==48 and crawling then
  561. crawldash=false
  562. end
  563. if kei=='w' then fldb.w=false end
  564. if kei=='a' then fldb.a=false end
  565. if kei=='s' then fldb.s=false end
  566. if kei=='d' then fldb.d=false end
  567. if kei=="c" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
  568. otheranims=false
  569. rutprt["TemporaryVelocity"]:destroy''
  570. end
  571.  
  572. if kei=='j' and otheranims and jumpcharge then
  573. if running then chr.Humanoid.WalkSpeed=RunSpeed else chr.Humanoid.WalkSpeed=WlkSpeed end
  574. chr.Humanoid.Jump=true
  575. anim="SuperJump"
  576. local aasdd=Instance.new("BodyVelocity",rutprt)
  577. aasdd.maxForce=Vector3.new(0,1/0,0)
  578. aasdd.velocity=Vector3.new(0,jumpheight,0)
  579. game:service'Debris':AddItem(aasdd,.175)
  580. jumpcharge=false
  581. wait(.3)
  582. otheranims=false
  583. end
  584. end)
  585.  
  586. maus.Button1Down:connect(function()
  587. if not sitting and not disabled and not armmovement and equipped and crawling then
  588. crawldig=true
  589. armmovement=true
  590. armanim="Digging"
  591. end
  592. if not otheranims and not sitting and not disabled and not armmovement and equipped then
  593. armmovement=true
  594. armanim=swing.."Swing1"
  595. wait(.25)
  596. armanim=swing.."Swing2"
  597. if swing=="Right" then
  598. rnding:Play()
  599. coroutine.resume(coroutine.create(function()
  600. wait(.65)
  601. rnding:Stop()
  602. end))
  603. else
  604. lnding:Play()
  605. coroutine.resume(coroutine.create(function()
  606. wait(.65)
  607. lnding:Stop()
  608. end))
  609. end
  610. wait(.3)
  611. armmovement=false
  612. if swing=="Right" then swing="Left"
  613. else
  614. swing="Right"
  615. end
  616. end
  617. end)
  618.  
  619. maus.Button1Up:connect(function()
  620. if armmovement and crawldig then
  621. crawldig=false
  622. armmovement=false
  623. end
  624. end)
  625.  
  626.  
  627.  
  628. chr.Humanoid.Changed:connect(function(chng)
  629. if crouching or crawling or disabled then
  630. if chng=='Jump' then
  631. chr.Humanoid.Jump=false
  632. end
  633. end
  634. end)
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649. game:service'RunService'.RenderStepped:connect(function()
  650. syne=syne+1
  651. if not otheranims and not swimming then
  652. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not dnc and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  653. anim="Idling"
  654.  
  655. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-5 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  656. anim="Walking"
  657. dnc=false
  658.  
  659. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  660. anim="Sprinting"
  661. dnc=false
  662.  
  663. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  664. anim='Jumping'
  665. dnc=false
  666.  
  667. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  668. anim='Falling'
  669. dnc=false
  670.  
  671. end
  672. end
  673.  
  674. if otheranims and crawling then
  675. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then
  676. anim="IdleCrawl"
  677. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 12 and not chr.Humanoid.Jump then
  678. anim="Crawling"
  679. idled=false
  680. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 12 and not chr.Humanoid.Jump then
  681. anim="SpeedCrawling"
  682. idled=false
  683. end end
  684.  
  685. if anim~=lastanim then runtime=0 syne=0 end
  686. lastanim=anim
  687. idlesineinc=35
  688. if anim=="Idling" then
  689. if not armmovement and not equipped then
  690. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(10)),.1)
  691. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-10)),.1)
  692. elseif not armmovement and equipped then
  693. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.4+math.cos(syne/idlesineinc)/25,.1)*CFrame.Angles(math.rad(105),math.rad(-15),math.rad(-20)),.1)
  694. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.1,.20+math.cos(syne/idlesineinc)/25,-.65)*CFrame.Angles(math.rad(90),math.rad(10),math.rad(15)),.1)
  695. end
  696. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  697. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  698. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  699. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  700. end
  701.  
  702. if anim=="Walking" then
  703. if not armmovement and not equipped then
  704. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(8)),.1)
  705. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(8)),.1)
  706. elseif not armmovement and equipped then
  707. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.425,-.2)*CFrame.Angles(math.rad(40),math.rad(10),math.rad(5)),.1)
  708. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.425,-.2)*CFrame.Angles(math.rad(40),math.rad(-10),math.rad(-5)),.1)
  709. end
  710.  
  711. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8-math.sin(syne/6)/8,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  712. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8+math.sin(syne/6)/8,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  713. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  714. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.2+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/8,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  715. end
  716.  
  717. if anim=="Sprinting" then
  718. if not armmovement and not equipped then
  719. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,math.cos(syne/4)/15)*CFrame.Angles(-math.cos(syne/2.5)/5+math.rad(-55),0,math.rad(12.5)),.1)
  720. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,-math.cos(syne/4)/15)*CFrame.Angles(-math.cos(syne/2.5)/5+math.rad(-55),0,math.rad(-12.5)),.1)
  721. elseif not armmovement and equipped then
  722. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.5,-.1)*CFrame.Angles(math.rad(-5),math.rad(10),math.rad(35)),.1)
  723. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.5,-.1)*CFrame.Angles(math.rad(-5),math.rad(-10),math.rad(-35)),.1)
  724. end
  725. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55+math.cos(syne/4)/20,-1.5-math.sin(syne/4)/2.5,-(math.cos(syne/4)*2.5)-.05)*CFrame.Angles(math.cos(syne/4)*2+math.rad(-10),0,math.rad(-2.5)),.1)
  726. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55-math.cos(syne/4)/20,-1.5+math.sin(syne/4)/2.5,math.cos(syne/4)*2.5-.05)*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(-10),0,math.rad(2.5)),.1)
  727. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.55+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),-math.cos(syne/2.5)/8,0),.1)
  728. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/8+math.rad(-25),math.cos(syne/2.5)/8,math.cos(syne/4)/15+math.sin(rutprt.RotVelocity.y/2)/4),.1)
  729. end
  730.  
  731. if anim=="Jumping" then
  732. if not armmovement then
  733. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  734. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  735. end
  736. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  737. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  738. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  739. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  740. end
  741.  
  742. if anim=="Falling" then
  743. if not armmovement then
  744. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  745. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  746. end
  747. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  748. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  749. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
  750. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
  751. end
  752.  
  753. if anim=="Sliding" then
  754. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
  755. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  756. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  757. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.95,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.1)
  758. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(-60),0),.1)
  759. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(45),math.rad(85),math.rad(0)),.1)
  760. end
  761.  
  762.  
  763. if armmovement then
  764. if armanim=="RightSwing1" then
  765. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.25+math.cos(syne/idlesineinc)/25,1.2)*CFrame.Angles(math.rad(95),math.rad(-15),math.rad(15)),.2)
  766. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.35+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(10)),.2)
  767. end
  768. if armanim=="RightSwing2" then
  769. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.8,.3+math.cos(syne/idlesineinc)/25,-.8)*CFrame.Angles(math.rad(95),math.rad(15),math.rad(-15)),.5)
  770. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.45+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(-10)),.5)
  771. end
  772. if armanim=="LeftSwing1" then
  773. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.25+math.cos(syne/idlesineinc)/25,1.2)*CFrame.Angles(math.rad(95),math.rad(10),math.rad(15)),.2)
  774. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.35+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(10)),.2)
  775. end
  776. if armanim=="LeftSwing2" then
  777. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.8,.3+math.cos(syne/idlesineinc)/25,-.8)*CFrame.Angles(math.rad(95),math.rad(-15),math.rad(15)),.5)
  778. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.45+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(10)),.5)
  779. end
  780. if armanim=="Digging" then
  781. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, 1.1+math.cos(syne), -.1)* CFrame.Angles(math.rad(179), 0, math.rad(-25)), 0.5)
  782. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, 1.1-(math.cos(syne)), -.1) * CFrame.Angles(math.rad(179), 0, math.rad(25)), 0.5)
  783. end
  784. end
  785.  
  786. if jumpcharge and jumpheight<150 then jumpheight=jumpheight+3 elseif not jumpcharge then jumpheight=20 end
  787.  
  788. if anim=="PreSuperJump" then
  789. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.06)
  790. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.06)
  791. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,.3)*CFrame.Angles(math.rad(-40),0,math.rad(-2.5)),.06)
  792. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.6,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.06)
  793. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.06)
  794. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.6,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.06)
  795. end
  796.  
  797. if anim=="SuperJump" then
  798. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1)
  799. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1)
  800. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(-2.5)),.2)
  801. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(2.5)),.2)
  802. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1)
  803. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  804. chr.Humanoid.Jump=true
  805. end
  806.  
  807. if anim=="Crouching" then
  808. if not armmovement then
  809. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.4, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(-15)), 0.075)
  810. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(15)), 0.075)
  811. end
  812. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -.55, -1) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.075)
  813. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.65, -1.275) * CFrame.Angles(math.rad(60), 0, math.rad(-0)), 0.075)
  814. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(5),0,0),.05)
  815. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),0.075)
  816. end
  817.  
  818. if anim=="PreCrawl" then
  819. if not armmovement then
  820. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.45, .75, -.15)* CFrame.Angles(math.rad(140), 0, math.rad(-25)), 0.15)
  821. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.45, .75, -.15) * CFrame.Angles(math.rad(140), 0, math.rad(25)), 0.15)
  822. end
  823. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.15)
  824. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(-0)), 0.15)
  825. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,.25)*CFrame.Angles(math.rad(72.5),0,0),.15)
  826. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(0)),0.15)
  827. end
  828.  
  829. if crawling then
  830.  
  831.  
  832.  
  833. if anim=='Crawling' then
  834. chr.Humanoid.WalkSpeed=CrawlSpeed-math.cos(syne/5)*5
  835. if not armmovement then
  836. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, 1-math.cos(syne/10)/2, -.35+math.cos(syne/10)/8) * CFrame.Angles(math.rad(155)+math.sin(syne/10)/9, 0, math.rad(-25)+math.cos(syne/10)/13),.175)
  837. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, 1+math.cos(syne/10)/2, -.35-math.cos(syne/10)/8) * CFrame.Angles(math.rad(155)-math.sin(syne/10)/9, 0, math.rad(25)-math.cos(syne/10)/13), .175)
  838. end
  839. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.525, -1.5-math.cos(syne/10)/3, -.3+math.cos(syne/10)/10) * CFrame.Angles(math.rad(-5)-math.cos(syne/10)/9, 0, math.rad(0)-math.cos(syne/10)/15), .175)
  840. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.525, -1.5+math.cos(syne/10)/3, -.3-math.cos(syne/10)/10) * CFrame.Angles(math.rad(-5)+math.cos(syne/10)/9, 0, math.rad(-0)-math.cos(syne/10)/15), 0.175)
  841. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/30)/20+.25)*CFrame.Angles(math.cos(syne/30)/25+math.rad(75),math.rad(4),0),.175)
  842. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(-82)+math.cos(syne/5)/12,math.cos(syne/10)/15,math.cos(syne/5)/15),0.15)
  843. end
  844.  
  845. if anim=='SpeedCrawling' then
  846. if not armmovement then
  847. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, 1-math.cos(syne/5)/2, -.35+math.cos(syne/5)/12) * CFrame.Angles(math.rad(155)-math.cos(syne/5)/14, 0, math.rad(-25)+math.cos(syne/5)/13),.175)
  848. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, 1+math.cos(syne/5)/2, -.35-math.cos(syne/5)/12) * CFrame.Angles(math.rad(155)+math.cos(syne/5)/14, 0, math.rad(25)-math.cos(syne/5)/13), .175)
  849. end
  850. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.525, -1.5-math.cos(syne/5)/3, -.3+math.cos(syne/5)/10) * CFrame.Angles(math.rad(-5)-math.cos(syne/5)/9, 0, math.rad(0)-math.cos(syne/5)/15), .175)
  851. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.525, -1.5+math.cos(syne/5)/3, -.3-math.cos(syne/5)/10) * CFrame.Angles(math.rad(-5)+math.cos(syne/5)/9, 0, math.rad(-0)-math.cos(syne/5)/15), 0.175)
  852. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/15)/20+.25)*CFrame.Angles(math.cos(syne/15)/25+math.rad(75),math.rad(4),0),.175)
  853. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(-82)+math.cos(syne/2.5)/12,math.cos(syne/5)/15,math.cos(syne/2.5)/15),0.15)
  854. end
  855. end
  856.  
  857. if crouching then chr.Humanoid.WalkSpeed=0 end
  858.  
  859. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  860.  
  861. if runnin and not disabled and not otheranims and not sitting then
  862. chr.Humanoid.WalkSpeed=RunSpeed
  863. elseif not runnin and not disabled and not otheranims and not sitting then
  864. chr.Humanoid.WalkSpeed=WlkSpeed
  865. elseif not runnin and not disabled and otheranims and crawling and not crawldash and not sitting then
  866. chr.Humanoid.WalkSpeed=CrawlSpeed
  867. elseif not runnin and not disabled and otheranims and crawling and crawldash and not sitting then
  868. chr.Humanoid.WalkSpeed=CrawlDashSpeed
  869. end
  870. end)
  871.  
  872. local hp=Instance.new("HopperBin",plr.Backpack)
  873. hp.Name="Neko Neko Knuckles"
  874. hp.Selected:connect(function()
  875. equipped=true
  876. end)
  877. hp.Deselected:connect(function()
  878. equipped=false
  879. end)
Add Comment
Please, Sign In to add comment