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