How do you make parts, talk?
I saw scripts about it, but they did not work for me.
I want a script that actually works.
How do you make parts, talk?
I saw scripts about it, but they did not work for me.
I want a script that actually works.
use ChatService:Chat().
local CS = game:GetService("ChatService")
local part = --part
local color = "Blue" --any color
CS:Chat(part, "text here", color)
nope, It does not work at all.
Oh sorry, I meant to do “Chat” not “ChatService”, my bad.
local CS = game:GetService("Chat")
local part = --part
local color = "Blue" --any color
CS:Chat(part, "text here", color)
yes, i know, i noticed it, even before you said that, and it does not work either
Alright, do you mean like the actual chat and not just Chat Bubbles? Because this script is meant to make chat bubbles.
and that is actually what i want!
OH, ok, but models for toolbox actually worked with almost the same code, HOW
i am going to enable bubblechatenabled anyways
nope, it does not work either.
You’ll actually need to script the chat to appear, I was just letting you know that the “BubbleChatEnabled” property needs to be enabled for chat bubbles to appear.
what script do I use on the chat?
That is because those models are using “Dialogue” instances which work similarly to but not exactly the same as chat bubbles.
If they’re producing chat bubbles then they’re using their own chat scripts then, you should look through those in order to understand what you need to do.
This section is for support with your existing scripts, not for creating scripts for you.
local chatservice = game:GetService("Chat")
local part = script.Parent
local color = "Blue" -- i don't know if this works
part.Touched:Connect(function()
chatservice:Chat(part, "text here", color)
end)
Try using that, its @Kaid3n22’s script but it works whenever you touch the part. I think the script was working before, it was just creating the chat bubble before the character loaded in making it impossible to see it.
nitpick: should do Part.Touched as script.Parent was declared as part
But yes your solution is correct!
You just need to put a dialog in the part
Just use the Dialog
instance, it will be easier