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