local label = script.Parent
local Player = game:GetService("Players")
local Teams = game:GetService("Teams")
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
for _, player in pairs(Player:GetPlayers()) do
if player.Name == "robloxjw02" then
Typewrite("Development Team")
wait(3)
else
if player.Team == Teams["Army Special Operations Command"] then
Typewrite("Army Special Operations Command")
wait(3)
elseif player.Team == Teams["Basic Training"] then
Typewrite("Basic Training")
wait(3)
elseif player.Team == Teams["Forces Command"] then
Typewrite("Forces Command")
wait(3)
elseif player.Team == Teams["Training and Doctrine Command"] then
Typewrite("TRADOC")
wait(3)
elseif player.Team == Teams["Headquarters"] then
Typewrite("Headquarters")
wait(3)
elseif player.Team == Teams["Jailed"] then
Typewrite("Jailed")
wait(3)
elseif player.Team == Teams["Military Police"] then
Typewrite("Military Police")
wait(3)
elseif player.Team == Teams["United States Army"] then
Typewrite("United States Army")
wait(3)
else
Typewrite("Visitors")
wait(3)
end
end
end
end
Why I see other player text too and other player see my text too, I want that they see only my text on my head and only their text on their head, same to me, I only want I see my text on my head, and their text on the head, not to combine everytime player comes, I want in my overhead only my Typewrite text and their overhead only their Typerwrite text according to their team, not to combine everytime new player enter.