I am creating an announcement system for my game, where players can announce messages that display on monitors dotted around the map. Though the messages are not being filtered, any ideas?
boards = workspace.Monitors:GetChildren() game:GetService("ReplicatedStorage"):WaitForChild("SendAnnouncement").OnServerEvent:Connect(function(plr, text) for i = 1, #boards do if boards[i].Name == "NetworkingMonitor" or "NetworkingMonitorMaster" then boards[i].Screen.SurfaceGui.AnnouncementText.Text = game:GetService("Chat"):FilterStringForBroadcast(text, plr) end wait() end end)
This is fired from a Script located in ServerScriptService.