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 |
7 | + | |
8 | - | my anims have improved so much that you haven't seen my latest works |
8 | + | |
9 | - | ~AmbientOcclusion (formerly madiik) |
9 | + | |
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=130769808" | |
101 | brony_music.Volume = 1 | |
102 | brony_music.Looped = true | |
103 | - | brony_music.SoundId = "http://www.roblox.com/asset/?id=145105874" |
103 | + | |
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 | body[v] = {Color = v.BrickColor} | |
218 | end | |
219 | end | |
220 | - | print(v.Name) |
220 | + | |
221 | - | body[v.Name] = {Color = v.BrickColor} |
221 | + | |
222 | for _,bp in pairs(char:children()) do | |
223 | if bp:IsA("BasePart") then | |
224 | bp.BrickColor = body[bp].Color | |
225 | - | print(body.Torso) |
225 | + | |
226 | end | |
227 | end | |
228 | ||
229 | - | bp.BrickColor = body[bp.Name].Color |
229 | + | |
230 | local LightForTorso = Instance.new("PointLight", head) | |
231 | LightForTorso.Color = torso.BrickColor.Color | |
232 | LightForTorso.Range = 7 | |
233 | LightForTorso.Brightness = 1.5 | |
234 | ||
235 | ||
236 | ||
237 | ||
238 | local slidecount = 0 | |
239 | local slidecountmax = 0 | |
240 | local anim = "" | |
241 | local lastanim = anim | |
242 | local speed = 0 | |
243 | local looking = false | |
244 | local dancing = false | |
245 | local superannoying = false | |
246 | local barrelroll = false | |
247 | local dubstepgun = false | |
248 | local foxie = false | |
249 | local durka = false | |
250 | local saxguy = false | |
251 | local heya = false | |
252 | local jb = false | |
253 | local bronymusic = false | |
254 | local sheddy = false | |
255 | local burndem = false | |
256 | local global_wait = 0 | |
257 | ||
258 | count = 0 | |
259 | countspeed = 1 | |
260 | sine = 0 | |
261 | sinespeed = 1 | |
262 | ||
263 | ||
264 | ||
265 | humanoid.WalkSpeed = 11 | |
266 | ||
267 | ||
268 | local controllerService = game:GetService("ControllerService") | |
269 | local controller = controllerService:GetChildren()[1] | |
270 | ||
271 | ||
272 | local colors = {"White", "Really black"} | |
273 | ||
274 | humanoid.Died:connect(function() | |
275 | for cframe_parts = 0, 100 do | |
276 | local p = Instance.new("Part") | |
277 | p.FormFactor = "Custom" | |
278 | p.BrickColor = BrickColor.new(colors[math.random(1, #colors)]) | |
279 | p.Size = Vector3.new(1, 1, 1) | |
280 | Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05) | |
281 | p.Locked = true | |
282 | p.CanCollide = false | |
283 | p.Anchored = true | |
284 | p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36)) | |
285 | p.Parent = workspace | |
286 | game:service'Debris':AddItem(p, 5) | |
287 | coroutine.wrap(function() | |
288 | while wait() do | |
289 | if p ~= nil then | |
290 | p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0) | |
291 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0) | |
292 | p.Transparency = p.Transparency + 0.015 | |
293 | else | |
294 | break | |
295 | end | |
296 | end | |
297 | end)() | |
298 | end | |
299 | for _,v in pairs(char:children()) do | |
300 | if v:IsA("Part") then | |
301 | v:Destroy() | |
302 | end | |
303 | end | |
304 | ||
305 | end) | |
306 | ||
307 | ||
308 | mouse.KeyDown:connect(function(k) | |
309 | ||
310 | if string.byte(k) == 50 then | |
311 | ||
312 | if dancing then return end | |
313 | sitting = not sitting | |
314 | if sitting then | |
315 | local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0)) | |
316 | local hitz,enz = workspace:FindPartOnRay(ray, char) | |
317 | ||
318 | ||
319 | if hitz then | |
320 | controller.Parent = nil | |
321 | humanoid.WalkSpeed = 0 | |
322 | coroutine.wrap(function() | |
323 | while wait() do | |
324 | humanoid.PlatformStand = true | |
325 | if sitting == false then humanoid.PlatformStand = false break end | |
326 | end | |
327 | end)() | |
328 | rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0) | |
329 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16) | |
330 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16) | |
331 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10) | |
332 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10) | |
333 | ||
334 | miniweld = Instance.new("Weld", char) | |
335 | miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame) | |
336 | miniweld.Part0 = hitz | |
337 | miniweld.Part1 = rootpart | |
338 | else | |
339 | sitting = false | |
340 | return | |
341 | end | |
342 | else | |
343 | if miniweld then | |
344 | miniweld:Destroy() | |
345 | end | |
346 | controller.Parent = controllerService | |
347 | humanoid.PlatformStand = false | |
348 | humanoid.WalkSpeed = 11 | |
349 | end | |
350 | end | |
351 | ||
352 | if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then | |
353 | superannoying = false | |
354 | barrelroll = false | |
355 | heya = false | |
356 | dubstepgun = false | |
357 | youpirate = false | |
358 | canttouch = false | |
359 | gangnam = false | |
360 | sheddy = false | |
361 | durka = false | |
362 | saxguy = false | |
363 | foxie = false | |
364 | burndem = false | |
365 | bronymusic = false | |
366 | brony_music:stop() | |
367 | fox_say:stop() | |
368 | spitfire:stop() | |
369 | heman:stop() | |
370 | justin:stop() | |
371 | jb = false | |
372 | durk:stop() | |
373 | restorecolors() | |
374 | burn_dem:stop() | |
375 | if hat then | |
376 | hat:Destroy() | |
377 | end | |
378 | sax_guy:stop() | |
379 | gangy_style:stop() | |
380 | cant_touch:stop() | |
381 | you_are_pirate:stop() | |
382 | dubstep_gun:stop() | |
383 | super_annoying:stop() | |
384 | barrel_roll:stop() | |
385 | dancing = false | |
386 | global_wait = 0 | |
387 | LightForTorso.Color = torso.BrickColor.Color | |
388 | end | |
389 | ||
390 | if k == "z" then | |
391 | if dancing then return end | |
392 | if not sitting then | |
393 | dancing = true | |
394 | superannoying = true | |
395 | super_annoying:play() | |
396 | end | |
397 | end | |
398 | if k == "k" then | |
399 | if dancing then return end | |
400 | if not sitting then | |
401 | dancing = true | |
402 | sheddy = true | |
403 | spitfire:play() | |
404 | end | |
405 | end | |
406 | ||
407 | if k == "n" then | |
408 | if dancing then return end | |
409 | if not sitting then | |
410 | dancing = true | |
411 | gangnam = true | |
412 | gangy_style:play() | |
413 | end | |
414 | end | |
415 | ||
416 | if k == "r" then | |
417 | if dancing then return end | |
418 | if not sitting then | |
419 | dancing = true | |
420 | burndem = true | |
421 | burn_dem:play() | |
422 | end | |
423 | end | |
424 | ||
425 | ||
426 | if k == "x" then | |
427 | if dancing then return end | |
428 | if not sitting then | |
429 | dancing = true | |
430 | barrelroll = true | |
431 | barrel_roll:play() | |
432 | hat = Instance.new("Part", char) | |
433 | hat.FormFactor = "Custom" | |
434 | hat.CanCollide = false | |
435 | hat.Size = torso.Size | |
436 | hat.Locked = true | |
437 | hat:breakJoints() | |
438 | local hatmesh = Instance.new("SpecialMesh", hat) | |
439 | hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142" | |
440 | hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063" | |
441 | hatmesh.Scale = Vector3.new(.22, .2, .22) | |
442 | local hatweld = Instance.new("Weld", hat) | |
443 | hatweld.Part0 = hat | |
444 | hatweld.Part1 = torso | |
445 | end | |
446 | end | |
447 | if k == "h" then | |
448 | if dancing then return end | |
449 | if not sitting then | |
450 | dancing = true | |
451 | heman:play() | |
452 | heya = true | |
453 | hat = Instance.new("Part", char) | |
454 | hat.FormFactor = "Custom" | |
455 | hat.CanCollide = false | |
456 | hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01) | |
457 | hat.Locked = true | |
458 | hat.BrickColor = BrickColor.new("Hot pink") | |
459 | hat:breakJoints() | |
460 | local hatweld = Instance.new("Weld", hat) | |
461 | hatweld.Part0 = hat | |
462 | hatweld.Part1 = torso | |
463 | end | |
464 | end | |
465 | if k == "j" then | |
466 | if dancing then return end | |
467 | if not sitting then | |
468 | dancing = true | |
469 | justin:play() | |
470 | jb = true | |
471 | hat = Instance.new("Part", char) | |
472 | hat.FormFactor = "Custom" | |
473 | hat.CanCollide = false | |
474 | hat.Size = head.Size | |
475 | hat.Locked = true | |
476 | hat.BrickColor = BrickColor.new("Hot pink") | |
477 | hat:breakJoints() | |
478 | local hatmesh = Instance.new("SpecialMesh", hat) | |
479 | hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424" | |
480 | hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982" | |
481 | hatmesh.Scale = Vector3.new(.23, .23, .23) | |
482 | local hatweld = Instance.new("Weld", hat) | |
483 | hatweld.Part0 = hat | |
484 | hatweld.Part1 = head | |
485 | hatweld.C0 = CFrame.new(0.025, -0.05, 0) | |
486 | end | |
487 | end | |
488 | if k == "c" then | |
489 | if dancing then return end | |
490 | if not sitting then | |
491 | dancing = true | |
492 | dubstepgun = true | |
493 | dubstep_gun:play() | |
494 | end | |
495 | end | |
496 | if k == "v" then | |
497 | if dancing then return end | |
498 | if not sitting then | |
499 | dancing = true | |
500 | youpirate = true | |
501 | you_are_pirate:play() | |
502 | hat = Instance.new("Part", char) | |
503 | hat.FormFactor = "Custom" | |
504 | hat.CanCollide = false | |
505 | hat.Size = head.Size | |
506 | hat.Locked = true | |
507 | hat:breakJoints() | |
508 | local hatmesh = Instance.new("SpecialMesh", hat) | |
509 | hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848" | |
510 | hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847" | |
511 | hatmesh.Scale = Vector3.new(.2, .2, .2) | |
512 | local hatweld = Instance.new("Weld", hat) | |
513 | hatweld.Part0 = hat | |
514 | hatweld.Part1 = head | |
515 | hatweld.C0 = CFrame.new(0, -0.15, 0) | |
516 | end | |
517 | end | |
518 | if k == "m" then | |
519 | if dancing then return end | |
520 | if not sitting then | |
521 | dancing = true | |
522 | canttouch = true | |
523 | cant_touch:play() | |
524 | end | |
525 | end | |
526 | if k == "b" then | |
527 | if dancing then return end | |
528 | if not sitting then | |
529 | dancing = true | |
530 | bronymusic = true | |
531 | brony_music:play() | |
532 | for _,bp in pairs(char:children()) do | |
533 | if bp:IsA("BasePart") then | |
534 | bp.BrickColor = BrickColor.new("Lavender") | |
535 | end | |
536 | end | |
537 | hat = Instance.new("Part", char) | |
538 | hat.FormFactor = "Custom" | |
539 | hat.CanCollide = false | |
540 | hat.Size = head.Size | |
541 | hat.Locked = true | |
542 | hat.BrickColor = BrickColor.new("Lavender") | |
543 | hat:breakJoints() | |
544 | local hatmesh = Instance.new("SpecialMesh", hat) | |
545 | hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643" | |
546 | hatmesh.Scale = Vector3.new(.1, .2, .1) | |
547 | local hatweld = Instance.new("Weld", hat) | |
548 | hatweld.Part0 = hat | |
549 | hatweld.Part1 = head | |
550 | hatweld.C0 = CFrame.new(0, -0.1, 0.05) | |
551 | end | |
552 | end | |
553 | ||
554 | if k == "l" then | |
555 | if dancing then return end | |
556 | if not sitting then | |
557 | dancing = true | |
558 | foxie = true | |
559 | fox_say:play() | |
560 | hat = Instance.new("Part", char) | |
561 | hat.FormFactor = "Custom" | |
562 | hat.CanCollide = false | |
563 | hat.Size = head.Size | |
564 | hat.Locked = true | |
565 | hat:breakJoints() | |
566 | local hatmesh = Instance.new("SpecialMesh", hat) | |
567 | hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225" | |
568 | hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210" | |
569 | hatmesh.Scale = Vector3.new(.2, .2, .2) | |
570 | local hatweld = Instance.new("Weld", hat) | |
571 | hatweld.Part0 = hat | |
572 | hatweld.Part1 = head | |
573 | hatweld.C0 = CFrame.new(0, -0.1, 0) | |
574 | end | |
575 | ||
576 | end | |
577 | if k == "f" then | |
578 | if dancing then return end | |
579 | if not sitting then | |
580 | dancing = true | |
581 | durka = true | |
582 | durk:play() | |
583 | end | |
584 | end | |
585 | if k == "g" then | |
586 | if dancing then return end | |
587 | if not sitting then | |
588 | dancing = true | |
589 | saxguy = true | |
590 | sax_guy:play() | |
591 | hat = Instance.new("Part", char) | |
592 | hat.FormFactor = "Custom" | |
593 | hat.CanCollide = false | |
594 | hat.Size = head.Size | |
595 | hat.Locked = true | |
596 | hat:breakJoints() | |
597 | local hatmesh = Instance.new("SpecialMesh", hat) | |
598 | hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178" | |
599 | hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320" | |
600 | hatmesh.Scale = Vector3.new(.25, .25, .25) | |
601 | local hatweld = Instance.new("Weld", hat) | |
602 | hatweld.Part0 = hat | |
603 | hatweld.Part1 = la | |
604 | hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4) | |
605 | end | |
606 | end | |
607 | ||
608 | ||
609 | ||
610 | ||
611 | if k == "q" then | |
612 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end | |
613 | if sitting then return end | |
614 | looking = true | |
615 | rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4) | |
616 | end | |
617 | if k == "e" then | |
618 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end | |
619 | if sitting then return end | |
620 | looking = true | |
621 | rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4) | |
622 | end | |
623 | if k == "t" then | |
624 | if dancing then return end | |
625 | if sitting then return end | |
626 | dancing = true | |
627 | aj:play() | |
628 | end | |
629 | if string.byte(k) == 48 or string.byte(k) == 47 then | |
630 | if sitting then return end | |
631 | humanoid.WalkSpeed = 18 | |
632 | end | |
633 | if string.byte(k) == 52 then | |
634 | if sitting then return end | |
635 | humanoid.WalkSpeed = 6 | |
636 | end | |
637 | end) | |
638 | ||
639 | mouse.KeyUp:connect(function(k) | |
640 | if string.byte(k) == 48 or string.byte(k) == 47 then | |
641 | if sitting then return end | |
642 | humanoid.WalkSpeed = 11 | |
643 | end | |
644 | if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then | |
645 | superannoying = false | |
646 | barrelroll = false | |
647 | heya = false | |
648 | dubstepgun = false | |
649 | youpirate = false | |
650 | canttouch = false | |
651 | gangnam = false | |
652 | sheddy = false | |
653 | durka = false | |
654 | saxguy = false | |
655 | foxie = false | |
656 | burndem = false | |
657 | bronymusic = false | |
658 | aj:stop() | |
659 | brony_music:stop() | |
660 | fox_say:stop() | |
661 | spitfire:stop() | |
662 | heman:stop() | |
663 | justin:stop() | |
664 | jb = false | |
665 | durk:stop() | |
666 | restorecolors() | |
667 | burn_dem:stop() | |
668 | if hat then | |
669 | hat:Destroy() | |
670 | end | |
671 | sax_guy:stop() | |
672 | gangy_style:stop() | |
673 | cant_touch:stop() | |
674 | you_are_pirate:stop() | |
675 | dubstep_gun:stop() | |
676 | super_annoying:stop() | |
677 | barrel_roll:stop() | |
678 | dancing = false | |
679 | global_wait = 0 | |
680 | LightForTorso.Color = torso.BrickColor.Color | |
681 | end | |
682 | ||
683 | ||
684 | if k == "q" then | |
685 | if looking then | |
686 | if sitting then return end | |
687 | rj.C0 = CFrame.new() | |
688 | looking = false | |
689 | end | |
690 | end | |
691 | ||
692 | if k == "e" then | |
693 | if looking then | |
694 | if sitting then return end | |
695 | rj.C0 = CFrame.new() | |
696 | looking = false | |
697 | end | |
698 | end | |
699 | end) | |
700 | ||
701 | ||
702 | game:service'RunService'.Stepped:connect(function() | |
703 | count = (count % 100) + countspeed | |
704 | angle = math.pi * math.sin(math.pi*2/100*count) | |
705 | ||
706 | if slidecount < slidecountmax then | |
707 | slidecount = slidecount + speed | |
708 | - | count = (count % 100) + (countspeed/2) |
708 | + | |
709 | if slidecount > slidecountmax then | |
710 | slidecount = slidecount - speed | |
711 | end | |
712 | if global_wait == 380 then global_wait = 0 end | |
713 | ||
714 | sine = sine + sinespeed | |
715 | if not dancing then | |
716 | if not sitting then | |
717 | local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0)) | |
718 | local hitz, enz = workspace:FindPartOnRay(ray, char) | |
719 | if not hitz then | |
720 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0) | |
721 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0) | |
722 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, 0) | |
723 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0) | |
724 | if not looking then | |
725 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) | |
726 | end | |
727 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) | |
728 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
729 | ||
730 | -- idle anim | |
731 | ||
732 | anim = "Idle" | |
733 | if anim ~= lastanim then | |
734 | if lastanim == "Walking" then | |
735 | speed = 0.5 | |
736 | slidecount = 1 | |
737 | slidecountmax = 0 | |
738 | elseif lastanim == "Running" then | |
739 | speed = 2.5 | |
740 | slidecount = 5 | |
741 | slidecountmax = 0 | |
742 | else | |
743 | slidecount = 0 | |
744 | slidecountmax = 0 | |
745 | end | |
746 | end | |
747 | countspeed = 1 | |
748 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.02, 0, 0) | |
749 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0) | |
750 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.01, 0, 0) | |
751 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0) | |
752 | if not looking then | |
753 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) | |
754 | end | |
755 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) | |
756 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then | |
757 | looking = false | |
758 | -- walk anim | |
759 | anim = "Walking" | |
760 | if anim ~= lastanim then | |
761 | speed = 0.2 | |
762 | slidecount = 0 | |
763 | slidecountmax = 1 | |
764 | if lastanim == "Running" then | |
765 | slidecount = 5 | |
766 | end | |
767 | end | |
768 | countspeed = 6 | |
769 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02)) | |
770 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02)) | |
771 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01)) | |
772 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01)) | |
773 | rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) | |
774 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) | |
775 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then | |
776 | --run anim | |
777 | anim = "Running" | |
778 | if anim ~= lastanim then | |
779 | speed = 1 | |
780 | slidecount = 0 | |
781 | slidecountmax = 5 | |
782 | if lastanim == "Walking" then | |
783 | slidecount = 1 | |
784 | end | |
785 | end | |
786 | ||
787 | looking = false | |
788 | countspeed = 9 | |
789 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07)) | |
790 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07)) | |
791 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03)) | |
792 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03)) | |
793 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) | |
794 | rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0) | |
795 | end | |
796 | ||
797 | lastanim = anim | |
798 | else | |
799 | countspeed = 1 | |
800 | local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0)) | |
801 | local hitz, enz = workspace:FindPartOnRay(ray, char) | |
802 | if not hitz then | |
803 | rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0) | |
804 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16) | |
805 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16) | |
806 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10) | |
807 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10) | |
808 | else | |
809 | rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0) | |
810 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16) | |
811 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16) | |
812 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10) | |
813 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10) | |
814 | end | |
815 | ||
816 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0) | |
817 | end | |
818 | else | |
819 | if superannoying then | |
820 | countspeed = 5 | |
821 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07)) | |
822 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07)) | |
823 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) | |
824 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) | |
825 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
826 | rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) | |
827 | elseif barrelroll then | |
828 | countspeed = 5 | |
829 | sinespeed = 0.1 | |
830 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.07)) | |
831 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.07)) | |
832 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, 0, -math.abs(angle*0.03)) | |
833 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03)) | |
834 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
835 | rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0) | |
836 | elseif dubstepgun then | |
837 | global_wait = (global_wait % 380) + 1 | |
838 | countspeed = 5 | |
839 | if global_wait < 249 - 40 then | |
840 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.27)) | |
841 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27)) | |
842 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) | |
843 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) | |
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*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) | |
846 | elseif global_wait > 249 - 40 then | |
847 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.4, 0, math.abs(angle*0.11)) | |
848 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11)) | |
849 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.09)) | |
850 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09)) | |
851 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
852 | rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0) | |
853 | end | |
854 | elseif youpirate then | |
855 | global_wait = (global_wait % 380) + 1 | |
856 | countspeed = 5 | |
857 | if global_wait < 79 then | |
858 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07)) | |
859 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07)) | |
860 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) | |
861 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) | |
862 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
863 | rj.C0 = CFrame.new(0, math.abs(-angle*.02), 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 + angle*0.2, 0, math.abs(angle*0.11)) | |
866 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11)) | |
867 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.2, 0, -math.abs(angle*0.1)) | |
868 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.2, 0, math.abs(angle*0.1)) | |
869 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), math.sin(angle*0.19), 0) | |
870 | rj.C0 = CFrame.new(0, math.abs(-angle*.055+0.2), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) | |
871 | elseif global_wait > 299 then | |
872 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07)) | |
873 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07)) | |
874 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) | |
875 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) | |
876 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
877 | rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) | |
878 | end | |
879 | elseif canttouch then | |
880 | countspeed = 5 | |
881 | global_wait = (global_wait % 160) + 1 | |
882 | if global_wait == 160 then global_wait = 0 end | |
883 | if global_wait < 39 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 < 79 then | |
891 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07)) | |
892 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07)) | |
893 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) | |
894 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) | |
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*.03), 0) * CFrame.Angles(0, math.pi/6, 0) | |
897 | elseif global_wait < 119 then | |
898 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17) | |
899 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17) | |
900 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06)) | |
901 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06)) | |
902 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
903 | rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0) | |
904 | torso.CFrame = torso.CFrame * CFrame.new(0.05, 0, 0) | |
905 | elseif global_wait > 119 then | |
906 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17) | |
907 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17) | |
908 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06)) | |
909 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06)) | |
910 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
911 | rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0) | |
912 | torso.CFrame = torso.CFrame * CFrame.new(-0.05, 0, 0) | |
913 | end | |
914 | elseif gangnam then | |
915 | countspeed = 5 | |
916 | if global_wait == 180 then global_wait = 0 end | |
917 | global_wait = (global_wait % 180) + 1 | |
918 | if 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(.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, -math.pi/3 + -math.abs(angle*0.05)) | |
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 | elseif global_wait > 89 then | |
926 | 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)) | |
927 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.sin(angle*0.1), 0, -math.sin(angle*0.1)) | |
928 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03)) | |
929 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03)) | |
930 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
931 | rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0) | |
932 | end | |
933 | elseif foxie then | |
934 | countspeed = 5 | |
935 | global_wait = (global_wait % 380) + 2 | |
936 | if global_wait < 89 then | |
937 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2)) | |
938 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, math.abs(angle*0.2)) | |
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, 0) | |
942 | rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.rad(global_wait*4), 0) | |
943 | elseif global_wait > 89 then | |
944 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05)) | |
945 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05)) | |
946 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03)) | |
947 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03)) | |
948 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, math.sin(angle*0.1)) | |
949 | rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0) | |
950 | end | |
951 | elseif durka then | |
952 | countspeed = 2 | |
953 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07)) | |
954 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.07)) | |
955 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03)) | |
956 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 0, math.abs(angle*0.03)) | |
957 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
958 | rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0) | |
959 | elseif saxguy then | |
960 | countspeed = 5 | |
961 | ls.C0 = CFrame.new(-.25,.1,-.1) * CFrame.Angles(math.pi/2.5, 0, math.pi/4) | |
962 | rs.C0 = CFrame.new(.25,.1,-.1) * CFrame.Angles(math.rad(60), 0, -math.pi/4) | |
963 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, -0.06) | |
964 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06) | |
965 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(0, 0, 0) | |
966 | rj.C0 = CFrame.new(0, -math.abs(angle*0.01), math.abs(angle*0.01)) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
967 | elseif heya then | |
968 | countspeed = 5 | |
969 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + -angle*0.2, -angle*0.1, 0) | |
970 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, angle*0.1, 0) | |
971 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) | |
972 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) | |
973 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) | |
974 | rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.sin(angle*0.07), 0) | |
975 | elseif jb then | |
976 | countspeed = 5 | |
977 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0) | |
978 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0) | |
979 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) | |
980 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) | |
981 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) | |
982 | rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0) | |
983 | elseif bronymusic then | |
984 | countspeed = 5 | |
985 | ls.C0 = CFrame.new(-.1,.1,-.15) * CFrame.Angles(math.pi/2 + -angle*0.1, -angle*0.1, 0) | |
986 | rs.C0 = CFrame.new(.1,.1,-.15) * CFrame.Angles(math.pi/2 + angle*0.1, angle*0.1, 0) | |
987 | lh.C0 = CFrame.new(-.1,-.25,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, 0) | |
988 | rh.C0 = CFrame.new(.1,-.25,0) * CFrame.Angles(math.pi/2 + -angle*0.1, 0, 0) | |
989 | neck.C0 = CFrame.new(0,.25,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.25), 0, 0) | |
990 | rj.C0 = CFrame.new(0, -0.2 + math.abs(angle*0.05), 0) * CFrame.Angles(-math.rad(85), 0, 0) | |
991 | elseif sheddy then | |
992 | countspeed = 7 | |
993 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0) | |
994 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0) | |
995 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) | |
996 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) | |
997 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) | |
998 | rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0) | |
999 | elseif burndem then | |
1000 | countspeed = 4 | |
1001 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0) | |
1002 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0) | |
1003 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) | |
1004 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) | |
1005 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) | |
1006 | rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0) | |
1007 | elseif aj.IsPlaying then | |
1008 | countspeed = 5 | |
1009 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -(angle)*0.4, -angle*0.1, 0) | |
1010 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + (angle)*0.4, -angle*0.1, 0) | |
1011 | lh.C0 = CFrame.new(-.1,-.2 - math.cos(count*.025)*.02,0) * CFrame.Angles(angle*0.05, 0, -0.06) | |
1012 | rh.C0 = CFrame.new(.1,-.2+math.cos(count*.025)*.02,0) * CFrame.Angles(-angle*0.05, 0, 0.06) | |
1013 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) | |
1014 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.cos(angle*0.1), 0) | |
1015 | end | |
1016 | end | |
1017 | end) | |
1018 | ||
1019 | ||
1020 | plr.Chatted:connect(function(msg) | |
1021 | game:service'Chat':Chat(head, msg, 1) | |
1022 | if msg == "die/" then | |
1023 | char:breakJoints() | |
1024 | end | |
1025 | end) | |
1026 | ||
1027 | end) | |
1028 | if not ran and err then | |
1029 | print(err) | |
1030 | end |