just looking for an alternative way of doing this instead of having to painstakingly do each letter by hand
I’m new to scripting so any tips will be very appreciated
local sound = script.Parent.Parent.Head.BillboardGui.TextLabel.Sound
local text = script.Parent.Parent.Head.BillboardGui.TextLabel
function onClicked()
if script.Parent.Parent.Head.BillboardGui.Enabled == false then
script.Parent.Parent.Head.BillboardGui.Enabled = true
wait(0.05)
text.Text = "h..."
sound:Play()
wait(0.05)
text.Text = "he.."
sound:Play()
wait(0.05)
text.Text = "hey."
sound:Play()
end
end
script.Parent.MouseClick:connect(onClicked)