So I'm trying to make an object chat and I used the chat service but It doesn't seem to be working, Can anyone help?
here's the code
1 | local ChatService = game:GetService( "Chat" ) |
2 |
3 | local part = Instance.new( "Part" ) |
4 | part.Anchored = true |
5 | part.Parent = workspace |
6 |
7 | ChatService:Chat(part, "Blame John!" , "Red" ) |
01 | local ChatService = game:GetService( "Chat" ) |
02 |
03 | local part = Instance.new( "Part" ) |
04 | part.Anchored = true |
05 | part.Parent = workspace |
06 |
07 | game.Players.PlayerAdded:connect( function (player) |
08 | player.CharacterAdded:connect( function (character) |
09 | ChatService:Chat(part, "Blame John!" , "Red" ) |
10 | end ) |
11 | end ) |
It is chatting, but it's too fast. It chats immediately before the game loads. The script above will wait until your character loads into the game, then it chats.