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