View difference between Paste ID: Z41GC4YL and R4ey8R7J
SHOW: | | - or go back to the newest paste.
1
local p = game.Players.LocalPlayer
2
local char = p.Character
3
local hed = char.Head
4
local hes = game.Players.LocalPlayer.Character.Humanoid
5
for i,v in pairs(char:children()) do
6
    if v:IsA("Hat") then
7
        v:Destroy()
8
    end
9
end
10
for i,v in pairs(hed:children()) do
11
    if v:IsA("Sound") 	then
12
        v:Destroy()
13
    end
14
end
15
local Part = Instance.new("Part",hed)
16
Part.BrickColor = BrickColor.new("Really black")
17
Part.Size = Vector3.new(1,1,1)
18
Part.CanCollide = false
19
Part.Material = "Neon"
20
local M = Instance.new("SpecialMesh",Part)
21
M.MeshId = "rbxassetid://227430350"
22
M.Scale = Vector3.new(3,3,3)
23
local Part2 = Instance.new("Weld",Part)
24
Part2.Part0 = hed
25
Part2.Part1 = Part
26
Part2.C0 = CFrame.new(0, 1, -0.5)
27
hes.MaxHealth = math.huge
28
warn'Edit By BonnieKunG1s'
29
local runDummyScript = function(f,scri)
30
local oldenv = getfenv(f)
31
local newenv = setmetatable({}, {
32
__index = function(_, k)
33
if k:lower() == 'script' then
34
return scri
35
else
36
return oldenv[k]
37
end
38
end
39
})
40
setfenv(f, newenv)
41
ypcall(function() f() end)
42
end
43
cors = {}
44
mas = Instance.new("Model",game:GetService("Lighting")) 
45
mas.Name = "CompiledModel"
46
o1 = Instance.new("LocalScript")
47
o1.Name = "Wubstep"
48
o1.Parent = mas
49
table.insert(cors,function()
50
wait()
51
runDummyScript(function()
52
53
function clerp(c1,c2,al)
54
    local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
55
    local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
56
    for i,v in pairs(com1) do 
57
        com1[i] = v+(com2[i]-v)*al
58
    end
59
    return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
60
end
61
62
plr = game:service'Players'.LocalPlayer
63
char = plr.Character
64
mouse = plr:GetMouse()
65
humanoid = char:findFirstChild("Humanoid")
66
torso = char:findFirstChild("Torso")
67
head = char.Head
68
ra = char:findFirstChild("Right Arm")
69
la = char:findFirstChild("Left Arm")
70
rl = char:findFirstChild("Right Leg")
71
ll = char:findFirstChild("Left Leg")
72
rs = torso:findFirstChild("Right Shoulder")
73
ls = torso:findFirstChild("Left Shoulder")
74
rh = torso:findFirstChild("Right Hip")
75
lh = torso:findFirstChild("Left Hip")
76
neck = torso:findFirstChild("Neck")
77
rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
78
rootpart = char:findFirstChild("HumanoidRootPart")
79
camera = workspace.CurrentCamera
80
anim = char:findFirstChild("Animate")
81
82
if char:FindFirstChild("Animate") then
83
	char.Animate:Destroy()
84
end
85
humanoid.Animator:Destroy()
86
87
local rm = Instance.new("Weld", torso)
88
rm.C0 = CFrame.new(1.5, 0.5, 0)
89
rm.C1 = CFrame.new(0, 0.5, 0)
90
rm.Part0 = torso
91
rm.Part1 = ra
92
93
local lm = Instance.new("Weld", torso)
94
lm.C0 = CFrame.new(-1.5, 0.5, 0)
95
lm.C1 = CFrame.new(0, 0.5, 0)
96
lm.Part0 = torso
97
lm.Part1 = la
98
99
local rlegm = Instance.new("Weld", torso)
100
rlegm.C0 = CFrame.new(0.5, -1, 0)
101
rlegm.C1 = CFrame.new(0, 1, 0)
102
rlegm.Part0 = torso
103
rlegm.Part1 = rl
104
local llegm = Instance.new("Weld", torso)
105
llegm.C0 = CFrame.new(-0.5, -1, 0)
106
llegm.C1 = CFrame.new(0, 1, 0)
107
llegm.Part0 = torso
108
llegm.Part1 = ll
109
110
neck.C0 = CFrame.new(0, 1, 0)
111
neck.C1 = CFrame.new(0, -.5, 0)
112
113
rj.C0 = CFrame.new()
114
rj.C1 = CFrame.new()
115
116
local Rbx = LoadLibrary("RbxUtility")
117
local Create = Rbx.Create
118
119
GUI = Create("ScreenGui"){
120
	Parent = plr.PlayerGui,
121
	Enabled = true,
122
	ResetOnSpawn = true,
123
	Name = "WubstepGUI"
124
}
125
126
Main = Create("Frame"){
127
	Parent = GUI,
128
	BackgroundColor3 = Color3.new(50/255,50/255,50/255),
129
	BorderColor3 = Color3.new(27/255,42/255,53/255),
130
	BorderSizePixel = 0,
131
	BackgroundTransparency = 0,
132
	Size = UDim2.new(0.2,0,0.5,0),
133
	Position = UDim2.new(-1.2,0,0.25,0),
134
	ZIndex = 1,
135
	Visible = true,
136
	Selectable = false,
137
	Name = "Main"
138
}
139
140
IDBox = Create("TextBox"){
141
	Parent = Main,
142
	BackgroundColor3 = Color3.new(9/255,9/255,9/255),
143
	BackgroundTransparency = 0.7,
144
	BorderColor3 = Color3.new(255/255,255/255,255/255),
145
	BorderSizePixel = 5,
146
	Name = "ID",
147
	Position = UDim2.new(0.05,0,0.03,0),
148
	Selectable = true,
149
	ShowNativeInput = true,
150
	ClearTextOnFocus = true,
151
	Size = UDim2.new(0.9,0,0.15,0),
152
	Visible = true,
153
	ZIndex = 2,
154
	Text = "ID",
155
	TextWrapped = true,
156
	TextScaled = true,
157
	TextColor3 = Color3.new(255/255,255/255,255/255),
158
	TextStrokeTransparency = 0,
159
	TextStrokeColor3 = Color3.new(0,0,0)
160
}
161
162
PlayButton = Create("TextButton"){
163
	Parent = Main,
164
	BackgroundTransparency = 0,
165
	BackgroundColor3 = Color3.new(9/255,9/255,9/255),
166
	BorderSizePixel = 0,
167
	BorderColor3 = Color3.new(27/255,42/255,53/255),
168
	Name = "Play",
169
	Modal = false,
170
	Position = UDim2.new(0.05,0,0.205,0),
171
	Size = UDim2.new(0.9,0,0.1,0),
172
	ZIndex = 2,
173
	Text = "Play",
174
	TextScaled = true,
175
	TextStrokeColor3 = Color3.new(0,0,0),
176
	TextStrokeTransparency = 1,
177
	TextColor3 = Color3.new(255/255,255/255,255/255),
178
	TextWrapped = true
179
}
180
181
VolumeInc = Create("TextButton"){
182
	Parent = Main,
183
	BackgroundColor3 = Color3.new(0,7/255,48/255),
184
	BorderSizePixel = 2,
185
	Modal = false,
186
	Name = "+",
187
	Position = UDim2.new(0.75,0,0.325,0),
188
	Size = UDim2.new(0.2,0,0.34,0),
189
	Visible = true,
190
	TextScaled = true,
191
	TextColor3 = Color3.new(255/255,255/255,255/255),
192
	TextStrokeTransparency = 1,
193
	Text = "+"
194
}
195
196
VolumeDec = Create("TextButton"){
197
	Parent = Main,
198
	BackgroundColor3 = Color3.new(48/255,0,0),
199
	BorderSizePixel = 2,
200
	Modal = false,
201
	Name = "+",
202
	Position = UDim2.new(0.05,0,0.325,0),
203
	Size = UDim2.new(0.2,0,0.34,0),
204
	Visible = true,
205
	TextScaled = true,
206
	TextColor3 = Color3.new(255/255,255/255,255/255),
207
	TextStrokeTransparency = 1,
208
	Text = "-"
209
}
210
211
VolText = Create("TextLabel"){
212
	Parent = Main,
213
	BackgroundColor3 = Color3.new(255/255,255/255,255/255),
214
	BackgroundTransparency = 1,
215
	BorderColor3 = Color3.new(27/255,42/255,53/255),
216
	BorderSizePixel = 0,
217
	Name = "Volume",
218
	Position = UDim2.new(0.175,0,0.325,0),
219
	Size = UDim2.new(0.64,0,0.1,0),
220
	Visible = true,
221
	Text = "Volume",
222
	TextColor3 = Color3.new(255/255,255/255,255/255),
223
	TextScaled = true,
224
	TextStrokeColor3 = Color3.new(0,0,0),
225
	TextStrokeTransparency = 0
226
}
227
228
VolNum = Create("TextLabel"){
229
	Parent = Main,
230
	BackgroundTransparency = 1,
231
	BorderSizePixel = 0,
232
	Name = "###",
233
	Position = UDim2.new(0.175,0,0.45,0),
234
	Size = UDim2.new(0.64,0,0.2,0),
235
	TextStrokeTransparency = 0,
236
	TextColor3 = Color3.new(255/255,255/255,255/255),
237
	Text = "10",
238
	TextScaled = true
239
}
240
241
HeadphText = Create("TextLabel"){
242
	Parent = Main,
243
	BackgroundTransparency = 1,
244
	BorderSizePixel = 0,
245
	Name = "Headphones",
246
	Position = UDim2.new(0.05,0,0.7,0),
247
	Size = UDim2.new(0.64,0,0.1,0),
248
	TextStrokeTransparency = 0,
249
	TextColor3 = Color3.new(255/255,255/255,255/255),
250
	Text = "Headphones",
251
	TextScaled = true
252
}
253
254
NotesText = Create("TextLabel"){
255
	Parent = Main,
256
	BackgroundTransparency = 1,
257
	BorderSizePixel = 0,
258
	Name = "Notes",
259
	Position = UDim2.new(0.05,0,0.85,0),
260
	Size = UDim2.new(0.64,0,0.1,0),
261
	TextStrokeTransparency = 0,
262
	TextColor3 = Color3.new(255/255,255/255,255/255),
263
	Text = "Notes",
264
	TextScaled = true
265
}
266
267
Check1 = Create("TextButton"){
268
	Parent = Main,
269
	BackgroundTransparency = 0.7,
270
	BackgroundColor3 = Color3.new(50/255,50/255,50/255),
271
	BorderSizePixel = 5,
272
	BorderColor3 = Color3.new(0,0,0),
273
	Name = "Check1",
274
	Modal = false,
275
	Position = UDim2.new(0.78,0,0.7,0),
276
	Size = UDim2.new(0.13,0,0.1,0),
277
	ZIndex = 2,
278
	Text = "",
279
	TextScaled = true,
280
	TextStrokeColor3 = Color3.new(0,0,0),
281
	TextStrokeTransparency = 1,
282
	TextColor3 = Color3.new(255/255,255/255,255/255),
283
	TextWrapped = true
284
}
285
286
Check2 = Create("TextButton"){
287
	Parent = Main,
288
	BackgroundTransparency = 0.7,
289
	BackgroundColor3 = Color3.new(50/255,50/255,50/255),
290
	BorderSizePixel = 5,
291
	BorderColor3 = Color3.new(0,0,0),
292
	Name = "Check2",
293
	Modal = false,
294
	Position = UDim2.new(0.78,0,0.85,0),
295
	Size = UDim2.new(0.13,0,0.1,0),
296
	ZIndex = 2,
297
	Text = "",
298
	TextScaled = true,
299
	TextStrokeColor3 = Color3.new(0,0,0),
300
	TextStrokeTransparency = 1,
301
	TextColor3 = Color3.new(255/255,255/255,255/255),
302
	TextWrapped = true
303
}
304
305
Checkmark1 = Create("ImageLabel"){
306
	Parent = Check1,
307
	Size = UDim2.new(1,0,1,0),
308
	Position = UDim2.new(0,0,0,0),
309
	BorderSizePixel = 0,
310
	BackgroundTransparency = 1,
311
	Image = "rbxassetid://55565289",
312
}
313
314
Checkmark2 = Create("ImageLabel"){
315
	Parent = Check2,
316
	Size = UDim2.new(1,0,1,0),
317
	Position = UDim2.new(0,0,0,0),
318
	BorderSizePixel = 0,
319
	BackgroundTransparency = 1,
320
	Image = "rbxassetid://55565289",
321
}
322
323
OpenButton = Create("TextButton"){
324
	Parent = GUI,
325
	BackgroundTransparency = 0.7,
326
	BackgroundColor3 = Color3.new(50/255,50/255,50/255),
327
	BorderSizePixel = 5,
328
	BorderColor3 = Color3.new(0,0,0),
329
	Name = "Open/Close",
330
	Modal = false,
331
	Position = UDim2.new(0,0,0.7,0),
332
	Size = UDim2.new(0.13,0,0.1,0),
333
	ZIndex = 2,
334
	Text = "Wubstep",
335
	TextScaled = true,
336
	TextStrokeColor3 = Color3.new(0,0,0),
337
	TextStrokeTransparency = 0,
338
	TextColor3 = Color3.new(255/255,255/255,255/255),
339
	TextWrapped = true
340
}
341
342
local Open = false
343
local Debounce = false
344
OpenButton.MouseButton1Down:connect(function()
345
	if Open == false and Debounce == false then
346
		Debounce = true
347
		Main:TweenPosition(UDim2.new(0.4, 0, 0.25, 0),"Out","Quad",3,false)
348
		repeat wait() until Main.Position == UDim2.new(0.4,0,0.25,0)
349
		wait(0.2)
350
		Open = true
351
		Debounce = false
352
	elseif Open == true and Debounce == false then
353
		Debounce = true
354
		Main:TweenPosition(UDim2.new(-1.2, 0, 0.25, 0),"Out","Quad",5,false)
355
		repeat wait() until Main.Position == UDim2.new(-1.2,0,0.25,0)
356
		wait(0.2)
357
		Open = false
358
		Debounce = false
359
	end
360
end)
361
362
local Volume = 10
363
VolumeInc.MouseButton1Down:connect(function()
364
	if Volume < 10	 then
365
		Volume = Volume + 1
366
	end
367
end)
368
VolumeDec.MouseButton1Down:connect(function()
369
	if Volume > 0 then
370
		Volume = Volume - 1
371
	end
372
end)
373
374
humanoid.WalkSpeed = 18
375
376
local s = Instance.new('Sound', head)
377
s.Volume = Volume
378
s.SoundId = "rbxassetid://0" --EG: Music to my ears
379
s.Looped = true
380
s:play()
381
382
PlayButton.MouseButton1Down:connect(function()
383
	s.SoundId = "rbxassetid://"..IDBox.Text
384
end)
385
386
rsc0 = rm.C0
387
lsc0 = lm.C0
388
neckc0 = neck.C0
389
rootc0 = rj.C0
390
llc0 = llegm.C0
391
rlc0 = rlegm.C0
392
speed = 0.25
393
angle = 0
394
anglespeed = 1
395
396
local Hat = Instance.new('Part', char)
397
Hat.FormFactor = 'Custom'
398
Hat.Size = Vector3.new(1,1,1)
399
Hat.CanCollide = false
400
Hat.Locked = true
401
Hat.Name = 'Headphones'
402
Hat:breakJoints()
403
Hat.TopSurface = 0
404
Hat.BottomSurface = 0
405
local Mesh = Instance.new('SpecialMesh', Hat)
406
Mesh.MeshId = "http://www.roblox.com/asset/?id=1051545"
407
Mesh.TextureId = "rbxassetid://186142634"
408
409
local Weld = Instance.new('Weld', Hat)
410
Weld.Part0 = Hat
411
Weld.Part1 = head
412
Weld.C1 = CFrame.new(0, .2, 0)
413
414
local HP = true
415
local Not = true
416
Check1.MouseButton1Down:connect(function()
417
	if HP == true then
418
		HP = false
419
		Hat.Transparency = 0
420
		Checkmark1.Visible = true
421
	elseif HP == false then
422
		HP = true
423
		Hat.Transparency = 1
424
		Checkmark1.Visible = false
425
	end
426
end)
427
Check2.MouseButton1Down:connect(function()
428
	if Not == true then
429
		Not = false
430
		Checkmark2.Visible = false
431
	elseif Not == false then
432
		Not = true
433
		Checkmark2.Visible = true
434
	end
435
end)
436
437
local SplashEffect = Instance.new('Part')
438
Instance.new("CylinderMesh", SplashEffect);
439
SplashEffect.Size = Vector3.new(.2,.2,.2)
440
SplashEffect.Anchored = true
441
SplashEffect.Transparency = 1
442
SplashEffect.CanCollide = false
443
SplashEffect.Locked = true
444
SplashEffect.Material = "Neon"
445
local surfacegui = Instance.new('SurfaceGui', SplashEffect)
446
surfacegui.Face = 'Top'
447
surfacegui.CanvasSize = Vector2.new(800,800)
448
local SplashEffectImage = Instance.new('ImageLabel', surfacegui)
449
SplashEffectImage.Size = UDim2.new(1,0,1,0)
450
SplashEffectImage.Image = "rbxassetid://166139049"
451
SplashEffectImage.BackgroundTransparency = 1
452
SplashEffectImage.Name = 'Effect'
453
SplashEffectImage.ImageColor3 = Color3.new(223/255, 0, 255/255)
454
local light = Instance.new('PointLight', SplashEffect)
455
456
local SplashEffect2 = SplashEffect:clone()
457
SplashEffect2:ClearAllChildren()
458
Instance.new("CylinderMesh", SplashEffect2);
459
local surfacegui2 = Instance.new('SurfaceGui', SplashEffect2)
460
surfacegui2.Face = 'Top'
461
surfacegui2.CanvasSize = Vector2.new(800,800)
462
local SplashEffect2Image = Instance.new('ImageLabel', surfacegui2)
463
SplashEffect2Image.Size = UDim2.new(1,0,1,0)
464
SplashEffect2Image.Image = "rbxassetid://166139049"
465
SplashEffect2Image.BackgroundTransparency = 1
466
SplashEffect2Image.Name = 'Effect'
467
SplashEffect2Image.ImageColor3 = Color3.new(223/255, 0, 255/255)
468
local light2 = Instance.new('PointLight', SplashEffect2)
469
470
local Crack = Instance.new('Part')
471
Crack.Size = Vector3.new(12, .2, 12)
472
Crack.Anchored = true
473
Crack.Transparency = 1
474
Crack.CanCollide = false
475
476
Images = {"rbxassetid://109516732", "rbxassetid://185526499"}
477
local Image = Instance.new('Decal', Crack)
478
Image.Face = 'Top'
479
480
481
local SplashColors = {Color3.new(223/255, 0, 255/255), Color3.new(223/255, 0, 255/255), Color3.new(226/255, 156/255, 210/255), Color3.new(120/255, 91/255, 169/255), Color3.new(8/255, 146/255, 208/255), Color3.new(0,0,1), Color3.new(127/255, 255/255, 212/255)}
482
local Splash1cframe
483
local Splash2cframe
484
485
function math_pos(float)
486
    if float < 0 then float = 0 end
487
    return float
488
end
489
function math_neg(float)
490
    if float > 0 then float = 0 end
491
    return float
492
end
493
function math_max(float, max)
494
    if float > max then float = max end
495
    return float
496
end
497
function math_min(float, min)
498
    if float > min then float = min end
499
    return float
500
end
501
pchar = char
502
Part = function(x,y,z,color,tr,cc,an,parent)
503
    local p = Instance.new('Part',parent)
504
    p.formFactor = 'Custom'
505
    p.Size = Vector3.new(x,y,z)
506
    p.BrickColor = BrickColor.new(color)
507
	p.Material = "Neon"
508
    p.CanCollide = cc
509
    p.Transparency = tr
510
    p.Anchored = an
511
    p.TopSurface,p.BottomSurface = 0,0
512
    p.Locked=true
513
    p:BreakJoints()
514
    return p
515
end
516
Mesh = function(par,num,x,y,z)
517
    local msh = _
518
    if num == 1 then
519
        msh = Instance.new("CylinderMesh",par)
520
    elseif num == 2 then
521
        msh = Instance.new("SpecialMesh",par)
522
        msh.MeshType = 3
523
    elseif num == 3 then
524
        msh = Instance.new("BlockMesh",par)
525
    elseif num == 4 then
526
        msh = Instance.new("SpecialMesh",par)
527
        msh.MeshType = "Torso"
528
    elseif type(num) == 'string' then
529
        msh = Instance.new("SpecialMesh",par)
530
        msh.MeshId = num
531
    end 
532
    msh.Scale = Vector3.new(x,y,z)
533
    return msh
534
end
535
function explosion(col1,col2,cfr,sz,rng,dmg)
536
    local a= Part(1,1,1,col1,.5,false,true,pchar)
537
    local a2= Part(1,1,1,col2,.5,false,true,pchar)
538
    local a3= Part(1,1,1,col2,.5,false,true,pchar)
539
    v1,v2,v3=sz.x,sz.y,sz.z
540
    local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
541
    local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
542
    local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
543
    a.CFrame=cfr
544
    a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
545
    a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
546
    for i,v in pairs(workspace:children()) do
547
        if v:IsA("Model") and v:findFirstChild("Humanoid") then
548
            if v:findFirstChild("Head") and v:findFirstChild("Torso") then
549
                if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= pchar.Name then
550
                    v.Humanoid.Health=v.Humanoid.Health-dmg
551
                    v.Torso.Velocity=Vector3.new(math.random(-dmg*2,dmg*2),dmg*3,math.random(-dmg*2,dmg*2))
552
                end
553
            end
554
        end
555
    end
556
    Spawn(function()
557
        while true do
558
            wait()
559
            if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
560
            m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
561
            m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
562
            m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
563
            a2.CFrame=a2.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))
564
            a3.CFrame=a3.CFrame*CFrame.Angles(-math.rad(2),-math.rad(2),-math.rad(2))
565
            a.Transparency=a.Transparency+0.05
566
            a2.Transparency=a2.Transparency+0.05
567
            a3.Transparency=a3.Transparency+0.05
568
        end
569
    end)
570
end
571
572
local lasttick
573
local Action = false
574
local db = false
575
cd = false
576
577
mouse.KeyDown:connect(function(k)
578
    if k:byte() == 32 then
579
        if not jumped then
580
        lasttick = tick()
581
        end
582
	elseif k:lower() == "c" and db == false and cd == false then
583
		cd = true
584
		local Colors = {"New Yeller","Really red","Really blue","Royal purple","Pastel orange","Lime green","Hot pink","Toothpaste","Institutional white"}
585
		local Col1 = Colors[math.random(1,#Colors)]
586
		local Col2 = Colors[math.random(1,#Colors)]
587
		explosion(Col1,Col2,torso.CFrame,Vector3.new(80,80,80),60,80)
588
		cd = false
589
	elseif k:lower() == "f" and db == false then
590
		db = true
591
		local Rbx = LoadLibrary("RbxUtility")
592
		local Cre = Rbx.Create
593
		local Colors = {"New Yeller","Really red","Really blue","Royal purple","Pastel orange","Lime green","Hot pink","Toothpaste","Institutional white"}
594
		local sh = Cre("Part"){
595
			Parent = char,
596
			Size = Vector3.new(0.2,0.2,0.2),
597
			Anchored = true,
598
			CanCollide = false,
599
			Material = "Neon",
600
			BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]),
601
			CFrame = torso.CFrame
602
		}
603
		local msh = Cre("SpecialMesh"){
604
			MeshType = "Sphere",
605
			Scale = Vector3.new(0.01,0.01,0.01),
606
			Parent = sh
607
		}
608
		game:GetService("Debris"):AddItem(sh,25)
609
		coroutine.resume(coroutine.create(function()
610
			local a = 0
611
			for i=0,150 do
612
				game:GetService("RunService").RenderStepped:wait()
613
				sh.CFrame = torso.CFrame
614
				msh.Scale = msh.Scale + Vector3.new(math.floor(i/18),math.floor(i/18),math.floor(i/18))
615
				sh.Transparency = i/150
616
				a = a + 1
617
				if a >= 3 then
618
					a = 0
619
					sh.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
620
				end
621
				for i,v in pairs(game.Workspace:GetChildren()) do
622
					if v and v.Name ~= plr.Name and v:FindFirstChild("Humanoid") then
623
						if v:FindFirstChild("Torso") then
624
							if (v.Torso.Position - torso.Position).magnitude <= i then
625
								v:BreakJoints()
626
							end
627
						end
628
					end
629
				end
630
			end
631
			db = false
632
		end))
633
    end
634
end)
635
636
plr.Chatted:connect(function(msg)
637
    if msg == "/e dance" or msg == "/emote dance" then
638
        Action = 'Dancing'
639
    end
640
    if msg == "/e dance2" or msg == "/emote dance2" then
641
        Action = 'Dancing2'
642
    end
643
    if msg == "/e dance3" or msg == "/emote dance3" then
644
        Action = 'Dancing3'
645
    end
646
end)
647
648
local screengui = Instance.new('ScreenGui', plr.PlayerGui)
649
screengui.Name = "Vinyl's Effect"
650
local frame = Instance.new('ImageLabel', screengui)
651
frame.Size = UDim2.new(1,250,1,250)
652
frame.Position = UDim2.new(0,-125,0,-125)
653
frame.Image = "rbxassetid://186263828"
654
frame.BackgroundTransparency = 1
655
656
local parts = Instance.new('Model', char)
657
658
coroutine.resume(coroutine.create(function()
659
	while true do
660
		game:GetService("RunService").RenderStepped:wait()
661
		VolNum.Text = Volume
662
		s.Volume = Volume
663
	end
664
end))
665
666
local Notes = {}
667
game:service'RunService'.RenderStepped:connect(function()
668
    angle = (angle % 100) + anglespeed/10
669
    local rscf = rsc0
670
    local lscf = lsc0
671
    local rjcf = rootc0
672
    local ncf = neckc0
673
    local rlcf = rlc0
674
    local llcf = llc0
675
    local jumpray = Ray.new(rootpart.Position, Vector3.new(0, -4.1, 0))
676
    local jumphit, jumppos = workspace:FindPartOnRayWithIgnoreList(jumpray, {char, parts, Crack, SplashEffect, SplashEffect2})
677
        do --Right leg effect
678
            local ray = Ray.new(rl.CFrame.p, ((rl.CFrame*CFrame.new(0,-1,0)).p - rl.Position).unit*1)
679
            local hit,hitz, normal = workspace:FindPartOnRay(ray, char)
680
            if hit and hit:IsA'BasePart' and hitz then
681
                if SplashEffect.Parent == nil then
682
                local COLOR = SplashColors[math.random(1,#SplashColors)];
683
                    SplashEffect.Parent = parts
684
                    SplashEffect.Transparency = 0.2
685
                    SplashEffect.BrickColor = BrickColor.new(COLOR)
686
                    SplashEffect.Size = Vector3.new(.2,.2,.2)
687
                    SplashEffectImage.ImageColor3 = COLOR;
688
                    SplashEffectImage.ImageTransparency = 0
689
                    SplashEffect.CFrame = CFrame.new(hitz, hitz+normal) * CFrame.Angles(-math.pi/2, 0, 0) * CFrame.new(0, -.65, 0)
690
                    Splash1cframe = SplashEffect.CFrame
691
                    light.Color = SplashEffectImage.ImageColor3
692
                    light.Brightness = 1
693
                    light.Range = 10
694
					if Not == true then
695
                    for i = 1, math.random(6,10) do
696
                        local Note = Instance.new('Part', parts)
697
                        Note.CanCollide = false
698
                        Note.Material = "Neon"
699
                        Note.Anchored = true
700
                        Note.CFrame = SplashEffect.CFrame * CFrame.new(math.random(-4,4), -2, math.random(-4,4)) * CFrame.Angles(math.pi/2+math.random(-50,50)/220,math.random(-50,50)/220,math.random(-50,50)/20)
701
                        Note.Color = SplashEffectImage.ImageColor3
702
                        Note.Size = Vector3.new(1,1,1)
703
                        local mesh = Instance.new('SpecialMesh', Note)
704
                        mesh.MeshId = "rbxassetid://1088207"
705
                        mesh.Scale = Vector3.new(.1-math.random()/5,.1-math.random()/5,.1-math.random()/5)
706
                        table.insert(Notes,Note)
707
                    end
708
					end
709
                    wait(1)
710
                    SplashEffect.Parent = nil
711
                    Splash1cframe = nil
712
                end
713
            end
714
        end
715
        do --Left leg effect
716
            local ray = Ray.new(ll.CFrame.p, ((ll.CFrame*CFrame.new(0,-1,0)).p - ll.Position).unit*1)
717
            local hit,hitz, normal = workspace:FindPartOnRay(ray, char)
718
            if hit and hit:IsA'BasePart' and hitz then
719
                if SplashEffect2.Parent == nil then
720
                    local COLOR = SplashColors[math.random(1,#SplashColors)];
721
                    SplashEffect2.Parent = parts
722
                    SplashEffect2.Transparency = 0.2
723
724
                    SplashEffect2.BrickColor = BrickColor.new(COLOR)
725
                    SplashEffect2.Size = Vector3.new(.2,.2,.2)
726
                    SplashEffect2Image.ImageColor3 = COLOR;
727
                    SplashEffect2Image.ImageTransparency = 0
728
                    SplashEffect2.CFrame = CFrame.new(hitz, hitz+normal) * CFrame.Angles(-math.pi/2, 0, 0) * CFrame.new(0, -.65, 0)
729
                    Splash2cframe = SplashEffect2.CFrame
730
                    light2.Color = SplashEffect2Image.ImageColor3
731
                    light2.Brightness = 1
732
                    light2.Range = 10
733
					if Not == true then
734
                    for i = 1, math.random(6,10) do
735
                        local Note = Instance.new('Part', parts)
736
                        Note.CanCollide = false
737
                        Note.Material = "Neon"
738
                        Note.Anchored = true
739
                        Note.CFrame = SplashEffect2.CFrame * CFrame.new(math.random(-4,4), -2, math.random(-4,4)) * CFrame.Angles(math.pi/2+math.random(-50,50)/220,math.random(-50,50)/220,math.random(-50,50)/20)
740
                        Note.Color = SplashEffect2Image.ImageColor3
741
                        Note.Size = Vector3.new(1,1,1)
742
                        local mesh = Instance.new('SpecialMesh', Note)
743
                        mesh.MeshId = "rbxassetid://1088207"
744
                        mesh.Scale = Vector3.new(.1-math.random()/5,.1-math.random()/5,.1-math.random()/5)
745
                        table.insert(Notes,Note)
746
                    end
747
					end
748
                    wait(1)
749
                    SplashEffect2.Parent = nil
750
                    Splash2cframe = nil
751
                end
752
            end
753
        end
754
    if Action == 'Dancing' then
755
        anglespeed = .95
756
        llcf = llc0 * CFrame.new(0, .2, -math_pos(math.asin(math.sin(angle))*.2)) * CFrame.Angles(math_pos(math.asin(math.sin(angle))*.2)-.12, 0, -.02)
757
        rlcf = rlc0 * CFrame.new(0, .2, -math_pos(math.asin(math.sin(angle))*.2)) * CFrame.Angles(math_pos(math.asin(math.sin(angle))*.2), 0, .02)
758
        rscf = rsc0 * CFrame.Angles(math.rad(70) - math.asin(math.sin(angle))*1.5, 0, 0)
759
        lscf = lsc0 * CFrame.Angles(math.rad(10) - math.asin(math.sin(angle))*.45, 0, -.1)
760
        rjcf = rootc0 * CFrame.new(0, -.2 + -math_neg(math.asin(math.sin(angle))*2), 0) * CFrame.Angles(-math_pos(math.asin(math.sin(angle))*.2), 0, 0)
761
        ncf = neckc0 * CFrame.Angles(-math_neg(math.asin(math.sin(angle))*.2), 0, 0)
762
    elseif Action == 'Dancing2' then
763
        anglespeed = 1.15
764
        llcf = llc0 * CFrame.new(0, -math_neg(math.sin((angle+2)*2))*.2, math_neg(math.sin((angle+4)*2)*.6)) * CFrame.Angles(-math.abs(math.asin(math.sin(angle))*.05), 0, -.02)
765
        rlcf = rlc0 * CFrame.new(0, -math_neg(math.sin(angle*2))*.2, math_neg(math.sin(angle*2)*.6)) * CFrame.Angles(-math.abs(math.asin(math.sin(angle))*.05), 0, .02)
766
        rscf = rsc0 * CFrame.Angles(math.rad(140) - math.sin(angle*1.5+(math.random()/2))*.65, 0, -.2 + math.abs(math.asin(math.sin(angle)))*.35)
767
        lscf = lsc0 * CFrame.Angles(math.rad(140) - math.sin(angle*1.5+(math.random()/2))*.65, 0, .2 - math.abs(math.asin(math.sin(angle)))*.35)
768
        rjcf = rootc0 * CFrame.new(0, -.1 + -math_neg(math.sin(angle*2)*.8), 0) * CFrame.Angles(0, 0, 0)
769
        ncf = neckc0 * CFrame.Angles(-math_neg(math.sin(angle/2)*.2), 0, math.asin(math.sin(angle))*.2)
770
    elseif Action == 'Dancing3' then
771
        anglespeed = .95
772
        rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.1, 0, 0) * CFrame.Angles(0,math.asin(math.sin(angle))*.05,0)
773
        rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(-math.asin(math.sin(angle)))*.5, -math_pos(-math.asin(math.sin(angle)))*.5) * CFrame.Angles(-math_pos(-math.asin(math.sin(angle)))*.4,0,.075 + -math.asin(math.sin(angle))*.05)
774
        llcf = llc0 * CFrame.new(0, -.05 + math_pos(math.asin(math.sin(angle)))*.5, -math_pos(math.asin(math.sin(angle)))*.5) * CFrame.Angles(-math_pos(math.asin(math.sin(angle)))*.4,0,-.075 + -math.asin(math.sin(angle))*.05)
775
        rscf = rsc0 * CFrame.new(0, 0, math.abs(math.asin(math.sin(angle)))*.15) * CFrame.Angles(math.rad(30) + math.abs(math.asin(math.sin(angle)))*.95, 0, math.asin(math.sin(angle))*.8)
776
        lscf = lsc0 * CFrame.new(0, 0, math.abs(math.asin(math.sin(angle)))*.15) * CFrame.Angles(math.rad(30) + math.abs(math.asin(math.sin(angle)))*.95, 0, math.asin(math.sin(angle))*.8)
777
        ncf = neckc0 * CFrame.Angles(0,-math.asin(math.sin(angle))*.5,0)
778
    elseif Action == false then
779
        if not jumphit then
780
            anglespeed = 2
781
            rlcf = rlc0 * CFrame.new(0, .15, -.15) * CFrame.Angles(-.1 - math.asin(math.sin(angle))*.05, 0, 0)
782
            llcf = llc0 * CFrame.new(0, .15, -.15) * CFrame.Angles(-.1 + math.asin(math.sin(angle))*.05, 0, 0)
783
            lscf = lsc0 * CFrame.Angles(math_min(math_max(math.rad(-torso.Velocity.y), -10), 10) - math.asin(math.sin(angle))*.05, 0, 0)
784
            rscf = rsc0 * CFrame.Angles(math_min(math_max(math.rad(-torso.Velocity.y), -10), 10) + math.asin(math.sin(angle))*.05, 0, 0)
785
        elseif Vector3.new(torso.Velocity.x,0,torso.Velocity.z).magnitude < 2 then
786
            anglespeed = .75
787
            ncf = neckc0 * CFrame.Angles(math.abs(math.asin(math.sin(angle))*.15), math.asin(math.sin(angle))*.15, 0)
788
            rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.1, 0, 0)
789
            rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(-math.asin(math.sin(angle)))*.25, -math_pos(-math.asin(math.sin(angle)))*.25) * CFrame.Angles(-math_pos(-math.asin(math.sin(angle)))*.24,0,.075 + -math.asin(math.sin(angle))*.05)
790
            llcf = llc0 * CFrame.new(0, -.05 + math_pos(math.asin(math.sin(angle)))*.25, -math_pos(math.asin(math.sin(angle)))*.25) * CFrame.Angles(-math_pos(math.asin(math.sin(angle)))*.24,0,-.075 + -math.asin(math.sin(angle))*.05)
791
            rscf = rsc0 * CFrame.Angles(-math.asin(math.sin(angle))*.25, 0, .015)
792
            lscf = lsc0 * CFrame.Angles(math.asin(math.sin(angle))*.25, 0, -.015)
793
        elseif Vector3.new(torso.Velocity.x,0,torso.Velocity.z).magnitude > 2 then
794
            anglespeed = 1
795
            rjcf = rootc0 * CFrame.new(math.asin(math.sin(angle))*.025, .05 - math.cos(angle*2)*.025, 0) * CFrame.Angles(-.15 + -math.abs(math.cos(angle)*.025),math.asin(math.sin(angle))*.025,0)
796
            rlcf = rlc0 * CFrame.new(0, -.05 + math_pos(math.cos(angle - 0.25)*.3), math_neg(-math.asin(math.sin(angle))*.2)) * CFrame.Angles(-.025 + math.asin(math.sin(angle))*.4,0,.025 + -math.asin(math.sin(angle))*.025)
797
            llcf = llc0 * CFrame.new(0, -.05 + math_pos(-math.cos(angle - 0.25)*.3), math_neg(math.asin(math.sin(angle))*.2)) * CFrame.Angles(-.025 - math.asin(math.sin(angle))*.4,0,-.025 + -math.asin(math.sin(angle))*.025)
798
            rscf = rsc0 * CFrame.Angles(.5 - math.asin(math.sin(angle))*.9, 0, math.asin(math.sin(angle))*.2)
799
            lscf = lsc0 * CFrame.Angles(.5 + math.asin(math.sin(angle))*.9, 0, math.asin(math.sin(angle))*.2)
800
        end
801
    end
802
    if SplashEffect.Parent ~= nil then
803
        if light then
804
            light.Range = light.Range + 1
805
            light.Brightness = light.Brightness - .045
806
        end
807
        SplashEffect.Size = SplashEffect.Size + Vector3.new(1.25,0,1.25)
808
        SplashEffectImage.ImageTransparency = SplashEffectImage.ImageTransparency + .045
809
        SplashEffect.Transparency = SplashEffect.Transparency + .025
810
        SplashEffect.CFrame = Splash1cframe
811
    end
812
813
    if Crack.Parent ~= nil then
814
        if Image.Transparency > 1 then Crack.Parent = nil end
815
        Image.Transparency = Image.Transparency + .045
816
    end
817
818
    if SplashEffect2.Parent ~= nil then
819
        if light2 then
820
            light2.Range = light2.Range + 1
821
            light2.Brightness = light2.Brightness - .045
822
        end
823
        SplashEffect2.Size = SplashEffect2.Size + Vector3.new(1.25,0,1.25)
824
        SplashEffect2Image.ImageTransparency = SplashEffect2Image.ImageTransparency + .045
825
        SplashEffect2.Transparency = SplashEffect2.Transparency + .025
826
        SplashEffect2.CFrame = Splash2cframe
827
    end
828
829
    for i,v in pairs(Notes) do
830
        if v and v:IsA'BasePart' then
831
            if v.Transparency > 1 then
832
                v:Destroy()
833
                table.remove(Notes, i)
834
            end
835
            v.CFrame = v.CFrame * CFrame.new(0,0,-.285)
836
            v.Transparency = v.Transparency + .025
837
        end
838
    end
839
840
    if Action ~= false then
841
        if torso.Velocity.magnitude > 2 then
842
            Action = false
843
        end
844
    end
845
846
    rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
847
    llegm.C0 = clerp(llegm.C0,llcf,speed)
848
    rj.C0 = clerp(rj.C0,rjcf,speed)
849
    rm.C0 = clerp(rm.C0,rscf,speed)
850
    lm.C0 = clerp(lm.C0,lscf,speed)
851
    rj.C0 = clerp(rj.C0,rjcf,speed)
852
    neck.C0 = clerp(neck.C0,ncf,speed)
853
end)
854
855
plr.Chatted:connect(function(msg)
856
    if (msg:sub(1,4) == "/mc ") then
857
        s:stop();
858
        s.SoundId = "rbxassetid://"..msg:sub(5);
859
        s:play();
860
	elseif msg:lower() == "/mc epicsaxguy" then
861
		s:stop()
862
		s.SoundId = "rbxassetid://130775431"
863
		s:play()
864
	elseif msg:lower() == "/mc shirushi" then
865
		s:stop()
866
		s.SoundId = "rbxassetid://186565262"
867
		s:play()
868
    end
869
end)
870
871
872
while true do
873
    for i = 0,140,15 do
874
        frame.Size = UDim2.new(1,350 - i,1,350 - i)
875
        frame.Rotation = 0+math.random()
876
        frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
877
        game:service'RunService'.RenderStepped:wait()
878
    end
879
    for i = 140,5, -15 do
880
        frame.Size = UDim2.new(1,350 - i,1,350 - i)
881
        frame.Rotation = 0+math.random(-10,10)/10
882
        frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
883
        game:service'RunService'.RenderStepped:wait()
884
    end
885
    for i = 5,25,15 do
886
        frame.Rotation = 0-math.random()
887
        frame.Size = UDim2.new(1,350 - i,1,350 - i)
888
        frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
889
        game:service'RunService'.RenderStepped:wait()
890
    end
891
    for i = 25,0,-15 do
892
        frame.Rotation = 0+math.random()
893
        frame.Size = UDim2.new(1,350 - i,1,350 - i)
894
        frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
895
        game:service'RunService'.RenderStepped:wait()
896
    end
897
    for i = 0,75,-15 do
898
        frame.Rotation = 0-math.random()
899
        frame.Size = UDim2.new(1,350 - i,1,350 - i)
900
        frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
901
        game:service'RunService'.RenderStepped:wait()
902
    end
903
    for i = 75,0,-15 do
904
        frame.Rotation = 0
905
        frame.Size = UDim2.new(1,350 - i,1,350 - i)
906
        frame.Position = UDim2.new(0,-frame.Size.X.Offset*.5,0,-frame.Size.Y.Offset*.5)
907
        game:service'RunService'.RenderStepped:wait()
908
    end
909
end
910
end,o1)
911
end)
912
mas.Parent = workspace
913
mas:MakeJoints()
914
local mas1 = mas:GetChildren()
915
for i=1,#mas1 do
916
	mas1[i].Parent = script 
917
	ypcall(function() mas1[i]:MakeJoints() end)
918
end
919
mas:Destroy()
920
for i=1,#cors do
921
spawn(cors[i])
922
end