Advertisement
Guest User

Untitled

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