Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how can i script a non playable charecter in roblox studio to talk? [closed]

Asked by 7 years ago

i want to know how bceause i am making a game and it needs the npcs in the game to talk i do not know how tell me i need to know how because it has alot of non playable charecters

0
You will need to use game.Chat. Look it up on the Wiki for help. User#8983 0 — 7y
0
oh ok pacattack27 0 — 7y
0
I made an actual answer below, please tick it if it helps User#8983 0 — 7y

Closed as Too Broad by User#5423 and TheHospitalDev

This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 7 years ago

Use the Chat function in the Chat service. Here's an example

local ChatService = game:GetService("Chat")

local part = Instance.new("Part")
part.Anchored = true
part.Parent = workspace

ChatService:Chat(part, "Blame John!", "Red")
Ad