View difference between Paste ID: 3Ddv3Mm8 and xJVXw4eM
SHOW: | | - or go back to the newest paste.
1
local id = 3019753162
2-
local lol = owner.Character.Head:Clone()
2+
local mesh = Instance.new("SpecialMesh" , real)
3-
lol.Parent = owner.Character
3+
mesh.MeshId = 'rbxassetid://3054461843'
4-
lol.Name = 'Head Visualizer'
4+
mesh.TextureId = 'rbxassetid://3054461863'
5-
lol.Anchored = true
5+
mesh.Scale = Vector3.new(.15,.15,.15)
6-
lol.CanCollide = false
6+
local sound = Instance.new("Sound" , SpecialMesh)
7-
local sound = Instance.new("Sound" , lol)
7+
8
sound.Volume = 1.5
9
sound.Looped = true
10
sound.EmitterSize = 25
11
sound.Name = "SomeMusic"
12
local remote = Instance.new("RemoteEvent"  , owner.Character)
13
remote.Name = 'SongEvent'
14
owner.Character.Archivable = true
15
local tilt = 0
16
local naeeym2 = Instance.new("BillboardGui", SpecialMesh)
17-
local naeeym2 = Instance.new("BillboardGui", lol)
17+
18
naeeym2.Name = "TalkingBillBoard"
19-
naeeym2.StudsOffset = Vector3.new(0,5 + lol.Size.Y,0)
19+
20
tecks2.BackgroundTransparency = 1
21
tecks2.BorderSizePixel = 0
22
tecks2.Text = "Now playing "..game:GetService("MarketplaceService"):GetProductInfo(id).Name.." by " ..game:GetService("MarketplaceService"):GetProductInfo(id).Creator.Name.." "
23
tecks2.Font = "Arcade"
24
tecks2.TextSize = 25
25-
tecks2.Font = "Bodoni"
25+
26
tecks2.TextColor3 = Color3.new(255,255,0)
27
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
28
tecks2.Size = UDim2.new(1,0,0.5,0)
29
local tecks3 = Instance.new("TextBox",naeeym2)
30
tecks3.BackgroundTransparency = 1
31
tecks3.BorderSizePixel = 0
32
tecks3.Text = "Now playing "..game:GetService("MarketplaceService"):GetProductInfo(id).Name.." by " ..game:GetService("MarketplaceService"):GetProductInfo(id).Creator.Name.." "
33
tecks3.Font = "Arcade"
34
tecks3.TextSize = 25
35-
tecks3.Font = "Bodoni"
35+
36
tecks3.TextColor3 = Color3.new(255,255,0)
37
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
38
tecks3.Size = UDim2.new(1,0,0.5,0)
39
coroutine.resume(coroutine.create(function()
40
pcall(function()
41
	while task.wait() do
42
if sound.IsPlaying == true then
43
tecks2.Text = "Now playing "..game:GetService("MarketplaceService"):GetProductInfo(id).Name.." by " ..game:GetService("MarketplaceService"):GetProductInfo(id).Creator.Name.." "
44
tecks3.Text = "Now playing "..game:GetService("MarketplaceService"):GetProductInfo(id).Name.." by " ..game:GetService("MarketplaceService"):GetProductInfo(id).Creator.Name.." "
45
		tecks3.Position = UDim2.new(math.random(-tilt/10,tilt/10),math.random(-tilt/10,tilt/10),.05,math.random(-tilt/10,tilt/10))
46
		tecks3.Rotation = math.random(-tilt/3,tilt/3)
47
		tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,math.random(0, 255)/255,math.random(0, 255)/255)
48
		tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,math.random(0, 255)/255,math.random(0, 255)/255)
49
tecks2.Position = UDim2.new(math.random(-tilt/10,tilt/10),math.random(-tilt/10,tilt/10),.05,math.random(-tilt/10,tilt/10))
50
tecks2.Rotation = math.random(-tilt/3,tilt/3)
51
		tecks2.TextColor3 = Color3.new(math.random(0, 255)/255,math.random(0, 255)/255,math.random(0, 255)/255)
52
		tecks2.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,math.random(0, 255)/255,math.random(0, 255)/255)
53
else
54
tecks3.Position = UDim2.new(0,0,0)
55
		tecks3.Rotation = 0
56
tecks2.Position = UDim2.new(0,0,0)
57
		tecks2.Rotation = 0
58
tecks3.TextColor3 = Color3.new(255,255,0)
59
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
60
tecks2.TextColor3 = Color3.new(255,255,0)
61
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
62
tecks2.Text = "Current song is "..game:GetService("MarketplaceService"):GetProductInfo(id).Name.." by " ..game:GetService("MarketplaceService"):GetProductInfo(id).Creator.Name.." "
63
tecks3.Text = "Current song is "..game:GetService("MarketplaceService"):GetProductInfo(id).Name.." by " ..game:GetService("MarketplaceService"):GetProductInfo(id).Creator.Name.." "
64
end
65
end
66
	end)
67
end))
68
NLS([[
69
local owner = game:GetService("Players").LocalPlayer
70-
lol.CFrame = owner.Character.Head.CFrame * CFrame.new(0,5,5) * CFrame.Angles(math.rad(tilt),0,0)
70+
71-
remote.OnServerEvent:Connect(function(plr, loudness)
71+
72-
lol.Size = Vector3.new(3 * loudness * sound.Volume, 1.5 * loudness * sound.Volume, 1.5 * loudness * sound.Volume)
72+
73-
tilt = loudness * 2
73+
74-
end)
74+
75
remote:FireServer(sound.PlaybackLoudness/50)
76
end
77
end
78
]], owner.Character)
79
local DecayTime = 1
80
local Diffusion = 1
81
local Density = 1
82
local Depth = 1
83
local Mix = 1
84
local Rate = 1
85
owner.Chatted:Connect(function(msg)
86
if msg == ';stop' then
87
sound:Stop()
88
tilt = 0
89
elseif msg == ';play' then
90
sound:Play()
91
elseif msg == ';pause' then
92
sound:Pause()
93
tilt = 0
94
elseif msg == ';resume' then
95
sound:Resume()
96
elseif string.lower(string.sub(msg,1,3)) == ';ps' then
97
sound.PlaybackSpeed = string.lower(string.sub(msg,5,100))
98
elseif string.lower(string.sub(msg,1,6)) == ';pitch' then
99
sound.Pitch = string.lower(string.sub(msg,8,100))
100
elseif string.lower(string.sub(msg,1,3)) == ';tp' then
101
sound.TimePosition = string.lower(string.sub(msg,5,100))
102
elseif string.lower(string.sub(msg,1,3)) == ';id' then
103
id = string.lower(string.sub(msg,5,100))
104
sound.SoundId = 'rbxassetid://' ..id
105
tecks2.Text = "Current song is "..game:GetService("MarketplaceService"):GetProductInfo(id).Name.." by " ..game:GetService("MarketplaceService"):GetProductInfo(id).Creator.Name.." "
106
tecks3.Text = "Current song is "..game:GetService("MarketplaceService"):GetProductInfo(id).Name.." by " ..game:GetService("MarketplaceService"):GetProductInfo(id).Creator.Name.." "
107
elseif string.lower(string.sub(msg,1,4)) == ';vol' then
108
sound.Volume = string.lower(string.sub(msg,6,8))
109
print("Volume changed to " ..sound.Volume)
110
elseif msg == ';rev' then
111
local ga = Instance.new("ReverbSoundEffect" , sound)
112
ga.DecayTime = DecayTime
113
ga.Density = Density
114
ga.Diffusion = Diffusion
115
ga.Name = 'Reverb'
116
elseif string.lower(string.sub(msg,1,5)) == ';dect' then
117
DecayTime = string.lower(string.sub(msg,7,100))
118
if sound:FindFirstChild("Reverb") then
119
sound.Reverb.DecayTime = DecayTime
120
end
121
elseif string.lower(string.sub(msg,1,5)) == ';diff' then
122
Diffusion = string.lower(string.sub(msg,7,100))
123
if sound:FindFirstChild("Reverb") then
124
sound.Reverb.Diffusion = Diffusion
125
end
126
elseif string.lower(string.sub(msg,1,5)) == ';dens' then
127
Density = string.lower(string.sub(msg,7,100))
128
if sound:FindFirstChild("Reverb") then
129
sound.Reverb.Density = Density
130
end
131
elseif msg == ';flange' then
132
local ga = Instance.new("FlangeSoundEffect" , sound)
133
ga.Depth = Depth
134
ga.Mix = Mix
135
ga.Rate = Rate
136
ga.Name = 'Flange'
137
elseif string.lower(string.sub(msg,1,5)) == ';dept' then
138
Depth = string.lower(string.sub(msg,7,100))
139
if sound:FindFirstChild("Flange") then
140
sound.Flange.Depth = Depth
141
end
142
elseif string.lower(string.sub(msg,1,4)) == ';mix' then
143
Mix = string.lower(string.sub(msg,6,100))
144
if sound:FindFirstChild("Flange") then
145
sound.Flange.Mix = Mix
146
end
147
elseif string.lower(string.sub(msg,1,5)) == ';rate' then
148
if sound:FindFirstChild("Flange") then
149
sound.Flange.Rate = Rate
150
end
151
Rate = string.lower(string.sub(msg,7,100))
152
elseif msg == ';clref' then
153
for i,v  in pairs(sound:GetChildren()) do
154
v:Destroy()
155
end
156
end
157
end)