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