Hey everyone,
I have a simple issue on a typewriting effect text I made earlier today, everything is working fine with the typewriting effect. However, I also have a clicking sound that I want to play whenever each letter is typed. But, for some reason, it doesn’t play the sound all the way.
Main Issue: Sound doesn’t play when each word is typed, I think it’s asking the sound to play too fast each time.
I have tried using RunService to try and make it so the sound plays on each letter but it doesn’t work.
Can someone help out?
Here is my code:
for i = 1, #guiText do
guiText.Text = string.sub(guiText,1,i)
wait(0.025)
clickSound:Play()
end