View difference between Paste ID: XaFgxQdc and Tcmx9hz2
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
        char = plr.Character
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
        rl = char:findFirstChild("Right Leg")
12
        ll = char:findFirstChild("Left Leg")
13
        rs = torso:findFirstChild("Right Shoulder")
14
        ls = torso:findFirstChild("Left Shoulder")
15
        rh = torso:findFirstChild("Right Hip")
16
        lh = torso:findFirstChild("Left Hip")
17
        neck = torso:findFirstChild("Neck")
18
        rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
19
        anim = char:findFirstChild("Animate")
20
        rootpart = char:findFirstChild("HumanoidRootPart")
21
        camera = workspace.CurrentCamera
22
        do --Removing ROBLOX's new Looped bug >_>
23
            local function rec(x)
24
                for i,v in pairs(x:children()) do
25
                    if v:IsA'Animation' then
26
                        v.AnimationId = 'rbxassetid://28159255'
27
                    end
28
                    rec(v)
29
                end
30
            end
31
            rec(anim) --the Animate script
32
        end
33
34
        humanoid.Jump = true
35
36
        wait(.4)
37
38
39
        if anim then
40
        anim:Destroy()
41
        end
42
         
43
         
44
        rj.C0 = CFrame.new()
45
        rj.C1 = CFrame.new()
46
         
47
         
48
      
49
        --minimize
50
        rh.Parent = nil
51
        lh.Parent = nil
52
        rs.Parent = nil
53
        ls.Parent = nil
54
        neck.Parent = nil
55
        rj.Parent = nil
56
         
57
         
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
         
119-
        Instance.new("HumanoidController", game:service'ControllerService')
119+
120-
        Instance.new("SkateboardController", game:service'ControllerService')
120+
121-
        Instance.new("VehicleController", game:service'ControllerService')
121+
122
        ls.C0 = CFrame.new(-.3,.1,0)
123
        ls.C1 = CFrame.new(0,.1,0)
124
        rs.C0 = CFrame.new(.3,.1,0)
125
        rs.C1 = CFrame.new(0,.1,0)
126
        rh.C0 = CFrame.new(.1,-.2,0)
127
        rh.C1 = CFrame.new(0, .2, 0)
128
        lh.C0 = CFrame.new(-.1,-.2,0)
129
        lh.C1 = CFrame.new(0, .2, 0)
130
        neck.C0 = CFrame.new(0,.2,0)
131
        neck.C1 = CFrame.new(0,-.1,0)
132
         
133
        bodyc = char:findFirstChild("Body Colors")
134
        if bodyc then
135
            bodyc:Destroy()
136
        end
137
     
138
        wait(1)
139
         
140
        local body = {}
141
        for i,v in pairs(char:children()) do
142
            if v:IsA'BasePart' then
143
                body[v] = {Color = v.BrickColor}
144
            end
145
        end
146
     
147
        function restorecolors()
148
            for _,bp in pairs(char:children()) do
149
                if bp:IsA("BasePart") then
150
                    bp.BrickColor = body[bp].Color
151
                end
152
            end
153
        end
154
     
155
         
156
        local LightForTorso = Instance.new("PointLight", head)
157
        LightForTorso.Color = torso.BrickColor.Color
158
        LightForTorso.Range = 7
159
        LightForTorso.Brightness = 1.5
160
         
161
         
162
         
163
         
164
        local slidecount = 0
165
        local slidecountmax = 0
166
        local anim = ""
167
        local lastanim = anim
168
        local speed = 0
169
        local looking = false
170
        local dancing = false
171
        local superannoying = false
172
        local barrelroll = false
173
        local dubstepgun = false
174
        local foxie = false
175
        local durka = false
176
        local saxguy = false
177
        local heya = false
178
        local jb = false
179
        local bronymusic = false
180
        local sheddy = false
181
        local burndem = false
182
        local global_wait = 0
183
         
184
        count = 0
185
        countspeed = 1
186
        sine = 0
187
        sinespeed = 1
188
         
189
         
190
         
191
        humanoid.WalkSpeed = 40
192
         
193
         
194
        local controllerService = game:GetService("ControllerService")
195
        local controller = controllerService:GetChildren()[1]
196
         
197
         
198
        local colors = {"White", "Really black"}
199
         
200
        humanoid.Died:connect(function()
201
            for cframe_parts = 0, 100 do
202
                local p = Instance.new("Part")
203
                p.FormFactor = "Custom"
204
                p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
205
                p.Size = Vector3.new(1, 1, 1)
206
                Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
207
                p.Locked = true
208
                p.CanCollide = false
209
                p.Anchored = true
210
                p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
211
                p.Parent = workspace
212
            game:service'Debris':AddItem(p, 5)
213
            coroutine.wrap(function()
214
            while wait() do
215
                if p ~= nil then
216
                    p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
217
                    p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
218
                    p.Transparency = p.Transparency + 0.015
219
                else
220-
            print(v.Name)
220+
221-
                body[v.Name] = {Color = v.BrickColor}
221+
222
            end
223
        end)()
224
        end
225-
        print(body.Torso)
225+
226
            if v:IsA("Part") then
227
                v:Destroy()
228
            end
229-
                    bp.BrickColor = body[bp.Name].Color
229+
230
         
231
        end)
232
         
233
         
234
        mouse.KeyDown:connect(function(k)
235
           
236
            if string.byte(k) == 50 then
237
               
238
                if dancing then return end
239
                sitting = not sitting
240
                if sitting then
241
                        local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0))
242
                local hitz,enz = workspace:FindPartOnRay(ray, char)
243
           
244
               
245
                     if hitz then
246
                controller.Parent = nil
247
                humanoid.WalkSpeed = 0
248
                    coroutine.wrap(function()
249
                        while wait() do
250
                            humanoid.PlatformStand = true
251
                            if sitting == false then humanoid.PlatformStand = false break end
252
                        end
253
                    end)()
254
                rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
255
                lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
256
                rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
257
                ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
258
                rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
259
               
260
                      miniweld = Instance.new("Weld", char)
261
                        miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
262
                        miniweld.Part0 = hitz
263
                        miniweld.Part1 = rootpart
264
                    else
265
                        sitting = false
266
                        return
267
                        end
268
            else
269
                if miniweld then
270-
        humanoid.WalkSpeed = 11
270+
271
                end
272
                controller.Parent = controllerService
273
                humanoid.PlatformStand = false
274
                humanoid.WalkSpeed = 11
275
            end
276
        end
277
 
278
         
279
        game:service'RunService'.Stepped:connect(function()
280
            count = (count % 100) + countspeed
281
            angle = math.pi * math.sin(math.pi*2/100*count)
282
         
283
            if slidecount < slidecountmax then
284
            slidecount = slidecount + speed
285
            end
286
            if slidecount > slidecountmax then
287
            slidecount = slidecount - speed
288
            end  
289
        if global_wait == 380 then global_wait = 0 end
290
         
291
        sine = sine + sinespeed
292
        if not dancing then
293
                if not sitting then
294
                    local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0))
295
            local hitz, enz = workspace:FindPartOnRay(ray, char)
296
                if not hitz then
297
                        ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0)
298
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0)
299
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.28, 0, 0)
300
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0)
301
            if not looking then
302
            rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
303
            end
304
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
305
        elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
306
           
307
        -- idle anim
308
         
309
        anim = "Idle"
310
        if anim ~= lastanim then
311
            if lastanim == "Walking" then
312
                speed = 0.5
313
                slidecount = 1
314
                slidecountmax = 0
315
            elseif lastanim == "Running" then
316
                speed = 2.5
317
                slidecount = 5
318
                slidecountmax = 0
319
            else
320
        slidecount = 0
321
        slidecountmax = 0
322
        end
323
        end
324
        countspeed = 1
325
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.02, 0, 0)
326
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0)
327
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.01, 0, 0)
328
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0)
329
            if not looking then
330
            rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
331
            end
332
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
333
        elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then
334
            looking = false
335
        -- walk anim
336
        anim = "Walking"
337
        if anim ~= lastanim then
338
        speed = 0.2
339
        slidecount = 0
340
        slidecountmax = 1
341
            if lastanim == "Running" then
342
                slidecount = 5
343
                end
344
        end
345
        countspeed = 6
346
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02))
347
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02))
348
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01))
349
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01))
350
            rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
351
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
352
        elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then
353
            --run anim
354
            anim = "Running"
355
        if anim ~= lastanim then
356
        speed = 1
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
                rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16)
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
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0)
394
        end
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
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
402
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
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
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(0, 0, -math.abs(angle*0.03))
410
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03))
411
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 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
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27))
419
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
420
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
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
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09))
428
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
429
            rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0)
430
            end
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
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
451
            lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
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
             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
469
            rs.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
        elseif gangnam then
492
        countspeed = 5
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
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
500
            neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
501-
        if k == "v" then
501+
502-
        if dancing then return end
502+
503
            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))
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
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05))
522
            rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05))
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
        countspeed = 2
530
            ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07))
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(-math.abs(angle*0.1), 0, -0.06)
541
            rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06)
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 - math.cos(count*.025)*.02,0)  * CFrame.Angles(angle*0.05, 0, -0.06)
589
            rh.C0 = CFrame.new(.1,-.2+math.cos(count*.025)*.02,0) * CFrame.Angles(-angle*0.05, 0, 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+