I'm trying to create a script, where, everytime you click a button, the chat bubble pops up. But an error saying "Unable to cast string to token" keeps popping up
local message = {"Required assistance!"} local Interval = 3 local colour = "Pearl" function onClickedMessage (mouse) for _, v in pairs(message) do game:GetService("Chat"):Chat(script.Parent, v, colour) wait(Interval) end end script.Parent.ClickDetector.MouseClick:connect(onClickedMessage)
Any ideas?