Animating Text Type Writer For Text Label Overhead GUI

Can anyone make text label animating typewriter effect for overhead gui based on team, so if player team = military police , gonna loop typewriter effect, “Military Police” and “SRT” so after typewriting Military Police, 3 seconds again typewrite SRT wait 3 second again and loop back to Military Police

Based on team, so only if player is on that team

1 Like

here’s how you do typewriter effect based on what you’re saying, but i don’t have experience with teams so do this if the player is on the team i guess

local function Typewrite(String)
	for Count = 1, #String do
		Label.Text = string.sub(String, 1, Count)
		task.wait(0.1)
	end
end

while true do
	Typewrite("Military Police")
	task.wait(3)
	Typewrite("SRT")
	task.wait(3)
end

Why are these threads so frequently made?

I know this. But I want to know just for based on team…

What I wrote before, it works if I don’t use if player.Team, if it’s for all players, it works, but if i make based on team , it doesn’t work, read all carefully.