I’m trying to make it so that these string values are randomized, but they aren’t equal to the other strings.
The thing is, map2 keeps rolling and switching no matter what
map1.Map.Value = mapValues[math.random(1, #mapValues)]
map2.Map.Value = mapValues[math.random(1, #mapValues)]
if map2.Map.Value == map1.Map.Value then
repeat wait()
map2.Map.Value = mapValues[math.random(1, #mapValues)]
until map2.Map.Value ~= map2.Map.Value
end
map3.Map.Value = mapValues[math.random(1, #mapValues)]
if map3.Map.Value == map1.Map.Value then
repeat wait()
map3.Map.Value = mapValues[math.random(1, #mapValues)]
until map3.Map.Value ~= map2.Map.Value and map3.Map.Value ~= map1.Map.Value
end