Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Problem with a GUI flag stand, could someone help?

Having problems with making a flag color GUI. The GUI has 5 Letters that will change color once a player touches the flag in game. The Letter will switch to there team color from the flag in workspace. Could someone help find my error?

Team = workspace.FlagStand1.Part.BrickColor Part1 = workspace.FlagStand1.Part LetterA = script.Parent.Imagecolor3 while true do local user = game.Players:GetPlayerFromCharacter(hit.Part1) Part1 = user.Teamcolor if user ~= nil then LetterA.Imagecolor3 = Part1.Brickcolor end

end


1 answer

What is your output? Also you need to put the code Inside all the ~'s for the code block

2 comments

0

Output? And all the local scripts are in the letter A (GUI image label)

0

End needs to be closer to line 10, imagecolor3 is not a valid member of imagelabel.

This discussion is preserved as it was. New answers, comments, and votes are closed.