#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)

potent niche
#

need fast help

#

i tryed this

sinful quiver
#

I think you used the wrong bracket

#

Try { instead of [

potent niche
#

oh okay

#

i try

#

like this ? @sinful quiver

sinful quiver
#

Ye try that

potent niche
#

it dont work

sinful quiver
#

So you want like a system chat message

potent niche
#

yes

sinful quiver
#

Okay

#

Uhh

#

I have the script in my game

#

Give me one sec

#

Cuz my game does the exact same thing and it works

potent niche
#

okay thysm

manic cloud
#

what the hell is the title

#

I understood nothing from that title

sinful quiver
potent niche
#

me too

sinful quiver
#

Mainly after I saw the script

manic cloud
#

"How to senure that a message is sent in the chat but which does not come from a player but rather for real"

potent niche
#

google traduction tell me this

manic cloud
#

ah

#

google translate

potent niche
#

yes

sinful quiver
#

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

potent niche
#

okay i try

quaint sundialBOT
#

studio** You are now Level 1! **studio

sinful quiver
#

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

potent niche
#

i know this

manic cloud
#

why are you using
while true do

sinful quiver
manic cloud
#

ik

#

why are you using a loop

sinful quiver
#

ik i could use while task.wait(math.random(100, 300)

#

but

#

ehh

manic cloud
#

no

#

thats not the thing

#

you should but

#

why are you using a loop

#

it will send hello every 1-3 minute

sinful quiver
#

to repeat a random message from the table

#

ye

#

its if he wants to add multiple messages

manic cloud
sinful quiver
#

welcome?

#

oh ye lol

#

one sec

manic cloud
sinful quiver
#

game.StarterGui:SetCore("ChatMakeSystemMessage",{
Text = "Welcome " .. game.Players.LocalPlayer.Name,
Color = Color3.fromRGB(255, 255, 255),
Font = Enum.Font.Nunito
})

#

@potent niche

potent niche
#

i try

sinful quiver
#

wrong script sorry 😅😅

potent niche
#

but

#

it dont work

sinful quiver
#

which

potent niche
#

should i relaunch the game ?

sinful quiver
#

try that

potent niche
manic cloud
sinful quiver
#

okay

#

imma add that

sinful quiver
#

and it doesnt

#

actually

manic cloud
sinful quiver
#

idk

#

okay

#

it works for me

potent niche
#

it still dont work ????

sinful quiver
#

if i put a task.wait()

#

before

sinful quiver
#

try this

#

it WILL work

#

promise 👍

#

(pls work, pls work)

potent niche
#

hum

#

sir

#

i got a problem

sinful quiver
#

what?

potent niche
#

maybe i do something bad

sinful quiver
#

??

#

What happened

potent niche
#

i make the script in "SM"

#

is it the good place ?

sinful quiver
#

Put it in starter player scripts and change it to a local script

potent niche
#

...

#

it still dont work...

sinful quiver
#

Send a picture of the explorer again

potent niche
sinful quiver
#

What

sinful quiver
potent niche
#

i look

#

nope

#

0 error

manic cloud
quaint sundialBOT
#

studio** You are now Level 2! **studio

sinful quiver
#

Change the task.wait() to task.wait(4)

manic cloud
#

nvm

sinful quiver
manic cloud
#

is alreay in there

#

uhuh just saw

sinful quiver
#

And it still doesn't work

manic cloud
#

whats the script

#

send

potent niche
manic cloud
#

send text

sinful quiver
#

task.wait(1)

game.StarterGui:SetCore("ChatMakeSystemMessage",{
Text = "Welcome " .. game.Players.LocalPlayer.Name,
Color = Color3.fromRGB(255, 255, 255),
Font = Enum.Font.Nunito
})

potent niche
#

task.wait(4)

game.StarterGui:SetCore("ChatMakeSystemMessage",{
Text = "Welcome " .. game.Players.LocalPlayer.Name,
Color = Color3.fromRGB(255, 255, 255),
Font = Enum.Font.Nunito
})

sinful quiver
#

But I said he should change to task.wait 4

#

It should be working

potent niche
sinful quiver
#

No error

sinful quiver
#

Does it work?

potent niche
#

nope

pulsar halo
#

waddup

manic cloud
#

SetCore: ChatMakeSystemMessage has not been registered by the CoreScripts - Client - LocalScript:1

#

thats the error

sinful quiver
#

You have to wait longer then, right?

#

Cuz it said that for me so I put a longer wait

potent niche
#

...

sinful quiver
#

But that seems inconvenient

sinful quiver
#

But you said u have no error right?

potent niche
#

yes

sinful quiver
#

So what is going on 😵

#

GRRR

potent niche
#

my game is haunted

#

should i make a new post with the title bug ?

sinful quiver
#

Nah

manic cloud
#

back

potent niche
#

okay

sinful quiver
#

🙏

#

Proscripter5858

manic cloud
#

he probably doesnt know about output

#

or console

sinful quiver
#

😮

potent niche
sinful quiver
#

Nvm

#

Its the correct

potent niche
#

its in french but that's it ?

sinful quiver
#

Yup

potent niche
#

so i have 0 error ?

#

and it still dont work

sinful quiver
#

Could you send a video of when you join da game

#

Or a pic of the chat

potent niche
#

wait

#

i need to post the game ?

sinful quiver
#

👌

sinful quiver
potent niche
#

okay i try

manic cloud
#

how about you use TextChatService.TextChannels.RBXSystem:DisplaySystemMessage

potent niche
#

where should i make it ?

manic cloud
#

wait ill show

potent niche
#

okay

manic cloud
#

huh

potent niche
#

?

manic cloud
#

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

potent niche
#

okay i try

manic cloud
#

it will work

potent niche
#

it still not work

manic cloud
#

the textchatservice is not on legacy is it?

#

whrere did u save it

#

show

sinful quiver
#

how

manic cloud
#

show screenshot of workspace

potent niche
#

OH

#

WAIT

#

WAIT

#

IT ACTUALLY WORK

sinful quiver
#

nice

potent niche
#

idk why the first one was bugging