SHOW:
|
|
- or go back to the newest paste.
1 | - | --[[epico here, just leaking MY dancer. |
1 | + | this is epico's dancer not mine i just rescripted some dances lol |
2 | - | most of what you have been told about this script is likely a lie, |
2 | + | |
3 | - | as it was leaked by deadly3652/scaoth22 for revenge on me ignoring him when i was GROUNDED AND DIDNT HAVE SKYPE |
3 | + | |
4 | - | so he stole it and leaked it |
4 | + | |
5 | - | no matter what u are told, this dancer was made by epico and epico alone! |
5 | + | |
6 | local atan2 = math.atan2 | |
7 | local rad = math.rad | |
8 | local sin = math.sin | |
9 | local abs = math.abs | |
10 | local ceil = math.ceil | |
11 | ||
12 | local function getAngles(cf) | |
13 | local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components() | |
14 | return atan2(-m12,m22),asin(m02),atan2(-m01,m00) | |
15 | end | |
16 | Lerp = { | |
17 | Number = function(C1,C2,inc) | |
18 | return C1 + (C2 - C1) * inc | |
19 | end; | |
20 | CFrame = function(a,b,m) | |
21 | local c,d={a:components()},{b:components()} | |
22 | table.foreach(c,function(a,b)c[a]=c[a]+(d[a]-c[a])*m end) | |
23 | return CFrame.new(unpack(c)) | |
24 | end; | |
25 | } | |
26 | local function genWeld(a,b) | |
27 | local w = Instance.new("Weld",a) | |
28 | w.Part0 = a | |
29 | w.Part1 = b | |
30 | return w | |
31 | end | |
32 | local Song = function(id,pitch) | |
33 | for i,v in pairs(chr:GetChildren()) do | |
34 | if v:IsA("Sound") then | |
35 | v:Destroy() | |
36 | end | |
37 | end | |
38 | if id ~='252166378' then | |
39 | sound = Instance.new("Sound",chr) | |
40 | sound.Volume = math.huge | |
41 | sound.Looped = true | |
42 | sound.SoundId="rbxassetid://"..id | |
43 | if pitch~=nil then | |
44 | sound.Pitch=pitch | |
45 | end | |
46 | sound:Play() | |
47 | elseif id == '252166378' then | |
48 | for i = 1,100 do | |
49 | sound = Instance.new("Sound",chr) | |
50 | sound.Volume = math.huge | |
51 | sound.Looped = true | |
52 | sound.SoundId="rbxassetid://"..id | |
53 | if pitch~=nil then | |
54 | sound.Pitch=pitch | |
55 | end | |
56 | sound:Play() | |
57 | end | |
58 | end | |
59 | end | |
60 | Part = function(x,y,z,color,tr,cc,an,parent) | |
61 | local p = Instance.new('Part',parent or Weapon) | |
62 | p.formFactor = 'Custom' | |
63 | p.Size = Vector3.new(x,y,z) | |
64 | p.BrickColor = BrickColor.new(color) | |
65 | p.CanCollide = cc | |
66 | p.Transparency = tr | |
67 | p.Anchored = an | |
68 | p.TopSurface,p.BottomSurface = 0,0 | |
69 | p:BreakJoints() | |
70 | return p | |
71 | end | |
72 | Weld = function(p0,p1,x,y,z,rx,ry,rz,par) | |
73 | local w = Instance.new('Motor',par or p0) | |
74 | w.Part0 = p0 | |
75 | w.Part1 = p1 | |
76 | w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz) | |
77 | return w | |
78 | end | |
79 | Mesh = function(par,num,x,y,z) | |
80 | local msh = nil | |
81 | if num == 1 then | |
82 | msh = Instance.new("CylinderMesh",par) | |
83 | elseif num == 2 then | |
84 | msh = Instance.new("SpecialMesh",par) | |
85 | msh.MeshType = 'Wedge' | |
86 | elseif num == 3 then | |
87 | msh = Instance.new("BlockMesh",par) | |
88 | elseif type(num) == 'string' then | |
89 | msh = Instance.new("SpecialMesh",par) | |
90 | msh.MeshId = num | |
91 | end | |
92 | msh.Scale = Vector3.new(x,y,z) | |
93 | return msh | |
94 | end | |
95 | anglespeed = 1 | |
96 | yeet = 0 | |
97 | count = 0 | |
98 | angle = 0 | |
99 | local dance = 0 | |
100 | speed = 1 | |
101 | local plr=game.Players.LocalPlayer | |
102 | local chr=plr.Character | |
103 | local torso=chr.Torso | |
104 | local mouse=plr:GetMouse() | |
105 | local Neck = genWeld(chr.Torso,chr.Head) | |
106 | Neck.C0 = CFrame.new(0,1,0) | |
107 | Neck.C1 = CFrame.new(0,-0.5,0) | |
108 | local LeftShoulder = genWeld(chr.Torso,chr['Left Arm']) | |
109 | LeftShoulder.C0 = CFrame.new(-1,0.5,0) | |
110 | LeftShoulder.C1 = CFrame.new(0.5,0.5,0) | |
111 | RightShoulder = genWeld(chr.Torso,chr['Right Arm']) | |
112 | RightShoulder.C0 = CFrame.new(1,0.5,0) | |
113 | RightShoulder.C1 = CFrame.new(-0.5,0.5,0) | |
114 | local LeftHip = genWeld(chr.Torso,chr['Left Leg']) | |
115 | LeftHip.C0 = CFrame.new(-1,-1,0) | |
116 | LeftHip.C1 = CFrame.new(-0.5,1,0) | |
117 | local RightHip = genWeld(chr.Torso,chr['Right Leg']) | |
118 | RightHip.C0 = CFrame.new(1,-1,0) | |
119 | RightHip.C1 = CFrame.new(0.5,1,0) | |
120 | local RootJoint = genWeld(chr.HumanoidRootPart,chr.Torso) | |
121 | RootJoint.C0 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/2,0,math.pi) | |
122 | RootJoint.C1 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/2,0,math.pi) | |
123 | local function newLerpTo(weld) | |
124 | return { | |
125 | Weld = weld; -- The weld that will lerp | |
126 | To = weld.C0; -- Where it will lerp to; a CFrame | |
127 | Cache = weld.C0; -- Cache of original position; it helps when making anim keyframes | |
128 | Speed = 0.1; -- Speed of lerp. 0.1 or 0.2 is best | |
129 | } | |
130 | end | |
131 | ||
132 | LerpTo = { | |
133 | Neck = newLerpTo(Neck); | |
134 | LeftArm = newLerpTo(LeftShoulder); | |
135 | RightArm = newLerpTo(RightShoulder); | |
136 | LeftLeg = newLerpTo(LeftHip); | |
137 | RightLeg = newLerpTo(RightHip); | |
138 | RootJoint = newLerpTo(RootJoint); | |
139 | } | |
140 | local anim = true | |
141 | local function updateanims() | |
142 | if anim==true then | |
143 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 and dance == 0 then | |
144 | anglespeed = 1/3 | |
145 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(sin(angle)*0.05,0,0) | |
146 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(abs(sin(angle))*.2,rad(0),rad(0)) | |
147 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(-abs(sin(angle))*.2,0,0) | |
148 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(0,0,abs(sin(angle))*0.2) | |
149 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(0,0,-abs(sin(angle))*0.2) | |
150 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache * CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
151 | end | |
152 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 and dance == 0 then | |
153 | anglespeed = 1.5 | |
154 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,math.sin(angle)*0.05) | |
155 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(sin(angle)*.8,0,0) | |
156 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(-sin(angle)*.8,0,0) | |
157 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(-sin(angle)*.8,0,0) | |
158 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(sin(angle)*.8,0,0) | |
159 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache * CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
160 | end | |
161 | end | |
162 | if anim == false then | |
163 | if dance == 1 then | |
164 | anglespeed = 3 | |
165 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(rad(10),0,sin(yeet)*0.1) | |
166 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(rad(20),sin(angle)*0.2,sin(angle)*0.5) * CFrame.new(0,-abs(sin(angle))*0.5,0) | |
167 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90)-sin(angle)*1,0,-rad(10)) | |
168 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90)-sin(angle)*1,0,rad(10)) | |
169 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(rad(20),0,abs(sin(yeet))*0.1) | |
170 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(rad(20),0,-abs(sin(yeet))*0.1) | |
171 | end | |
172 | if dance == 2 then | |
173 | anglespeed = 3 | |
174 | LerpTo.Neck.To = LerpTo.Neck.Cache*CFrame.Angles(0,0,sin(angle)*.1) | |
175 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(0,0,2+sin(angle)*.25) | |
176 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90)+sin(angle)*1,0,rad(5)+sin(angle)*-.5) | |
177 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90)+sin(angle)*1,0,rad(5)-sin(angle)*-.5) | |
178 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(rad(0),rad(0),sin(angle)*.25) | |
179 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(rad(0),rad(0),sin(angle)*-.25) | |
180 | end | |
181 | if dance == 3 then | |
182 | anglespeed = 1.5 | |
183 | LerpTo.Neck.To = LerpTo.Neck.Cache*CFrame.Angles(0,0,0) | |
184 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,0)*CFrame.new(sin(angle)*5,0,0) | |
185 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(90)-sin(angle)*1,0,rad(0)-sin(angle)*.25) | |
186 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache*CFrame.Angles(rad(0),rad(0),sin(angle)*.25) | |
187 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache*CFrame.Angles(0,0,sin(angle)*.1) | |
188 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,-sin(angle)*.1) | |
189 | end | |
190 | if dance == 4 then | |
191 | anglespeed = 1.5 | |
192 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,0) | |
193 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(0,sin(angle)*5,0) | |
194 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(0),rad(0),sin(angle)*.25) | |
195 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(0),rad(0),sin(angle)*.25) | |
196 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(sin(angle)*.25,0,0) | |
197 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(sin(angle)*-.25,0,0) | |
198 | end | |
199 | if dance == 5 then | |
200 | anglespeed = 3 | |
201 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(-rad(25),0,0) | |
202 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(0,0,0) * CFrame.Angles(-rad(25)+sin(angle)*.1,0,0) | |
203 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90),0,-rad(55)) | |
204 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90),0,rad(55)) | |
205 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(-rad(25)+sin(angle)*.1,0,0) | |
206 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(-rad(25)+sin(angle)*.1,0,0) | |
207 | end | |
208 | if dance == 6 then | |
209 | anglespeed = 2 | |
210 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0) | |
211 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0,math.sin(angle)*.2) | |
212 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), 0, math.sin(angle*1)*.5) | |
213 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), 0, math.sin(angle*1)*.5) | |
214 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(0, math.sin(angle)*.2, math.rad(2.5)) | |
215 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(0, -math.sin(angle)*.2, -math.rad(2.5)) | |
216 | end | |
217 | if dance == 7 then -- insane spaz out l0l | |
218 | anglespeed = 1 | |
219 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
220 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(math.random(-5,5),math.random(-5,5),0)*CFrame.Angles(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
221 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
222 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
223 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
224 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
225 | end | |
226 | if dance == 8 then -- roleo dance :D | |
227 | anglespeed = 4 | |
228 | LerpTo.RightArm.To = LerpTo.RightArm.Cache*CFrame.Angles(rad(180),0,sin(angle)*.3) | |
229 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache*CFrame.Angles(rad(180),0,sin(angle)*.3) | |
230 | end | |
231 | if dance == 9 then -- XD lol mast3r ba!t!ng dance :) | |
232 | anglespeed = 6 | |
233 | LerpTo.RightArm.To = LerpTo.RightArm.Cache*CFrame.Angles(rad(90)+sin(angle)*1,0,rad(-45)) | |
234 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache*CFrame.Angles(rad(90)+sin(angle)*1,0,rad(45)) | |
235 | end | |
236 | if dance == 10 then --but scratch :D | |
237 | anglespeed = 5 | |
238 | LerpTo.RightArm.To = LerpTo.RightArm.Cache*CFrame.Angles(rad(-25),0,rad(-25))*CFrame.new(0,sin(angle)*.5,0) | |
239 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache*CFrame.Angles(rad(-25),0,rad(25))*CFrame.new(0,sin(angle)*.5,0) | |
240 | end | |
241 | if dance == 11 then -- CARTWHEELS LOLW0T!? | |
242 | anglespeed = 2 | |
243 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(sin(angle)*2,0,0)*CFrame.new(0,sin(angle)*2,0) | |
244 | end | |
245 | if dance == 12 then -- EPICO :) | |
246 | anglespeed = 5 | |
247 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,sin(angle)*2) | |
248 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,sin(angle)*2) | |
249 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(90),rad(0),sin(angle)*2) | |
250 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(90),rad(0),sin(angle)*2) | |
251 | end | |
252 | if dance == 13 then -- EPICO2 :) | |
253 | anglespeed = 5 | |
254 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(rad(-25)+sin(angle)*.5,0,0) | |
255 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(90)+sin(angle)*.2,rad(0),rad(-15)) | |
256 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(90)+sin(angle)*.2,rad(0),rad(15)) | |
257 | elseif dance == 14 then -- FLIPS :) | |
258 | anglespeed = 6 | |
259 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(math.cos(0,360)*angle,0,0) | |
260 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(45),rad(0),rad(0)) | |
261 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(45),rad(0),rad(0)) | |
262 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.new(0,1,-.75) | |
263 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.new(0,1,-.75) | |
264 | end | |
265 | if dance == 15 then | |
266 | anglespeed = 3 | |
267 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(rad(10),0,sin(yeet)*0.1) | |
268 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(rad(20),sin(angle)*0.2,sin(angle)*0.5) * CFrame.new(0,-abs(sin(angle))*2,0) | |
269 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90)-sin(angle)*1,0,-rad(10)) | |
270 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90)-sin(angle)*1,0,rad(10)) | |
271 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(rad(20),0,abs(sin(yeet))*0.1) | |
272 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(rad(20),0,-abs(sin(yeet))*0.1) | |
273 | end | |
274 | if dance == 16 then | |
275 | anglespeed = 3 | |
276 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(rad(0),rad(90),rad(0)) | |
277 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(rad(90),rad(0),rad(0))*CFrame.new(0,-2.5,0) | |
278 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(170),rad(0),rad(15)) | |
279 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(0),rad(0),rad(-75)) | |
280 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(rad(0),rad(0),rad(0)) | |
281 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(rad(0),rad(0),rad(0)) | |
282 | end | |
283 | if dance == 17 then | |
284 | anglespeed = 2 | |
285 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0) | |
286 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache*CFrame.new(math.sin(angle)*2,0,0) * CFrame.Angles(math.pi/20,0,-math.sin(angle)*.5) | |
287 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*.5), math.pi/20, -math.pi/20) | |
288 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*.5), -math.pi/20, math.pi/20) | |
289 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(math.pi/20+math.sin(angle)*0.2, math.sin(angle)*0.08, math.rad(2.5)) | |
290 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(math.pi/20-math.sin(angle)*0.2, -math.sin(angle)*0.08, -math.rad(2.5)) | |
291 | end | |
292 | if dance == 18 then | |
293 | anglespeed = 4 | |
294 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,sin(angle)*2,0) | |
295 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(0, 0, math.rad(90)-sin(angle)*1) | |
296 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0, math.rad(-90)+sin(angle)*1) | |
297 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(rad(0),rad(0),rad(0)) | |
298 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(rad(0),rad(0),rad(0)) | |
299 | end | |
300 | if dance == 19 then | |
301 | anglespeed = 4 | |
302 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(rad(30),0,0) | |
303 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(math.pi/5,0,0) | |
304 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(math.rad(180)-sin(angle)*1,0,0) | |
305 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(math.rad(180)-sin(angle)*1,0,0) | |
306 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(rad(30),rad(0),rad(0)) | |
307 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(rad(30),rad(0),rad(0)) | |
308 | end | |
309 | if dance == 20 then | |
310 | anglespeed = 5 | |
311 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(math.cos(0,360)*angle,0,0) | |
312 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(math.rad(180),0,0) | |
313 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(math.rad(180),0,0) | |
314 | end | |
315 | if dance == 21 then | |
316 | anglespeed = 5 | |
317 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,sin(angle)*1) | |
318 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(-sin(angle)*1,0,0) | |
319 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(sin(angle)*1,0,0) | |
320 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(sin(angle)*1,0,0) | |
321 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(-sin(angle)*1,0,0) | |
322 | end | |
323 | if dance == 22 then | |
324 | anglespeed = 5 | |
325 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,math.cos(0,360)*angle,0) | |
326 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(math.rad(180),0,0) | |
327 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(math.rad(180),0,0) | |
328 | end | |
329 | if dance == 23 then | |
330 | anglespeed = 3 | |
331 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(rad(25),0,0) | |
332 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,sin(angle)*1) | |
333 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(0,0,rad(90)+sin(angle)*2) | |
334 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0,-rad(90)-sin(angle)*2) | |
335 | end | |
336 | if dance == 24 then | |
337 | anglespeed = 2 | |
338 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(sin(angle)*.75,rad(45),0) | |
339 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0) | |
340 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(0,0,0) | |
341 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(0,0,0) | |
342 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0) | |
343 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0) | |
344 | end | |
345 | if dance == 25 then | |
346 | anglespeed = 3 | |
347 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(rad(25),0,0) | |
348 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(rad(25),0,sin(angle)*.2) | |
349 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(90)-sin(angle)*.2,rad(0),rad(0)) | |
350 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(90)+sin(angle)*.2,rad(0),rad(0)) | |
351 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(rad(25),0,0) | |
352 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(rad(25),0,0) | |
353 | end | |
354 | if dance == 26 then | |
355 | anglespeed = 5 | |
356 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(-abs(sin(angle))*.5,0,0) | |
357 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0)*CFrame.new(0,sin(angle)*2,0) | |
358 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(135)+sin(angle)*.4,0,-rad(15)) | |
359 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(135)+sin(angle)*.4,rad(0),rad(15)) | |
360 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(sin(angle)*.4,0,0) | |
361 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(-sin(angle)*.4,0,0) | |
362 | end | |
363 | if dance == 27 then | |
364 | anglespeed = 2 | |
365 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,0) | |
366 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.new(sin(angle)*3,0,0)*CFrame.Angles(rad(90),0,sin(angle)*3) | |
367 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(sin(angle)*1.5,0,0) | |
368 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(-sin(angle)*1.5,0,0) | |
369 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(-sin(angle)*1.5,0,0) | |
370 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(sin(angle)*1.5,0,0) | |
371 | end | |
372 | if dance == 28 then | |
373 | anglespeed = 2 | |
374 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,0) | |
375 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.new(0,0,abs(sin(angle))*3) | |
376 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(180),0,rad(25)) | |
377 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(180),0,-rad(25)) | |
378 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0)*CFrame.new(0,abs(sin(angle))*1,0) | |
379 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0)*CFrame.new(0,abs(sin(angle))*1,0) | |
380 | end | |
381 | if dance == 29 then | |
382 | anglespeed = 5 | |
383 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,0) | |
384 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0) | |
385 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(sin(angle)*2,0,0) | |
386 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(-sin(angle)*2,0,0) | |
387 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0) | |
388 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0) | |
389 | end | |
390 | if dance == 30 then | |
391 | anglespeed = 3 | |
392 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,0) | |
393 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0) | |
394 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(sin(angle)*2,0,0) | |
395 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(-sin(angle)*2,0,0) | |
396 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.new(0,abs(sin(angle))*1,-abs(sin(angle))*1)*CFrame.Angles(-rad(25),0,0) | |
397 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.new(0,abs(sin(angle))*1,-abs(sin(angle))*1)*CFrame.Angles(-rad(45),0,0) | |
398 | end | |
399 | if dance == 31 then | |
400 | anglespeed = 1 | |
401 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,0) | |
402 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0) | |
403 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(abs(sin(angle))*2.5,0,-abs(sin(angle))*1) | |
404 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(0,0,0) | |
405 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0) | |
406 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0) | |
407 | end | |
408 | if dance == 32 then | |
409 | anglespeed = 4 | |
410 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,-sin(angle)*0.2,0) | |
411 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,sin(angle)*0.2) | |
412 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(80)+sin(angle)*0.2,0,-rad(50)) *CFrame.new(0,-.5,0) | |
413 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90)+sin(angle)*0.2,0,rad(50))*CFrame.new(0,-.5,0) | |
414 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(0,0,rad(20)+sin(angle)*0.5) *CFrame.new(0,abs(sin(angle))*0.3,0) | |
415 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(0,0,-rad(20)+sin(angle)*0.5) *CFrame.new(0,abs(sin(angle))*0.3,0) | |
416 | end | |
417 | if dance == 33 then | |
418 | anglespeed = 4 | |
419 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,-sin(angle)*0.2,0) | |
420 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,sin(angle)*0.2) * CFrame.new(0,0,-abs(sin(angle))*0.4) | |
421 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(180)+sin(angle)*1,0,sin(angle)*1) | |
422 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90)+sin(angle)*0.2,0,rad(50))*CFrame.new(0,-.5,0) | |
423 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(0,0,rad(20)+sin(angle)*0.5) *CFrame.new(0,abs(sin(angle))*0.3,0) | |
424 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(0,0,-rad(20)+sin(angle)*0.5) *CFrame.new(0,abs(sin(angle))*0.3,0) | |
425 | end | |
426 | if dance == 34 then | |
427 | anglespeed = 3 | |
428 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(rad(25),0,0) | |
429 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(rad(25),0,sin(angle)*.2) | |
430 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(90)-sin(angle)*.2,rad(0),rad(0)) | |
431 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(90)+sin(angle)*.2,rad(0),rad(0)) | |
432 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(rad(25),0,0) | |
433 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(rad(25),0,0) | |
434 | end | |
435 | if dance == 35 then | |
436 | anglespeed = 3 | |
437 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,0) | |
438 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0) | |
439 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(100),rad(35),rad(75)) | |
440 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(75)+sin(angle)*.5,0,rad(75))*CFrame.new(0,-.75+sin(angle)*.2,0) | |
441 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0) | |
442 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0) | |
443 | end | |
444 | if dance == 36 then | |
445 | anglespeed = 3 | |
446 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(-rad(25),0,0) | |
447 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0) | |
448 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(90)-abs(sin(angle))*.5,0,sin(angle)*1.75) | |
449 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(90)-abs(sin(angle)) * .25,0,sin(angle)*1.5) | |
450 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0) | |
451 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0) | |
452 | end | |
453 | if dance == 37 then | |
454 | anglespeed = 2 | |
455 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(rad(15),sin(angle)*.75,0) | |
456 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0) | |
457 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(90)+abs(sin(angle))*1,rad(15),-rad(15)) | |
458 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(90)+abs(sin(angle))*1,-rad(15),rad(15)) | |
459 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,-abs(sin(angle))*.2,0) | |
460 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,abs(sin(angle))*.2,0) | |
461 | end | |
462 | if dance == 38 then | |
463 | anglespeed = 2 | |
464 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(rad(15),0,0) | |
465 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,sin(angle)*1) | |
466 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(0,0,rad(90)+sin(angle)*1) | |
467 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(0,0,-rad(90)-sin(angle)*1) | |
468 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0) | |
469 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0) | |
470 | end | |
471 | if dance == 39 then | |
472 | anglespeed = 2 | |
473 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,0) | |
474 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0) | |
475 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(180),0,sin(angle)*.25) | |
476 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(180),0,sin(angle)*.25) | |
477 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0) | |
478 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0) | |
479 | end | |
480 | if dance == 40 then | |
481 | anglespeed = 2 | |
482 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,-abs(sin(angle))*.75,0) | |
483 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,abs(sin(angle))*.75) | |
484 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(90),0,abs(sin(angle))*.75) | |
485 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(0,0,-abs(sin(angle))*.25) | |
486 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0) | |
487 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0) | |
488 | end | |
489 | if dance == 41 then | |
490 | anglespeed = 1 | |
491 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,0) | |
492 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0) | |
493 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(135)-abs(sin(angle))*2.75,0,rad(25)-abs(sin(angle))*.5) | |
494 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(135)-abs(sin(angle))*2.75,0,-rad(25)+abs(sin(angle))*.5) | |
495 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0) | |
496 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0) | |
497 | end | |
498 | if dance == 42 then | |
499 | anglespeed = 4 | |
500 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(rad(45)+sin(angle)*.5,0,0) | |
501 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(rad(45)+sin(angle)*.5,0,0) | |
502 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(45)+sin(angle)*.5,0,-rad(15)) | |
503 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(45)+sin(angle)*.5,0,rad(15)) | |
504 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(rad(45)+sin(angle)*.5,0,rad(5)) | |
505 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(rad(45)+sin(angle)*.5,0, -rad(5)) | |
506 | end | |
507 | if dance == 43 then | |
508 | anglespeed = 3 | |
509 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,-math.cos(0,360)*angle,0) | |
510 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,math.cos(0,360)*angle) | |
511 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(0,0,rad(135)) | |
512 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(0,0,-rad(135)) | |
513 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,-rad(15)) | |
514 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,rad(15)) | |
515 | end | |
516 | if dance == 44 then | |
517 | anglespeed = 2 | |
518 | LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0) | |
519 | LerpTo.RootJoint.To = LerpTo.RootJoint.Cache*CFrame.new(math.sin(angle)*2,0,0) * CFrame.Angles(math.pi/20,0,-math.sin(angle)*.5) | |
520 | LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*.5), math.pi/20, -math.pi/20) | |
521 | LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*.5), -math.pi/20, math.pi/20) | |
522 | LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(math.pi/20+math.sin(angle)*0.2, math.sin(angle)*0.08, math.rad(2.5)) | |
523 | LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(math.pi/20-math.sin(angle)*0.2, -math.sin(angle)*0.08, -math.rad(2.5)) | |
524 | end | |
525 | if dance == 45 then | |
526 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,rad(75),rad(0)) | |
527 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,-rad(75)) | |
528 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(45),0,-rad(25)) | |
529 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(rad(50),0,rad(75)) | |
530 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(-rad(15),0,rad(5))*CFrame.new(0,.5,0) | |
531 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(-rad(10),0,-rad(6))*CFrame.new(0,.5,0) | |
532 | end | |
533 | if dance == 46 then | |
534 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,rad(0)) | |
535 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0) | |
536 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(rad(135),0,-rad(45)) | |
537 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(-rad(15),0,rad(15)) | |
538 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(0,0,0) | |
539 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(0,0,0) | |
540 | end | |
541 | if dance == 47 then | |
542 | anglespeed = 4 | |
543 | LerpTo.Neck.To=LerpTo.Neck.Cache*CFrame.Angles(0,0,rad(0)) | |
544 | LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,sin(angle)*.4) | |
545 | LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(sin(angle)*.4,0,0) | |
546 | LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(-sin(angle)*.4,0,0) | |
547 | LerpTo.RightLeg.To=LerpTo.RightLeg.Cache*CFrame.Angles(-sin(angle)*.4,0,0) | |
548 | LerpTo.LeftLeg.To=LerpTo.LeftLeg.Cache*CFrame.Angles(sin(angle)*.4,0,0) | |
549 | end | |
550 | end | |
551 | end | |
552 | local pgui = plr.PlayerGui | |
553 | local scg = Instance.new("ScreenGui",pgui) | |
554 | local scf = Instance.new("ScrollingFrame",scg) | |
555 | scf.Size=UDim2.new(0,200,0,1000) | |
556 | scf.Position=UDim2.new(.6,0,0,0) | |
557 | scf.CanvasSize=UDim2.new(0,200,0,10000) | |
558 | addbutton = function(x,y,text,songid,pitch,newdance) | |
559 | if pitch ~= nil then | |
560 | local gui = Instance.new("TextButton",scf) | |
561 | gui.Size=UDim2.new(0,200,0,25) | |
562 | gui.Position=UDim2.new(0,x,0,y) | |
563 | gui.BackgroundTransparency=1 | |
564 | gui.Text=text | |
565 | gui.FontSize="Size12" | |
566 | gui.MouseButton1Click:connect(function() | |
567 | if dance > 0 then | |
568 | dance = 0 | |
569 | Song('0') | |
570 | anim = true | |
571 | elseif dance == 0 then | |
572 | Song(songid,pitch) | |
573 | anim = false | |
574 | wait() | |
575 | dance = newdance | |
576 | end | |
577 | end) | |
578 | end | |
579 | end | |
580 | ||
581 | ||
582 | ||
583 | addbutton(0,0,'Dance1','340069097',1,1) | |
584 | addbutton(0,25,'Dance2','218530627',1,2) | |
585 | addbutton(0,50,'Dance3','539275200',1,3) | |
586 | addbutton(0,75,'Dance4','325559646',1,4) | |
587 | addbutton(0,100,'Dance5','234695144',1,5) | |
588 | addbutton(0,125,'Dance6','559022031',1,25) | |
589 | addbutton(0,150,'Dance7','530568836',1,26) | |
590 | addbutton(0,175,'Dance8','528358538',1,6) | |
591 | addbutton(0,200,'Dance9','516825930',1,2) | |
592 | addbutton(0,225,'Dance10','150455860',1,7) | |
593 | addbutton(0,250,'Dance11','233613098',1,8) | |
594 | addbutton(0,275,'Dance12','224905199',1,9) | |
595 | addbutton(0,300,'Dance13','130795320',1,10) | |
596 | addbutton(0,325,'Dance14','242463565',1,11) | |
597 | addbutton(0,350,'Dance15','229845528',1,12) | |
598 | addbutton(0,375,'Dance16','130775431',1,5) | |
599 | addbutton(0,400,'Dance17','130791919',1,27) | |
600 | addbutton(0,425,'Dance18','142798479',1,28) | |
601 | addbutton(0,450,'Dance19','165065112',1,29) | |
602 | addbutton(0,475,'Dance20','131496076',1,30) | |
603 | addbutton(0,500,'Dance21','160404345',1,31) | |
604 | addbutton(0,525,'Dance22','154479412',1,32) | |
605 | addbutton(0,550,'Dance23','130844430',1,32) | |
606 | addbutton(0,575,'Dance24','165334666',1,33) | |
607 | addbutton(0,600,'Dance25','235467051',1,33) | |
608 | addbutton(0,625,'Dance26','192089439',1,34) | |
609 | addbutton(0,650,'Dance27','146366469',1,35) | |
610 | addbutton(0,675,'Dance28','174091492',1,36) | |
611 | addbutton(0,700,'Dance29','173120541',1,36) | |
612 | addbutton(0,725,'Dance30','249430669',1,35) | |
613 | addbutton(0,750,'Dance31','143620887',1,37) | |
614 | addbutton(0,775,'Dance32','149446826',1,25) | |
615 | addbutton(0,800,'Dance33','219342752',1,7) | |
616 | addbutton(0,825,'Dance34','247334773',1,7) | |
617 | addbutton(0,850,'Dance35','157872346',1,7) | |
618 | addbutton(0,875,'Dance36','177080835',1,7) | |
619 | addbutton(0,900,'Dance37','189550280',1,7) | |
620 | addbutton(0,925,'Dance38','246333259',1,1) | |
621 | addbutton(0,950,'Dance39','142314739',1,1) | |
622 | addbutton(0,975,'Dance40','160525520',1,4) | |
623 | addbutton(0,1000,'Dance41','178129014',1,37) | |
624 | addbutton(0,1025,'Dance42','130776150',1,1) | |
625 | addbutton(0,1050,'Dance43','247346728',1,35) | |
626 | addbutton(0,1075,'Dance44','273323565',1,33) | |
627 | addbutton(0,1100,'Dance45','157460849',1,38) | |
628 | addbutton(0,1125,'Dance46','149069781',1,38) | |
629 | addbutton(0,1150,'Dance47','175939350',1,37) | |
630 | addbutton(0,1175,'Dance48','142761485',1,39) | |
631 | addbutton(0,1200,'Dance49','232544821',1,40) | |
632 | addbutton(0,1225,'Dance50','151696876',1,41) | |
633 | addbutton(0,1250,'Dance51','173694098',1,7) | |
634 | addbutton(0,1275,'Dance52','263165090',1,36) | |
635 | addbutton(0,1300,'Dance53','142657040',1,25) | |
636 | addbutton(0,1325,'Dance54','176914323',1,42) | |
637 | addbutton(0,1350,'Dance55','142401311',.53,43) | |
638 | addbutton(0,1375,'Dance56','133061687',1,6) | |
639 | addbutton(0,1400,'Dance57','156055345',1,6) | |
640 | addbutton(0,1425,'Dance58','146048136',1,44) | |
641 | addbutton(0,1450,'Dance59','252754586',1,7) | |
642 | addbutton(0,1475,'Dance60','153406097',1,2) | |
643 | addbutton(0,1500,'Dance61','181767298',1,45) | |
644 | addbutton(0,1525,'Dance62','316014309',1,6) | |
645 | addbutton(0,1550,'Dance63','276829306',1,36) | |
646 | addbutton(0,1575,'Dance64','143632950',1,33) | |
647 | addbutton(0,1600,'Dance65','252166378',1,5) | |
648 | - | addbutton(0,1525,'Dance62','142688397',1,6) |
648 | + | |
649 | addbutton(0,1650,'Dance67','147876501',1,47) | |
650 | addbutton(0,1675,'Dance68','219789082',1,6) | |
651 | addbutton(0,1700,'Dance69','184052730',1,35) | |
652 | ||
653 | ||
654 | local hue = 0 | |
655 | ||
656 | function HSV(H,S,V) | |
657 | H = H % 360 | |
658 | local C = V * S | |
659 | local H2 = H/60 | |
660 | local X = C * (1 - math.abs((H2 %2) -1)) | |
661 | local color = Color3.new(0,0,0) | |
662 | if H2 <= 0 then | |
663 | color = Color3.new(C,0,0) | |
664 | elseif 0 <= H2 and H2 <= 1 then | |
665 | color = Color3.new(C,X,0) | |
666 | elseif 1 <= H2 and H2 <= 2 then | |
667 | color = Color3.new(X,C,0) | |
668 | elseif 2 <= H2 and H2 <= 3 then | |
669 | color = Color3.new(0,C,X) | |
670 | elseif 3 <= H2 and H2 <= 4 then | |
671 | color = Color3.new(0,X,C) | |
672 | elseif 4 <= H2 and H2 <= 5 then | |
673 | color = Color3.new(X,0,C) | |
674 | elseif 5 <= H2 and H2 <= 6 then | |
675 | color = Color3.new(C,0,X) | |
676 | end | |
677 | local m = V - C | |
678 | return Color3.new(color.r + m, color.g + m, color.b + m) | |
679 | end | |
680 | ||
681 | for i,v in pairs(chr:GetChildren()) do if v:IsA("Shirt") then v:Destroy() end end | |
682 | Spawn(function() | |
683 | while wait()do | |
684 | angle = (angle % 100) + anglespeed/10 -- no matter whut it has to be in a loop or its on exticy | |
685 | end | |
686 | end) | |
687 | meo=0 | |
688 | sdeb=false | |
689 | game:service'RunService'.RenderStepped:connect(function() | |
690 | meo=meo+1 | |
691 | for _,v in pairs(LerpTo) do | |
692 | v.Weld.C0 = Lerp.CFrame(v.Weld.C0,v.To,v.Speed)end | |
693 | hue = hue + 3 | |
694 | hue = hue % 360 | |
695 | local clr = HSV(hue,.7,1) | |
696 | for i,v in pairs(scf:GetChildren()) do | |
697 | v.TextColor3=Color3.new(clr.r,clr.g,clr.b) | |
698 | end | |
699 | updateanims() | |
700 | end) |