For some reason in the new chat box, ChatMakeSystemMessage doesn’t work.
Before you say anything, yes the code is 100% correct.
For some reason in the new chat box, ChatMakeSystemMessage doesn’t work.
Before you say anything, yes the code is 100% correct.
Quick google search tells me you have to make use of the new API:
Still don’t know how. It isn’t very specific. I already read that.
Edit: fixed.
if you’ve fixed it, mark one of the messages as a solution
how did you fixed it? cuz i got the same issue
Since I am making a global chat, here is my script:
game.ReplicatedStorage.ShowMessage.OnClientEvent:Connect(function(msg, user)
game:GetService("TextChatService").TextChannels.RBXGeneral:DisplaySystemMessage(user..": "..msg)
end)```
well your message wasn’t the solution.
Cool, but I said “mark one of the messages as a solution”. Nowhere did I imply to mark one of mine as a solution. Mark your own one if you want, for this query is solved now.
Btw i just checked the docs and i can’t find the TextChannels in the property?
edit: nvm i found it
btw how come there’s no text shown in the chatbox?
-- Client
local TextChatService = game:GetService("TextChatService")
local TextChannels = TextChatService:WaitForChild("TextChannels")
local RBXGeneral = TextChannels and TextChannels.RBXGeneral
game:GetService("ReplicatedStorage").RemoteEvent.OnClientEvent:Connect(function(msg, playername)
RBXGeneral:DisplaySystemMessage(msg..playername)
end)
-- Server
game:GetService("Players").PlayerAdded:Connect(function(player)
game:GetService("ReplicatedStorage").RemoteEvent:FireAllClients("Welcome ", player.Name)
end)
instead of RBXGeneral maybe try RBXSystem?
nvm i got it working thanksmn,mmn
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.