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