#how to ensure that a message is sent in the chat but which does not come from a player but rather fr
193 messages · Page 1 of 1 (latest)
Ye try that
it dont work
So you want like a system chat message
yes
Okay
Uhh
I have the script in my game
Give me one sec
Cuz my game does the exact same thing and it works
okay thysm
I did somehow
me too
Mainly after I saw the script
"How to senure that a message is sent in the chat but which does not come from a player but rather for real"
google traduction tell me this
yes
Aigjt pulling up the script
bro here
local function chat(message)
game.StarterGui:SetCore("ChatMakeSystemMessage",{
Text = message,
Color = Color3.fromRGB(255, 255, 255),
Font = Enum.Font.Nunito
})
end
local messages = {
"Hello"
}
while true do
wait(math.random(100, 300))
chat(messages[math.random(1 ,#messages)])
end
okay i try
** You are now Level 1! **
so the top and stuff is the coloration
and then the messaegs are any message you want
and then the wait
is how long you want between each message
i know this
???
why are you using
while true do
its for a system message
no
thats not the thing
you should but
why are you using a loop
it will send hello every 1-3 minute
to repeat a random message from the table
ye
its if he wants to add multiple messages
he only wants a welcome message tho
game.StarterGui:SetCore("ChatMakeSystemMessage",{
Text = "Welcome " .. game.Players.LocalPlayer.Name,
Color = Color3.fromRGB(255, 255, 255),
Font = Enum.Font.Nunito
})
@potent niche
i try
wrong script sorry 😅😅
which
should i relaunch the game ?
try that
all
btw instead of a while true you should use
while task.wait(math.random(100,300)) do
he said the new script doesnt work
and it doesnt
actually
???
it still dont work ????
task.wait(1)
game.StarterGui:SetCore("ChatMakeSystemMessage",{
Text = "Welcome " .. game.Players.LocalPlayer.Name,
Color = Color3.fromRGB(255, 255, 255),
Font = Enum.Font.Nunito
})
try this
it WILL work
promise 👍
(pls work, pls work)
what?
maybe i do something bad
Put it in starter player scripts and change it to a local script
Send a picture of the explorer again
What
Any console errors?
make it a local script and put it in starterplayerscript
okay
** You are now Level 2! **
Change the task.wait() to task.wait(4)
nvm
He alr did
And it still doesn't work
send text
task.wait(1)
game.StarterGui:SetCore("ChatMakeSystemMessage",{
Text = "Welcome " .. game.Players.LocalPlayer.Name,
Color = Color3.fromRGB(255, 255, 255),
Font = Enum.Font.Nunito
})
task.wait(4)
game.StarterGui:SetCore("ChatMakeSystemMessage",{
Text = "Welcome " .. game.Players.LocalPlayer.Name,
Color = Color3.fromRGB(255, 255, 255),
Font = Enum.Font.Nunito
})
i do
No error
nope
waddup
SetCore: ChatMakeSystemMessage has not been registered by the CoreScripts - Client - LocalScript:1
thats the error
You have to wait longer then, right?
Cuz it said that for me so I put a longer wait
i understand as my title
...
But that seems inconvenient
how to make this
yes
Nah
back
okay
😮
its in french but that's it ?
Yup
👌
Wait actually ye, try publish it
okay i try
how about you use TextChatService.TextChannels.RBXSystem:DisplaySystemMessage
where should i make it ?
wait ill show
okay
huh
?
local Player = game.Players.LocalPlayer
local TextChatService = game:GetService("TextChatService")
local SystemChannel = TextChatService:FindFirstChild("RBXSystem", true)
task.wait(3)
SystemChannel:DisplaySystemMessage(string.format("Welcome %s to Game!", Player.DisplayName))
save this in starterplayerscripts
as a local script
okay i try
it will work
it still not work
nice
idk why the first one was bugging