Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you change a teams NAME in game?

Asked by 6 years ago

I put two string values in Lighting named RED and BLUE. I also have 2 teams named Red and Blue with Bright red and Bright blue as the team colors. I put two nearly identical scripts in the teams. In the script in the Red team is

while true do
    script.Parent.Name = game.Lighting.RED.Value
    wait(0.1)
end

and in the other is

while true do
    script.Parent.Name = game.Lighting.BLUE.Value
    wait(0.1)
end

When I change the string value of RED and BLUE it doesn't seem to do anything. Any fix to this?

1 answer

Log in to vote
0
Answered by 6 years ago

Hey i know what might fix your problem, go to the explorer and find your teams and in properties and change the name there. I hope this helped

0
I know how to do that. I'm talking about changing the name while in a server LuminousDawn 0 — 6y
Ad

Answer this question