Help with messaging service

Guys i need to know how can i block an server that already subscribe to an async of publishing one? i was making an banner system and every time that an server was opened he just update all the other ones server banners i tried it on the past week and i already achive the game but i rlly need an help on this

what i have tried

local MSS = game:GetService("MessagingService")

local remote = game.ReplicatedStorage.RemoteEvent

local ez = {

local function PublishAsync()
	MSS:PublishAsync("Banner", ez)

local sucess, err = pcall(function()
	MSS:SubscribeAsync("Banner", function(Banner)
	local nomes = Banner.Data
	local aleatorio = nomes[math.random(1,3)]


if sucess then

if err then

What do you get in the console output?

for some reason it’s returning nothing on the output it just dont works

From the code you supplied if there was an error you try PublishAsync.
Can you please add a print before the spawn so we can see what the contents of err is.

I recommend.using game:GetService().