ChatMakeSystemMessage not sending any message?

the title says all, SetCore("ChatMakeSystemMessage") isn’t working, idk if it is deprecated or something, but i’m using this:

td.OnClientEvent:Connect(function(player,roundTime)
	game.StarterGui:SetCore("ChatMakeSystemMessage",{
	Text = "[Server]: "..player.." ended the figure at "..roundTime.." Seconds!",
	Color = Color3.new(1, 1, 0),
	Font = Enum.Font.SourceSansBold,
	TextSize = 18
	})
end)

thanks to anyone who replies :DD

1 Like

TLDR: local script only show up locally, srver script to show for everyone

2 Likes

what are you actually trying to achieve with this i dont think you can run that function on the starterGUI

1 Like

forgot to mention that the remote event on serverside fires to all the clients

2 Likes

i’ve seen other posts that use this method and they work

Could you send the message on the server instead? You can use uh… i think they’re called Bindable Functions/Events. Lemme check

Edit: yes they are

1 Like

yeah, but as i know, you can’t manipulate GUI’s from server-side

1 Like

Just send the message on the server then do whatever you need to do with GUI on the cleint

1 Like

are you sure the event is firing. try printing something inside the function see if it prints to let you know that the event is firing

2 Likes

yup i checked if the event was firing, and yes it is

1 Like

but this is kinda useless right? since i’m already getting the info from the server with the remote event
sending the info to another server side script with bindable events wouldn’t make any difference i think

1 Like

image
its working for me so i think your event isnt firing

are there any errors in the output?

(edit) do you mind providing the server script

spotted an error
do: player.Name

1 Like

wow that’s weird, when i try it on my game it doesn’t work, as i know the server does send the message since i already checked with a print, so it could be the client that isnt receiving the event

i’m just using player since on server-side i send the name of the player, and not the player itself.
i tried changing it anyways and it just threw an error

is round time a string or is it an object
perhaps roundTime.Value or roundTime.Name

also have you corrected the player to player.Name

1 Like

the player on my script is basically the name of the player, so it doesn’t need to be player.Name, and roundNumber is basically just a number, ill try using tostring() to see if this fixes anything

you just needa make sure its strings getting put into that string thats your only error one or both of them arent strings

1 Like

yup, that was the problem, roundNumber specifically.
when i used tostring(roundNumber) the chat sended the message, and it printed the name of the instance, not the actual number

thanks for the help man really appreciate it

1 Like