--Ban players across different servers

local banConnection = ms:SubscribeAsync(banTopic, function(message)
	local targetId = message.Data[1]
	local banMessage = message.Data[2]
	
	for i, plr in pairs(game.Players:GetPlayers()) do
		if plr.UserId == targetId then
			plr:Kick(banMessage)
		end
	end
end)