i was able to fix it with a dumb solution;
local notif = game.ReplicatedStorage.CMDErrorSender
local players = game:GetService("Players")
local sendingbool = nil
Handler.OnServerEvent:Connect(function(plr, Kind, param1, param2)
if Kind == "Announce" then
for _, player in pairs(players:GetPlayers()) do
if param2 == "true" then
sendingbool = true
else
sendingbool = false
end
notif:FireClient(player, param1, sendingbool)
end
end
end)
it works, and thats good enough for me