Okay so i have a part that talks and i want to make it so it says "Hello i am a talking part" and put it in the chatbox. (not the bubble chat i have that covered) what i mean is that it says it in bubble chat, and it also says it in the classic chat box. heres the code i used
-local script that fires the event-
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.RemoteEvent:FireServer()-- already covered it does the bubble chat
game.ReplicatedStorage.RemoteEvent:FireClient() --this (should) fire the chatbox message (not bubble)
end)
-local script that receives it-
game.ReplicatedStorage.RemoteEvent.OnClientEvent:Connect(function(player)
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text="Hello! I am a talking part.";
Font=Enum.Font.SourceSansBold;
Color=Color3.new(255,255,255);
FontSize=Enum.FontSize.Size96;
})
end)

2 comments
You would actually use a BindableEvent, not a RemoteEvent. RemoteEvents are only capable of communication between the server and the client.
Thanks