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