Advertisement
lafur

Untitled

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