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