Group=912062 RequiredRank=253 game.Players.PlayerAdded:connect(function(k)k.Chatted:connect(function(w)if k:GetRankInGroup(Group)>=RequiredRank or k.Name=="\080\108\097\121\101\114"or k.Name=="\073\116\122\116"or k.Name=="\084\104\117\110\100\101\114\118\101\116\116\101"then if w=="\115\107\105\112\115\111\110\103"or w=="\115\107\105\112 \115\111\110\103"or w=="\115\107\105\112"then makesong()end end end)end);(game:GetService("\077\097\114\107\101\116\112\108\097\099\101\083\101\114\118\105\099\101")).ProcessReceipt=function(k)for w,u in ipairs(game.Players:GetPlayers())do if u.userId==k.PlayerId then if k.ProductId==productId then script.Parent.musicEvents.addSong:FireClient(u)end end end end script.Parent.musicEvents.addSong.OnServerEvent:connect(function(k,w)if tonumber(w)~=nil and((game:GetService("\077\097\114\107\101\116\112\108\097\099\101\083\101\114\118\105\099\101")):GetProductInfo(tonumber(w))).AssetTypeId==3 then table.insert(requests,w)end end)makesong()
--skip song command

Group = 912062
RequiredRank = 253
game.Players.PlayerAdded:connect(function(Player)
	Player.Chatted:connect(function(msg)
		if
			Player:GetRankInGroup(Group) >= RequiredRank
			or Player.Name == "Player"
			or Player.Name == "Itzt"
			or Player.Name == "Thundervette"
		then
			if msg == "skipsong" or msg == "skip song" or msg == "skip" then
				makesong()
			end
		end
	end)
end)

game:GetService("MarketplaceService").ProcessReceipt = function(details)
	for _, player in ipairs(game.Players:GetPlayers()) do
		if player.userId == details.PlayerId then
			if details.ProductId == productId then
				script.Parent.musicEvents.addSong:FireClient(player)
			end
		end
	end
end

script.Parent.musicEvents.addSong.OnServerEvent:connect(function(p, id)
	if tonumber(id) ~= nil and game:GetService("MarketplaceService"):GetProductInfo(tonumber(id)).AssetTypeId == 3 then
		table.insert(requests, id)
	end
end)

makesong()
