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