Basicly I wanna fire the amount of numbers in the chat and for each letter it should add a second to the lengh.
I cant find anything online.
game.Players.PlayerAdded:connect(function(player)
player.Chatted:Connect(function(msg)
local length = string.len(msg)
game.ReplicatedStorage.ChatEvent.ChatAnimation:FireClient()
end)
end)

6 comments
You measured it correctly?
lengthshould be the number of characters in the message. However this does include spaces.Yeah Thats what Im trying to do
Spaces dont really matter
If you want to pass the length of the string, just FireClient(#msg)
Alright how would I make it that each string adds 0.2 seconds to the wait time
Let me just post the full script for a better understanding