Advertisement
Guest User

Untitled

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