SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | - | --[[dont u even dare take credit |
2 | + | |
3 | - | cus dis mai law ok and if u break my law i keel u in sb |
3 | + | |
4 | plr = game:service'Players'.LocalPlayer | |
5 | - | btw there's no point in re-naming "LocalPlayer" to "YOURNAMEHERE" or whatever, localplayer is the CLIENT itself. |
5 | + | |
6 | - | + i did a small update so you still have your clothes on when small ok? |
6 | + | |
7 | - | + ok wtf you need to stop using this i have regrets upon using it because it was made in 2014 ok |
7 | + | |
8 | - | my anims have improved so much that you haven't seen my latest works |
8 | + | |
9 | - | ~AmbientOcclusion (formerly madiik) |
9 | + | |
10 | - | ]]-- |
10 | + | |
11 | la = char:findFirstChild("Left Arm") | |
12 | rl = char:findFirstChild("Right Leg") | |
13 | ll = char:findFirstChild("Left Leg") | |
14 | rs = torso:findFirstChild("Right Shoulder") | |
15 | ls = torso:findFirstChild("Left Shoulder") | |
16 | rh = torso:findFirstChild("Right Hip") | |
17 | lh = torso:findFirstChild("Left Hip") | |
18 | neck = torso:findFirstChild("Neck") | |
19 | rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint") | |
20 | anim = char:findFirstChild("Animate") | |
21 | rootpart = char:findFirstChild("HumanoidRootPart") | |
22 | camera = workspace.CurrentCamera | |
23 | do --Removing ROBLOX's new Looped bug >_> | |
24 | local function rec(x) | |
25 | for i,v in pairs(x:children()) do | |
26 | if v:IsA'Animation' then | |
27 | v.AnimationId = 'rbxassetid://28159255' | |
28 | end | |
29 | rec(v) | |
30 | end | |
31 | end | |
32 | rec(anim) --the Animate script | |
33 | end | |
34 | ||
35 | humanoid.Jump = true | |
36 | ||
37 | wait(.4) | |
38 | ||
39 | ||
40 | if anim then | |
41 | anim:Destroy() | |
42 | end | |
43 | ||
44 | ||
45 | rj.C0 = CFrame.new() | |
46 | rj.C1 = CFrame.new() | |
47 | ||
48 | ||
49 | ||
50 | Instance.new("HumanoidController", game:service'ControllerService') | |
51 | Instance.new("SkateboardController", game:service'ControllerService') | |
52 | Instance.new("VehicleController", game:service'ControllerService') | |
53 | ||
54 | ||
55 | ||
56 | ||
57 | --minimize | |
58 | - | super_annoying = Instance.new("Sound", head) |
58 | + | |
59 | - | super_annoying.SoundId = "http://www.roblox.com/asset/?id=130816003" |
59 | + | |
60 | - | super_annoying.Volume = 0.6 |
60 | + | |
61 | - | super_annoying.Looped = true |
61 | + | |
62 | - | barrel_roll = Instance.new("Sound", head) |
62 | + | |
63 | - | barrel_roll.SoundId = "http://www.roblox.com/asset/?id=130791919" |
63 | + | |
64 | - | barrel_roll.Volume = 1 |
64 | + | |
65 | - | barrel_roll.Looped = true |
65 | + | |
66 | - | dubstep_gun = Instance.new("Sound", head) |
66 | + | |
67 | - | dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=130855491" |
67 | + | |
68 | - | dubstep_gun.Volume = 0.6 |
68 | + | |
69 | - | dubstep_gun.Looped = true |
69 | + | |
70 | - | you_are_pirate = Instance.new("Sound", head) |
70 | + | |
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.Looped = true |
73 | + | |
74 | - | cant_touch = Instance.new("Sound", head) |
74 | + | |
75 | - | cant_touch.SoundId = "http://www.roblox.com/asset/?id=131280929" |
75 | + | |
76 | - | cant_touch.Volume = 1 |
76 | + | |
77 | - | cant_touch.Looped = true |
77 | + | |
78 | - | gangy_style = Instance.new("Sound", head) |
78 | + | |
79 | - | gangy_style.SoundId = "http://www.roblox.com/asset/?id=130844430" |
79 | + | |
80 | - | gangy_style.Volume = 0.6 |
80 | + | |
81 | - | gangy_style.Looped = true |
81 | + | |
82 | - | fox_say = Instance.new("Sound", head) |
82 | + | |
83 | - | fox_say.SoundId = "http://www.roblox.com/asset/?id=130797915" |
83 | + | |
84 | - | fox_say.Volume = 0.5 |
84 | + | |
85 | - | fox_say.Looped = true |
85 | + | |
86 | - | durk = Instance.new("Sound", head) |
86 | + | |
87 | - | durk.SoundId = "http://www.roblox.com/asset/?id=130776787" |
87 | + | |
88 | - | durk.Volume = 0.8 |
88 | + | |
89 | - | durk.Looped = true |
89 | + | |
90 | - | sax_guy = Instance.new("Sound", head) |
90 | + | |
91 | - | sax_guy.SoundId = "http://www.roblox.com/asset/?id=130794684" |
91 | + | |
92 | - | sax_guy.Volume = 0.6 |
92 | + | |
93 | - | sax_guy.Looped = true |
93 | + | |
94 | - | heman = Instance.new("Sound", head) |
94 | + | |
95 | - | heman.SoundId = "http://www.roblox.com/asset/?id=131102548" |
95 | + | |
96 | - | heman.Volume = 1 |
96 | + | |
97 | - | heman.Looped = true |
97 | + | |
98 | - | justin = Instance.new("Sound", head) |
98 | + | |
99 | - | justin.SoundId = "http://www.roblox.com/asset/?id=130841252" |
99 | + | |
100 | - | justin.Volume = 0.8 |
100 | + | |
101 | - | justin.Looped = true |
101 | + | |
102 | - | brony_music = Instance.new("Sound", head) |
102 | + | |
103 | - | brony_music.SoundId = "http://www.roblox.com/asset/?id=145105874" |
103 | + | |
104 | - | brony_music.Volume = 1 |
104 | + | |
105 | - | brony_music.Looped = true |
105 | + | |
106 | - | spitfire = Instance.new("Sound", head) |
106 | + | |
107 | - | spitfire.SoundId = "http://www.roblox.com/asset/?id=129490596" |
107 | + | |
108 | - | spitfire.Volume = 0.8 |
108 | + | |
109 | - | spitfire.Looped = true |
109 | + | |
110 | - | burn_dem = Instance.new("Sound", head) |
110 | + | |
111 | - | burn_dem.SoundId = "http://www.roblox.com/asset/?id=132399469" |
111 | + | |
112 | - | burn_dem.Volume = 1 |
112 | + | |
113 | - | burn_dem.Looped = true |
113 | + | |
114 | - | aj = Instance.new("Sound", head) |
114 | + | |
115 | - | aj.SoundId = "rbxassetid://177732780" |
115 | + | |
116 | - | aj.Volume = 1 |
116 | + | |
117 | - | aj.Looped = true |
117 | + | |
118 | mesh4 = Instance.new("SpecialMesh", ll) | |
119 | mesh4.Name = "Mesh" | |
120 | mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0) | |
121 | mesh4.MeshId = "rbxasset://fonts/leftleg.mesh" | |
122 | mesh5 = Instance.new("SpecialMesh", rl) | |
123 | mesh5.Name = "Mesh" | |
124 | mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0) | |
125 | mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"--]] | |
126 | ||
127 | ||
128 | --0.3 = 1.5, 0.1 = 0.5, 0.2 = 1 | |
129 | ||
130 | ls.C0 = CFrame.new(-.3,.1,0) | |
131 | ls.C1 = CFrame.new(0,.1,0) | |
132 | rs.C0 = CFrame.new(.3,.1,0) | |
133 | rs.C1 = CFrame.new(0,.1,0) | |
134 | rh.C0 = CFrame.new(.1,-.2,0) | |
135 | rh.C1 = CFrame.new(0, .2, 0) | |
136 | lh.C0 = CFrame.new(-.1,-.2,0) | |
137 | lh.C1 = CFrame.new(0, .2, 0) | |
138 | neck.C0 = CFrame.new(0,.2,0) | |
139 | neck.C1 = CFrame.new(0,-.1,0) | |
140 | ||
141 | bodyc = char:findFirstChild("Body Colors") | |
142 | if bodyc then | |
143 | bodyc:Destroy() | |
144 | end | |
145 | ||
146 | wait(1) | |
147 | ||
148 | local body = {} | |
149 | for i,v in pairs(char:children()) do | |
150 | if v:IsA'BasePart' then | |
151 | body[v] = {Color = v.BrickColor} | |
152 | end | |
153 | end | |
154 | ||
155 | function restorecolors() | |
156 | for _,bp in pairs(char:children()) do | |
157 | if bp:IsA("BasePart") then | |
158 | bp.BrickColor = body[bp].Color | |
159 | end | |
160 | end | |
161 | end | |
162 | ||
163 | ||
164 | local LightForTorso = Instance.new("PointLight", head) | |
165 | LightForTorso.Color = torso.BrickColor.Color | |
166 | LightForTorso.Range = 7 | |
167 | LightForTorso.Brightness = 1.5 | |
168 | ||
169 | ||
170 | ||
171 | ||
172 | local slidecount = 0 | |
173 | local slidecountmax = 0 | |
174 | local anim = "" | |
175 | local lastanim = anim | |
176 | local speed = 0 | |
177 | local looking = false | |
178 | local dancing = false | |
179 | local superannoying = false | |
180 | local barrelroll = false | |
181 | local dubstepgun = false | |
182 | local foxie = false | |
183 | local durka = false | |
184 | local saxguy = false | |
185 | local heya = false | |
186 | local jb = false | |
187 | local bronymusic = false | |
188 | local sheddy = false | |
189 | local burndem = false | |
190 | local global_wait = 0 | |
191 | ||
192 | count = 0 | |
193 | countspeed = 1 | |
194 | sine = 0 | |
195 | sinespeed = 1 | |
196 | ||
197 | ||
198 | ||
199 | humanoid.WalkSpeed = 40 | |
200 | ||
201 | ||
202 | local controllerService = game:GetService("ControllerService") | |
203 | local controller = controllerService:GetChildren()[1] | |
204 | ||
205 | ||
206 | local colors = {"White", "Really black"} | |
207 | ||
208 | humanoid.Died:connect(function() | |
209 | for cframe_parts = 0, 100 do | |
210 | local p = Instance.new("Part") | |
211 | p.FormFactor = "Custom" | |
212 | p.BrickColor = BrickColor.new(colors[math.random(1, #colors)]) | |
213 | p.Size = Vector3.new(1, 1, 1) | |
214 | Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05) | |
215 | p.Locked = true | |
216 | p.CanCollide = false | |
217 | p.Anchored = true | |
218 | p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36)) | |
219 | p.Parent = workspace | |
220 | - | print(v.Name) |
220 | + | |
221 | - | body[v.Name] = {Color = v.BrickColor} |
221 | + | |
222 | while wait() do | |
223 | if p ~= nil then | |
224 | p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0) | |
225 | - | print(body.Torso) |
225 | + | |
226 | p.Transparency = p.Transparency + 0.015 | |
227 | else | |
228 | break | |
229 | - | bp.BrickColor = body[bp.Name].Color |
229 | + | |
230 | end | |
231 | end)() | |
232 | end | |
233 | for _,v in pairs(char:children()) do | |
234 | if v:IsA("Part") then | |
235 | v:Destroy() | |
236 | end | |
237 | end | |
238 | ||
239 | end) | |
240 | ||
241 | ||
242 | mouse.KeyDown:connect(function(k) | |
243 | ||
244 | if string.byte(k) == 50 then | |
245 | ||
246 | if dancing then return end | |
247 | sitting = not sitting | |
248 | if sitting then | |
249 | local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0)) | |
250 | local hitz,enz = workspace:FindPartOnRay(ray, char) | |
251 | ||
252 | ||
253 | if hitz then | |
254 | controller.Parent = nil | |
255 | humanoid.WalkSpeed = 0 | |
256 | coroutine.wrap(function() | |
257 | while wait() do | |
258 | humanoid.PlatformStand = true | |
259 | if sitting == false then humanoid.PlatformStand = false break end | |
260 | end | |
261 | end)() | |
262 | rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0) | |
263 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16) | |
264 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16) | |
265 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10) | |
266 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10) | |
267 | ||
268 | miniweld = Instance.new("Weld", char) | |
269 | miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame) | |
270 | - | humanoid.WalkSpeed = 11 |
270 | + | |
271 | miniweld.Part1 = rootpart | |
272 | else | |
273 | sitting = false | |
274 | return | |
275 | end | |
276 | else | |
277 | if miniweld then | |
278 | miniweld:Destroy() | |
279 | end | |
280 | controller.Parent = controllerService | |
281 | humanoid.PlatformStand = false | |
282 | humanoid.WalkSpeed = 11 | |
283 | end | |
284 | end | |
285 | ||
286 | ||
287 | game:service'RunService'.Stepped:connect(function() | |
288 | count = (count % 100) + countspeed | |
289 | angle = math.pi * math.sin(math.pi*2/100*count) | |
290 | ||
291 | if slidecount < slidecountmax then | |
292 | slidecount = slidecount + speed | |
293 | end | |
294 | if slidecount > slidecountmax then | |
295 | slidecount = slidecount - speed | |
296 | end | |
297 | if global_wait == 380 then global_wait = 0 end | |
298 | ||
299 | sine = sine + sinespeed | |
300 | if not dancing then | |
301 | if not sitting then | |
302 | local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0)) | |
303 | local hitz, enz = workspace:FindPartOnRay(ray, char) | |
304 | if not hitz then | |
305 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0) | |
306 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0) | |
307 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, 0) | |
308 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0) | |
309 | if not looking then | |
310 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) | |
311 | end | |
312 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) | |
313 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
314 | ||
315 | -- idle anim | |
316 | ||
317 | anim = "Idle" | |
318 | if anim ~= lastanim then | |
319 | if lastanim == "Walking" then | |
320 | speed = 0.5 | |
321 | slidecount = 1 | |
322 | slidecountmax = 0 | |
323 | elseif lastanim == "Running" then | |
324 | speed = 2.5 | |
325 | slidecount = 5 | |
326 | slidecountmax = 0 | |
327 | else | |
328 | slidecount = 0 | |
329 | slidecountmax = 0 | |
330 | end | |
331 | end | |
332 | countspeed = 1 | |
333 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.02, 0, 0) | |
334 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0) | |
335 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.01, 0, 0) | |
336 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0) | |
337 | if not looking then | |
338 | rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0) | |
339 | end | |
340 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0) | |
341 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then | |
342 | looking = false | |
343 | -- walk anim | |
344 | anim = "Walking" | |
345 | if anim ~= lastanim then | |
346 | speed = 0.2 | |
347 | slidecount = 0 | |
348 | slidecountmax = 1 | |
349 | if lastanim == "Running" then | |
350 | slidecount = 5 | |
351 | end | |
352 | end | |
353 | countspeed = 6 | |
354 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02)) | |
355 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02)) | |
356 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01)) | |
357 | - | if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then |
357 | + | |
358 | - | superannoying = false |
358 | + | |
359 | - | barrelroll = false |
359 | + | |
360 | - | heya = false |
360 | + | |
361 | - | dubstepgun = false |
361 | + | |
362 | - | youpirate = false |
362 | + | |
363 | - | canttouch = false |
363 | + | |
364 | - | gangnam = false |
364 | + | |
365 | - | sheddy = false |
365 | + | |
366 | - | durka = false |
366 | + | |
367 | - | saxguy = false |
367 | + | |
368 | - | foxie = false |
368 | + | |
369 | - | burndem = false |
369 | + | |
370 | - | bronymusic = false |
370 | + | |
371 | - | brony_music:stop() |
371 | + | |
372 | - | fox_say:stop() |
372 | + | |
373 | - | spitfire:stop() |
373 | + | |
374 | - | heman:stop() |
374 | + | |
375 | - | justin:stop() |
375 | + | |
376 | - | jb = false |
376 | + | |
377 | - | durk:stop() |
377 | + | |
378 | - | restorecolors() |
378 | + | |
379 | - | burn_dem:stop() |
379 | + | |
380 | - | if hat then |
380 | + | |
381 | - | hat:Destroy() |
381 | + | |
382 | lastanim = anim | |
383 | - | sax_guy:stop() |
383 | + | |
384 | - | gangy_style:stop() |
384 | + | |
385 | - | cant_touch:stop() |
385 | + | |
386 | - | you_are_pirate:stop() |
386 | + | |
387 | - | dubstep_gun:stop() |
387 | + | |
388 | - | super_annoying:stop() |
388 | + | |
389 | - | barrel_roll:stop() |
389 | + | |
390 | - | dancing = false |
390 | + | |
391 | - | global_wait = 0 |
391 | + | |
392 | - | LightForTorso.Color = torso.BrickColor.Color |
392 | + | |
393 | else | |
394 | rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0) | |
395 | - | if k == "z" then |
395 | + | |
396 | - | if dancing then return end |
396 | + | |
397 | - | if not sitting then |
397 | + | |
398 | - | dancing = true |
398 | + | |
399 | - | superannoying = true |
399 | + | |
400 | - | super_annoying:play() |
400 | + | |
401 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0) | |
402 | end | |
403 | - | if k == "k" then |
403 | + | |
404 | - | if dancing then return end |
404 | + | |
405 | - | if not sitting then |
405 | + | |
406 | - | dancing = true |
406 | + | |
407 | - | sheddy = true |
407 | + | |
408 | - | spitfire:play() |
408 | + | |
409 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) | |
410 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
411 | rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) | |
412 | - | if k == "n" then |
412 | + | |
413 | - | if dancing then return end |
413 | + | |
414 | - | if not sitting then |
414 | + | |
415 | - | dancing = true |
415 | + | |
416 | - | gangnam = true |
416 | + | |
417 | - | gangy_style:play() |
417 | + | |
418 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03)) | |
419 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
420 | rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0) | |
421 | - | if k == "r" then |
421 | + | |
422 | - | if dancing then return end |
422 | + | |
423 | - | if not sitting then |
423 | + | |
424 | - | dancing = true |
424 | + | |
425 | - | burndem = true |
425 | + | |
426 | - | burn_dem:play() |
426 | + | |
427 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03)) | |
428 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03)) | |
429 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0) | |
430 | rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0) | |
431 | - | if k == "x" then |
431 | + | |
432 | - | if dancing then return end |
432 | + | |
433 | - | if not sitting then |
433 | + | |
434 | - | dancing = true |
434 | + | |
435 | - | barrelroll = true |
435 | + | |
436 | - | barrel_roll:play() |
436 | + | |
437 | - | hat = Instance.new("Part", char) |
437 | + | |
438 | - | hat.FormFactor = "Custom" |
438 | + | |
439 | - | hat.CanCollide = false |
439 | + | |
440 | - | hat.Size = torso.Size |
440 | + | |
441 | - | hat.Locked = true |
441 | + | |
442 | - | hat:breakJoints() |
442 | + | |
443 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
443 | + | |
444 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142" |
444 | + | |
445 | - | hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063" |
445 | + | |
446 | - | hatmesh.Scale = Vector3.new(.22, .2, .22) |
446 | + | |
447 | - | local hatweld = Instance.new("Weld", hat) |
447 | + | |
448 | - | hatweld.Part0 = hat |
448 | + | |
449 | - | hatweld.Part1 = torso |
449 | + | |
450 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.11)) | |
451 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11)) | |
452 | - | if k == "h" then |
452 | + | |
453 | - | if dancing then return end |
453 | + | |
454 | - | if not sitting then |
454 | + | |
455 | - | dancing = true |
455 | + | |
456 | - | heman:play() |
456 | + | |
457 | - | heya = true |
457 | + | |
458 | - | hat = Instance.new("Part", char) |
458 | + | |
459 | - | hat.FormFactor = "Custom" |
459 | + | |
460 | - | hat.CanCollide = false |
460 | + | |
461 | - | hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01) |
461 | + | |
462 | - | hat.Locked = true |
462 | + | |
463 | - | hat.BrickColor = BrickColor.new("Hot pink") |
463 | + | |
464 | - | hat:breakJoints() |
464 | + | |
465 | - | local hatweld = Instance.new("Weld", hat) |
465 | + | |
466 | - | hatweld.Part0 = hat |
466 | + | |
467 | - | hatweld.Part1 = torso |
467 | + | |
468 | if global_wait < 39 then | |
469 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07)) | |
470 | - | if k == "j" then |
470 | + | |
471 | - | if dancing then return end |
471 | + | |
472 | - | if not sitting then |
472 | + | |
473 | - | dancing = true |
473 | + | |
474 | - | justin:play() |
474 | + | |
475 | - | jb = true |
475 | + | |
476 | - | hat = Instance.new("Part", char) |
476 | + | |
477 | - | hat.FormFactor = "Custom" |
477 | + | |
478 | - | hat.CanCollide = false |
478 | + | |
479 | - | hat.Size = head.Size |
479 | + | |
480 | - | hat.Locked = true |
480 | + | |
481 | - | hat.BrickColor = BrickColor.new("Hot pink") |
481 | + | |
482 | - | hat:breakJoints() |
482 | + | |
483 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
483 | + | |
484 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424" |
484 | + | |
485 | - | hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982" |
485 | + | |
486 | - | hatmesh.Scale = Vector3.new(.23, .23, .23) |
486 | + | |
487 | - | local hatweld = Instance.new("Weld", hat) |
487 | + | |
488 | - | hatweld.Part0 = hat |
488 | + | |
489 | - | hatweld.Part1 = head |
489 | + | |
490 | - | hatweld.C0 = CFrame.new(0.025, -0.05, 0) |
490 | + | |
491 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17) | |
492 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17) | |
493 | - | if k == "c" then |
493 | + | |
494 | - | if dancing then return end |
494 | + | |
495 | - | if not sitting then |
495 | + | |
496 | - | dancing = true |
496 | + | |
497 | - | dubstepgun = true |
497 | + | |
498 | - | dubstep_gun:play() |
498 | + | |
499 | elseif gangnam then | |
500 | countspeed = 5 | |
501 | - | if k == "v" then |
501 | + | |
502 | - | if dancing then return end |
502 | + | |
503 | if global_wait < 89 then | |
504 | - | dancing = true |
504 | + | |
505 | - | youpirate = true |
505 | + | |
506 | - | you_are_pirate:play() |
506 | + | |
507 | - | hat = Instance.new("Part", char) |
507 | + | |
508 | - | hat.FormFactor = "Custom" |
508 | + | |
509 | - | hat.CanCollide = false |
509 | + | |
510 | - | hat.Size = head.Size |
510 | + | |
511 | - | hat.Locked = true |
511 | + | |
512 | - | hat:breakJoints() |
512 | + | |
513 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
513 | + | |
514 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848" |
514 | + | |
515 | - | hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847" |
515 | + | |
516 | - | hatmesh.Scale = Vector3.new(.2, .2, .2) |
516 | + | |
517 | - | local hatweld = Instance.new("Weld", hat) |
517 | + | |
518 | - | hatweld.Part0 = hat |
518 | + | |
519 | - | hatweld.Part1 = head |
519 | + | |
520 | - | hatweld.C0 = CFrame.new(0, -0.15, 0) |
520 | + | |
521 | if global_wait < 89 then | |
522 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2)) | |
523 | - | if k == "m" then |
523 | + | |
524 | - | if dancing then return end |
524 | + | |
525 | - | if not sitting then |
525 | + | |
526 | - | dancing = true |
526 | + | |
527 | - | canttouch = true |
527 | + | |
528 | - | cant_touch:play() |
528 | + | |
529 | ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05)) | |
530 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05)) | |
531 | - | if k == "b" then |
531 | + | |
532 | - | if dancing then return end |
532 | + | |
533 | - | if not sitting then |
533 | + | |
534 | - | dancing = true |
534 | + | |
535 | - | bronymusic = true |
535 | + | |
536 | - | brony_music:play() |
536 | + | |
537 | - | for _,bp in pairs(char:children()) do |
537 | + | |
538 | - | if bp:IsA("BasePart") then |
538 | + | |
539 | - | bp.BrickColor = BrickColor.new("Lavender") |
539 | + | |
540 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03)) | |
541 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 0, math.abs(angle*0.03)) | |
542 | - | hat = Instance.new("Part", char) |
542 | + | |
543 | - | hat.FormFactor = "Custom" |
543 | + | |
544 | - | hat.CanCollide = false |
544 | + | |
545 | - | hat.Size = head.Size |
545 | + | |
546 | - | hat.Locked = true |
546 | + | |
547 | - | hat.BrickColor = BrickColor.new("Lavender") |
547 | + | |
548 | - | hat:breakJoints() |
548 | + | |
549 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
549 | + | |
550 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643" |
550 | + | |
551 | - | hatmesh.Scale = Vector3.new(.1, .2, .1) |
551 | + | |
552 | - | local hatweld = Instance.new("Weld", hat) |
552 | + | |
553 | - | hatweld.Part0 = hat |
553 | + | |
554 | - | hatweld.Part1 = head |
554 | + | |
555 | - | hatweld.C0 = CFrame.new(0, -0.1, 0.05) |
555 | + | |
556 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) | |
557 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) | |
558 | neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0) | |
559 | - | if k == "l" then |
559 | + | |
560 | - | if dancing then return end |
560 | + | |
561 | - | if not sitting then |
561 | + | |
562 | - | dancing = true |
562 | + | |
563 | - | foxie = true |
563 | + | |
564 | - | fox_say:play() |
564 | + | |
565 | - | hat = Instance.new("Part", char) |
565 | + | |
566 | - | hat.FormFactor = "Custom" |
566 | + | |
567 | - | hat.CanCollide = false |
567 | + | |
568 | - | hat.Size = head.Size |
568 | + | |
569 | - | hat.Locked = true |
569 | + | |
570 | - | hat:breakJoints() |
570 | + | |
571 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
571 | + | |
572 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225" |
572 | + | |
573 | - | hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210" |
573 | + | |
574 | - | hatmesh.Scale = Vector3.new(.2, .2, .2) |
574 | + | |
575 | - | local hatweld = Instance.new("Weld", hat) |
575 | + | |
576 | - | hatweld.Part0 = hat |
576 | + | |
577 | - | hatweld.Part1 = head |
577 | + | |
578 | - | hatweld.C0 = CFrame.new(0, -0.1, 0) |
578 | + | |
579 | rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0) | |
580 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) | |
581 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) | |
582 | - | if k == "f" then |
582 | + | |
583 | - | if dancing then return end |
583 | + | |
584 | - | if not sitting then |
584 | + | |
585 | - | dancing = true |
585 | + | |
586 | - | durka = true |
586 | + | |
587 | - | durk:play() |
587 | + | |
588 | lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06) | |
589 | rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06) | |
590 | - | if k == "g" then |
590 | + | |
591 | - | if dancing then return end |
591 | + | |
592 | - | if not sitting then |
592 | + | |
593 | - | dancing = true |
593 | + | |
594 | - | saxguy = true |
594 | + | |
595 | - | sax_guy:play() |
595 | + | |
596 | - | hat = Instance.new("Part", char) |
596 | + | |
597 | - | hat.FormFactor = "Custom" |
597 | + | |
598 | - | hat.CanCollide = false |
598 | + | |
599 | - | hat.Size = head.Size |
599 | + | |
600 | - | hat.Locked = true |
600 | + | |
601 | - | hat:breakJoints() |
601 | + | |
602 | - | local hatmesh = Instance.new("SpecialMesh", hat) |
602 | + | |
603 | - | hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178" |
603 | + | |
604 | - | hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320" |
604 | + | |
605 | - | hatmesh.Scale = Vector3.new(.25, .25, .25) |
605 | + | |
606 | - | local hatweld = Instance.new("Weld", hat) |
606 | + | |
607 | - | hatweld.Part0 = hat |
607 | + | |
608 | - | hatweld.Part1 = la |
608 | + | |
609 | - | hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4) |
609 | + | |
610 | end) | |
611 | ||
612 | end) | |
613 | if not ran and err then | |
614 | print(err) | |
615 | end |