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