So I see many games with that, whenever your player types, every letter has a sound effect like a typewriter. But I can't seem to replicate it. Any help will be great!
This: https://www.youtube.com/watch?v=wtpi5iuxJd8
local UIS = game:GetService("UserInputService") UIS.InputBegan:Connect(function(k) if UIS:GetTextBoxFocused() then script.Sound:Play() end end)
Make this a LocalScript with a Sound named Sound parented to it.
EDIT:
local UIS = game:GetService("UserInputService") UIS.InputBegan:Connect(function(k) if k.KeyCode == Enum.KeyCode.Enter then for i = 1, string.len(UIS:GetTextBoxFocused().Text) do script.Sound:Play() wait(0.1) end end end)