while wait() do
if repstorage.GameRound.Value == "Controller" then
if flag1.Value == "White" and flag2.Value == "Green" and flag3.Value == "White" then
greenscore.Value = 1
yellowscore.Value = 0
end
end
end
^ How come the above works
repstorage.RoundTag.Changed:connect(function(value)
if value == true then
if repstorage.GameRound.Value == "Controller" then
if flag1.Value == "White" and flag2.Value == "Green" and flag3.Value == "White" then
greenscore.Value = 1
yellowscore.Value = 0
end
end
end
end)
And this one dosent. I would prefer the one with the Changed event over a while true do loop. There are no errors in the whole script. Please help.

2 comments
What is
RoundTag, and what will change it? When does it get changed?I have this huge main script that changes the RoundTag at a certain time and changes it back, i Put a print after it checks for if (GameRound.Value == "Controller" then) and prints it, so its anything after