Advertisement
AidenTheBuddy

Neko Neko Boxing FE

Nov 14th, 2018
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.51 KB | None | 0 0
  1. --FE Neko Neko Boxing gloves. (By aidenbuddy0509.)
  2. -- This script has been converted to FE by Aidenbuddy0509
  3.  
  4.  
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  7. do
  8. print("FE Compatibility code by Mokiros | Translated to FE by Aidenbuddy0509")
  9. script.Parent = Player.Character
  10.  
  11. --RemoteEvent for communicating
  12. local Event = Instance.new("RemoteEvent")
  13. Event.Name = "UserInput_Event"
  14.  
  15. --Fake event to make stuff like Mouse.KeyDown work
  16. local function fakeEvent()
  17. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  18. t.connect = t.Connect
  19. return t
  20. end
  21.  
  22. --Creating fake input objects with fake variables
  23. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  24. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  25. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  26. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  27. end}
  28. --Merged 2 functions into one by checking amount of arguments
  29. CAS.UnbindAction = CAS.BindAction
  30.  
  31. --This function will trigger the events that have been :Connect()'ed
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent and t.Function then
  35. t.Function(...)
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=Player then return end
  43. if io.isMouse then
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. else
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local Mouse = Player:GetMouse()
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  86. endlocal plr = game.Players.LocalPlayer
  87. local chr = plr.Character
  88. local maus = plr:GetMouse()
  89. local PGui=plr.PlayerGui
  90. local lleg = chr["Left Leg"]
  91. local rleg = chr["Right Leg"]
  92. local larm = chr["Left Arm"]
  93. local rarm = chr["Right Arm"]
  94. local hed = chr.Head
  95. local rutprt = chr.HumanoidRootPart
  96. local torso = chr.Torso
  97. local otheranims=false
  98. local armmovement=false
  99. local equipped=false
  100. chr.Animate.Disabled=true
  101. local RunSpeed=40
  102. local WlkSpeed=20
  103. local CrawlSpeed=10
  104. local CrawlDashSpeed=20
  105. local runnin=false
  106. local tik=0
  107. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  108. local Meows={"60871617","151742282","138093919"}
  109. local leftnekoface="260195370"
  110. local rightnekoface="260196558"
  111. local swing="Right"
  112. local armanim=""
  113. local hitdb=false
  114.  
  115. local RightNekoColor=BrickColor.new("Really black")
  116. local LeftNekoColor=BrickColor.new("Institutional white")
  117.  
  118.  
  119.  
  120. coroutine.wrap(function()
  121. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  122. function Lerp(a, b, i)
  123. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  124. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  125. local calx = com1[1] + (com2[1] - com1[1]) * i
  126. local caly = com1[2] + (com2[2] - com1[2]) * i
  127. local calz = com1[3] + (com2[3] - com1[3]) * i
  128. local cala = com1[4] + (com2[4] - com1[4]) * i
  129. local calb = com1[5] + (com2[5] - com1[5]) * i
  130. local calc = com1[6] + (com2[6] - com1[6]) * i
  131. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  132. end
  133. function TwnSingleNumber(s,f,m)
  134. local wot=s+(f-s)*m
  135. return wot
  136. end
  137. function TwnVector3(q,w,e)
  138. local begin={q.x,q.y,q.z}
  139. local ending={w.x,w.y,w.z}
  140. local bgx=begin[1]+(ending[1]-begin[1])*e
  141. local bgy=begin[2]+(ending[2]-begin[2])*e
  142. local bgz=begin[3]+(ending[3]-begin[3])*e
  143. return Vector3.new(bgx,bgy,bgz)
  144. end
  145. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  146. wld = Instance.new("Weld", wp1)
  147. wld.Part0 = wp0
  148. wld.Part1 = wp1
  149. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  150. end
  151. function Avg(a, b)
  152. return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
  153. end
  154.  
  155. newWeld(law, torso, larm, -1.5, 0.5, 0)
  156. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  157. newWeld(llw, torso, lleg, -.5, -2, 0)
  158. newWeld(rlw, torso, rleg, .5, -2, 0)
  159. newWeld(hw, torso, hed, 0, 1.5, 0)
  160. local rutwald=Instance.new('Weld',rutprt)
  161. rutwald.Part0=rutprt
  162. rutwald.Part1=torso
  163. rutwald.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  164. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  165. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  166. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  167. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  168.  
  169.  
  170. local anim = "Idling"
  171. local lastanim = "Idling"
  172. local val = 0
  173. local syne = 0
  174. local num = 0
  175. local runtime = 0
  176.  
  177.  
  178.  
  179.  
  180. local NekoNekoKnuckles=Instance.new("Model",chr)
  181. NekoNekoKnuckles.Name="Neko Neko Knuckles"
  182. local RightNeko=Instance.new("Model",NekoNekoKnuckles)
  183. RightNeko.Name="Right Neko"
  184. local LeftNeko=Instance.new("Model",NekoNekoKnuckles)
  185. LeftNeko.Name="Left Neko"
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192. --[[ Right Neko ]]--
  193.  
  194.  
  195.  
  196.  
  197.  
  198. local rn1=Instance.new("Part",RightNeko)
  199. rn1.Name="RightHandle"
  200. rn1.Material="SmoothPlastic"
  201. rn1.TopSurface=10
  202. rn1.BottomSurface=10
  203. rn1.LeftSurface=10
  204. rn1.RightSurface=10
  205. rn1.FrontSurface=10
  206. rn1.BackSurface=10
  207. rn1.BrickColor=RightNekoColor
  208. rn1.formFactor=3
  209. rn1.Size=Vector3.new(1.1,1.3,1.1)
  210. rn1.CanCollide=false
  211. rn1:breakJoints''
  212. local rn1w=Instance.new("Weld",rn1)
  213. rn1w.Part0=rn1
  214. rn1w.Part1=rarm
  215. rn1w.C0=CFrame.new(0,.4,0)
  216.  
  217. local rn2=Instance.new("Part",RightNeko)
  218. rn2.Name="RightHandle"
  219. rn2.Material="SmoothPlastic"
  220. rn2.TopSurface=10
  221. rn2.BottomSurface=10
  222. rn2.LeftSurface=10
  223. rn2.RightSurface=10
  224. rn2.FrontSurface=10
  225. rn2.BackSurface=10
  226. rn2.BrickColor=RightNekoColor
  227. rn2.formFactor=3
  228. rn2.Size=Vector3.new(1.2,.4,1.2)
  229. rn2.CanCollide=false
  230. rn2:breakJoints''
  231. local rn2w=Instance.new("Weld",rn2)
  232. rn2w.Part0=rn2
  233. rn2w.Part1=rarm
  234. rn2w.C0=CFrame.new(0,-.1,0)
  235.  
  236. local rnbell=Instance.new("Part",RightNeko)
  237. rnbell.Name="RightBell"
  238. rnbell.Material="SmoothPlastic"
  239. rnbell.TopSurface=10
  240. rnbell.BottomSurface=10
  241. rnbell.LeftSurface=10
  242. rnbell.RightSurface=10
  243. rnbell.FrontSurface=10
  244. rnbell.BackSurface=10
  245. rnbell.BrickColor=BrickColor.new("New Yeller")
  246. rnbell.Reflectance=.6
  247. rnbell.formFactor=3
  248. rnbell.Size=Vector3.new(.45,.45,.45)
  249. rnbell.CanCollide=false
  250. rnbell:breakJoints''
  251. local rnbellw=Instance.new("Weld",rnbell)
  252. rnbellw.Part0=rnbell
  253. rnbellw.Part1=rarm
  254. rnbellw.C0=CFrame.new(0,.3,.65)
  255. local rnbellm=Instance.new("SpecialMesh",rnbell)
  256. rnbellm.MeshType="Sphere"
  257.  
  258. local rnbf=Instance.new("PointLight",rnbell)
  259. rnbf.Shadows=true
  260. rnbf.Range=15
  261. rnbf.Brightness=10
  262.  
  263. local rnding=Instance.new("Sound",rnbell)
  264. rnding.SoundId="http://www.roblox.com/asset?id=138134386"
  265. rnding.Volume=.2
  266.  
  267. local rn3=Instance.new("Part",RightNeko)
  268. rn3.Name="RightHead"
  269. rn3.Material="SmoothPlastic"
  270. rn3.TopSurface=10
  271. rn3.BottomSurface=10
  272. rn3.LeftSurface=10
  273. rn3.RightSurface=10
  274. rn3.FrontSurface=10
  275. rn3.BackSurface=10
  276. rn3.BrickColor=RightNekoColor
  277. rn3.formFactor=3
  278. rn3.Size=Vector3.new(1.575,1.65,1.575)
  279. rn3.CanCollide=false
  280. rn3:breakJoints''
  281. local rn3w=Instance.new("Weld",rn3)
  282. rn3w.Part0=rn3
  283. rn3w.Part1=rarm
  284. rn3w.C0=CFrame.new(0,.95,0)
  285. local rn3m=Instance.new("SpecialMesh",rn3)
  286. rn3m.MeshType="Sphere"
  287.  
  288. local rnface=Instance.new("Decal",rn3)
  289. rnface.Texture="http://www.roblox.com/asset?id="..rightnekoface
  290. rnface.Face="Bottom"
  291.  
  292. local rnpunch=Instance.new("Sound",rn3)
  293. rnpunch.SoundId="http://www.roblox.com/asset?id=146163534"
  294. rnpunch.Volume=.3
  295.  
  296. rn3.Touched:connect(function(hit)
  297. if hit and swing=="Right" and crawling and armmovement and crawldig then
  298. local j=2
  299. for jx=-j,j,4 do
  300. for jy=-j,j,4 do
  301. for jz=-j,j,4 do
  302. local spot=workspace.Terrain:WorldToCell(rn3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  303. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  304. end
  305. end
  306. end
  307. end
  308. coroutine.wrap(function()
  309. if hit and swing=="Right" and armmovement then
  310. coroutine.resume(coroutine.create(function()
  311. local j=2
  312. for jx=-j,j,4 do
  313. for jy=-j,j,4 do
  314. for jz=-j,j,4 do
  315. local spot=workspace.Terrain:WorldToCell(rn3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  316. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  317. end
  318. end
  319. end
  320. end))
  321. if hit.Parent then
  322. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  323. local hawm=hit.Parent and hyoom and hit.Parent.Parent
  324. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and not hitdb then
  325. hitdb=true
  326. local nyaa=Instance.new("Sound",rn3)
  327. nyaa.SoundId="http://www.roblox.com/asset?id="..Meows[math.random(1,#Meows)]
  328. nyaa:Play''
  329. rnpunch:Play''
  330. game:service'Debris':AddItem(nyaa,2)
  331. if hyoom.Parent and hyoom.Parent:findFirstChild("Torso") then
  332. local asd=Instance.new("BodyVelocity",hyoom.Parent.Torso)
  333. asd.maxForce=Vector3.new(1/0,1/0,1/0)
  334. asd.velocity=((rn3.CFrame.p-hyoom.Parent.Torso.CFrame.p).unit*-20)+Vector3.new(0,10,0)
  335. game:service'Debris':AddItem(asd,.2)
  336. end
  337. hyoom.Sit=true
  338. if crawling then
  339. hyoom.Health=hyoom.Health-(math.random(15,20)*(hyoom.MaxHealth/100))
  340. wait(.5)
  341. hitdb=false
  342. else
  343. hyoom.Health=hyoom.Health-(math.random(20,40)*(hyoom.MaxHealth/100))
  344. wait(1)
  345. hitdb=false
  346. end
  347. end
  348. end
  349. end
  350. end)()
  351. end)
  352.  
  353. local rn4=Instance.new("Part",RightNeko)
  354. rn4.Name="RightHandle"
  355. rn4.Material="SmoothPlastic"
  356. rn4.TopSurface=10
  357. rn4.BottomSurface=10
  358. rn4.LeftSurface=10
  359. rn4.RightSurface=10
  360. rn4.FrontSurface=10
  361. rn4.BackSurface=10
  362. rn4.BrickColor=RightNekoColor
  363. rn4.formFactor=3
  364. rn4.Size=Vector3.new(1.575,.2,1.575)
  365. rn4.CanCollide=false
  366. rn4:breakJoints''
  367. local rn4w=Instance.new("Weld",rn4)
  368. rn4w.Part0=rn4
  369. rn4w.Part1=rn3
  370. rn4w.C0=CFrame.new(0,-.75,.15)*CFrame.Angles(math.rad(90),0,0)
  371. local rn4m=Instance.new("SpecialMesh",rn4)
  372. rn4m.Scale=Vector3.new(1.2,1.2,1.2)
  373. rn4m.MeshId="http://www.roblox.com/asset?id=1374148"
  374. rn4m.TextureId="http://www.roblox.com/asset?id=1374132"
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386. local ln1=Instance.new("Part",LeftNeko)
  387. ln1.Name="LeftHandle"
  388. ln1.Material="SmoothPlastic"
  389. ln1.TopSurface=10
  390. ln1.BottomSurface=10
  391. ln1.LeftSurface=10
  392. ln1.RightSurface=10
  393. ln1.FrontSurface=10
  394. ln1.BackSurface=10
  395. ln1.BrickColor=LeftNekoColor
  396. ln1.formFactor=3
  397. ln1.Size=Vector3.new(1.1,1.3,1.1)
  398. ln1.CanCollide=false
  399. ln1:breakJoints''
  400. local ln1w=Instance.new("Weld",ln1)
  401. ln1w.Part0=ln1
  402. ln1w.Part1=larm
  403. ln1w.C0=CFrame.new(0,.4,0)
  404.  
  405. local ln2=Instance.new("Part",LeftNeko)
  406. ln2.Name="LeftHandle"
  407. ln2.Material="SmoothPlastic"
  408. ln2.TopSurface=10
  409. ln2.BottomSurface=10
  410. ln2.LeftSurface=10
  411. ln2.RightSurface=10
  412. ln2.FrontSurface=10
  413. ln2.BackSurface=10
  414. ln2.BrickColor=LeftNekoColor
  415. ln2.formFactor=3
  416. ln2.Size=Vector3.new(1.2,.4,1.2)
  417. ln2.CanCollide=false
  418. ln2:breakJoints''
  419. local ln2w=Instance.new("Weld",ln2)
  420. ln2w.Part0=ln2
  421. ln2w.Part1=larm
  422. ln2w.C0=CFrame.new(0,-.1,0)
  423.  
  424. local lnbell=Instance.new("Part",LeftNeko)
  425. lnbell.Name="LeftBell"
  426. lnbell.Material="SmoothPlastic"
  427. lnbell.TopSurface=10
  428. lnbell.BottomSurface=10
  429. lnbell.LeftSurface=10
  430. lnbell.RightSurface=10
  431. lnbell.FrontSurface=10
  432. lnbell.BackSurface=10
  433. lnbell.BrickColor=BrickColor.new("New Yeller")
  434. lnbell.Reflectance=.6
  435. lnbell.formFactor=3
  436. lnbell.Size=Vector3.new(.45,.45,.45)
  437. lnbell.CanCollide=false
  438. lnbell:breakJoints''
  439. local lnbellw=Instance.new("Weld",lnbell)
  440. lnbellw.Part0=lnbell
  441. lnbellw.Part1=larm
  442. lnbellw.C0=CFrame.new(0,.3,.65)
  443. local lnbellm=Instance.new("SpecialMesh",lnbell)
  444. lnbellm.MeshType="Sphere"
  445.  
  446. local lnbf=Instance.new("PointLight",lnbell)
  447. lnbf.Shadows=true
  448. lnbf.Range=15
  449. lnbf.Brightness=10
  450.  
  451. local lnding=Instance.new("Sound",lnbell)
  452. lnding.SoundId="http://www.roblox.com/asset?id=138134386"
  453. lnding.Volume=.2
  454.  
  455. local ln3=Instance.new("Part",LeftNeko)
  456. ln3.Name="LeftHead"
  457. ln3.Material="SmoothPlastic"
  458. ln3.TopSurface=10
  459. ln3.BottomSurface=10
  460. ln3.LeftSurface=10
  461. ln3.RightSurface=10
  462. ln3.FrontSurface=10
  463. ln3.BackSurface=10
  464. ln3.BrickColor=LeftNekoColor
  465. ln3.formFactor=3
  466. ln3.Size=Vector3.new(1.575,1.65,1.575)
  467. ln3.CanCollide=false
  468. ln3:breakJoints''
  469. local ln3w=Instance.new("Weld",ln3)
  470. ln3w.Part0=ln3
  471. ln3w.Part1=larm
  472. ln3w.C0=CFrame.new(0,.95,0)
  473. local ln3m=Instance.new("SpecialMesh",ln3)
  474. ln3m.MeshType="Sphere"
  475.  
  476. local lnface=Instance.new("Decal",ln3)
  477. lnface.Texture="http://www.roblox.com/asset?id="..leftnekoface
  478. lnface.Face="Bottom"
  479.  
  480.  
  481. local lnpunch=Instance.new("Sound",ln3)
  482. lnpunch.SoundId="http://www.roblox.com/asset?id=146163534"
  483. lnpunch.Volume=.3
  484.  
  485. ln3.Touched:connect(function(hit)
  486. if hit and swing=="Left" and crawling and armmovement and crawldig then
  487. local j=2
  488. for jx=-j,j,4 do
  489. for jy=-j,j,4 do
  490. for jz=-j,j,4 do
  491. local spot=workspace.Terrain:WorldToCell(ln3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  492. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  493. end
  494. end
  495. end
  496. end
  497. coroutine.wrap(function()
  498. if hit and swing=="Left" and armmovement then
  499. coroutine.resume(coroutine.create(function()
  500. local j=2
  501. for jx=-j,j,4 do
  502. for jy=-j,j,4 do
  503. for jz=-j,j,4 do
  504. local spot=workspace.Terrain:WorldToCell(ln3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  505. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  506. end
  507. end
  508. end
  509. end))
  510. if hit.Parent then
  511. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  512. local hawm=hit.Parent and hyoom and hit.Parent.Parent
  513. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and not hitdb then
  514.  
  515. hitdb=true
  516. local nyaa=Instance.new("Sound",rn3)
  517. nyaa.SoundId="http://www.roblox.com/asset?id="..Meows[math.random(1,#Meows)]
  518. nyaa:Play''
  519. rnpunch:Play''
  520. game:service'Debris':AddItem(nyaa,3)
  521. if hyoom.Parent:findFirstChild("Torso") then
  522. local asd=Instance.new("BodyVelocity",hyoom.Parent.Torso)
  523. asd.maxForce=Vector3.new(1/0,1/0,1/0)
  524. asd.velocity=((ln3.CFrame.p-hyoom.Parent.Torso.CFrame.p).unit*-20)+Vector3.new(0,10,0)
  525. game:service'Debris':AddItem(asd,.2)
  526. end
  527. hyoom.Sit=true
  528. if crawling then
  529. hyoom.Health=hyoom.Health-(math.random(15,20)*(hyoom.MaxHealth/100))
  530. wait(.5)
  531. hitdb=false
  532. else
  533. hyoom.Health=hyoom.Health-(math.random(20,40)*(hyoom.MaxHealth/100))
  534. wait(1)
  535. hitdb=false
  536. end
  537. end
  538. end
  539. end
  540. end)()
  541. end)
  542.  
  543. local ln4=Instance.new("Part",LeftNeko)
  544. ln4.Name="LeftHandle"
  545. ln4.Material="SmoothPlastic"
  546. ln4.TopSurface=10
  547. ln4.BottomSurface=10
  548. ln4.LeftSurface=10
  549. ln4.RightSurface=10
  550. ln4.FrontSurface=10
  551. ln4.BackSurface=10
  552. ln4.BrickColor=LeftNekoColor
  553. ln4.formFactor=3
  554. ln4.Size=Vector3.new(1.575,.2,1.575)
  555. ln4.CanCollide=false
  556. ln4:breakJoints''
  557. local ln4w=Instance.new("Weld",ln4)
  558. ln4w.Part0=ln4
  559. ln4w.Part1=ln3
  560. ln4w.C0=CFrame.new(0,-.75,.15)*CFrame.Angles(math.rad(90),0,0)
  561. local ln4m=Instance.new("SpecialMesh",ln4)
  562. ln4m.Scale=Vector3.new(1.2,1.2,1.2)
  563. ln4m.MeshId="http://www.roblox.com/asset?id=1374148"
  564. ln4m.TextureId="http://www.roblox.com/asset?id=59596104"
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572. maus.KeyDown:connect(function(kei)
  573. if string.byte(kei)==48 and not otheranims and not sitting and not disabled then
  574. runnin=true
  575. end
  576. if string.byte(kei)==48 and crawling and not sitting and not disabled then
  577. crawldash=true
  578. end
  579. if kei=='w' then fldb.w=true end
  580. if kei=='a' then fldb.a=true end
  581. if kei=='s' then fldb.s=true end
  582. if kei=='d' then fldb.d=true end
  583.  
  584.  
  585. if string.byte(kei)==50 and not crawling then
  586. if crouching then
  587. otheranims=false
  588. crouching=false
  589. chr.Humanoid.WalkSpeed=18
  590. elseif not crouching and not otheranims then
  591. otheranims=true
  592. crouching=true
  593. anim="Crouching"
  594. end
  595. end
  596.  
  597. if kei=='j' and not otheranims and not armmovement and not disabled and not lit then
  598. otheranims=true
  599. anim="PreSuperJump"
  600. chr.Humanoid.WalkSpeed=0
  601. jumpcharge=true
  602. end
  603.  
  604. if kei=='c' and not armmovement and not sitting and not disabled then
  605. if (torso.Velocity*Vector3.new(1,0,1)).magnitude>=RunSpeed-2.5 and not otheranims and not crawling then
  606. otheranims=true
  607. anim="Sliding"
  608. local tempvelocity=Instance.new('BodyVelocity',rutprt)
  609. tempvelocity.Name="TemporaryVelocity"
  610. tempvelocity.maxForce=Vector3.new(math.huge,0,math.huge)
  611. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed
  612. coroutine.resume(coroutine.create(function()
  613. local totesvelocity=RunSpeed
  614. repeat
  615. if (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude<=1 then otheranims=false tempvelocity:destroy''
  616. elseif (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude>1 then
  617. totesvelocity=totesvelocity-(2.5*(RunSpeed/100))
  618. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*totesvelocity
  619. end
  620. wait''
  621. until tempvelocity.Parent==nil
  622. end))
  623. elseif (torso.Velocity*Vector3.new(1,0,1)).magnitude<=RunSpeed-2.5 then
  624. if not crawling then otheranims=true anim='PreCrawl' wait'.2' crawling=true chr.Humanoid.WalkSpeed=8
  625. elseif crawling then crawling=false otheranims=false chr.Humanoid.WalkSpeed=WlkSpeed end
  626. end
  627. end
  628. end)
  629. maus.KeyUp:connect(function(kei)
  630. if string.byte(kei)==48 and not otheranims and not sitting and not disabled then
  631. runnin=false
  632. end
  633. if string.byte(kei)==48 and crawling then
  634. crawldash=false
  635. end
  636. if kei=='w' then fldb.w=false end
  637. if kei=='a' then fldb.a=false end
  638. if kei=='s' then fldb.s=false end
  639. if kei=='d' then fldb.d=false end
  640. if kei=="c" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
  641. otheranims=false
  642. rutprt["TemporaryVelocity"]:destroy''
  643. end
  644.  
  645. if kei=='j' and otheranims and jumpcharge then
  646. if running then chr.Humanoid.WalkSpeed=RunSpeed else chr.Humanoid.WalkSpeed=WlkSpeed end
  647. chr.Humanoid.Jump=true
  648. anim="SuperJump"
  649. local aasdd=Instance.new("BodyVelocity",rutprt)
  650. aasdd.maxForce=Vector3.new(0,1/0,0)
  651. aasdd.velocity=Vector3.new(0,jumpheight,0)
  652. game:service'Debris':AddItem(aasdd,.175)
  653. jumpcharge=false
  654. wait(.3)
  655. otheranims=false
  656. end
  657. end)
  658.  
  659. maus.Button1Down:connect(function()
  660. if not sitting and not disabled and not armmovement and equipped and crawling then
  661. crawldig=true
  662. armmovement=true
  663. armanim="Digging"
  664. end
  665. if not otheranims and not sitting and not disabled and not armmovement and equipped then
  666. armmovement=true
  667. armanim=swing.."Swing1"
  668. wait(.25)
  669. armanim=swing.."Swing2"
  670. if swing=="Right" then
  671. rnding:Play()
  672. coroutine.resume(coroutine.create(function()
  673. wait(.65)
  674. rnding:Stop()
  675. end))
  676. else
  677. lnding:Play()
  678. coroutine.resume(coroutine.create(function()
  679. wait(.65)
  680. lnding:Stop()
  681. end))
  682. end
  683. wait(.3)
  684. armmovement=false
  685. if swing=="Right" then swing="Left"
  686. else
  687. swing="Right"
  688. end
  689. end
  690. end)
  691.  
  692. maus.Button1Up:connect(function()
  693. if armmovement and crawldig then
  694. crawldig=false
  695. armmovement=false
  696. end
  697. end)
  698.  
  699.  
  700.  
  701. chr.Humanoid.Changed:connect(function(chng)
  702. if crouching or crawling or disabled then
  703. if chng=='Jump' then
  704. chr.Humanoid.Jump=false
  705. end
  706. end
  707. end)
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722. game:service'RunService'.RenderStepped:connect(function()
  723. syne=syne+1
  724. if not otheranims and not swimming then
  725. 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
  726. anim="Idling"
  727.  
  728. 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
  729. anim="Walking"
  730. dnc=false
  731.  
  732. 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
  733. anim="Sprinting"
  734. dnc=false
  735.  
  736. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  737. anim='Jumping'
  738. dnc=false
  739.  
  740. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  741. anim='Falling'
  742. dnc=false
  743.  
  744. end
  745. end
  746.  
  747. if otheranims and crawling then
  748. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then
  749. anim="IdleCrawl"
  750. 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
  751. anim="Crawling"
  752. idled=false
  753. 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
  754. anim="SpeedCrawling"
  755. idled=false
  756. end end
  757.  
  758. if anim~=lastanim then runtime=0 syne=0 end
  759. lastanim=anim
  760. idlesineinc=35
  761. if anim=="Idling" then
  762. if not armmovement and not equipped then
  763. 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)
  764. 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)
  765. elseif not armmovement and equipped then
  766. 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)
  767. 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)
  768. end
  769. 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)
  770. 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)
  771. 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)
  772. 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)
  773. end
  774.  
  775. if anim=="Walking" then
  776. if not armmovement and not equipped then
  777. 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)
  778. 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)
  779. elseif not armmovement and equipped then
  780. 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)
  781. 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)
  782. end
  783.  
  784. 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)
  785. 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)
  786. 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)
  787. 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)
  788. end
  789.  
  790. if anim=="Sprinting" then
  791. if not armmovement and not equipped then
  792. 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)
  793. 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)
  794. elseif not armmovement and equipped then
  795. 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)
  796. 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)
  797. end
  798. 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)
  799. 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)
  800. 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)
  801. 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)
  802. end
  803.  
  804. if anim=="Jumping" then
  805. if not armmovement then
  806. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  807. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  808. end
  809. 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)
  810. 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)
  811. 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)
  812. 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)
  813. end
  814.  
  815. if anim=="Falling" then
  816. if not armmovement then
  817. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  818. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  819. end
  820. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  821. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  822. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
  823. 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)
  824. end
  825.  
  826. if anim=="Sliding" then
  827. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
  828. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  829. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  830. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.95,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.1)
  831. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(-60),0),.1)
  832. 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)
  833. end
  834.  
  835.  
  836. if armmovement then
  837. if armanim=="RightSwing1" then
  838. 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)
  839. 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)
  840. end
  841. if armanim=="RightSwing2" then
  842. 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)
  843. 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)
  844. end
  845. if armanim=="LeftSwing1" then
  846. 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)
  847. 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)
  848. end
  849. if armanim=="LeftSwing2" then
  850. 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)
  851. 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)
  852. end
  853. if armanim=="Digging" then
  854. 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)
  855. 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)
  856. end
  857. end
  858.  
  859. if jumpcharge and jumpheight<150 then jumpheight=jumpheight+3 elseif not jumpcharge then jumpheight=20 end
  860.  
  861. if anim=="PreSuperJump" then
  862. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.06)
  863. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.06)
  864. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,.3)*CFrame.Angles(math.rad(-40),0,math.rad(-2.5)),.06)
  865. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.6,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.06)
  866. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.06)
  867. 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)
  868. end
  869.  
  870. if anim=="SuperJump" then
  871. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1)
  872. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1)
  873. 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)
  874. 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)
  875. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1)
  876. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  877. chr.Humanoid.Jump=true
  878. end
  879.  
  880. if anim=="Crouching" then
  881. if not armmovement then
  882. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.4, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(-15)), 0.075)
  883. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(15)), 0.075)
  884. end
  885. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -.55, -1) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.075)
  886. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.65, -1.275) * CFrame.Angles(math.rad(60), 0, math.rad(-0)), 0.075)
  887. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(5),0,0),.05)
  888. 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)
  889. end
  890.  
  891. if anim=="PreCrawl" then
  892. if not armmovement then
  893. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.45, .75, -.15)* CFrame.Angles(math.rad(140), 0, math.rad(-25)), 0.15)
  894. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.45, .75, -.15) * CFrame.Angles(math.rad(140), 0, math.rad(25)), 0.15)
  895. end
  896. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.15)
  897. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(-0)), 0.15)
  898. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,.25)*CFrame.Angles(math.rad(72.5),0,0),.15)
  899. 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)
  900. end
  901.  
  902. if crawling then
  903.  
  904.  
  905.  
  906. if anim=='Crawling' then
  907. chr.Humanoid.WalkSpeed=CrawlSpeed-math.cos(syne/5)*5
  908. if not armmovement then
  909. 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)
  910. 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)
  911. end
  912. 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)
  913. 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)
  914. 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)
  915. 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)
  916. end
  917.  
  918. if anim=='SpeedCrawling' then
  919. if not armmovement then
  920. 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)
  921. 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)
  922. end
  923. 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)
  924. 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)
  925. 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)
  926. 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)
  927. end
  928. end
  929.  
  930. if crouching then chr.Humanoid.WalkSpeed=0 end
  931.  
  932. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  933.  
  934. if runnin and not disabled and not otheranims and not sitting then
  935. chr.Humanoid.WalkSpeed=RunSpeed
  936. elseif not runnin and not disabled and not otheranims and not sitting then
  937. chr.Humanoid.WalkSpeed=WlkSpeed
  938. elseif not runnin and not disabled and otheranims and crawling and not crawldash and not sitting then
  939. chr.Humanoid.WalkSpeed=CrawlSpeed
  940. elseif not runnin and not disabled and otheranims and crawling and crawldash and not sitting then
  941. chr.Humanoid.WalkSpeed=CrawlDashSpeed
  942. end
  943. end)
  944.  
  945. local hp=Instance.new("HopperBin",plr.Backpack)
  946. hp.Name="Neko Neko Knuckles"
  947. hp.Selected:connect(function()
  948. equipped=true
  949. end)
  950. hp.Deselected:connect(function()
  951. equipped=false
  952. end)
  953. local chr = plr.Character
  954. local maus = plr:GetMouse()
  955. local PGui=plr.PlayerGui
  956. local lleg = chr["Left Leg"]
  957. local rleg = chr["Right Leg"]
  958. local larm = chr["Left Arm"]
  959. local rarm = chr["Right Arm"]
  960. local hed = chr.Head
  961. local rutprt = chr.HumanoidRootPart
  962. local torso = chr.Torso
  963. local otheranims=false
  964. local armmovement=false
  965. local equipped=false
  966. chr.Animate.Disabled=true
  967. local RunSpeed=40
  968. local WlkSpeed=20
  969. local CrawlSpeed=10
  970. local CrawlDashSpeed=20
  971. local runnin=false
  972. local tik=0
  973. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  974. local Meows={"60871617","151742282","138093919"}
  975. local leftnekoface="260195370"
  976. local rightnekoface="260196558"
  977. local swing="Right"
  978. local armanim=""
  979. local hitdb=false
  980.  
  981. local RightNekoColor=BrickColor.new("Really black")
  982. local LeftNekoColor=BrickColor.new("Institutional white")
  983.  
  984.  
  985.  
  986. coroutine.wrap(function()
  987. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  988. function Lerp(a, b, i)
  989. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  990. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  991. local calx = com1[1] + (com2[1] - com1[1]) * i
  992. local caly = com1[2] + (com2[2] - com1[2]) * i
  993. local calz = com1[3] + (com2[3] - com1[3]) * i
  994. local cala = com1[4] + (com2[4] - com1[4]) * i
  995. local calb = com1[5] + (com2[5] - com1[5]) * i
  996. local calc = com1[6] + (com2[6] - com1[6]) * i
  997. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  998. end
  999. function TwnSingleNumber(s,f,m)
  1000. local wot=s+(f-s)*m
  1001. return wot
  1002. end
  1003. function TwnVector3(q,w,e)
  1004. local begin={q.x,q.y,q.z}
  1005. local ending={w.x,w.y,w.z}
  1006. local bgx=begin[1]+(ending[1]-begin[1])*e
  1007. local bgy=begin[2]+(ending[2]-begin[2])*e
  1008. local bgz=begin[3]+(ending[3]-begin[3])*e
  1009. return Vector3.new(bgx,bgy,bgz)
  1010. end
  1011. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  1012. wld = Instance.new("Weld", wp1)
  1013. wld.Part0 = wp0
  1014. wld.Part1 = wp1
  1015. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1016. end
  1017. function Avg(a, b)
  1018. return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
  1019. end
  1020.  
  1021. newWeld(law, torso, larm, -1.5, 0.5, 0)
  1022. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  1023. newWeld(llw, torso, lleg, -.5, -2, 0)
  1024. newWeld(rlw, torso, rleg, .5, -2, 0)
  1025. newWeld(hw, torso, hed, 0, 1.5, 0)
  1026. local rutwald=Instance.new('Weld',rutprt)
  1027. rutwald.Part0=rutprt
  1028. rutwald.Part1=torso
  1029. rutwald.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  1030. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1031. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1032. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  1033. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  1034.  
  1035.  
  1036. local anim = "Idling"
  1037. local lastanim = "Idling"
  1038. local val = 0
  1039. local syne = 0
  1040. local num = 0
  1041. local runtime = 0
  1042.  
  1043.  
  1044.  
  1045.  
  1046. local NekoNekoKnuckles=Instance.new("Model",chr)
  1047. NekoNekoKnuckles.Name="Neko Neko Knuckles"
  1048. local RightNeko=Instance.new("Model",NekoNekoKnuckles)
  1049. RightNeko.Name="Right Neko"
  1050. local LeftNeko=Instance.new("Model",NekoNekoKnuckles)
  1051. LeftNeko.Name="Left Neko"
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058. --[[ Right Neko ]]--
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064. local rn1=Instance.new("Part",RightNeko)
  1065. rn1.Name="RightHandle"
  1066. rn1.Material="SmoothPlastic"
  1067. rn1.TopSurface=10
  1068. rn1.BottomSurface=10
  1069. rn1.LeftSurface=10
  1070. rn1.RightSurface=10
  1071. rn1.FrontSurface=10
  1072. rn1.BackSurface=10
  1073. rn1.BrickColor=RightNekoColor
  1074. rn1.formFactor=3
  1075. rn1.Size=Vector3.new(1.1,1.3,1.1)
  1076. rn1.CanCollide=false
  1077. rn1:breakJoints''
  1078. local rn1w=Instance.new("Weld",rn1)
  1079. rn1w.Part0=rn1
  1080. rn1w.Part1=rarm
  1081. rn1w.C0=CFrame.new(0,.4,0)
  1082.  
  1083. local rn2=Instance.new("Part",RightNeko)
  1084. rn2.Name="RightHandle"
  1085. rn2.Material="SmoothPlastic"
  1086. rn2.TopSurface=10
  1087. rn2.BottomSurface=10
  1088. rn2.LeftSurface=10
  1089. rn2.RightSurface=10
  1090. rn2.FrontSurface=10
  1091. rn2.BackSurface=10
  1092. rn2.BrickColor=RightNekoColor
  1093. rn2.formFactor=3
  1094. rn2.Size=Vector3.new(1.2,.4,1.2)
  1095. rn2.CanCollide=false
  1096. rn2:breakJoints''
  1097. local rn2w=Instance.new("Weld",rn2)
  1098. rn2w.Part0=rn2
  1099. rn2w.Part1=rarm
  1100. rn2w.C0=CFrame.new(0,-.1,0)
  1101.  
  1102. local rnbell=Instance.new("Part",RightNeko)
  1103. rnbell.Name="RightBell"
  1104. rnbell.Material="SmoothPlastic"
  1105. rnbell.TopSurface=10
  1106. rnbell.BottomSurface=10
  1107. rnbell.LeftSurface=10
  1108. rnbell.RightSurface=10
  1109. rnbell.FrontSurface=10
  1110. rnbell.BackSurface=10
  1111. rnbell.BrickColor=BrickColor.new("New Yeller")
  1112. rnbell.Reflectance=.6
  1113. rnbell.formFactor=3
  1114. rnbell.Size=Vector3.new(.45,.45,.45)
  1115. rnbell.CanCollide=false
  1116. rnbell:breakJoints''
  1117. local rnbellw=Instance.new("Weld",rnbell)
  1118. rnbellw.Part0=rnbell
  1119. rnbellw.Part1=rarm
  1120. rnbellw.C0=CFrame.new(0,.3,.65)
  1121. local rnbellm=Instance.new("SpecialMesh",rnbell)
  1122. rnbellm.MeshType="Sphere"
  1123.  
  1124. local rnbf=Instance.new("PointLight",rnbell)
  1125. rnbf.Shadows=true
  1126. rnbf.Range=15
  1127. rnbf.Brightness=10
  1128.  
  1129. local rnding=Instance.new("Sound",rnbell)
  1130. rnding.SoundId="http://www.roblox.com/asset?id=138134386"
  1131. rnding.Volume=.2
  1132.  
  1133. local rn3=Instance.new("Part",RightNeko)
  1134. rn3.Name="RightHead"
  1135. rn3.Material="SmoothPlastic"
  1136. rn3.TopSurface=10
  1137. rn3.BottomSurface=10
  1138. rn3.LeftSurface=10
  1139. rn3.RightSurface=10
  1140. rn3.FrontSurface=10
  1141. rn3.BackSurface=10
  1142. rn3.BrickColor=RightNekoColor
  1143. rn3.formFactor=3
  1144. rn3.Size=Vector3.new(1.575,1.65,1.575)
  1145. rn3.CanCollide=false
  1146. rn3:breakJoints''
  1147. local rn3w=Instance.new("Weld",rn3)
  1148. rn3w.Part0=rn3
  1149. rn3w.Part1=rarm
  1150. rn3w.C0=CFrame.new(0,.95,0)
  1151. local rn3m=Instance.new("SpecialMesh",rn3)
  1152. rn3m.MeshType="Sphere"
  1153.  
  1154. local rnface=Instance.new("Decal",rn3)
  1155. rnface.Texture="http://www.roblox.com/asset?id="..rightnekoface
  1156. rnface.Face="Bottom"
  1157.  
  1158. local rnpunch=Instance.new("Sound",rn3)
  1159. rnpunch.SoundId="http://www.roblox.com/asset?id=146163534"
  1160. rnpunch.Volume=.3
  1161.  
  1162. rn3.Touched:connect(function(hit)
  1163. if hit and swing=="Right" and crawling and armmovement and crawldig then
  1164. local j=2
  1165. for jx=-j,j,4 do
  1166. for jy=-j,j,4 do
  1167. for jz=-j,j,4 do
  1168. local spot=workspace.Terrain:WorldToCell(rn3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  1169. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  1170. end
  1171. end
  1172. end
  1173. end
  1174. coroutine.wrap(function()
  1175. if hit and swing=="Right" and armmovement then
  1176. coroutine.resume(coroutine.create(function()
  1177. local j=2
  1178. for jx=-j,j,4 do
  1179. for jy=-j,j,4 do
  1180. for jz=-j,j,4 do
  1181. local spot=workspace.Terrain:WorldToCell(rn3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  1182. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  1183. end
  1184. end
  1185. end
  1186. end))
  1187. if hit.Parent then
  1188. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  1189. local hawm=hit.Parent and hyoom and hit.Parent.Parent
  1190. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and not hitdb then
  1191. hitdb=true
  1192. local nyaa=Instance.new("Sound",rn3)
  1193. nyaa.SoundId="http://www.roblox.com/asset?id="..Meows[math.random(1,#Meows)]
  1194. nyaa:Play''
  1195. rnpunch:Play''
  1196. game:service'Debris':AddItem(nyaa,2)
  1197. if hyoom.Parent and hyoom.Parent:findFirstChild("Torso") then
  1198. local asd=Instance.new("BodyVelocity",hyoom.Parent.Torso)
  1199. asd.maxForce=Vector3.new(1/0,1/0,1/0)
  1200. asd.velocity=((rn3.CFrame.p-hyoom.Parent.Torso.CFrame.p).unit*-20)+Vector3.new(0,10,0)
  1201. game:service'Debris':AddItem(asd,.2)
  1202. end
  1203. hyoom.Sit=true
  1204. if crawling then
  1205. hyoom.Health=hyoom.Health-(math.random(15,20)*(hyoom.MaxHealth/100))
  1206. wait(.5)
  1207. hitdb=false
  1208. else
  1209. hyoom.Health=hyoom.Health-(math.random(20,40)*(hyoom.MaxHealth/100))
  1210. wait(1)
  1211. hitdb=false
  1212. end
  1213. end
  1214. end
  1215. end
  1216. end)()
  1217. end)
  1218.  
  1219. local rn4=Instance.new("Part",RightNeko)
  1220. rn4.Name="RightHandle"
  1221. rn4.Material="SmoothPlastic"
  1222. rn4.TopSurface=10
  1223. rn4.BottomSurface=10
  1224. rn4.LeftSurface=10
  1225. rn4.RightSurface=10
  1226. rn4.FrontSurface=10
  1227. rn4.BackSurface=10
  1228. rn4.BrickColor=RightNekoColor
  1229. rn4.formFactor=3
  1230. rn4.Size=Vector3.new(1.575,.2,1.575)
  1231. rn4.CanCollide=false
  1232. rn4:breakJoints''
  1233. local rn4w=Instance.new("Weld",rn4)
  1234. rn4w.Part0=rn4
  1235. rn4w.Part1=rn3
  1236. rn4w.C0=CFrame.new(0,-.75,.15)*CFrame.Angles(math.rad(90),0,0)
  1237. local rn4m=Instance.new("SpecialMesh",rn4)
  1238. rn4m.Scale=Vector3.new(1.2,1.2,1.2)
  1239. rn4m.MeshId="http://www.roblox.com/asset?id=1374148"
  1240. rn4m.TextureId="http://www.roblox.com/asset?id=1374132"
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252. local ln1=Instance.new("Part",LeftNeko)
  1253. ln1.Name="LeftHandle"
  1254. ln1.Material="SmoothPlastic"
  1255. ln1.TopSurface=10
  1256. ln1.BottomSurface=10
  1257. ln1.LeftSurface=10
  1258. ln1.RightSurface=10
  1259. ln1.FrontSurface=10
  1260. ln1.BackSurface=10
  1261. ln1.BrickColor=LeftNekoColor
  1262. ln1.formFactor=3
  1263. ln1.Size=Vector3.new(1.1,1.3,1.1)
  1264. ln1.CanCollide=false
  1265. ln1:breakJoints''
  1266. local ln1w=Instance.new("Weld",ln1)
  1267. ln1w.Part0=ln1
  1268. ln1w.Part1=larm
  1269. ln1w.C0=CFrame.new(0,.4,0)
  1270.  
  1271. local ln2=Instance.new("Part",LeftNeko)
  1272. ln2.Name="LeftHandle"
  1273. ln2.Material="SmoothPlastic"
  1274. ln2.TopSurface=10
  1275. ln2.BottomSurface=10
  1276. ln2.LeftSurface=10
  1277. ln2.RightSurface=10
  1278. ln2.FrontSurface=10
  1279. ln2.BackSurface=10
  1280. ln2.BrickColor=LeftNekoColor
  1281. ln2.formFactor=3
  1282. ln2.Size=Vector3.new(1.2,.4,1.2)
  1283. ln2.CanCollide=false
  1284. ln2:breakJoints''
  1285. local ln2w=Instance.new("Weld",ln2)
  1286. ln2w.Part0=ln2
  1287. ln2w.Part1=larm
  1288. ln2w.C0=CFrame.new(0,-.1,0)
  1289.  
  1290. local lnbell=Instance.new("Part",LeftNeko)
  1291. lnbell.Name="LeftBell"
  1292. lnbell.Material="SmoothPlastic"
  1293. lnbell.TopSurface=10
  1294. lnbell.BottomSurface=10
  1295. lnbell.LeftSurface=10
  1296. lnbell.RightSurface=10
  1297. lnbell.FrontSurface=10
  1298. lnbell.BackSurface=10
  1299. lnbell.BrickColor=BrickColor.new("New Yeller")
  1300. lnbell.Reflectance=.6
  1301. lnbell.formFactor=3
  1302. lnbell.Size=Vector3.new(.45,.45,.45)
  1303. lnbell.CanCollide=false
  1304. lnbell:breakJoints''
  1305. local lnbellw=Instance.new("Weld",lnbell)
  1306. lnbellw.Part0=lnbell
  1307. lnbellw.Part1=larm
  1308. lnbellw.C0=CFrame.new(0,.3,.65)
  1309. local lnbellm=Instance.new("SpecialMesh",lnbell)
  1310. lnbellm.MeshType="Sphere"
  1311.  
  1312. local lnbf=Instance.new("PointLight",lnbell)
  1313. lnbf.Shadows=true
  1314. lnbf.Range=15
  1315. lnbf.Brightness=10
  1316.  
  1317. local lnding=Instance.new("Sound",lnbell)
  1318. lnding.SoundId="http://www.roblox.com/asset?id=138134386"
  1319. lnding.Volume=.2
  1320.  
  1321. local ln3=Instance.new("Part",LeftNeko)
  1322. ln3.Name="LeftHead"
  1323. ln3.Material="SmoothPlastic"
  1324. ln3.TopSurface=10
  1325. ln3.BottomSurface=10
  1326. ln3.LeftSurface=10
  1327. ln3.RightSurface=10
  1328. ln3.FrontSurface=10
  1329. ln3.BackSurface=10
  1330. ln3.BrickColor=LeftNekoColor
  1331. ln3.formFactor=3
  1332. ln3.Size=Vector3.new(1.575,1.65,1.575)
  1333. ln3.CanCollide=false
  1334. ln3:breakJoints''
  1335. local ln3w=Instance.new("Weld",ln3)
  1336. ln3w.Part0=ln3
  1337. ln3w.Part1=larm
  1338. ln3w.C0=CFrame.new(0,.95,0)
  1339. local ln3m=Instance.new("SpecialMesh",ln3)
  1340. ln3m.MeshType="Sphere"
  1341.  
  1342. local lnface=Instance.new("Decal",ln3)
  1343. lnface.Texture="http://www.roblox.com/asset?id="..leftnekoface
  1344. lnface.Face="Bottom"
  1345.  
  1346.  
  1347. local lnpunch=Instance.new("Sound",ln3)
  1348. lnpunch.SoundId="http://www.roblox.com/asset?id=146163534"
  1349. lnpunch.Volume=.3
  1350.  
  1351. ln3.Touched:connect(function(hit)
  1352. if hit and swing=="Left" and crawling and armmovement and crawldig then
  1353. local j=2
  1354. for jx=-j,j,4 do
  1355. for jy=-j,j,4 do
  1356. for jz=-j,j,4 do
  1357. local spot=workspace.Terrain:WorldToCell(ln3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  1358. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  1359. end
  1360. end
  1361. end
  1362. end
  1363. coroutine.wrap(function()
  1364. if hit and swing=="Left" and armmovement then
  1365. coroutine.resume(coroutine.create(function()
  1366. local j=2
  1367. for jx=-j,j,4 do
  1368. for jy=-j,j,4 do
  1369. for jz=-j,j,4 do
  1370. local spot=workspace.Terrain:WorldToCell(ln3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
  1371. workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
  1372. end
  1373. end
  1374. end
  1375. end))
  1376. if hit.Parent then
  1377. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  1378. local hawm=hit.Parent and hyoom and hit.Parent.Parent
  1379. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and not hitdb then
  1380.  
  1381. hitdb=true
  1382. local nyaa=Instance.new("Sound",rn3)
  1383. nyaa.SoundId="http://www.roblox.com/asset?id="..Meows[math.random(1,#Meows)]
  1384. nyaa:Play''
  1385. rnpunch:Play''
  1386. game:service'Debris':AddItem(nyaa,3)
  1387. if hyoom.Parent:findFirstChild("Torso") then
  1388. local asd=Instance.new("BodyVelocity",hyoom.Parent.Torso)
  1389. asd.maxForce=Vector3.new(1/0,1/0,1/0)
  1390. asd.velocity=((ln3.CFrame.p-hyoom.Parent.Torso.CFrame.p).unit*-20)+Vector3.new(0,10,0)
  1391. game:service'Debris':AddItem(asd,.2)
  1392. end
  1393. hyoom.Sit=true
  1394. if crawling then
  1395. hyoom.Health=hyoom.Health-(math.random(15,20)*(hyoom.MaxHealth/100))
  1396. wait(.5)
  1397. hitdb=false
  1398. else
  1399. hyoom.Health=hyoom.Health-(math.random(20,40)*(hyoom.MaxHealth/100))
  1400. wait(1)
  1401. hitdb=false
  1402. end
  1403. end
  1404. end
  1405. end
  1406. end)()
  1407. end)
  1408.  
  1409. local ln4=Instance.new("Part",LeftNeko)
  1410. ln4.Name="LeftHandle"
  1411. ln4.Material="SmoothPlastic"
  1412. ln4.TopSurface=10
  1413. ln4.BottomSurface=10
  1414. ln4.LeftSurface=10
  1415. ln4.RightSurface=10
  1416. ln4.FrontSurface=10
  1417. ln4.BackSurface=10
  1418. ln4.BrickColor=LeftNekoColor
  1419. ln4.formFactor=3
  1420. ln4.Size=Vector3.new(1.575,.2,1.575)
  1421. ln4.CanCollide=false
  1422. ln4:breakJoints''
  1423. local ln4w=Instance.new("Weld",ln4)
  1424. ln4w.Part0=ln4
  1425. ln4w.Part1=ln3
  1426. ln4w.C0=CFrame.new(0,-.75,.15)*CFrame.Angles(math.rad(90),0,0)
  1427. local ln4m=Instance.new("SpecialMesh",ln4)
  1428. ln4m.Scale=Vector3.new(1.2,1.2,1.2)
  1429. ln4m.MeshId="http://www.roblox.com/asset?id=1374148"
  1430. ln4m.TextureId="http://www.roblox.com/asset?id=59596104"
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438. maus.KeyDown:connect(function(kei)
  1439. if string.byte(kei)==48 and not otheranims and not sitting and not disabled then
  1440. runnin=true
  1441. end
  1442. if string.byte(kei)==48 and crawling and not sitting and not disabled then
  1443. crawldash=true
  1444. end
  1445. if kei=='w' then fldb.w=true end
  1446. if kei=='a' then fldb.a=true end
  1447. if kei=='s' then fldb.s=true end
  1448. if kei=='d' then fldb.d=true end
  1449.  
  1450.  
  1451. if string.byte(kei)==50 and not crawling then
  1452. if crouching then
  1453. otheranims=false
  1454. crouching=false
  1455. chr.Humanoid.WalkSpeed=18
  1456. elseif not crouching and not otheranims then
  1457. otheranims=true
  1458. crouching=true
  1459. anim="Crouching"
  1460. end
  1461. end
  1462.  
  1463. if kei=='j' and not otheranims and not armmovement and not disabled and not lit then
  1464. otheranims=true
  1465. anim="PreSuperJump"
  1466. chr.Humanoid.WalkSpeed=0
  1467. jumpcharge=true
  1468. end
  1469.  
  1470. if kei=='c' and not armmovement and not sitting and not disabled then
  1471. if (torso.Velocity*Vector3.new(1,0,1)).magnitude>=RunSpeed-2.5 and not otheranims and not crawling then
  1472. otheranims=true
  1473. anim="Sliding"
  1474. local tempvelocity=Instance.new('BodyVelocity',rutprt)
  1475. tempvelocity.Name="TemporaryVelocity"
  1476. tempvelocity.maxForce=Vector3.new(math.huge,0,math.huge)
  1477. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed
  1478. coroutine.resume(coroutine.create(function()
  1479. local totesvelocity=RunSpeed
  1480. repeat
  1481. if (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude<=1 then otheranims=false tempvelocity:destroy''
  1482. elseif (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude>1 then
  1483. totesvelocity=totesvelocity-(2.5*(RunSpeed/100))
  1484. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*totesvelocity
  1485. end
  1486. wait''
  1487. until tempvelocity.Parent==nil
  1488. end))
  1489. elseif (torso.Velocity*Vector3.new(1,0,1)).magnitude<=RunSpeed-2.5 then
  1490. if not crawling then otheranims=true anim='PreCrawl' wait'.2' crawling=true chr.Humanoid.WalkSpeed=8
  1491. elseif crawling then crawling=false otheranims=false chr.Humanoid.WalkSpeed=WlkSpeed end
  1492. end
  1493. end
  1494. end)
  1495. maus.KeyUp:connect(function(kei)
  1496. if string.byte(kei)==48 and not otheranims and not sitting and not disabled then
  1497. runnin=false
  1498. end
  1499. if string.byte(kei)==48 and crawling then
  1500. crawldash=false
  1501. end
  1502. if kei=='w' then fldb.w=false end
  1503. if kei=='a' then fldb.a=false end
  1504. if kei=='s' then fldb.s=false end
  1505. if kei=='d' then fldb.d=false end
  1506. if kei=="c" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
  1507. otheranims=false
  1508. rutprt["TemporaryVelocity"]:destroy''
  1509. end
  1510.  
  1511. if kei=='j' and otheranims and jumpcharge then
  1512. if running then chr.Humanoid.WalkSpeed=RunSpeed else chr.Humanoid.WalkSpeed=WlkSpeed end
  1513. chr.Humanoid.Jump=true
  1514. anim="SuperJump"
  1515. local aasdd=Instance.new("BodyVelocity",rutprt)
  1516. aasdd.maxForce=Vector3.new(0,1/0,0)
  1517. aasdd.velocity=Vector3.new(0,jumpheight,0)
  1518. game:service'Debris':AddItem(aasdd,.175)
  1519. jumpcharge=false
  1520. wait(.3)
  1521. otheranims=false
  1522. end
  1523. end)
  1524.  
  1525. maus.Button1Down:connect(function()
  1526. if not sitting and not disabled and not armmovement and equipped and crawling then
  1527. crawldig=true
  1528. armmovement=true
  1529. armanim="Digging"
  1530. end
  1531. if not otheranims and not sitting and not disabled and not armmovement and equipped then
  1532. armmovement=true
  1533. armanim=swing.."Swing1"
  1534. wait(.25)
  1535. armanim=swing.."Swing2"
  1536. if swing=="Right" then
  1537. rnding:Play()
  1538. coroutine.resume(coroutine.create(function()
  1539. wait(.65)
  1540. rnding:Stop()
  1541. end))
  1542. else
  1543. lnding:Play()
  1544. coroutine.resume(coroutine.create(function()
  1545. wait(.65)
  1546. lnding:Stop()
  1547. end))
  1548. end
  1549. wait(.3)
  1550. armmovement=false
  1551. if swing=="Right" then swing="Left"
  1552. else
  1553. swing="Right"
  1554. end
  1555. end
  1556. end)
  1557.  
  1558. maus.Button1Up:connect(function()
  1559. if armmovement and crawldig then
  1560. crawldig=false
  1561. armmovement=false
  1562. end
  1563. end)
  1564.  
  1565.  
  1566.  
  1567. chr.Humanoid.Changed:connect(function(chng)
  1568. if crouching or crawling or disabled then
  1569. if chng=='Jump' then
  1570. chr.Humanoid.Jump=false
  1571. end
  1572. end
  1573. end)
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588. game:service'RunService'.RenderStepped:connect(function()
  1589. syne=syne+1
  1590. if not otheranims and not swimming then
  1591. 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
  1592. anim="Idling"
  1593.  
  1594. 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
  1595. anim="Walking"
  1596. dnc=false
  1597.  
  1598. 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
  1599. anim="Sprinting"
  1600. dnc=false
  1601.  
  1602. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  1603. anim='Jumping'
  1604. dnc=false
  1605.  
  1606. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  1607. anim='Falling'
  1608. dnc=false
  1609.  
  1610. end
  1611. end
  1612.  
  1613. if otheranims and crawling then
  1614. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then
  1615. anim="IdleCrawl"
  1616. 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
  1617. anim="Crawling"
  1618. idled=false
  1619. 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
  1620. anim="SpeedCrawling"
  1621. idled=false
  1622. end end
  1623.  
  1624. if anim~=lastanim then runtime=0 syne=0 end
  1625. lastanim=anim
  1626. idlesineinc=35
  1627. if anim=="Idling" then
  1628. if not armmovement and not equipped then
  1629. 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)
  1630. 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)
  1631. elseif not armmovement and equipped then
  1632. 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)
  1633. 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)
  1634. end
  1635. 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)
  1636. 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)
  1637. 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)
  1638. 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)
  1639. end
  1640.  
  1641. if anim=="Walking" then
  1642. if not armmovement and not equipped then
  1643. 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)
  1644. 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)
  1645. elseif not armmovement and equipped then
  1646. 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)
  1647. 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)
  1648. end
  1649.  
  1650. 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)
  1651. 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)
  1652. 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)
  1653. 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)
  1654. end
  1655.  
  1656. if anim=="Sprinting" then
  1657. if not armmovement and not equipped then
  1658. 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)
  1659. 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)
  1660. elseif not armmovement and equipped then
  1661. 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)
  1662. 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)
  1663. end
  1664. 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)
  1665. 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)
  1666. 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)
  1667. 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)
  1668. end
  1669.  
  1670. if anim=="Jumping" then
  1671. if not armmovement then
  1672. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1673. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1674. end
  1675. 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)
  1676. 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)
  1677. 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)
  1678. 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)
  1679. end
  1680.  
  1681. if anim=="Falling" then
  1682. if not armmovement then
  1683. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  1684. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  1685. end
  1686. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  1687. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  1688. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
  1689. 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)
  1690. end
  1691.  
  1692. if anim=="Sliding" then
  1693. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
  1694. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1695. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1696. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.95,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.1)
  1697. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(-60),0),.1)
  1698. 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)
  1699. end
  1700.  
  1701.  
  1702. if armmovement then
  1703. if armanim=="RightSwing1" then
  1704. 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)
  1705. 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)
  1706. end
  1707. if armanim=="RightSwing2" then
  1708. 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)
  1709. 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)
  1710. end
  1711. if armanim=="LeftSwing1" then
  1712. 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)
  1713. 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)
  1714. end
  1715. if armanim=="LeftSwing2" then
  1716. 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)
  1717. 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)
  1718. end
  1719. if armanim=="Digging" then
  1720. 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)
  1721. 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)
  1722. end
  1723. end
  1724.  
  1725. if jumpcharge and jumpheight<150 then jumpheight=jumpheight+3 elseif not jumpcharge then jumpheight=20 end
  1726.  
  1727. if anim=="PreSuperJump" then
  1728. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.06)
  1729. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.06)
  1730. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,.3)*CFrame.Angles(math.rad(-40),0,math.rad(-2.5)),.06)
  1731. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.6,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.06)
  1732. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.06)
  1733. 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)
  1734. end
  1735.  
  1736. if anim=="SuperJump" then
  1737. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1)
  1738. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1)
  1739. 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)
  1740. 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)
  1741. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1)
  1742. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  1743. chr.Humanoid.Jump=true
  1744. end
  1745.  
  1746. if anim=="Crouching" then
  1747. if not armmovement then
  1748. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.4, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(-15)), 0.075)
  1749. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(15)), 0.075)
  1750. end
  1751. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -.55, -1) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.075)
  1752. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.65, -1.275) * CFrame.Angles(math.rad(60), 0, math.rad(-0)), 0.075)
  1753. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(5),0,0),.05)
  1754. 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)
  1755. end
  1756.  
  1757. if anim=="PreCrawl" then
  1758. if not armmovement then
  1759. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.45, .75, -.15)* CFrame.Angles(math.rad(140), 0, math.rad(-25)), 0.15)
  1760. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.45, .75, -.15) * CFrame.Angles(math.rad(140), 0, math.rad(25)), 0.15)
  1761. end
  1762. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.15)
  1763. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(-0)), 0.15)
  1764. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,.25)*CFrame.Angles(math.rad(72.5),0,0),.15)
  1765. 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)
  1766. end
  1767.  
  1768. if crawling then
  1769.  
  1770.  
  1771.  
  1772. if anim=='Crawling' then
  1773. chr.Humanoid.WalkSpeed=CrawlSpeed-math.cos(syne/5)*5
  1774. if not armmovement then
  1775. 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)
  1776. 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)
  1777. end
  1778. 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)
  1779. 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)
  1780. 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)
  1781. 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)
  1782. end
  1783.  
  1784. if anim=='SpeedCrawling' then
  1785. if not armmovement then
  1786. 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)
  1787. 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)
  1788. end
  1789. 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)
  1790. 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)
  1791. 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)
  1792. 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)
  1793. end
  1794. end
  1795.  
  1796. if crouching then chr.Humanoid.WalkSpeed=0 end
  1797.  
  1798. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  1799.  
  1800. if runnin and not disabled and not otheranims and not sitting then
  1801. chr.Humanoid.WalkSpeed=RunSpeed
  1802. elseif not runnin and not disabled and not otheranims and not sitting then
  1803. chr.Humanoid.WalkSpeed=WlkSpeed
  1804. elseif not runnin and not disabled and otheranims and crawling and not crawldash and not sitting then
  1805. chr.Humanoid.WalkSpeed=CrawlSpeed
  1806. elseif not runnin and not disabled and otheranims and crawling and crawldash and not sitting then
  1807. chr.Humanoid.WalkSpeed=CrawlDashSpeed
  1808. end
  1809. end)
  1810.  
  1811. local hp=Instance.new("HopperBin",plr.Backpack)
  1812. hp.Name="Neko Neko Knuckles"
  1813. hp.Selected:connect(function()
  1814. equipped=true
  1815. end)
  1816. hp.Deselected:connect(function()
  1817. equipped=false
  1818. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement