View difference between Paste ID: BnNkqx7Z and DaHmEeey
SHOW: | | - or go back to the newest paste.
1
wait(0)
2
game:service'InsertService':LoadAsset(17408016):children()[1].Parent = char
3
Instance.new("PointLight", head).Range = 10
4
Player = game.Players.LocalPlayer
5
6
local count = 0
7
local countspeed = 1
8
local sine = 0
9
local sinespeed = 1
10
local angle = nil
11
local global_wait = 0
12
local showtag = false
13
14
15
--dance booleans--
16
local jerk = false
17
local party = false
18
local canttouch = false
19
local happy = false
20
local spin = false
21
local thriller = false
22
local barrel = false
23
local sax = false
24
local spooky = false
25
local stride = false
26
local shuffle = false
27
local rock = false
28
local gagnam = false
29
local snoop = false
30
local darude = false
31
local taco = false
32
------------------
33
--dance accessory--
34
local barrelbrick = nil
35
local saxtool = nil
36
-------------------
37
--custom animate--
38
local walk = false
39
local jump = false
40
local sit = false
41
local run = false
42
------------------
43
--walk keys--
44
local W = false
45
local A = false
46
local S = false
47
local D = false
48
-------------
49
local m = Instance.new("Model",game.Players.LocalPlayer.Character) m.Name = "ModelParts"
50
local miniweld = nil
51
local rootpart = nil
52
53
local Mouse = nil
54
local Animate = nil
55
local Music = nil
56
local Asset = "http://www.roblox.com/asset/?id="
57
local Animating = nil
58
local humanoid = nil
59
local face = nil 
60
61
local head = nil
62
local torso = nil
63
local ra = nil
64
local la = nil
65
local rl = nil
66
local ll = nil
67
local rs = nil
68
local ls = nil
69
local rh = nil
70
local lh = nil
71
local neck = nil
72
local rj = nil
73
74
local char = nil
75
local Hat1 = nil
76
local Hat2 = nil
77
local a,b = nil
78
79
----------musics-----------------
80
local M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12,M13,M14,M15,M16 = nil
81
---------------------------------
82
83
local mesh,meshids,textureids,w
84
85
function fm(parent,meshid,x,y,z,meshtexture)
86
if meshid == "cylinder" then
87
	mesh = Instance.new("CylinderMesh",parent)
88
	mesh.Scale = Vector3.new(x,y,z)
89
	return mesh
90
else
91
	mesh = Instance.new("SpecialMesh",parent)
92
	if meshid ~= "sphere" then
93
		if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
94
			mesh.MeshId = "rbxassetid://"..meshids[meshid]
95
		end
96
	else mesh.MeshType = 3 end
97
	mesh.Scale = Vector3.new(x,y,z)
98
	if meshtexture ~= nil then
99
		if type(meshtexture) == "number" then 
100
			mesh.TextureId = "rbxassetid://"..meshtexture 
101
		else
102
			mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
103
		end
104
	return mesh
105
	end
106
end
107
108
function P(x,y,z,color,transparency,cancollide,anchored,parent,typee)
109
if typee ~= nil then
110
	c = Instance.new("WedgePart",m)
111
else
112
	c = Instance.new("Part",m)
113
end
114
c.TopSurface,c.BottomSurface = 0,0
115
c.Locked = true
116
c.formFactor = "Custom"
117
c.Size = Vector3.new(x,y,z)
118
if color ~= "random" then
119
	c.BrickColor = BrickColor.new(color)
120
else 
121
	c.BrickColor = BrickColor:random() 
122
end
123
c.Transparency = transparency
124
c.CanCollide = cancollide
125
if anchored ~= nil then 
126
	c.Anchored = anchored 
127
end
128
if parent ~= nil then 
129
	c.Parent = parent 
130
end
131
return c
132
end
133
134
function We(part0,part1,x,y,z,rx,ry,rz,parent)
135
w = Instance.new("Motor",m)
136
if parent ~= nil then w.Parent = parent end
137
	w.Part0,w.Part1 = part0,part1
138
	w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz)
139
	return w
140
end
141
142
function SetAnimation(id,humanoid)
143
	if Animating ~= nil then
144
		Animating:Stop()
145
	end
146
	Animate.AnimationId = Asset .. id
147
	Animating = humanoid:LoadAnimation(Animate)
148
	Animating:Play()
149
end
150
151
function AnimationStop()
152
		jerk = false
153
		party = false
154
		canttouch = false
155
		happy = false
156
		spin = false
157
		thriller = false
158
		barrel = false
159
		sax = false
160
		spooky = false
161
		stride = false
162
		shuffle = false
163
		rock = false
164
		gagnam = false
165
		snoop = false
166
		darude = false
167
		taco = false
168
		if barrelbrick ~= nil then
169
			barrelbrick:Remove()
170
			barrelbrick = nil
171
		end
172
		if saxtool ~= nil then
173
			saxtool:Remove()
174
			saxtool = nil
175
		end
176
		if sandstorm ~= nil then
177
			sandstorm:Remove()
178
			sandstorm = nil
179
		end
180
end
181
182
local Musical
183
function SetMusic(id,volume)
184
	Musical = Instance.new("Sound",char.Head)
185
	if volume == nil then
186
		Musical.Volume = 1
187
	else
188
		Musical.Volume = volume
189
	end
190
	Musical.Looped = true
191
	Musical.SoundId = Asset .. id
192
	return Musical
193
end
194
195
function GenerateGui()
196
	a=Instance.new("ScreenGui")
197
	a.Name = "KrystalDance ( Edited Version )"
198
	b=Instance.new("ImageLabel",a)
199
	b.BackgroundTransparency = 1
200
	b.Size = UDim2.new(0,250,0,100)
201
	b.Position = UDim2.new(0,0,1,0)
202
	b.Image = Asset .. "58719064"
203
	b.Name = "Logo"
204
	c=Instance.new("Sound",a)
205
	c.Name = "Intro"
206
	c.Volume = 1
207
	c.SoundId = Asset .. "317552265"
208
	c.Looped = false
209
	return a
210
end
211
212
function Generate(player)
213
char = player.Character
214
Hat1 = P(1,1,1,'Bright violet ',0,false,false)
215
Hat2 = P(1,1,1,'Bright violet ',0,false,false)
216
wait()
217
a=fm(Hat1,0,1,1,1,1577349) a.VertexColor = Vector3.new(1,1,1)
218
b=fm(Hat2,0,1,1,1,18987684) b.VertexColor = Vector3.new(1,1,1)
219
wait()
220
if char:FindFirstChild("Head") then
221
	We(Hat1,char.Head,0,0.25,-0.135,0,0,0)
222
	We(Hat2,char.Head,0,0.8,0,0,0,0)
223
	if char.head:FindFirstChild("face") ~= nil then
224
		face = char.head:FindFirstChild("face")
225
		face.Texture = "rbxasset://textures/face.png"
226
	end
227
	c=char.Head:clone()
228
	c.Name = "FalseHead"
229
	c.CanCollide = false
230
	c.Parent = char
231
	We(c,char.Head,0,0,0,0,0,0)
232
	char.Head.Transparency = 1
233
	for i,v in pairs(char:GetChildren()) do
234
		if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then
235
			v:Remove()
236
		end
237
		if v.ClassName == "BodyColors" then
238
			v.HeadColor = BrickColor.new("Hot pink")
239
			v.LeftArmColor = BrickColor.new("Hot pink")
240
			v.LeftLegColor = BrickColor.new("Hot pink")
241
			v.RightArmColor = BrickColor.new("Hot pink")
242
			v.RightLegColor = BrickColor.new("Hot pink")
243
			v.TorsoColor = BrickColor.new("Hot pink")
244
		end
245
		if v.ClassName == "Part" then
246
			if v.Name == "Head" or v.Name == "FalseHead" then
247
				v.BrickColor = BrickColor.new("Hot pink")
248
				else
249
				v.BrickColor = BrickColor.new("Bright violet")
250
			end
251
		end
252
	end
253
----------musics---------------
254
	M1=SetMusic(304348935)
255
	M2=SetMusic(245858066)
256
	M3=SetMusic(328782242)
257
	M4=SetMusic(233244678)
258
	M5=SetMusic(235942069)
259
	M6=SetMusic(163985172)
260
	M7=SetMusic(235945256)
261
	M8=SetMusic(291836402)
262
	M9=SetMusic(249667133)
263
	M10=SetMusic(270731175)
264
	M11=SetMusic(312655571)
265
	M12=SetMusic(316168561)
266
	M13=SetMusic(229373816)
267
	M14=SetMusic(238438433)
268
	M15=SetMusic(253846450)
269
	M16=SetMusic(249667133)
270
-------------------------------
271
	
272
	if char:FindFirstChild("HumanoidRootPart") ~= nil then
273
		rootpart = char:FindFirstChild("HumanoidRootPart")
274
	end
275
	if showtag == true then
276
		local bbg = Instance.new("BillboardGui",c)
277
		bbg.Adornee = c
278
		bbg.Name = "satuttava"
279
		bbg.Size = UDim2.new(6,0,2,0)
280
		bbg.StudsOffset = Vector3.new(0,2,0)
281
		local box = Instance.new("TextLabel",bbg)
282
		box.Size = UDim2.new(1,0,1,0)
283
		box.BackgroundColor = BrickColor.new("White")
284
		box.TextColor3 = Color3.new(255,0,0)
285
		box.TextStrokeTransparency = 0.5
286
		box.Font = 3
287
		box.Text = Player.Name
288
		box.BackgroundTransparency = 1
289
		box.Position = UDim2.new(0,0,0,0)
290
		box.TextScaled = true
291
	end
292
	if char:FindFirstChild("Humanoid") ~= nil then
293
		char:FindFirstChild("Humanoid").MaxHealth = (100*100*100*100)*100
294
		wait()
295
		char:FindFirstChild("Humanoid").Health = char:FindFirstChild("Humanoid").MaxHealth
296
		--char:FindFirstChild("Humanoid").Name = game.Players.LocalPlayer.Name
297
		humanoid = char:FindFirstChild("Humanoid")
298
		if humanoid:FindFirstChild("Animator") ~= nil then
299
			humanoid:FindFirstChild("Animator"):Remove()
300
			--Instance.new("Animator",humanoid)
301
		end
302
		if char:FindFirstChild("Animate") ~= nil then
303
			char:FindFirstChild("Animate"):Remove()
304
		end
305
	end
306
	Mouse = player:GetMouse()
307
	Music = Instance.new("Sound",char.Head)
308
	Music.Volume = 1
309
	Music.Looped = true
310
	Music.SoundId = Asset
311
	Animate = Instance.new("Animation",char.Head)
312
	Animate.AnimationId = Asset
313
	
314
	
315
	
316
	head = char:FindFirstChild("Head")
317
	torso = char:FindFirstChild("Torso")
318
	ra = char:findFirstChild("Right Arm")
319
	la = char:findFirstChild("Left Arm")
320
	rl = char:findFirstChild("Right Leg")
321
	ll = char:findFirstChild("Left Leg")
322
	rs = torso:findFirstChild("Right Shoulder")
323
	ls = torso:findFirstChild("Left Shoulder")
324
	rh = torso:findFirstChild("Right Hip")
325
	lh = torso:findFirstChild("Left Hip")
326
	neck = torso:findFirstChild("Neck")
327
	rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
328
	
329
	state = humanoid:GetState()
330
	local ca = nil
331
	ca=GenerateGui()
332
	ca.Parent = player.PlayerGui
333
	if ca:FindFirstChild("Logo") ~= nil then
334
		ca:FindFirstChild("Logo"):TweenPosition(UDim2.new(0, 0, 1, -100), "Out", "Quad", 3, true)
335
		if ca:FindFirstChild("Intro") ~= nil then
336
			ca:FindFirstChild("Intro"):Play()
337
			coroutine.resume(coroutine.create(function() 
338
				for i=0,30 do
339
					ca:FindFirstChild("Intro").Volume = 1/(i/2)
340
					wait(0.5)
341
					if i >= 30 then
342
						break
343
					end
344
				end
345
			end))
346
		end
347
	end
348
349
	if humanoid ~= nil then
350
		humanoid.Changed:connect(function(pro)
351
			if pro == "MoveDirection" or pro == "Jump" then
352
				if Music.IsPlaying == true then
353
					AnimationStop()
354
				end
355
			end
356
		end)
357
		humanoid.Died:connect(function()
358
			AnimationStop()
359
		end)
360
		
361
	Mouse.KeyUp:connect(function(key) 
362
		if key == "w" then
363
			W = false
364
		end
365
		if key == "a" then
366
			A = false
367
		end
368
		if key == "s" then
369
			S = false
370
		end
371
		if key == "d" then
372
			D = false
373
		end
374
		if string.byte(key) == 48 then
375
			run = false
376
		end
377
	end)
378
		
379
	Mouse.KeyDown:connect(function(key) 
380
		if key == "w" then
381
			W = true
382
			AnimationStop()
383
		end
384
		if key == "a" then
385
			A = true
386
			AnimationStop()
387
		end
388
		if key == "s" then
389
			S = true
390
			AnimationStop()
391
		end
392
		if key == "d" then
393
			D = true
394
			AnimationStop()
395
		end
396
	end)
397
	
398
	
399
	
400
	Mouse.KeyDown:connect(function(key) 
401
		KeyUsed(key)
402
	end)
403
end
404
end
405
print'KrystalDance By: KrystalTeam as fully Loaded!'
406
end
407
408
function KeyUsed(key)
409
		if humanoid ~= nil then
410
			if humanoid.Health > 0 then
411
				if string.byte(key) == 32 then
412
					jump = true
413
					AnimationStop()
414
					--sit = false
415
				end
416
				if string.byte(key) == 50 then
417
					AnimationStop()
418
					if sit == true then
419
						sit = false
420
					else
421
						sit = true
422
					end
423
				end
424
				if string.byte(key) == 48 then
425
					run = true
426
				end
427
				if W == false and A == false and S == false and D == false and jump == false and sit == false then
428
					if key == "Q" or key == "q" then
429
						AnimationStop()
430
						canttouch = true
431
						M1:Play()
432
					end
433
					if key == "E" or key == "e" then
434
						AnimationStop()
435
						party = true
436
						M2:Play()
437
					end
438
					if key == "R" or key == "r" then
439
						AnimationStop()
440
						jerk = true
441
						M3:Play()
442
					end
443
					if key == "T" or key == "t" then
444
						AnimationStop()
445
						happy = true
446
						M4:Play()
447
					end
448
					if key == "Y" or key == "y" then
449
						AnimationStop()
450
						spin = true
451
						M5:Play()
452
					end
453
					if key == "U" or key == "u" then
454
						AnimationStop()
455
						thriller = true
456
						M6:Play()
457
					end
458
					if key == "F" or key == "f" then
459
						AnimationStop()
460
						barrel = true
461
						M7:Play()
462
						if barrelbrick == nil and barrel == true then
463
							barrelbrick = P(2,2,1,'Black',0,false,false)
464
							a=fm(barrelbrick,29873142,1.1,0.8,1.1,31082268) a.VertexColor = Vector3.new(1,1,1)
465
							We(barrelbrick,char.Torso,0,-0.2,0,0,0,0)
466
						end
467
					end
468
					if key == "P" or key == "p" then
469
						AnimationStop()
470
						sax = true
471
						M8:Play()
472
						if saxtool == nil and sax == true then
473
							saxtool = P(1,2,2,'Black',0,false,false)
474
							a=fm(saxtool,44410178,1.5,1.5,1.5,44410320) a.VertexColor = Vector3.new(1,1,1)
475
							b=We(saxtool,char:FindFirstChild("Left Arm"),0,-1,0,0,0,0)
476
							b.C1 = CFrame.new(0.5, -0.9, -0.3) * CFrame.Angles(math.pi/1.5, -math.pi/2, -math.pi/8)
477
						end
478
					end
479
					if key == "G" or key == "g" then
480
						AnimationStop()
481
						spooky = true
482
						M9:Play()
483
					end
484
					if key == "H" or key == "h" then
485
						AnimationStop()
486
						stride = true
487
						M10:Play()
488
					end
489
					if key == "J" or key == "j" then
490
						AnimationStop()
491
						shuffle = true
492
						M11:Play()
493
					end
494
					if key == "K" or key == "k" then
495
						AnimationStop()
496
						rock = true
497
						M12:Play()
498
					end
499
					if key == "L" or key == "l" then
500
						AnimationStop()
501
						gagnam = true
502
						M13:Play()
503
					end
504
					if key == "Z" or key == "z" then
505
						AnimationStop()
506
						snoop = true
507
						M14:Play()
508
					end
509
					if key == "X" or key == "x" then
510
						AnimationStop()
511
						darude = true
512
						M15:Play()
513
						if sandstorm == nil and darude == true then
514
							sandstorm = P(1,1,1,'Black',0,false,false)
515
							sandstorm.Transparency = 1
516
							a=Instance.new("Smoke",sandstorm)
517
							a.Color = Color3.new(255/255,255/255,175/255)
518
							a.Size = 0.4
519
							a.RiseVelocity = 3
520
							a.Opacity = 0.75
521
							b=We(sandstorm,char:FindFirstChild("Torso"),0,0,0,0,0,0)
522
							b.C1 = CFrame.new(0, -2, 0)
523
						end
524
					end
525
					if key == "C" or key == "c" then
526
						AnimationStop()
527
						taco = true
528
						M16:Play()
529
					end
530
				end
531
			end
532
		end
533
end
534
535
Generate(Player)
536
537
game:service'RunService'.Stepped:connect(function()
538
	count = (count % 100) + countspeed
539
	angle = math.pi * math.sin(math.pi*2/100*count)
540
	countspeed = 1
541
	
542
	state = humanoid:GetState()
543
	if state ~= Enum.HumanoidStateType.Freefall then
544
		jump = false
545
	else
546
		jump = true
547
		sit = false
548
		AnimationStop()
549
	end
550
	
551
	local mesh1anan = Instance.new("SpecialMesh")
552
	mesh1anan.MeshType = Enum.MeshType.FileMesh
553
	mesh1anan.Scale = Vector3.new(3,3,3)
554
	mesh1anan.MeshId = "http://www.roblox.com/asset/?id=14846869"
555
	mesh1anan.TextureId = "http://www.roblox.com/asset/?id=14846834"
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
	        meshanananan.Scale = Vector3.new(math.random()*20,math.random()*20,math.random()*20)
565
	        tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250)
566
	        tacoa.Parent = workspace
567
	        game:GetService("Debris"):AddItem(tacoa,4)
568
		end
569
	end
570
	
571
	
572
	
573
	
574
	if canttouch == false then	
575
		M1:Stop()
576
	end
577
	if party == false then	
578
		M2:Stop()
579
	end
580
	if jerk == false then	
581
		M3:Stop()
582
	end
583
	if happy == false then	
584
		M4:Stop()
585
	end
586
	if spin == false then	
587
		M5:Stop()
588
	end
589
	if thriller == false then	
590
		M6:Stop()
591
	end
592
	if barrel == false then	
593
		M7:Stop()
594
	end
595
	if sax == false then	
596
		M8:Stop()
597
	end
598
	if spooky == false then	
599
		M9:Stop()
600
	end
601
	if stride == false then	
602
		M10:Stop()
603
	end
604
	if shuffle == false then	
605
		M11:Stop()
606
	end
607
	if rock == false then
608
		M12:Stop()
609
	end
610
	if gagnam == false then
611
		M13:Stop()
612
	end
613
	if snoop == false then
614
		M14:Stop()	
615
	end
616
	if darude == false then
617
		M15:Stop()
618
	end
619
	if taco == false then
620
		M16: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 = 4
800
			ls.C1 = CFrame.new(0,0.75,-0.15) * CFrame.Angles(-math.pi/4, 0, (math.pi/2 + angle/14) - math.pi/20)
801
			rs.C1 = CFrame.new(0,0.75,-0.15) * 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 = 4
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)