Playing Typing Script (keep in mind i know nothing about code)

So I have two vibe games… my recent one you can see here Vibe Basement [Voice Chat!] - Roblox
I would like to make a chat typing feature where you can see when people are typing… some examples of this I like are-


I saw only two topics on this subject and both were hard to understand.

I’m a super super beginner developer and I struggle with even the most basic lines of code, and I couldn’t find any youtube videos on it.

If there is anybody who could easily and in-depth explain how to do this or link me to a model that does this feature, that would be very appreciated. Thank you!

You can do:

local userInputService = game:GetService("UserInputService"); -- // Defining UserInputService
local isTyping = false;

function input_Began(input, gpe)
	if gpe then
		-- // Add tag
		isTyping = true
	end
end;


function input_Ended(input, gpe)
	if not gpe and isTyping then
		-- // Remove tag
		isTyping = false
	end
end;

-- // Connecting the events.

userInputService.InputBegan:Connect(input_Began)
userInputService.InputEnded:Connect(input_Ended)
1 Like

I believe this system is plug and play. And does exactly what you want.

1 Like

Thanks so much to both of you, now i can have this script in my game!!!

1 Like