View difference between Paste ID: tChUaAKK and a4mecBb2
SHOW: | | - or go back to the newest paste.
1
    
2
         
3
        local ran,err = ypcall(function()
4
        plr = game:service'Players'.LocalPlayer
5
        char = plr.Character
6
        mouse = plr:GetMouse()
7
        humanoid = char:findFirstChild("Humanoid")
8
        torso = char:findFirstChild("Torso")
9
        head = char.Head
10
        ra = char:findFirstChild("Right Arm")
11
        la = char:findFirstChild("Left Arm")
12
        rl = char:findFirstChild("Right Leg")
13
        ll = char:findFirstChild("Left Leg")
14
        rs = torso:findFirstChild("Right Shoulder")
15
        ls = torso:findFirstChild("Left Shoulder")
16
        rh = torso:findFirstChild("Right Hip")
17
        lh = torso:findFirstChild("Left Hip")
18
        neck = torso:findFirstChild("Neck")
19
        rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
20
        anim = char:findFirstChild("Animate")
21
        rootpart = char:findFirstChild("HumanoidRootPart")
22
        camera = workspace.CurrentCamera
23
        do --Removing ROBLOX's new Looped bug >_>
24
            local function rec(x)
25
                for i,v in pairs(x:children()) do
26
                    if v:IsA'Animation' then
27
                        v.AnimationId = 'rbxassetid://28159255'
28
                    end
29
                    rec(v)
30
                end
31
            end
32
            rec(anim) --the Animate script
33
        end
34
35
        humanoid.Jump = true
36
37
        wait(.4)
38
39
40
        if anim then
41
        anim:Destroy()
42
        end
43
         
44
         
45
        rj.C0 = CFrame.new()
46
        rj.C1 = CFrame.new()
47
         
48
49
         
50
        Instance.new("HumanoidController", game:service'ControllerService')
51
        Instance.new("SkateboardController", game:service'ControllerService')
52
        Instance.new("VehicleController", game:service'ControllerService')
53
         
54
         
55
         
56
         
57
        --minimize
58
        rh.Parent = nil
59
        lh.Parent = nil
60
        rs.Parent = nil
61
        ls.Parent = nil
62
        neck.Parent = nil
63
        rj.Parent = nil
64
         
65
         
66
        rl.FormFactor = "Custom"
67
        ll.FormFactor = "Custom"
68
        ra.FormFactor = "Custom"
69
        la.FormFactor = "Custom"
70
        torso.FormFactor = "Custom"
71
        head.FormFactor = "Custom"
72
        rootpart.FormFactor = "Custom"
73
         
74
         
75
         
76
         
77-
        rootpart.Size = Vector3.new(.4, .4, .2)
77+
        rootpart.Size = Vector3.new(.50, .50, .50)
78-
        rl.Size = Vector3.new(.2, .4, .2)
78+
        rl.Size = Vector3.new(.50, .50, .50)
79-
        ll.Size = Vector3.new(.2, .4, .2)
79+
        ll.Size = Vector3.new(.50, .50, .50)
80-
        ra.Size = Vector3.new(.2, .4, .2)
80+
        ra.Size = Vector3.new(.50, .50, .50)
81-
        la.Size = Vector3.new(.2, .4, .2)
81+
        la.Size = Vector3.new(.50, .50, .50)
82-
        torso.Size = Vector3.new(.4, .4, .2)
82+
        torso.Size = Vector3.new(.50, .50, .50)
83-
        head.Size = Vector3.new(.4, .2, .2)
83+
        head.Size = Vector3.new(.50, .50, .50)
84
         
85
        rh.Parent = torso
86
        lh.Parent = torso
87
        rs.Parent = torso
88
        ls.Parent = torso
89
        neck.Parent = torso
90
        rj.Parent = rootpart
91
         
92
         
93
        if torso:findFirstChild("roblox") then
94
            local p = Instance.new("Part", char)
95
            p.FormFactor = "Custom"
96
            p.Size = torso.Size
97
            p.Transparency = 1
98
            p:BreakJoints()
99
            local w = Instance.new("Weld", char)
100
            w.Part0 = p
101
            w.Part1 = torso
102
            torso:findFirstChild("roblox").Parent = p
103
        end
104
         
105
         
106
        --[[mesh1 = Instance.new("SpecialMesh", torso)
107
        mesh1.Name = "Mesh"
108
        mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0)
109
        mesh1.MeshId = "rbxasset://fonts/torso.mesh"
110
        mesh2 = Instance.new("SpecialMesh", la)
111
        mesh2.Name = "Mesh"
112
        mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0)
113
        mesh2.MeshId = "rbxasset://fonts/leftarm.mesh"
114
        mesh3 = Instance.new("SpecialMesh", ra)
115
        mesh3.Name = "Mesh"
116
        mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0)
117
        mesh3.MeshId = "rbxasset://fonts/rightarm.mesh"
118
        mesh4 = Instance.new("SpecialMesh", ll)
119
        mesh4.Name = "Mesh"
120
        mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0)
121
        mesh4.MeshId = "rbxasset://fonts/leftleg.mesh"
122
        mesh5 = Instance.new("SpecialMesh", rl)
123
        mesh5.Name = "Mesh"
124
        mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0)
125
        mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"--]]
126
         
127
         
128
        --0.3 = 1.5, 0.1 = 0.5, 0.2 = 1
129
         
130
        ls.C0 = CFrame.new(-.3,.1,0)
131
        ls.C1 = CFrame.new(0,.1,0)
132
        rs.C0 = CFrame.new(.3,.1,0)
133
        rs.C1 = CFrame.new(0,.1,0)
134
        rh.C0 = CFrame.new(.1,-.2,0)
135
        rh.C1 = CFrame.new(0, .2, 0)
136
        lh.C0 = CFrame.new(-.1,-.2,0)
137
        lh.C1 = CFrame.new(0, .2, 0)
138
        neck.C0 = CFrame.new(0,.2,0)
139
        neck.C1 = CFrame.new(0,-.1,0)
140
         
141
        bodyc = char:findFirstChild("Body Colors")
142
        if bodyc then
143
            bodyc:Destroy()
144
        end
145
     
146
        wait(1)
147
         
148
        local body = {}
149
        for i,v in pairs(char:children()) do
150
            if v:IsA'BasePart' then
151
                body[v] = {Color = v.BrickColor}
152
            end
153
        end
154
     
155
        function restorecolors()
156
            for _,bp in pairs(char:children()) do
157
                if bp:IsA("BasePart") then
158
                    bp.BrickColor = body[bp].Color
159
                end
160
            end
161
        end
162
     
163
         
164
        local LightForTorso = Instance.new("PointLight", head)
165
        LightForTorso.Color = torso.BrickColor.Color
166
        LightForTorso.Range = 7
167
        LightForTorso.Brightness = 1.5
168
         
169
         
170
         
171
         
172
        local slidecount = 0
173
        local slidecountmax = 0
174
        local anim = ""
175
        local lastanim = anim
176
        local speed = 0
177
        local looking = false
178
        local dancing = false
179
        local superannoying = false
180
        local barrelroll = false
181
        local dubstepgun = false
182
        local foxie = false
183
        local durka = false
184
        local saxguy = false
185
        local heya = false
186
        local jb = false
187
        local bronymusic = false
188
        local sheddy = false
189
        local burndem = false
190
        local global_wait = 0
191
         
192
        count = 0
193
        countspeed = 1
194
        sine = 0
195
        sinespeed = 1
196
         
197
         
198
         
199
        humanoid.WalkSpeed = 40
200
         
201
         
202
        local controllerService = game:GetService("ControllerService")
203
        local controller = controllerService:GetChildren()[1]
204
         
205
         
206
        local colors = {"White", "Really black"}
207
         
208
        humanoid.Died:connect(function()
209
            for cframe_parts = 0, 100 do
210
                local p = Instance.new("Part")
211
                p.FormFactor = "Custom"
212
                p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
213
                p.Size = Vector3.new(1, 1, 1)
214
                Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
215
                p.Locked = true
216
                p.CanCollide = false
217
                p.Anchored = true
218
                p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
219
                p.Parent = workspace
220
            game:service'Debris':AddItem(p, 5)
221
            coroutine.wrap(function()
222
            while wait() do
223
                if p ~= nil then
224
                    p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
225
                    p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
226
                    p.Transparency = p.Transparency + 0.015
227
                else
228
                    break
229
                end
230
            end
231
        end)()
232
        end
233
        for _,v in pairs(char:children()) do
234
            if v:IsA("Part") then
235
                v:Destroy()
236
            end
237
        end
238
         
239
        end)
240
         
241
         
242
        mouse.KeyDown:connect(function(k)
243
           
244
            if string.byte(k) == 50 then
245
               
246
                if dancing then return end
247
                sitting = not sitting
248
                if sitting then
249
                        local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0))
250
                local hitz,enz = workspace:FindPartOnRay(ray, char)
251
           
252
               
253
                     if hitz then
254
                controller.Parent = nil
255
                humanoid.WalkSpeed = 0
256
                    coroutine.wrap(function()
257
                        while wait() do
258
                            humanoid.PlatformStand = true
259
                            if sitting == false then humanoid.PlatformStand = false break end
260
                        end
261
                    end)()
262
                rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
263
                lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
264
                rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
265
                ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
266
                rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
267
               
268
                      miniweld = Instance.new("Weld", char)
269
                        miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
270
                        miniweld.Part0 = hitz
271
                        miniweld.Part1 = rootpart
272
                    else
273
                        sitting = false
274
                        return
275
                        end
276
            else
277
                if miniweld then
278
                    miniweld:Destroy()
279
                end
280
                controller.Parent = controllerService
281
                humanoid.PlatformStand = false
282
                humanoid.WalkSpeed = 11
283
            end
284
        end
285
         
286-
            
286+
            if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
287
                superannoying = false
288
                barrelroll = false
289
                heya = false
290
                dubstepgun = false
291
                youpirate = false
292
                canttouch = false
293
                gangnam = false
294
                sheddy = false
295
                durka = false
296
                saxguy = false
297
                foxie = false
298
                burndem = false
299
                bronymusic = false
300
                brony_music:stop()
301
                fox_say:stop()
302
                spitfire:stop()
303
                heman:stop()
304
                justin:stop()
305
                jb = false
306
                durk:stop()
307
                        restorecolors()
308
                burn_dem:stop()
309
                if hat then
310
                hat:Destroy()
311
            end
312
            sax_guy:stop()
313
                gangy_style:stop()
314
                cant_touch:stop()
315
                you_are_pirate:stop()
316
                dubstep_gun:stop()
317
                super_annoying:stop()
318
                barrel_roll:stop()
319
                dancing = false
320
                global_wait = 0
321
                LightForTorso.Color = torso.BrickColor.Color
322
            end
323
           
324
        if k == "z" then
325
        if dancing then return end
326
            if not sitting then
327
            dancing = true
328
            superannoying = true
329
            super_annoying:play()
330
            end
331
        end
332
        if k == "k" then
333
            if dancing then return end
334
            if not sitting then
335
                dancing = true
336
                sheddy = true
337
                spitfire:play()
338
            end
339
        end
340
         
341
        if k == "n" then
342
        if dancing then return end
343
            if not sitting then
344
                dancing = true
345
                gangnam = true
346
                gangy_style:play()
347
            end
348
        end
349
         
350
        if k == "r" then
351
            if dancing then return end
352
            if not sitting then
353
                dancing = true
354
                burndem = true
355
                burn_dem:play()
356
            end
357
        end
358
         
359
         
360
        if k == "x" then
361
        if dancing then return end
362
            if not sitting then
363
                dancing = true
364
            barrelroll = true
365
            barrel_roll:play()
366
            hat = Instance.new("Part", char)
367
            hat.FormFactor = "Custom"
368
            hat.CanCollide = false
369
            hat.Size = torso.Size
370
            hat.Locked = true
371
            hat:breakJoints()
372
            local hatmesh = Instance.new("SpecialMesh", hat)
373
            hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142"
374
            hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063"
375
            hatmesh.Scale = Vector3.new(.22, .2, .22)
376
            local hatweld = Instance.new("Weld", hat)
377
            hatweld.Part0 = hat
378
            hatweld.Part1 = torso
379
        end
380
        end
381
        if k == "h" then
382
              if dancing then return end
383
            if not sitting then
384
                dancing = true
385
                heman:play()
386
                heya = true
387
            hat = Instance.new("Part", char)
388
            hat.FormFactor = "Custom"
389
            hat.CanCollide = false
390
            hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01)
391
            hat.Locked = true
392
            hat.BrickColor = BrickColor.new("Hot pink")
393
            hat:breakJoints()
394
            local hatweld = Instance.new("Weld", hat)
395
            hatweld.Part0 = hat
396
            hatweld.Part1 = torso
397
        end
398
        end
399
        if k == "j" then
400
            if dancing then return end
401
            if not sitting then
402
                dancing = true
403
                justin:play()
404
                jb = true
405
            hat = Instance.new("Part", char)
406
            hat.FormFactor = "Custom"
407
            hat.CanCollide = false
408
            hat.Size = head.Size
409
            hat.Locked = true
410
            hat.BrickColor = BrickColor.new("Hot pink")
411
            hat:breakJoints()
412
                local hatmesh = Instance.new("SpecialMesh", hat)
413
            hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424"
414
            hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982"
415
            hatmesh.Scale = Vector3.new(.23, .23, .23)
416
            local hatweld = Instance.new("Weld", hat)
417
            hatweld.Part0 = hat
418
            hatweld.Part1 = head
419
            hatweld.C0 = CFrame.new(0.025, -0.05, 0)
420
        end
421
        end
422
        if k == "c" then
423
        if dancing then return end
424
            if not sitting then
425
                dancing = true
426
                dubstepgun = true
427
                dubstep_gun:play()
428
            end
429
        end
430
        if k == "v" then
431
        if dancing then return end
432
                if not sitting then
433
        dancing = true
434
        youpirate = true
435
        you_are_pirate:play()
436
            hat = Instance.new("Part", char)
437
            hat.FormFactor = "Custom"
438
            hat.CanCollide = false
439
            hat.Size = head.Size
440
            hat.Locked = true
441
            hat:breakJoints()
442
            local hatmesh = Instance.new("SpecialMesh", hat)
443
            hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848"
444
            hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847"
445
            hatmesh.Scale = Vector3.new(.2, .2, .2)
446
            local hatweld = Instance.new("Weld", hat)
447
            hatweld.Part0 = hat
448
            hatweld.Part1 = head
449
            hatweld.C0 = CFrame.new(0, -0.15, 0)
450
        end
451
        end
452
        if k == "m" then
453
        if dancing then return end
454
            if not sitting then
455
            dancing = true
456
            canttouch = true
457
            cant_touch:play()
458
        end
459
        end
460
        if k == "b" then
461
            if dancing then return end
462
            if not sitting then
463
                dancing = true
464
                bronymusic = true
465
                brony_music:play()
466
                for _,bp in pairs(char:children()) do
467
                    if bp:IsA("BasePart") then
468
                        bp.BrickColor = BrickColor.new("Lavender")
469
                    end
470
            end
471
            hat = Instance.new("Part", char)
472
            hat.FormFactor = "Custom"
473
            hat.CanCollide = false
474
            hat.Size = head.Size
475
            hat.Locked = true
476
            hat.BrickColor = BrickColor.new("Lavender")
477
            hat:breakJoints()
478
            local hatmesh = Instance.new("SpecialMesh", hat)
479
            hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643"
480
            hatmesh.Scale = Vector3.new(.1, .2, .1)
481
            local hatweld = Instance.new("Weld", hat)
482
            hatweld.Part0 = hat
483
            hatweld.Part1 = head
484
            hatweld.C0 = CFrame.new(0, -0.1, 0.05)
485
            end
486
        end
487
         
488
        if k == "l" then
489
        if dancing then return end
490
        if not sitting then
491
            dancing = true
492
            foxie = true
493
            fox_say:play()
494
            hat = Instance.new("Part", char)
495
            hat.FormFactor = "Custom"
496
            hat.CanCollide = false
497
            hat.Size = head.Size
498
            hat.Locked = true
499
            hat:breakJoints()
500
            local hatmesh = Instance.new("SpecialMesh", hat)
501
            hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225"
502
            hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210"
503
            hatmesh.Scale = Vector3.new(.2, .2, .2)
504
            local hatweld = Instance.new("Weld", hat)
505
            hatweld.Part0 = hat
506
            hatweld.Part1 = head
507
            hatweld.C0 = CFrame.new(0, -0.1, 0)
508
            end
509
           
510
        end
511
        if k == "f" then
512
        if dancing then return end
513
            if not sitting then
514
            dancing = true
515
            durka = true
516
            durk:play()
517
        end
518
        end
519
        if k == "g" then
520
            if dancing then return end
521
            if not sitting then
522
                dancing = true
523
                saxguy = true
524
                sax_guy:play()
525
                    hat = Instance.new("Part", char)
526
            hat.FormFactor = "Custom"
527
            hat.CanCollide = false
528
            hat.Size = head.Size
529
            hat.Locked = true
530
            hat:breakJoints()
531
            local hatmesh = Instance.new("SpecialMesh", hat)
532
            hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178"
533
            hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320"
534
            hatmesh.Scale = Vector3.new(.25, .25, .25)
535
            local hatweld = Instance.new("Weld", hat)
536
            hatweld.Part0 = hat
537
            hatweld.Part1 = la
538
            hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
539
            end
540
        end
541
         
542
           
543
         
544
         
545
            if k == "q" then
546
                if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
547
                if sitting then return end
548
                looking = true
549
                rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4)
550
            end
551
            if k == "e" then
552
                if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
553
                if sitting then return end
554
                        looking = true
555
                rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4)
556
            end
557
            if k == "t" then
558
                if dancing then return end
559
                if sitting then return end
560
                dancing = true
561
                aj:play()
562
            end
563
            if string.byte(k) == 48 or string.byte(k) == 47 then
564
                        if sitting then return end
565
                humanoid.WalkSpeed = 18
566
            end
567
            if string.byte(k) == 52 then
568
                if sitting then return end
569
                humanoid.WalkSpeed = 6
570
                end
571
        end)
572
         
573
        mouse.KeyUp:connect(function(k)
574
            if string.byte(k) == 48 or string.byte(k) == 47 then
575
                if sitting then return end
576
                humanoid.WalkSpeed = 11
577
            end
578
            if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
579
                superannoying = false
580
                barrelroll = false
581
                heya = false
582
                dubstepgun = false
583
                youpirate = false
584
                canttouch = false
585
                gangnam = false
586
                sheddy = false
587
                durka = false
588
                saxguy = false
589
                foxie = false
590
                burndem = false
591
                bronymusic = false
592
                aj:stop()
593
                brony_music:stop()
594
                fox_say:stop()
595
                spitfire:stop()
596
                heman:stop()
597
                justin:stop()
598
                jb = false
599
                durk:stop()
600
                        restorecolors()
601
                burn_dem:stop()
602
                if hat then
603
                hat:Destroy()
604
            end
605
            sax_guy:stop()
606
                gangy_style:stop()
607
                cant_touch:stop()
608
                you_are_pirate:stop()
609
                dubstep_gun:stop()
610
                super_annoying:stop()
611
                barrel_roll:stop()
612
                dancing = false
613
                global_wait = 0
614
                LightForTorso.Color = torso.BrickColor.Color
615
            end
616
           
617
           
618
                if k == "q" then
619
                    if looking then
620
                if sitting then return end
621
                rj.C0 = CFrame.new()
622
                looking = false
623
                end
624
            end
625
           
626
                if k == "e" then
627
                    if looking then
628
                if sitting then return end
629
                rj.C0 = CFrame.new()
630
                        looking = false
631
                end
632
            end
633
        end)
634
         
635
         
636
        game:service'RunService'.Stepped:connect(function()
637
            count = (count % 100) + countspeed
638
            angle = math.pi * math.sin(math.pi*2/100*count)
639
         
640
            if slidecount < slidecountmax then
641
            slidecount = slidecount + speed
642
            end
643
            if slidecount > slidecountmax then
644
            slidecount = slidecount - speed
645
            end  
646
        if global_wait == 380 then global_wait = 0 end
647
         
648
        sine = sine + sinespeed
649
        if not dancing then
650
                if not sitting then
651
                    local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0))
652
            local hitz, enz = workspace:FindPartOnRay(ray, char)
653
                if not hitz then
654
                        ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0)
655
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0)
656
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.28, 0, 0)
657
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0)
658
            if not looking then
659
            rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
660
            end
661
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
662
        elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
663
           
664
        -- idle anim
665
         
666
        anim = "Idle"
667
        if anim ~= lastanim then
668
            if lastanim == "Walking" then
669
                speed = 0.5
670
                slidecount = 1
671
                slidecountmax = 0
672
            elseif lastanim == "Running" then
673
                speed = 2.5
674
                slidecount = 5
675
                slidecountmax = 0
676
            else
677
        slidecount = 0
678
        slidecountmax = 0
679
        end
680
        end
681
        countspeed = 1
682
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.02, 0, 0)
683
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0)
684
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.01, 0, 0)
685
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0)
686
            if not looking then
687
            rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
688
            end
689
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
690
        elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then
691
            looking = false
692
        -- walk anim
693
        anim = "Walking"
694
        if anim ~= lastanim then
695
        speed = 0.2
696
        slidecount = 0
697
        slidecountmax = 1
698
            if lastanim == "Running" then
699
                slidecount = 5
700
                end
701
        end
702
        countspeed = 6
703
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02))
704
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02))
705
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01))
706
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01))
707
            rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
708
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
709
        elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then
710
            --run anim
711
            anim = "Running"
712
        if anim ~= lastanim then
713
        speed = 1
714
        slidecount = 0
715
        slidecountmax = 5
716
            if lastanim == "Walking" then
717
                slidecount = 1
718
            end
719
        end
720
         
721
        looking = false
722
        countspeed = 9
723
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07))
724
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07))
725
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03))
726
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03))
727
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
728
            rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0)
729
        end
730
         
731
        lastanim = anim
732
        else
733
        countspeed = 1
734
                    local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0))
735
            local hitz, enz = workspace:FindPartOnRay(ray, char)
736
                if not hitz then
737
                rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0)
738
                lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16)
739
                rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16)
740
                ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10)
741
                rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10)
742
                else
743
                rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
744
                lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
745
                rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
746
                ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
747
                rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
748
            end
749
           
750
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0)
751
        end
752
        else
753
        if superannoying then
754
        countspeed = 5
755
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
756
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
757
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
758
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
759
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
760
            rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
761
        elseif barrelroll then
762
            countspeed = 5
763
            sinespeed = 0.1
764
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.07))
765
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.07))
766
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(0, 0, -math.abs(angle*0.03))
767
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03))
768
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
769
            rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0)
770
        elseif dubstepgun then
771
        global_wait = (global_wait % 380) + 1
772
            countspeed = 5
773
            if global_wait < 249 - 40 then
774
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.27))
775
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27))
776
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
777
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
778
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
779
            rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
780
        elseif global_wait > 249 - 40 then
781
                ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.4, 0, math.abs(angle*0.11))
782
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
783
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.09))
784
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09))
785
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
786
            rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0)
787
            end
788
        elseif youpirate then
789
        global_wait = (global_wait % 380) + 1
790
            countspeed = 5
791
            if global_wait < 79 then
792
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
793
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
794
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
795
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
796
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
797
            rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
798
        elseif global_wait < 299 then
799
                ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.11))
800
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
801
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.2, 0, -math.abs(angle*0.1))
802
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.2, 0, math.abs(angle*0.1))
803
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), math.sin(angle*0.19), 0)
804
            rj.C0 = CFrame.new(0, math.abs(-angle*.055+0.2), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
805
        elseif global_wait > 299 then
806
                ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
807
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
808
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
809
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
810
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
811
            rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
812
            end
813
        elseif canttouch then
814
            countspeed = 5
815
        global_wait = (global_wait % 160) + 1
816
        if global_wait == 160 then global_wait = 0 end
817
            if global_wait < 39 then
818
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
819
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
820
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
821
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
822
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
823
            rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, -math.pi/6, 0)
824
        elseif global_wait < 79 then
825
             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
826
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
827
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
828
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
829
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
830
            rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, math.pi/6, 0)
831
        elseif global_wait < 119 then
832
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(0.01, 0, 0.17)
833
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
834
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
835
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
836
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
837
            rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
838
            torso.CFrame = torso.CFrame * CFrame.new(0.05, 0, 0)
839
        elseif global_wait > 119 then
840
                ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(0.01, 0, 0.17)
841
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
842
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
843
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
844
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
845
            rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
846
            torso.CFrame = torso.CFrame * CFrame.new(-0.05, 0, 0)
847
        end
848
        elseif gangnam then
849
        countspeed = 5
850
        if global_wait == 180 then global_wait = 0 end
851
        global_wait = (global_wait % 180) + 1
852
        if global_wait < 89 then
853
            ls.C0 = CFrame.new(-.2,.1,-.1)  * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
854
            rs.C0 = CFrame.new(.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, -math.pi/3 + -math.abs(angle*0.05))
855
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
856
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
857
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
858
            rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
859
            elseif global_wait > 89 then
860
            ls.C0 = CFrame.new(-.2,.1,-.1)  * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
861
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.sin(angle*0.1), 0, -math.sin(angle*0.1))
862
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
863
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
864
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
865
            rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
866
        end
867
        elseif foxie then
868
        countspeed = 5
869
        global_wait = (global_wait % 380) + 2
870
        if global_wait < 89 then
871
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2))
872
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, math.abs(angle*0.2))
873
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
874
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
875
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
876
            rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.rad(global_wait*4), 0)
877
            elseif global_wait > 89 then
878
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05))
879
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05))
880
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
881
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
882
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, math.sin(angle*0.1))
883
            rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
884
        end
885
        elseif durka then
886
        countspeed = 2
887
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07))
888
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.07))
889
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03))
890
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 0, math.abs(angle*0.03))
891
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
892
            rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
893
        elseif saxguy then
894
            countspeed = 5
895
            ls.C0 = CFrame.new(-.25,.1,-.1)  * CFrame.Angles(math.pi/2.5, 0, math.pi/4)
896
            rs.C0 = CFrame.new(.25,.1,-.1) * CFrame.Angles(math.rad(60), 0, -math.pi/4)
897
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-math.abs(angle*0.1), 0, -0.06)
898
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06)
899
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(0, 0, 0)
900
            rj.C0 = CFrame.new(0, -math.abs(angle*0.01), math.abs(angle*0.01)) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
901
        elseif heya then
902
             countspeed = 5
903
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + -angle*0.2, -angle*0.1, 0)
904
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, angle*0.1, 0)
905
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
906
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
907
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
908
            rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.sin(angle*0.07), 0)
909
        elseif jb then
910
                 countspeed = 5
911
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0)
912
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0)
913
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
914
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
915
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
916
            rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
917
        elseif bronymusic then
918
                     countspeed = 5
919
            ls.C0 = CFrame.new(-.1,.1,-.15)  * CFrame.Angles(math.pi/2 + -angle*0.1, -angle*0.1, 0)
920
            rs.C0 = CFrame.new(.1,.1,-.15) * CFrame.Angles(math.pi/2 + angle*0.1, angle*0.1, 0)
921
            lh.C0 = CFrame.new(-.1,-.25,0)  * CFrame.Angles(math.pi/2 + angle*0.1, 0, 0)
922
            rh.C0 = CFrame.new(.1,-.25,0) * CFrame.Angles(math.pi/2 + -angle*0.1, 0, 0)
923
            neck.C0 = CFrame.new(0,.25,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.25), 0, 0)
924
            rj.C0 = CFrame.new(0, -0.2 + math.abs(angle*0.05), 0) * CFrame.Angles(-math.rad(85), 0, 0)
925
        elseif sheddy then
926
            countspeed = 7
927
                ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
928
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
929
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
930
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
931
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
932
            rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
933
        elseif burndem then
934
            countspeed = 4
935
             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
936
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
937
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
938
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
939
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
940
            rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
941
        elseif aj.IsPlaying then
942
            countspeed = 5
943
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/4 + -(angle)*0.4, -angle*0.1, 0)
944
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + (angle)*0.4, -angle*0.1, 0)
945
            lh.C0 = CFrame.new(-.1,-.2 - math.cos(count*.025)*.02,0)  * CFrame.Angles(angle*0.05, 0, -0.06)
946
            rh.C0 = CFrame.new(.1,-.2+math.cos(count*.025)*.02,0) * CFrame.Angles(-angle*0.05, 0, 0.06)
947
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
948
            rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.cos(angle*0.1), 0)
949
        end
950
        end
951
        end)
952
         
953
         
954
        plr.Chatted:connect(function(msg)
955
            game:service'Chat':Chat(head, msg, 1)
956
            if msg == "die/" then
957
                char:breakJoints()
958
            end
959
        end)
960
         
961
        end)
962
        if not ran and err then
963
            print(err)
964
        end