klops

box

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