function updateMusic()local e=string.gsub(music.SoundId,"\114\098\120\097\115\115\101\116\105\100\058\047\047","")local l,Z=pcall(mps.GetProductInfo,mps,e)if l then Frame:TweenPosition(UDim2.new(.288,0,.026,0),"\079\117\116","\081\117\097\100",.5,true)script.Parent.Text="\078\111\119 \080\108\097\121\105\110\103 \058 "..Z.Name if requester.Value~=""then label.Text=string.format("\083\111\110\103 \114\101\113\117\101\115\116\101\100 \098\121\058 \037\115",requester.Value)label.Visible=true else label.Visible=false end wait(5)Frame:TweenPosition(UDim2.new(.288,0,-1,0),"\073\110","\081\117\097\100",.5,true)end end updateMusic();(music:GetPropertyChangedSignal("\083\111\117\110\100\073\100")):Connect(updateMusic)


function updateMusic()
	local id = string.gsub(music.SoundId, "rbxassetid://", "")
	local success, info = pcall(mps.GetProductInfo, mps, id)
	if success then
		Frame:TweenPosition(UDim2.new(0.288, 0, 0.026, 0),"Out","Quad",.5,true) -- changing it to in
		script.Parent.Text = "Now Playing : " .. info.Name -- changing name
		if requester.Value ~= "" then
			label.Text = string.format("Song requested by: %s", requester.Value)
			label.Visible = true
		else
			label.Visible = false
		end
		
		wait(5) -- wait to close it

		Frame:TweenPosition(UDim2.new(0.288, 0,-1, 0),"In","Quad",.5,true) -- changing it to in
	end
end


updateMusic()


music:GetPropertyChangedSignal("SoundId"):Connect(updateMusic)

