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

Problem with a GUI flag stand, could someone help?

Asked by 9 years ago

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

Log in to vote
0
Answered by 9 years ago

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

0
Output? And all the local scripts are in the letter A (GUI image label) dluckey20 25 — 9y
0
End needs to be closer to line 10, imagecolor3 is not a valid member of imagelabel. dluckey20 25 — 9y
Ad

Answer this question