View difference between Paste ID: RqQE9aXA and QbB6j1MG
SHOW: | | - or go back to the newest paste.
1
wait(0)
2
Player = game.Players.LocalPlayer
3
4
local count = 0
5
local countspeed = 1
6
local sine = 0
7
local sinespeed = 1
8
local angle = nil
9
local global_wait = 0
10
local showtag = false
11
12
13
--dance booleans--
14
local jerk = false
15
local party = false
16
local canttouch = false
17
local happy = false
18
local spin = false
19
local thriller = false
20
local barrel = false
21
local sax = false
22
local spooky = false
23
local stride = false
24
local shuffle = false
25
local rock = false
26
local gagnam = false
27
local snoop = false
28
local darude = false
29
local taco = false
30
------------------
31
--dance accessory--
32
local barrelbrick = nil
33
local saxtool = nil
34
-------------------
35
--custom animate--
36
local walk = false
37
local jump = false
38
local sit = false
39
local run = false
40
------------------
41
--walk keys--
42
local W = false
43
local A = false
44
local S = false
45
local D = false
46
-------------
47
local m = Instance.new("Model",game.Players.LocalPlayer.Character) m.Name = "ModelParts"
48
local miniweld = nil
49
local rootpart = nil
50
51
local Mouse = nil
52
local Animate = nil
53
local Music = nil
54
local Asset = "http://www.roblox.com/asset/?id="
55
local Animating = nil
56
local humanoid = nil
57
local face = nil 
58
59
local head = nil
60
local torso = nil
61
local ra = nil
62
local la = nil
63
local rl = nil
64
local ll = nil
65
local rs = nil
66
local ls = nil
67
local rh = nil
68
local lh = nil
69
local neck = nil
70
local rj = nil
71
72
local char = nil
73
local Hat1 = nil
74
local Hat2 = nil
75
local a,b = nil
76
77
----------musics-----------------
78
local M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16 = nil
79
---------------------------------
80
81
local mesh,meshids,textureids,w
82
83
function fm(parent,meshid,x,y,z,meshtexture)
84
if meshid == "cylinder" then
85
	mesh = Instance.new("CylinderMesh",parent)
86
	mesh.Scale = Vector3.new(x,y,z)
87
	return mesh
88
else
89
	mesh = Instance.new("SpecialMesh",parent)
90
	if meshid ~= "sphere" then
91
		if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
92
			mesh.MeshId = "rbxassetid://"..meshids[meshid]
93
		end
94
	else mesh.MeshType = 3 end
95
	mesh.Scale = Vector3.new(x,y,z)
96
	if meshtexture ~= nil then
97
		if type(meshtexture) == "number" then 
98
			mesh.TextureId = "rbxassetid://"..meshtexture 
99
		else
100
			mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
101
		end
102
	return mesh
103
	end
104
end
105
106
function P(x,y,z,color,transparency,cancollide,anchored,parent,typee)
107
if typee ~= nil then
108
	c = Instance.new("WedgePart",m)
109
else
110
	c = Instance.new("Part",m)
111
end
112
c.TopSurface,c.BottomSurface = 0,0
113
c.Locked = true
114
c.formFactor = "Custom"
115
c.Size = Vector3.new(x,y,z)
116
if color ~= "random" then
117
	c.BrickColor = BrickColor.new(color)
118
else 
119
	c.BrickColor = BrickColor:random() 
120
end
121
c.Transparency = transparency
122
c.CanCollide = cancollide
123
if anchored ~= nil then 
124
	c.Anchored = anchored 
125
end
126
if parent ~= nil then 
127
	c.Parent = parent 
128
end
129
return c
130
end
131
132
function We(part0,part1,x,y,z,rx,ry,rz,parent)
133
w = Instance.new("Motor",m)
134
if parent ~= nil then w.Parent = parent end
135
	w.Part0,w.Part1 = part0,part1
136
	w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz)
137
	return w
138
end
139
140
function SetAnimation(id,humanoid)
141
	if Animating ~= nil then
142
		Animating:Stop()
143
	end
144
	Animate.AnimationId = Asset .. id
145
	Animating = humanoid:LoadAnimation(Animate)
146
	Animating:Play()
147
end
148
149
function AnimationStop()
150
		jerk = false
151
		party = false
152
		canttouch = false
153
		happy = false
154
		spin = false
155
		thriller = false
156
		barrel = false
157
		sax = false
158
		spooky = false
159
		stride = false
160
		shuffle = false
161
		rock = false
162
		gagnam = false
163
		snoop = false
164
		darude = false
165
		taco = false
166
		if barrelbrick ~= nil then
167
			barrelbrick:Remove()
168
			barrelbrick = nil
169
		end
170
		if saxtool ~= nil then
171
			saxtool:Remove()
172
			saxtool = nil
173
		end
174
		if sandstorm ~= nil then
175
			sandstorm:Remove()
176
			sandstorm = nil
177
		end
178
end
179
180
local Musical
181
function SetMusic(id,volume)
182
	Musical = Instance.new("Sound",char.Head)
183
	if volume == nil then
184
		Musical.Volume = 1
185
	else
186
		Musical.Volume = volume
187
	end
188
	Musical.Looped = true
189
	Musical.SoundId = Asset .. id
190
	return Musical
191
end
192
193
function GenerateGui()
194
	a=Instance.new("ScreenGui")
195
	a.Name = "Memer"
196
	b=Instance.new("ImageLabel",a)
197
	b.BackgroundTransparency = 1
198
	b.Size = UDim2.new(0,250,0,100)
199
	b.Position = UDim2.new(0,0,1,0)
200
	b.Image = Asset .. "http://www.roblox.com/asset/?id=534247804"
201
	b.Name = "Logo"
202
	c=Instance.new("Sound",a)
203
	c.Name = "Intro"
204
	c.Volume = 1
205
	c.SoundId = Asset .. "rbxassetid://533871935"
206
	c.Looped = false
207
	return a
208
end
209
210
function Generate(player)
211
char = player.Character
212
Hat1 = P(1,1,1,'Bright violet ',0,false,false)
213
Hat2 = P(1,1,1,'Bright violet ',0,false,false)
214
wait()
215
a=fm(Hat1,0,1,1,1,1577349) a.VertexColor = Vector3.new(1,1,1)
216
b=fm(Hat2,0,1,1,1,18987684) b.VertexColor = Vector3.new(1,1,1)
217
wait()
218
if char:FindFirstChild("Head") then
219
	We(Hat1,char.Head,0,0.25,-0.135,0,0,0)
220
	We(Hat2,char.Head,0,0.8,0,0,0,0)
221
	if char.Head:FindFirstChild("face") ~= nil then
222
		face = char.Head:FindFirstChild("face")
223
		face.Texture = "rbxasset://textures/face.png"
224
	end
225
	c=char.Head:clone()
226
	c.Name = "FalseHead"
227
	c.CanCollide = false
228
	c.Parent = char
229
	We(c,char.Head,0,0,0,0,0,0)
230
	char.Head.Transparency = 1
231
	for i,v in pairs(char:GetChildren()) do
232
		if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then
233
			v:Remove()
234
		end
235
		if v.ClassName == "BodyColors" then
236
			v.HeadColor = BrickColor.new("Bright yellow")
237
			v.LeftArmColor = BrickColor.new("Bright yellow")
238
			v.LeftLegColor = BrickColor.new("Br. yellowish green")
239
			v.RightArmColor = BrickColor.new("Bright yellow")
240
			v.RightLegColor = BrickColor.new("Br. yellowish green")
241
			v.TorsoColor = BrickColor.new("Bright Blue")
242
		end
243
		if v.ClassName == "Part" then
244
			if v.Name == "Head" or v.Name == "FalseHead" then
245
				v.BrickColor = BrickColor.new("Bright yellow")
246
				else
247
				v.BrickColor = BrickColor.new("Bright yellow")
248
			end
249
		end
250
	end
251
----------musics---------------
252
	M1=SetMusic(142524640)
253
        M1.Volume = 50
254-
	M2=SetMusic(663760008)
254+
	M2=SetMusic(579304560)
255
        M2.Volume = 50
256
	M3=SetMusic(148047526)
257
        M3.Volume = 50
258-
	M4=SetMusic(518673637)
258+
	M4=SetMusic(682750783)
259
        M4.Volume = 50
260
	M5=SetMusic(194380361)
261
        M5.Volume = 50
262
	M6=SetMusic(540190383)
263
        M6.Volume = 50
264
	M7=SetMusic(253827644)
265
        M7.Volume = 50
266
	M8=SetMusic(534878097)
267
        M8.Volume = 50
268
	M9=SetMusic(178297940)
269
        M9.Volume = 50
270
	M10=SetMusic(241814102)
271
        M10.Volume = 50
272
	M11=SetMusic(533874013)
273
        M11.Volume = 50
274
	M12=SetMusic(316168561)
275
        M12.Volume = 50
276
	M13=SetMusic(142300879)
277
        M13.Volume = 50
278
	M14=SetMusic(684159363)
279
        M14.Volume = 50
280
	M15=SetMusic(787297457)
281
        M15.Volume = 50
282
	M16=SetMusic(597084853)
283
        M16.Volume = 50
284
        boi=SetMusic(597084853)
285
-------------------------------
286
	
287
	if char:FindFirstChild("HumanoidRootPart") ~= nil then
288
		rootpart = char:FindFirstChild("HumanoidRootPart")
289
	end
290
	if showtag == true then
291
		local bbg = Instance.new("BillboardGui",c)
292
		bbg.Adornee = c
293
		bbg.Name = "satuttava"
294
		bbg.Size = UDim2.new(6,0,2,0)
295
		bbg.StudsOffset = Vector3.new(0,2,0)
296
		local box = Instance.new("TextLabel",bbg)
297
		box.Size = UDim2.new(1,0,1,0)
298
		box.BackgroundColor = BrickColor.new("White")
299
		box.TextColor3 = Color3.new(255,0,0)
300
		box.TextStrokeTransparency = 0.5
301
		box.Font = "Arcade"
302
		box.Text = Player.Name
303
		box.BackgroundTransparency = 1
304
		box.Position = UDim2.new(0,0,0,0)
305
		box.TextScaled = true
306
	end
307
	if char:FindFirstChild("Humanoid") ~= nil then
308
		char:FindFirstChild("Humanoid").MaxHealth = (100*100*100*100)*100
309
		wait()
310
		char:FindFirstChild("Humanoid").Health = char:FindFirstChild("Humanoid").MaxHealth
311
		--char:FindFirstChild("Humanoid").Name = game.Players.LocalPlayer.Name
312
		humanoid = char:FindFirstChild("Humanoid")
313
		if humanoid:FindFirstChild("Animator") ~= nil then
314
			humanoid:FindFirstChild("Animator"):Remove()
315
			--Instance.new("Animator",humanoid)
316
		end
317
		if char:FindFirstChild("Animate") ~= nil then
318
			char:FindFirstChild("Animate"):Remove()
319
		end
320
	end
321
	Mouse = player:GetMouse()
322
	Music = Instance.new("Sound",char.Head)
323
	Music.Volume = 1
324
	Music.Looped = true
325
	Music.SoundId = Asset
326
	Animate = Instance.new("Animation",char.Head)
327
	Animate.AnimationId = Asset
328
	
329
	
330
	
331
	head = char:FindFirstChild("Head")
332
	torso = char:FindFirstChild("Torso")
333
	ra = char:findFirstChild("Right Arm")
334
	la = char:findFirstChild("Left Arm")
335
	rl = char:findFirstChild("Right Leg")
336
	ll = char:findFirstChild("Left Leg")
337
	rs = torso:findFirstChild("Right Shoulder")
338
	ls = torso:findFirstChild("Left Shoulder")
339
	rh = torso:findFirstChild("Right Hip")
340
	lh = torso:findFirstChild("Left Hip")
341
	neck = torso:findFirstChild("Neck")
342
	rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
343
	
344
	state = humanoid:GetState()
345
	local ca = nil
346
	ca=GenerateGui()
347
	ca.Parent = player.PlayerGui
348
	if ca:FindFirstChild("Logo") ~= nil then
349
		ca:FindFirstChild("Logo"):TweenPosition(UDim2.new(0, 0, 1, -100), "Out", "Quad", 3, true)
350
		if ca:FindFirstChild("Intro") ~= nil then
351
			ca:FindFirstChild("Intro"):Play()
352
			coroutine.resume(coroutine.create(function() 
353
				for i=0,30 do
354
					ca:FindFirstChild("Intro").Volume = 1/(i/2)
355
					wait(0.5)
356
					if i >= 30 then
357
						break
358
					end
359
				end
360
			end))
361
		end
362
	end
363
364
	if humanoid ~= nil then
365
		humanoid.Changed:connect(function(pro)
366
			if pro == "MoveDirection" or pro == "Jump" then
367
				if Music.IsPlaying == true then
368
					AnimationStop()
369
				end
370
			end
371
		end)
372
		humanoid.Died:connect(function()
373
			AnimationStop()
374
		end)
375
		
376
	Mouse.KeyUp:connect(function(key) 
377
		if key == "w" then
378
			W = false
379
		end
380
		if key == "a" then
381
			A = false
382
		end
383
		if key == "s" then
384
			S = false
385
		end
386
		if key == "d" then
387
			D = false
388
		end
389
		if string.byte(key) == 48 then
390
			run = false
391
		end
392
	end)
393
        end
394
	end)
395
	
396-
			W = true
396+
397
	
398
	Mouse.KeyDown:connect(function(key) 
399
		KeyUsed(key)
400-
			A = true
400+
401
end
402
end
403
end
404-
			S = true
404+
405
function KeyUsed(key)
406
		if humanoid ~= nil then
407
			if humanoid.Health > 0 then
408-
			D = true
408+
409
					jump = true
410
					AnimationStop()
411
					--sit = false
412
				end
413
				if string.byte(key) == 50 then
414
					AnimationStop()
415
					if sit == true then
416
						sit = false
417
					else
418
						sit = true
419
					end
420-
print'fuck you!'
420+
421
				if string.byte(key) == 48 then
422
					run = true
423
				end
424
				if W == false and A == false and S == false and D == false and jump == false and sit == false then
425
					if key == "Q" or key == "q" then
426
						AnimationStop()
427
						canttouch = true
428
						M1:Play()
429
					end
430
					if key == "E" or key == "e" then
431
						AnimationStop()
432
						party = true
433
						M2:Play()
434
					end
435
					if key == "R" or key == "r" then
436
						AnimationStop()
437
						jerk = true
438
						M3:Play()
439
					end
440
					if key == "T" or key == "t" then
441
						AnimationStop()
442
						happy = true
443
						M4:Play()
444
					end
445
					if key == "Y" or key == "y" then
446
						AnimationStop()
447
						spin = true
448
						M5:Play()
449
					end
450
					if key == "U" or key == "u" then
451
						AnimationStop()
452
						thriller = true
453
						M6:Play()
454
					end
455
					if key == "F" or key == "f" then
456
						AnimationStop()
457
						barrel = true
458
						M7:Play()
459
						if barrelbrick == nil and barrel == true then
460
							barrelbrick = P(2,2,1,'Black',0,false,false)
461
							a=fm(barrelbrick,29873142,1.1,0.8,1.1,31082268) a.VertexColor = Vector3.new(1,1,1)
462
							We(barrelbrick,char.Torso,0,-0.2,0,0,0,0)
463
						end
464
					end
465
					if key == "P" or key == "p" then
466
						AnimationStop()
467
						sax = true
468
						M8:Play()
469
						if saxtool == nil and sax == true then
470
							saxtool = P(1,2,2,'Black',0,false,false)
471
							a=fm(saxtool,44410178,1.5,1.5,1.5,44410320) a.VertexColor = Vector3.new(1,1,1)
472
							b=We(saxtool,char:FindFirstChild("Left Arm"),0,-1,0,0,0,0)
473
							b.C1 = CFrame.new(0.5, -0.9, -0.3) * CFrame.Angles(math.pi/1.5, -math.pi/2, -math.pi/8)
474
						end
475
					end
476
					if key == "G" or key == "g" then
477
						AnimationStop()
478
						spooky = true
479
						M9:Play()
480
					end
481
					if key == "H" or key == "h" then
482
						AnimationStop()
483
						stride = true
484
						M10:Play()
485
					end
486
					if key == "J" or key == "j" then
487
						AnimationStop()
488
						shuffle = true
489
						M11:Play()
490
					end
491
					if key == "K" or key == "k" then
492
						AnimationStop()
493
						rock = true
494
						M12:Play()
495
					end
496
					if key == "L" or key == "l" then
497
						AnimationStop()
498
						gagnam = true
499
						M13:Play()
500
					end
501
					if key == "Z" or key == "z" then
502
						AnimationStop()
503
						snoop = true
504
						M14:Play()
505
					end
506
					if key == "X" or key == "x" then
507
						AnimationStop()
508
						darude = true
509
						M15:Play()
510
						if sandstorm == nil and darude == true then
511
							sandstorm = P(1,1,1,'Black',0,false,false)
512
							sandstorm.Transparency = 1
513
							a=Instance.new("Smoke",sandstorm)
514
							a.Color = Color3.new(255/255,255/255,175/255)
515
							a.Size = 0.4
516
							a.RiseVelocity = 3
517
							a.Opacity = 0.75
518
							b=We(sandstorm,char:FindFirstChild("Torso"),0,0,0,0,0,0)
519
							b.C1 = CFrame.new(0, -2, 0)
520
						end
521
					end
522
					if key == "C" or key == "c" then
523
						AnimationStop()
524
						taco = true
525
						M16:Play()
526
		                                boi:Stop()
527
					end
528
				end
529
			end
530
		end
531
end
532
533
Generate(Player)
534
535
game:service'RunService'.Stepped:connect(function()
536
	count = (count % 100) + countspeed
537
	angle = math.pi * math.sin(math.pi*2/100*count)
538
	countspeed = 1
539
	
540
	state = humanoid:GetState()
541
	if state ~= Enum.HumanoidStateType.Freefall then
542
		jump = false
543
	else
544
		jump = true
545
		sit = false
546
		AnimationStop()
547
	end
548
	
549
	local mesh1anan = Instance.new("SpecialMesh")
550
	mesh1anan.MeshType = Enum.MeshType.FileMesh
551
	mesh1anan.Scale = Vector3.new(0.3,0.3,0.3)
552
	mesh1anan.MeshId = "http://www.roblox.com/asset/?id=430210147"
553
	mesh1anan.TextureId = "http://www.roblox.com/asset/?id=430210159"
554
	mesh1anan.Scale = Vector3.new(0.1,0.1,0.1)
555
556
	if taco == true then
557
		if char ~= nil then
558
	        local locationanan = char:GetModelCFrame()
559
	        local tacoa = Instance.new("Part")
560
	        tacoa.CanCollide = false
561
	        tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
562
	        local meshanananan = mesh1anan:clone()
563
	        meshanananan.Parent = tacoa
564
	        tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250)
565
	        tacoa.Parent = workspace
566
	        game:GetService("Debris"):AddItem(tacoa,4)
567
		end
568
	end
569
	
570
	
571
	
572
	
573
	if canttouch == false then	
574
		M1:Stop()
575
	end
576
	if party == false then	
577
		M2:Stop()
578
	end
579
	if jerk == false then	
580
		M3:Stop()
581
	end
582
	if happy == false then	
583
		M4:Stop()
584
	end
585
	if spin == false then	
586
		M5:Stop()
587
	end
588
	if thriller == false then	
589
		M6:Stop()
590
	end
591
	if barrel == false then	
592
		M7:Stop()
593
	end
594
	if sax == false then	
595
		M8:Stop()
596
	end
597
	if spooky == false then	
598
		M9:Stop()
599
	end
600
	if stride == false then	
601
		M10:Stop()
602
	end
603
	if shuffle == false then	
604
		M11:Stop()
605
	end
606
	if rock == false then
607
		M12:Stop()
608
	end
609
	if gagnam == false then
610
		M13:Stop()
611
	end
612
	if snoop == false then
613
		M14:Stop()	
614
	end
615
	if darude == false then
616
		M15:Stop()
617
	end
618
	if taco == false then
619
		M16:Stop()
620
		boi:Stop()
621
	end
622
	
623
	if run == true and sit == false then
624
		humanoid.WalkSpeed = 25
625
	elseif sit == true then
626
		humanoid.WalkSpeed = 0
627
	else
628
		humanoid.WalkSpeed = 16
629
	end
630
	
631
	if global_wait == 380 then global_wait = 0 end
632
	
633
	if (W == false or A == false or S == false or D == false) and jump == false and sit == false then
634
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75)
635
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75)
636
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75)
637
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75)
638
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/75, math.pi, 0)
639
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
640
	end
641
	
642
	
643
	if (W == false or A == false or S == false or D == false) and jump == false and sit == true then
644
		local ray = Ray.new(torso.Position, Vector3.new(0, -3, 0))
645
		local hitz,enz = workspace:FindPartOnRay(ray, char)
646
		if hitz then
647
			if rootpart:FindFirstChild("Weld") == nil then
648
				miniweld = Instance.new("Weld", rootpart)
649
				miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
650
				miniweld.Part0 = hitz
651
				miniweld.Part1 = rootpart
652
				humanoid.PlatformStand = true
653
			end
654
		end
655
	else
656
		if rootpart:FindFirstChild("Weld") ~= nil then
657
			rootpart:FindFirstChild("Weld"):Destroy()
658
			humanoid.PlatformStand = false
659
		end
660
	end
661
	
662
	if (W == false or A == false or S == false or D == false) and jump == false and sit == true then
663
		ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - math.pi/15)
664
		rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + math.pi/15)
665
		lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, math.pi/2 - math.pi/15)
666
		rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, -math.pi/2 + math.pi/15)
667
		neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0)
668
		rj.C0 = CFrame.new(0, -2, 0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0)
669
	end
670
	
671
	if jump == true and sit == false then
672
		countspeed = 2
673
		ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12)
674
		rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12)
675
		lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12)
676
		rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12)
677
		neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
678
		rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0)
679
	end
680
	
681
	if (W == true or A == true or S == true or D == true) and jump == false and sit == false then
682
		if run == true then
683
			countspeed = 4
684
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3)
685
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3)
686
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5)
687
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5)
688
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0)
689
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/40, math.pi, 0)
690
		else
691
			countspeed = 2
692
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4)
693
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4)
694
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6)
695
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6)
696
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
697
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0)
698
		end
699
	end
700
701
	if W == false and A == false and S == false and D == false and jump == false and sit == false then
702
		if jerk == true and jump == false and sit == false then
703
			countspeed = 2
704
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, angle/4)
705
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, -angle/4)
706
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/10, 0, angle/5)-- * CFrame.Angles(angle*0.5, 0, -math.abs(angle*0.15))
707
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/10, 0, angle/5)-- * CFrame.Angles(-angle*0.5, 0, math.abs(angle*0.15))
708
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0)
709
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0)
710
		elseif party == true and jump == false and sit == false then
711
			countspeed = 4
712
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15)
713
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15)
714
			ls.C1 = CFrame.new(0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi  + angle/10, 0, 0 + angle/10)
715
			rs.C1 = CFrame.new(-0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi  + angle/10, 0, 0  + angle/10)
716
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/10, math.pi, 0)
717
			rj.C0 = CFrame.new(0, 0.5 + angle/5, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
718
		elseif canttouch == true and jump == false and sit == false then
719
			countspeed = 2
720
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, math.pi/12 + angle/12)
721
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, -math.pi/12 - angle/12)
722
			lh.C1 = CFrame.new(0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, -math.pi/8)
723
			rh.C1 = CFrame.new(-0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, math.pi/8)
724
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0)
725
			rj.C0 = CFrame.new(angle/4, -0.3 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
726
		elseif happy == true and jump == false and sit == false then
727
			countspeed = 4
728
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, math.pi/8 + angle/8, math.pi/4 + angle/8)
729
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, -math.pi/8 + angle/8, -math.pi/4 + angle/8)
730
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0  + angle/10)
731
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0  + angle/10)
732
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/15, 0 + angle/15)
733
			rj.C0 = CFrame.new(0, 0 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
734
		elseif spin == true and jump == false and sit == false then
735
			global_wait = (global_wait % 360) + 4
736
			countspeed = 4
737
			ls.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 + angle/10, 0 + angle/10)
738
			rs.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 - angle/10, 0 + angle/10)
739
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0  + angle/10)
740
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0  + angle/10)
741
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
742
			rj.C0 = CFrame.new(0 + angle/25, 0, 0 - angle/25) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4))
743
		elseif thriller == true and jump == false and sit == false then
744
			countspeed = 2
745
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 + angle/15)
746
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/15)
747
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 - angle/45, 0, 0 + angle/15)
748
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 + angle/45, 0, 0 + angle/15)
749
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/10, 0)
750
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/50 , math.pi + angle/50, 0 + angle/50)
751
		elseif barrel == true and jump == false and sit == false then
752
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi)
753
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi)
754
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0)
755
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0)
756
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
757
			rj.C0 = CFrame.new(0 + angle, -1.8, 0) * CFrame.Angles(0, math.pi, 0 + angle)
758
		elseif sax == true and jump == false and sit == false then
759
			countspeed = 2
760
			ls.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, math.pi/2 - math.abs(angle/30))
761
			rs.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, -math.pi/2 + math.abs(angle/30))
762
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - math.abs(angle/30))
763
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + math.abs(angle/30))
764
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
765
			rj.C0 = CFrame.new(0, -math.abs(angle*0.05), math.abs(angle*0.025)) * CFrame.Angles(math.pi/2 + math.abs(angle/20), math.pi, 0)
766
		elseif spooky == true and jump == false and sit == false then
767
			countspeed = 3
768
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 - angle/1.5)
769
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/1.5)
770
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/16)
771
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/16)
772
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2  + angle/12, math.pi, 0)
773
			rj.C0 = CFrame.new(0, 0 + angle / 35, 0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
774
		elseif stride == true and jump == false and sit == false then
775
			countspeed = 2.5
776
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, angle/16,math.pi/3.5 + angle/8)
777
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, -angle/16,-math.pi/1.5 + -angle/8)
778
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16)
779
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16)
780
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
781
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2-angle/16, math.pi, 0)
782
		elseif shuffle == true and jump == false and sit == false then
783
			countspeed = 2
784
			ls.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, math.pi/2 + angle/3.5)
785
			rs.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, -math.pi/2 + angle/3.5)
786
			lh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15)
787
			rh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15)
788
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0)
789
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 - angle/35, math.pi - angle/35, 0)
790
		elseif rock == true and jump == false and sit == false then
791
			countspeed = 4
792
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2+angle/2)
793
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2+angle/2)
794
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0+angle/32)
795
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0-angle/32)
796
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
797
			rj.C0 = CFrame.new(0, 0 - angle/50, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
798
		elseif gagnam == true and jump == false and sit == false then
799
			countspeed = 5
800
			ls.C1 = CFrame.new(-0.15,0.75,0) * CFrame.Angles(-math.pi/4, 0, (math.pi/2 + angle/14) - math.pi/20)
801
			rs.C1 = CFrame.new(-0.15,0.75,0) * CFrame.Angles(-math.pi/4, 0, (-math.pi/2 - angle/14) + math.pi/20)
802
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0)
803
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0)
804
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0)
805
			rj.C0 = CFrame.new(0, 0 + angle/40, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
806
		elseif snoop == true and jump == false and sit == false then
807
			countspeed = 2
808
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, math.pi/4 + angle/4)
809
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, -math.pi/4 + angle/4)
810
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4)
811
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4)
812
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - angle/8, math.pi, 0)
813
			rj.C0 = CFrame.new(0, 0 + angle/48, 0) * CFrame.Angles(math.pi/2 + angle/24, math.pi, 0)
814
		elseif darude == true and jump == false and sit == false then
815
			countspeed = 3
816
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/1.5)
817
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/3)
818
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/3)
819
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/1.5)
820
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
821
			rj.C0 = CFrame.new(0, 0+ angle/45, 0) * CFrame.Angles(math.pi/2 - angle/6, math.pi, 0)
822
		elseif taco == true and jump == false and sit == false then
823
			countspeed = 20
824
			global_wait = (global_wait % 360) + 4
825
			ls.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi)
826
			rs.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi)
827
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16)
828
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16)
829
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - math.pi/8 + angle/16, math.pi, 0)
830
			rj.C0 = CFrame.new(0, 0.25 + angle/12, 0) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4))
831
		end
832
	end
833
end)wait(0)
834
Player = game.Players.LocalPlayer
835
836
local count = 0
837
local countspeed = 1
838
local sine = 0
839
local sinespeed = 1
840
local angle = nil
841
local global_wait = 0
842
local showtag = false
843
844
845
--dance booleans--
846
local jerk = false
847
local party = false
848
local canttouch = false
849
local happy = false
850
local spin = false
851
local thriller = false
852
local barrel = false
853
local sax = false
854
local spooky = false
855
local stride = false
856
local shuffle = false
857
local rock = false
858
local gagnam = false
859
local snoop = false
860
local darude = false
861
local taco = false
862
------------------
863
--dance accessory--
864
local barrelbrick = nil
865
local saxtool = nil
866
-------------------
867
--custom animate--
868
local walk = false
869
local jump = false
870
local sit = false
871
local run = false
872
------------------
873
--walk keys--
874
local W = false
875
local A = false
876
local S = false
877
local D = false
878
-------------
879
local m = Instance.new("Model",game.Players.LocalPlayer.Character) m.Name = "ModelParts"
880
local miniweld = nil
881
local rootpart = nil
882
883
local Mouse = nil
884
local Animate = nil
885
local Music = nil
886
local Asset = "http://www.roblox.com/asset/?id="
887
local Animating = nil
888
local humanoid = nil
889
local face = nil 
890
891
local head = nil
892
local torso = nil
893
local ra = nil
894
local la = nil
895
local rl = nil
896
local ll = nil
897
local rs = nil
898
local ls = nil
899
local rh = nil
900
local lh = nil
901
local neck = nil
902
local rj = nil
903
904
local char = nil
905
local Hat1 = nil
906
local Hat2 = nil
907
local a,b = nil
908
909
----------musics-----------------
910
local M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16 = nil
911
---------------------------------
912
913
local mesh,meshids,textureids,w
914
915
function fm(parent,meshid,x,y,z,meshtexture)
916
if meshid == "cylinder" then
917
	mesh = Instance.new("CylinderMesh",parent)
918
	mesh.Scale = Vector3.new(x,y,z)
919
	return mesh
920
else
921
	mesh = Instance.new("SpecialMesh",parent)
922
	if meshid ~= "sphere" then
923
		if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
924
			mesh.MeshId = "rbxassetid://"..meshids[meshid]
925
		end
926
	else mesh.MeshType = 3 end
927
	mesh.Scale = Vector3.new(x,y,z)
928
	if meshtexture ~= nil then
929
		if type(meshtexture) == "number" then 
930
			mesh.TextureId = "rbxassetid://"..meshtexture 
931
		else
932
			mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
933
		end
934
	return mesh
935
	end
936
end
937
938
function P(x,y,z,color,transparency,cancollide,anchored,parent,typee)
939
if typee ~= nil then
940
	c = Instance.new("WedgePart",m)
941
else
942
	c = Instance.new("Part",m)
943
end
944
c.TopSurface,c.BottomSurface = 0,0
945
c.Locked = true
946
c.formFactor = "Custom"
947
c.Size = Vector3.new(x,y,z)
948
if color ~= "random" then
949
	c.BrickColor = BrickColor.new(color)
950
else 
951
	c.BrickColor = BrickColor:random() 
952
end
953
c.Transparency = transparency
954
c.CanCollide = cancollide
955
if anchored ~= nil then 
956
	c.Anchored = anchored 
957
end
958
if parent ~= nil then 
959
	c.Parent = parent 
960
end
961
return c
962
end
963
964
function We(part0,part1,x,y,z,rx,ry,rz,parent)
965
w = Instance.new("Motor",m)
966
if parent ~= nil then w.Parent = parent end
967
	w.Part0,w.Part1 = part0,part1
968
	w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz)
969
	return w
970
end
971
972
function SetAnimation(id,humanoid)
973
	if Animating ~= nil then
974
		Animating:Stop()
975
	end
976
	Animate.AnimationId = Asset .. id
977
	Animating = humanoid:LoadAnimation(Animate)
978
	Animating:Play()
979
end
980
981
function AnimationStop()
982
		jerk = false
983
		party = false
984
		canttouch = false
985
		happy = false
986
		spin = false
987
		thriller = false
988
		barrel = false
989
		sax = false
990
		spooky = false
991
		stride = false
992
		shuffle = false
993
		rock = false
994
		gagnam = false
995
		snoop = false
996
		darude = false
997
		taco = false
998
		if barrelbrick ~= nil then
999
			barrelbrick:Remove()
1000
			barrelbrick = nil
1001
		end
1002
		if saxtool ~= nil then
1003
			saxtool:Remove()
1004
			saxtool = nil
1005
		end
1006
		if sandstorm ~= nil then
1007
			sandstorm:Remove()
1008
			sandstorm = nil
1009
		end
1010
end
1011
1012
local Musical
1013
function SetMusic(id,volume)
1014
	Musical = Instance.new("Sound",char.Head)
1015
	if volume == nil then
1016
		Musical.Volume = 1
1017
	else
1018
		Musical.Volume = volume
1019
	end
1020
	Musical.Looped = true
1021
	Musical.SoundId = Asset .. id
1022
	return Musical
1023
end
1024
1025
function GenerateGui()
1026
	a=Instance.new("ScreenGui")
1027
	a.Name = "Memer"
1028
	b=Instance.new("ImageLabel",a)
1029
	b.BackgroundTransparency = 1
1030
	b.Size = UDim2.new(0,250,0,100)
1031
	b.Position = UDim2.new(0,0,1,0)
1032
	b.Image = Asset .. "http://www.roblox.com/asset/?id=534247804"
1033
	b.Name = "Logo"
1034
	c=Instance.new("Sound",a)
1035
	c.Name = "Intro"
1036
	c.Volume = 1
1037
	c.SoundId = Asset .. "rbxassetid://533871935"
1038
	c.Looped = false
1039
	return a
1040
end
1041
1042
function Generate(player)
1043
char = player.Character
1044
Hat1 = P(1,1,1,'Bright violet ',0,false,false)
1045
Hat2 = P(1,1,1,'Bright violet ',0,false,false)
1046
wait()
1047
a=fm(Hat1,0,1,1,1,1577349) a.VertexColor = Vector3.new(1,1,1)
1048
b=fm(Hat2,0,1,1,1,18987684) b.VertexColor = Vector3.new(1,1,1)
1049
wait()
1050
if char:FindFirstChild("Head") then
1051
	We(Hat1,char.Head,0,0.25,-0.135,0,0,0)
1052
	We(Hat2,char.Head,0,0.8,0,0,0,0)
1053
	if char.Head:FindFirstChild("face") ~= nil then
1054
		face = char.Head:FindFirstChild("face")
1055
		face.Texture = "rbxasset://textures/face.png"
1056
	end
1057
	c=char.Head:clone()
1058
	c.Name = "FalseHead"
1059
	c.CanCollide = false
1060
	c.Parent = char
1061
	We(c,char.Head,0,0,0,0,0,0)
1062
	char.Head.Transparency = 1
1063
	for i,v in pairs(char:GetChildren()) do
1064
		if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then
1065
			v:Remove()
1066
		end
1067
		if v.ClassName == "BodyColors" then
1068
			v.HeadColor = BrickColor.new("Bright yellow")
1069
			v.LeftArmColor = BrickColor.new("Bright yellow")
1070
			v.LeftLegColor = BrickColor.new("Br. yellowish green")
1071
			v.RightArmColor = BrickColor.new("Bright yellow")
1072
			v.RightLegColor = BrickColor.new("Br. yellowish green")
1073
			v.TorsoColor = BrickColor.new("Bright Blue")
1074
		end
1075
		if v.ClassName == "Part" then
1076
			if v.Name == "Head" or v.Name == "FalseHead" then
1077
				v.BrickColor = BrickColor.new("Bright yellow")
1078
				else
1079
				v.BrickColor = BrickColor.new("Bright yellow")
1080
			end
1081
		end
1082
	end
1083
----------musics---------------
1084
	M1=SetMusic(142524640)
1085
        M1.Volume = 50
1086
	M2=SetMusic(579304560)
1087
        M2.Volume = 50
1088
	M3=SetMusic(148047526)
1089
        M3.Volume = 50
1090
	M4=SetMusic(682750783)
1091
        M4.Volume = 50
1092
	M5=SetMusic(194380361)
1093
        M5.Volume = 50
1094
	M6=SetMusic(540190383)
1095
        M6.Volume = 50
1096
	M7=SetMusic(253827644)
1097
        M7.Volume = 50
1098
	M8=SetMusic(534878097)
1099
        M8.Volume = 50
1100
	M9=SetMusic(178297940)
1101
        M9.Volume = 50
1102
	M10=SetMusic(241814102)
1103
        M10.Volume = 50
1104
	M11=SetMusic(533874013)
1105
        M11.Volume = 50
1106
	M12=SetMusic(316168561)
1107
        M12.Volume = 50
1108
	M13=SetMusic(142300879)
1109
        M13.Volume = 50
1110
	M14=SetMusic(684159363)
1111
        M14.Volume = 50
1112
	M15=SetMusic(787297457)
1113
        M15.Volume = 50
1114
	M16=SetMusic(597084853)
1115
        M16.Volume = 50
1116
        boi=SetMusic(597084853)
1117
-------------------------------
1118
	
1119
	if char:FindFirstChild("HumanoidRootPart") ~= nil then
1120
		rootpart = char:FindFirstChild("HumanoidRootPart")
1121
	end
1122
	if showtag == true then
1123
		local bbg = Instance.new("BillboardGui",c)
1124
		bbg.Adornee = c
1125
		bbg.Name = "satuttava"
1126
		bbg.Size = UDim2.new(6,0,2,0)
1127
		bbg.StudsOffset = Vector3.new(0,2,0)
1128
		local box = Instance.new("TextLabel",bbg)
1129
		box.Size = UDim2.new(1,0,1,0)
1130
		box.BackgroundColor = BrickColor.new("White")
1131
		box.TextColor3 = Color3.new(255,0,0)
1132
		box.TextStrokeTransparency = 0.5
1133
		box.Font = "Arcade"
1134
		box.Text = Player.Name
1135
		box.BackgroundTransparency = 1
1136
		box.Position = UDim2.new(0,0,0,0)
1137
		box.TextScaled = true
1138
	end
1139
	if char:FindFirstChild("Humanoid") ~= nil then
1140
		char:FindFirstChild("Humanoid").MaxHealth = (100*100*100*100)*100
1141
		wait()
1142
		char:FindFirstChild("Humanoid").Health = char:FindFirstChild("Humanoid").MaxHealth
1143
		--char:FindFirstChild("Humanoid").Name = game.Players.LocalPlayer.Name
1144
		humanoid = char:FindFirstChild("Humanoid")
1145
		if humanoid:FindFirstChild("Animator") ~= nil then
1146
			humanoid:FindFirstChild("Animator"):Remove()
1147
			--Instance.new("Animator",humanoid)
1148
		end
1149
		if char:FindFirstChild("Animate") ~= nil then
1150
			char:FindFirstChild("Animate"):Remove()
1151
		end
1152
	end
1153
	Mouse = player:GetMouse()
1154
	Music = Instance.new("Sound",char.Head)
1155
	Music.Volume = 1
1156
	Music.Looped = true
1157
	Music.SoundId = Asset
1158
	Animate = Instance.new("Animation",char.Head)
1159
	Animate.AnimationId = Asset
1160
	
1161
	
1162
	
1163
	head = char:FindFirstChild("Head")
1164
	torso = char:FindFirstChild("Torso")
1165
	ra = char:findFirstChild("Right Arm")
1166
	la = char:findFirstChild("Left Arm")
1167
	rl = char:findFirstChild("Right Leg")
1168
	ll = char:findFirstChild("Left Leg")
1169
	rs = torso:findFirstChild("Right Shoulder")
1170
	ls = torso:findFirstChild("Left Shoulder")
1171
	rh = torso:findFirstChild("Right Hip")
1172
	lh = torso:findFirstChild("Left Hip")
1173
	neck = torso:findFirstChild("Neck")
1174
	rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
1175
	
1176
	state = humanoid:GetState()
1177
	local ca = nil
1178
	ca=GenerateGui()
1179
	ca.Parent = player.PlayerGui
1180
	if ca:FindFirstChild("Logo") ~= nil then
1181
		ca:FindFirstChild("Logo"):TweenPosition(UDim2.new(0, 0, 1, -100), "Out", "Quad", 3, true)
1182
		if ca:FindFirstChild("Intro") ~= nil then
1183
			ca:FindFirstChild("Intro"):Play()
1184
			coroutine.resume(coroutine.create(function() 
1185
				for i=0,30 do
1186
					ca:FindFirstChild("Intro").Volume = 1/(i/2)
1187
					wait(0.5)
1188
					if i >= 30 then
1189
						break
1190
					end
1191
				end
1192
			end))
1193
		end
1194
	end
1195
1196
	if humanoid ~= nil then
1197
		humanoid.Changed:connect(function(pro)
1198
			if pro == "MoveDirection" or pro == "Jump" then
1199
				if Music.IsPlaying == true then
1200
					AnimationStop()
1201
				end
1202
			end
1203
		end)
1204
		humanoid.Died:connect(function()
1205
			AnimationStop()
1206
		end)
1207
		
1208
	Mouse.KeyUp:connect(function(key) 
1209
		if key == "w" then
1210
			W = false
1211
		end
1212
		if key == "a" then
1213
			A = false
1214
		end
1215
		if key == "s" then
1216
			S = false
1217
		end
1218
		if key == "d" then
1219
			D = false
1220
		end
1221
		if string.byte(key) == 48 then
1222
			run = false
1223
		end
1224
	end)
1225
        end
1226
	end)
1227
	
1228
	
1229
	
1230
	Mouse.KeyDown:connect(function(key) 
1231
		KeyUsed(key)
1232
	end)
1233
end
1234
end
1235
end
1236
1237
function KeyUsed(key)
1238
		if humanoid ~= nil then
1239
			if humanoid.Health > 0 then
1240
				if string.byte(key) == 32 then
1241
					jump = true
1242
					AnimationStop()
1243
					--sit = false
1244
				end
1245
				if string.byte(key) == 50 then
1246
					AnimationStop()
1247
					if sit == true then
1248
						sit = false
1249
					else
1250
						sit = true
1251
					end
1252
				end
1253
				if string.byte(key) == 48 then
1254
					run = true
1255
				end
1256
				if W == false and A == false and S == false and D == false and jump == false and sit == false then
1257
					if key == "Q" or key == "q" then
1258
						AnimationStop()
1259
						canttouch = true
1260
						M1:Play()
1261
					end
1262
					if key == "E" or key == "e" then
1263
						AnimationStop()
1264
						party = true
1265
						M2:Play()
1266
					end
1267
					if key == "R" or key == "r" then
1268
						AnimationStop()
1269
						jerk = true
1270
						M3:Play()
1271
					end
1272
					if key == "T" or key == "t" then
1273
						AnimationStop()
1274
						happy = true
1275
						M4:Play()
1276
					end
1277
					if key == "Y" or key == "y" then
1278
						AnimationStop()
1279
						spin = true
1280
						M5:Play()
1281
					end
1282
					if key == "U" or key == "u" then
1283
						AnimationStop()
1284
						thriller = true
1285
						M6:Play()
1286
					end
1287
					if key == "F" or key == "f" then
1288
						AnimationStop()
1289
						barrel = true
1290
						M7:Play()
1291
						if barrelbrick == nil and barrel == true then
1292
							barrelbrick = P(2,2,1,'Black',0,false,false)
1293
							a=fm(barrelbrick,29873142,1.1,0.8,1.1,31082268) a.VertexColor = Vector3.new(1,1,1)
1294
							We(barrelbrick,char.Torso,0,-0.2,0,0,0,0)
1295
						end
1296
					end
1297
					if key == "P" or key == "p" then
1298
						AnimationStop()
1299
						sax = true
1300
						M8:Play()
1301
						if saxtool == nil and sax == true then
1302
							saxtool = P(1,2,2,'Black',0,false,false)
1303
							a=fm(saxtool,44410178,1.5,1.5,1.5,44410320) a.VertexColor = Vector3.new(1,1,1)
1304
							b=We(saxtool,char:FindFirstChild("Left Arm"),0,-1,0,0,0,0)
1305
							b.C1 = CFrame.new(0.5, -0.9, -0.3) * CFrame.Angles(math.pi/1.5, -math.pi/2, -math.pi/8)
1306
						end
1307
					end
1308
					if key == "G" or key == "g" then
1309
						AnimationStop()
1310
						spooky = true
1311
						M9:Play()
1312
					end
1313
					if key == "H" or key == "h" then
1314
						AnimationStop()
1315
						stride = true
1316
						M10:Play()
1317
					end
1318
					if key == "J" or key == "j" then
1319
						AnimationStop()
1320
						shuffle = true
1321
						M11:Play()
1322
					end
1323
					if key == "K" or key == "k" then
1324
						AnimationStop()
1325
						rock = true
1326
						M12:Play()
1327
					end
1328
					if key == "L" or key == "l" then
1329
						AnimationStop()
1330
						gagnam = true
1331
						M13:Play()
1332
					end
1333
					if key == "Z" or key == "z" then
1334
						AnimationStop()
1335
						snoop = true
1336
						M14:Play()
1337
					end
1338
					if key == "X" or key == "x" then
1339
						AnimationStop()
1340
						darude = true
1341
						M15:Play()
1342
						if sandstorm == nil and darude == true then
1343
							sandstorm = P(1,1,1,'Black',0,false,false)
1344
							sandstorm.Transparency = 1
1345
							a=Instance.new("Smoke",sandstorm)
1346
							a.Color = Color3.new(255/255,255/255,175/255)
1347
							a.Size = 0.4
1348
							a.RiseVelocity = 3
1349
							a.Opacity = 0.75
1350
							b=We(sandstorm,char:FindFirstChild("Torso"),0,0,0,0,0,0)
1351
							b.C1 = CFrame.new(0, -2, 0)
1352
						end
1353
					end
1354
					if key == "C" or key == "c" then
1355
						AnimationStop()
1356
						taco = true
1357
						M16:Play()
1358
		                                boi:Stop()
1359
					end
1360
				end
1361
			end
1362
		end
1363
end
1364
1365
Generate(Player)
1366
1367
game:service'RunService'.Stepped:connect(function()
1368
	count = (count % 100) + countspeed
1369
	angle = math.pi * math.sin(math.pi*2/100*count)
1370
	countspeed = 1
1371
	
1372
	state = humanoid:GetState()
1373
	if state ~= Enum.HumanoidStateType.Freefall then
1374
		jump = false
1375
	else
1376
		jump = true
1377
		sit = false
1378
		AnimationStop()
1379
	end
1380
	
1381
	local mesh1anan = Instance.new("SpecialMesh")
1382
	mesh1anan.MeshType = Enum.MeshType.FileMesh
1383
	mesh1anan.Scale = Vector3.new(0.3,0.3,0.3)
1384
	mesh1anan.MeshId = "http://www.roblox.com/asset/?id=430210147"
1385
	mesh1anan.TextureId = "http://www.roblox.com/asset/?id=430210159"
1386
	mesh1anan.Scale = Vector3.new(0.1,0.1,0.1)
1387
1388
	if taco == true then
1389
		if char ~= nil then
1390
	        local locationanan = char:GetModelCFrame()
1391
	        local tacoa = Instance.new("Part")
1392
	        tacoa.CanCollide = false
1393
	        tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
1394
	        local meshanananan = mesh1anan:clone()
1395
	        meshanananan.Parent = tacoa
1396
	        tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250)
1397
	        tacoa.Parent = workspace
1398
	        game:GetService("Debris"):AddItem(tacoa,4)
1399
		end
1400
	end
1401
	
1402
	
1403
	
1404
	
1405
	if canttouch == false then	
1406
		M1:Stop()
1407
	end
1408
	if party == false then	
1409
		M2:Stop()
1410
	end
1411
	if jerk == false then	
1412
		M3:Stop()
1413
	end
1414
	if happy == false then	
1415
		M4:Stop()
1416
	end
1417
	if spin == false then	
1418
		M5:Stop()
1419
	end
1420
	if thriller == false then	
1421
		M6:Stop()
1422
	end
1423
	if barrel == false then	
1424
		M7:Stop()
1425
	end
1426
	if sax == false then	
1427
		M8:Stop()
1428
	end
1429
	if spooky == false then	
1430
		M9:Stop()
1431
	end
1432
	if stride == false then	
1433
		M10:Stop()
1434
	end
1435
	if shuffle == false then	
1436
		M11:Stop()
1437
	end
1438
	if rock == false then
1439
		M12:Stop()
1440
	end
1441
	if gagnam == false then
1442
		M13:Stop()
1443
	end
1444
	if snoop == false then
1445
		M14:Stop()	
1446
	end
1447
	if darude == false then
1448
		M15:Stop()
1449
	end
1450
	if taco == false then
1451
		M16:Stop()
1452
		boi:Stop()
1453
	end
1454
	
1455
	if run == true and sit == false then
1456
		humanoid.WalkSpeed = 25
1457
	elseif sit == true then
1458
		humanoid.WalkSpeed = 0
1459
	else
1460
		humanoid.WalkSpeed = 16
1461
	end
1462
	
1463
	if global_wait == 380 then global_wait = 0 end
1464
	
1465
	if (W == false or A == false or S == false or D == false) and jump == false and sit == false then
1466
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75)
1467
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/75)
1468
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75)
1469
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/75)
1470
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/75, math.pi, 0)
1471
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
1472
	end
1473
	
1474
	
1475
	if (W == false or A == false or S == false or D == false) and jump == false and sit == true then
1476
		local ray = Ray.new(torso.Position, Vector3.new(0, -3, 0))
1477
		local hitz,enz = workspace:FindPartOnRay(ray, char)
1478
		if hitz then
1479
			if rootpart:FindFirstChild("Weld") == nil then
1480
				miniweld = Instance.new("Weld", rootpart)
1481
				miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
1482
				miniweld.Part0 = hitz
1483
				miniweld.Part1 = rootpart
1484
				humanoid.PlatformStand = true
1485
			end
1486
		end
1487
	else
1488
		if rootpart:FindFirstChild("Weld") ~= nil then
1489
			rootpart:FindFirstChild("Weld"):Destroy()
1490
			humanoid.PlatformStand = false
1491
		end
1492
	end
1493
	
1494
	if (W == false or A == false or S == false or D == false) and jump == false and sit == true then
1495
		ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - math.pi/15)
1496
		rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + math.pi/15)
1497
		lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, math.pi/2 - math.pi/15)
1498
		rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + math.pi/8, 0, -math.pi/2 + math.pi/15)
1499
		neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0)
1500
		rj.C0 = CFrame.new(0, -2, 0) * CFrame.Angles(math.pi/2 + math.pi/15, math.pi, 0)
1501
	end
1502
	
1503
	if jump == true and sit == false then
1504
		countspeed = 2
1505
		ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12)
1506
		rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi + angle/12)
1507
		lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12)
1508
		rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/12)
1509
		neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
1510
		rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0)
1511
	end
1512
	
1513
	if (W == true or A == true or S == true or D == true) and jump == false and sit == false then
1514
		if run == true then
1515
			countspeed = 4
1516
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3)
1517
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/3)
1518
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5)
1519
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/5)
1520
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0)
1521
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/40, math.pi, 0)
1522
		else
1523
			countspeed = 2
1524
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4)
1525
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 - angle/4)
1526
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6)
1527
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/6)
1528
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
1529
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2+ angle/50, math.pi, 0)
1530
		end
1531
	end
1532
1533
	if W == false and A == false and S == false and D == false and jump == false and sit == false then
1534
		if jerk == true and jump == false and sit == false then
1535
			countspeed = 2
1536
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, angle/4)
1537
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/5, 0, -angle/4)
1538
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/10, 0, angle/5)-- * CFrame.Angles(angle*0.5, 0, -math.abs(angle*0.15))
1539
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/10, 0, angle/5)-- * CFrame.Angles(-angle*0.5, 0, math.abs(angle*0.15))
1540
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0)
1541
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/5, math.pi, 0)
1542
		elseif party == true and jump == false and sit == false then
1543
			countspeed = 4
1544
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15)
1545
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(angle/15, 0, angle/15)
1546
			ls.C1 = CFrame.new(0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi  + angle/10, 0, 0 + angle/10)
1547
			rs.C1 = CFrame.new(-0.25,0.5 + 1 * angle/10,0.5) * CFrame.Angles(math.pi  + angle/10, 0, 0  + angle/10)
1548
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/10, math.pi, 0)
1549
			rj.C0 = CFrame.new(0, 0.5 + angle/5, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
1550
		elseif canttouch == true and jump == false and sit == false then
1551
			countspeed = 2
1552
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, math.pi/12 + angle/12)
1553
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0 + angle/8, 0, -math.pi/12 - angle/12)
1554
			lh.C1 = CFrame.new(0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, -math.pi/8)
1555
			rh.C1 = CFrame.new(-0.35,0.7,0.5) * CFrame.Angles(0 + angle/10, 0, math.pi/8)
1556
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0)
1557
			rj.C0 = CFrame.new(angle/4, -0.3 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
1558
		elseif happy == true and jump == false and sit == false then
1559
			countspeed = 4
1560
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, math.pi/8 + angle/8, math.pi/4 + angle/8)
1561
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/4, -math.pi/8 + angle/8, -math.pi/4 + angle/8)
1562
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0  + angle/10)
1563
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0, 0  + angle/10)
1564
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/15, 0 + angle/15)
1565
			rj.C0 = CFrame.new(0, 0 + angle/20, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
1566
		elseif spin == true and jump == false and sit == false then
1567
			global_wait = (global_wait % 360) + 4
1568
			countspeed = 4
1569
			ls.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 + angle/10, 0 + angle/10)
1570
			rs.C1 = CFrame.new(0,1,0) * CFrame.Angles(math.pi/2, 0 - angle/10, 0 + angle/10)
1571
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0  + angle/10)
1572
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/10, 0 + angle/10, 0  + angle/10)
1573
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
1574
			rj.C0 = CFrame.new(0 + angle/25, 0, 0 - angle/25) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4))
1575
		elseif thriller == true and jump == false and sit == false then
1576
			countspeed = 2
1577
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 + angle/15)
1578
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/15)
1579
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 - angle/45, 0, 0 + angle/15)
1580
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/60 + angle/45, 0, 0 + angle/15)
1581
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi + angle/10, 0)
1582
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 + angle/50 , math.pi + angle/50, 0 + angle/50)
1583
		elseif barrel == true and jump == false and sit == false then
1584
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi)
1585
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi)
1586
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0)
1587
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0)
1588
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
1589
			rj.C0 = CFrame.new(0 + angle, -1.8, 0) * CFrame.Angles(0, math.pi, 0 + angle)
1590
		elseif sax == true and jump == false and sit == false then
1591
			countspeed = 2
1592
			ls.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, math.pi/2 - math.abs(angle/30))
1593
			rs.C1 = CFrame.new(0,0.75,-0.25) * CFrame.Angles(-math.pi/5, 0, -math.pi/2 + math.abs(angle/30))
1594
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - math.abs(angle/30))
1595
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + math.abs(angle/30))
1596
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
1597
			rj.C0 = CFrame.new(0, -math.abs(angle*0.05), math.abs(angle*0.025)) * CFrame.Angles(math.pi/2 + math.abs(angle/20), math.pi, 0)
1598
		elseif spooky == true and jump == false and sit == false then
1599
			countspeed = 3
1600
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2 - angle/1.5)
1601
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2 + angle/1.5)
1602
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/16)
1603
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 + angle/16)
1604
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2  + angle/12, math.pi, 0)
1605
			rj.C0 = CFrame.new(0, 0 + angle / 35, 0) * CFrame.Angles(math.pi/2 + angle/25, math.pi, 0)
1606
		elseif stride == true and jump == false and sit == false then
1607
			countspeed = 2.5
1608
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, angle/16,math.pi/3.5 + angle/8)
1609
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(angle/16, -angle/16,-math.pi/1.5 + -angle/8)
1610
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16)
1611
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, angle/16, angle/16)
1612
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
1613
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2-angle/16, math.pi, 0)
1614
		elseif shuffle == true and jump == false and sit == false then
1615
			countspeed = 2
1616
			ls.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, math.pi/2 + angle/3.5)
1617
			rs.C1 = CFrame.new(0,0.75,-0.35) * CFrame.Angles(math.pi/8, 0, -math.pi/2 + angle/3.5)
1618
			lh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15)
1619
			rh.C1 = CFrame.new(0 + angle/50,1,0.5) * CFrame.Angles(0, 0 + angle/35, 0 + angle/15)
1620
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/15, math.pi, 0)
1621
			rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.pi/2 - angle/35, math.pi - angle/35, 0)
1622
		elseif rock == true and jump == false and sit == false then
1623
			countspeed = 4
1624
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, math.pi/2+angle/2)
1625
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, -math.pi/2+angle/2)
1626
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0+angle/32)
1627
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0+angle/32, 0, 0-angle/32)
1628
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
1629
			rj.C0 = CFrame.new(0, 0 - angle/50, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
1630
		elseif gagnam == true and jump == false and sit == false then
1631
			countspeed = 5
1632
			ls.C1 = CFrame.new(-0.15,0.75,0) * CFrame.Angles(-math.pi/4, 0, (math.pi/2 + angle/14) - math.pi/20)
1633
			rs.C1 = CFrame.new(-0.15,0.75,0) * CFrame.Angles(-math.pi/4, 0, (-math.pi/2 - angle/14) + math.pi/20)
1634
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0)
1635
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0 + angle/16, 0, 0)
1636
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 + angle/20, math.pi, 0)
1637
			rj.C0 = CFrame.new(0, 0 + angle/40, 0) * CFrame.Angles(math.pi/2, math.pi, 0)
1638
		elseif snoop == true and jump == false and sit == false then
1639
			countspeed = 2
1640
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, math.pi/4 + angle/4)
1641
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(math.pi/12, 0, -math.pi/4 + angle/4)
1642
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4)
1643
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(math.pi/24, 0, 0 + angle/4)
1644
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - angle/8, math.pi, 0)
1645
			rj.C0 = CFrame.new(0, 0 + angle/48, 0) * CFrame.Angles(math.pi/2 + angle/24, math.pi, 0)
1646
		elseif darude == true and jump == false and sit == false then
1647
			countspeed = 3
1648
			ls.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/1.5)
1649
			rs.C1 = CFrame.new(0,0.5,-0.5) * CFrame.Angles(0, 0, 0 + angle/3)
1650
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/3)
1651
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, 0 - angle/1.5)
1652
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2, math.pi, 0)
1653
			rj.C0 = CFrame.new(0, 0+ angle/45, 0) * CFrame.Angles(math.pi/2 - angle/6, math.pi, 0)
1654
		elseif taco == true and jump == false and sit == false then
1655
			countspeed = 20
1656
			global_wait = (global_wait % 360) + 4
1657
			ls.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi)
1658
			rs.C1 = CFrame.new(0,1,-0.25) * CFrame.Angles(math.pi/6 + angle/12, 0, math.pi)
1659
			lh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16)
1660
			rh.C1 = CFrame.new(0,1,0.5) * CFrame.Angles(0, 0, math.pi/8 + angle/16)
1661
			neck.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(math.pi/2 - math.pi/8 + angle/16, math.pi, 0)
1662
			rj.C0 = CFrame.new(0, 0.25 + angle/12, 0) * CFrame.Angles(math.pi/2, math.pi, math.rad(global_wait*4))
1663
		end
1664
	end
1665
end)