local p=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local f=p.Remotes.SendAlert return function(p,s,b)assert(s)if not b then f:FireAllClients(p,s)elseif typeof(b)=="\116\097\098\108\101"then for b,m in pairs(b)do f:FireClient(m,p,s)end else f:FireClient(b,p,s)end end

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local SendAlert = ReplicatedStorage.Remotes.SendAlert

return function(alertType, message, players)
	assert(message)

	if not players then
		SendAlert:FireAllClients(alertType, message)
	elseif typeof(players) == "table" then
		for _, player in pairs(players) do
			SendAlert:FireClient(player, alertType, message)
		end
	else
		SendAlert:FireClient(players, alertType, message)
	end
end
