Else-if value seems broken in my string - Round and Mode System

So I am trying a Round System, it has different modes. I am using StringValue because I have no idea what to do. If you know any other and better methods, please tell me.

This is my code, it simply detects the value from the string.
image

But the problem is It always detects the value as the first “if” or it always print "TeamWinning"

For example:
The chosen mode is Free4All, and it is printed by the “print(Mode)”, but instead of printing “Free4Allhu” on the second one, it printed “TeamWinning”. It always print “TeamWinning” whatever the mode is.
image

Any help is appreciated, please help (lol), Thank you!!

you should upload code as image.
dont use “or” for “DoubleTrouble”. Use elseif.
Upload code as text and I will be able to send fixed code

Oh small mistake can really mess the whole thing. Thanks for that! Also is this the best thing to do this or there are better ways?

1 Like

I think so. There is also switch module made by metatablecat but I tested it and its slower then elseif so in my opinion its the best way

1 Like