if GrassyFieldVotes > CityVotes then
m.Value = "Inserting 'Grassy Field' by Coolviper630..."
wait(3)
gf = maps.GrassyField:Clone()
gf.Parent = game.Workspace
m.Value = ""
end
I'm making a GUI Map Voting System, and it's not working out, I need help! GrassyFieldVotes is variable which is equal to GrassyFieldVotes = game.Lighting.MapValues.GrassyField[Name of the IntValue] and CityVotes = game.Lighting.MapValues.City[Name of the IntValue], so if the grassy field value number is greater then the city value show the message that map will insert wait 3 seconds clones it and make the m.Value = to nothing but dis won't work someone help plz ty ive been trying to figure this out for 2 days!

2 comments
Yes, but are you trying to check if one IntValue is greater than the other, or if one IntValue's Value is greater than the other's Value. In other words, add '.Value' after both GrassyFieldVotes and CityVotes (without a space in between), and see if the code works then.
it works, I figured it out I changed it for both maps vairable ill use city vairable xampme local cityVotes= game.Lighting.MapValues.City i took out .Value from the vairable and it works