function onMessage(message)
local text = message
for i = 1, #text do
my.text.content = text:sub(1, i)
if text:sub(i, i) ~= " " then
castle.sendTriggerMessage("sfx")
castle.sleep(sped)
end
end
end
function onUpdate()
sped = my
function onMessage(message)
local text = message
for i = 1, #text do
my.text.content = text:sub(1, i)
if text:sub(i, i) ~= " " then
castle.sendTriggerMessage("sfx")
castle.sleep(sped)
end
end
end
function onUpdate()
sped = my.variables.sped
end