ok SO i need a script that can make a part talk i have this so far
local thingstosay = {"Feed me","The Hunger..","Obey"} local interval = 10 local colour = "red" while wait()do for_.v in pairs(thingstosay)do game:GetService("Chat"):Chat(script.Parent, v, colour) wait(interval) end end
and it doesnt work, can anyone help? help is appreciated! thanks for reading and have a nice day :D
Hi. The problem is that at line 3, where you made a variable of a color, it has to be the real name of the color. So the color "red" takes a capital letter:
local thingstosay = {"Feed me","The Hunger..","Obey"} local interval = 10 -- this is the time you need to wait before letting the part say another thing local colour = "Red" -- takes a capital letter while wait()do for_,v in pairs(thingstosay) do game:GetService("Chat"):Chat(script.Parent, v, colour) wait(interval) end end
Hope this helped!