Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Placement : Top
- -- Variable List : Middle
- -- How to use : Bottom
- --[[
- Frame/ ScreenGui
- ╰ TextBox
- ╰ Local Script
- --]]
- local FlagsEmoji = {
- "🇦🇨"; "🇦🇩"; "🇦🇪"; "🇦🇫"; "🇦🇬"; "🇦🇮"; "🇦🇱"; "🇦🇲"; "🇦🇴"; "🇦🇶"; "🇦🇷"; "🇦🇸"; "🇦🇹"; "🇦🇺"; "🇦🇼"; "🇦🇽"; "🇦🇿";
- "🇧🇦"; "🇧🇧"; "🇧🇩"; "🇧🇪"; "🇧🇫"; "🇧🇬"; "🇧🇭"; "🇧🇮"; "🇧🇯"; "🇧🇱"; "🇧🇲"; "🇧🇳"; "🇧🇴"; "🇧🇶"; "🇧🇷"; "🇧🇸"; "🇧🇹"; "🇧🇼"; "🇧🇾"; "🇧🇿";
- "🇨🇦"; "🇨🇨"; "🇨🇩"; "🇨🇫"; "🇨🇬"; "🇨🇭"; "🇨🇮"; "🇨🇰"; "🇨🇱"; "🇨🇲"; "🇨🇳"; "🇨🇴"; "🇨🇷"; "🇨🇺"; "🇨🇻"; "🇨🇼"; "🇨🇽"; "🇨🇾"; "🇨🇿";
- "🇩🇪"; "🇩🇯"; "🇩🇰"; "🇩🇲"; "🇩🇴"; "🇩🇿";
- "🇪🇨"; "🇪🇪"; "🇪🇬"; "🇪🇭"; "🇪🇷"; "🇪🇸"; "🇪🇹"; "🇪🇺";
- "🇫🇮"; "🇫🇯"; "🇫🇰"; "🇫🇲"; "🇫🇴"; "🇫🇷";
- "🇬🇦"; "🇬🇧"; "🇬🇩"; "🇬🇪"; "🇬🇫"; "🇬🇬"; "🇬🇭"; "🇬🇮"; "🇬🇱"; "🇬🇲"; "🇬🇳"; "🇬🇵"; "🇬🇶"; "🇬🇷"; "🇬🇸"; "🇬🇹"; "🇬🇺"; "🇬🇼"; "🇬🇾";
- "🇭🇰"; "🇭🇳"; "🇭🇷"; "🇭🇹"; "🇭🇺";
- "🇮🇨"; "🇮🇩"; "🇮🇪"; "🇮🇱"; "🇮🇲"; "🇮🇳"; "🇮🇴"; "🇮🇶"; "🇮🇷"; "🇮🇸"; "🇮🇹";
- "🇯🇪"; "🇯🇲"; "🇯🇴"; "🇯🇵";
- "🇰🇪"; "🇰🇬"; "🇰🇭"; "🇰🇮"; "🇰🇲"; "🇰🇳"; "🇰🇵"; "🇰🇷"; "🇰🇼"; "🇰🇾"; "🇰🇿";
- "🇱🇦"; "🇱🇧"; "🇱🇨"; "🇱🇮"; "🇱🇰"; "🇱🇷"; "🇱🇸"; "🇱🇹"; "🇱🇺"; "🇱🇻"; "🇱🇾";
- "🇲🇦"; "🇲🇨"; "🇲🇩"; "🇲🇪"; "🇲🇬"; "🇲🇭"; "🇲🇰"; "🇲🇱"; "🇲🇲"; "🇲🇳"; "🇲🇴"; "🇲🇵"; "🇲🇶"; "🇲🇷"; "🇲🇸"; "🇲🇹"; "🇲🇺"; "🇲🇻"; "🇲🇼"; "🇲🇽"; "🇲🇾"; "🇲🇿";
- "🇳🇦"; "🇳🇨"; "🇳🇪"; "🇳🇫"; "🇳🇬"; "🇳🇮"; "🇳🇱"; "🇳🇴"; "🇳🇵"; "🇳🇷"; "🇳🇺"; "🇳🇿";
- "🇴🇲"; "🇵🇦"; "🇵🇪"; "🇵🇫"; "🇵🇬"; "🇵🇭"; "🇵🇰"; "🇵🇱"; "🇵🇲"; "🇵🇳"; "🇵🇷"; "🇵🇹"; "🇵🇼"; "🇵🇾";
- "🇶🇦";
- "🇷🇪"; "🇷🇴"; "🇷🇸"; "🇷🇺"; "🇷🇼";
- "🇸🇦"; "🇸🇧"; "🇸🇨"; "🇸🇩"; "🇸🇪"; "🇸🇬"; "🇸🇭"; "🇸🇮"; "🇸🇰"; "🇸🇱"; "🇸🇲"; "🇸🇳"; "🇸🇴"; "🇸🇷"; "🇸🇸"; "🇸🇹"; "🇸🇻"; "🇸🇽"; "🇸🇾"; "🇸🇿";
- "🇹🇦"; "🇹🇨"; "🇹🇩"; "🇹🇫"; "🇹🇬"; "🇹🇭"; "🇹🇯"; "🇹🇰"; "🇹🇱"; "🇹🇲"; "🇹🇳"; "🇹🇴"; "🇹🇷"; "🇹🇹"; "🇹🇻"; "🇹🇼"; "🇹🇿";
- "🇺🇦"; "🇺🇬"; "🇺🇸"; "🇺🇾"; "🇺🇿";
- "🇻🇦"; "🇻🇨"; "🇻🇪"; "🇻🇬"; "🇻🇮"; "🇻🇳"; "🇻🇺";
- "🇼🇫"; "🇼🇸";
- "🇽🇰";
- "🇾🇪"; "🇾🇹";
- "🇿🇦"; "🇿🇲"; "🇿🇼"
- }
- local Flags_Name = {
- -- a
- "afghanistan",
- "albania",
- "algeria",
- "andorra",
- "angola",
- "antigua and barbuda",
- "argentina",
- "armenia",
- "aruba",
- "australia",
- "austria",
- "azerbaijan",
- -- b
- "bahamas, the",
- "bahrain",
- "bangladesh",
- "barbados",
- "belarus",
- "belgium",
- "belize",
- "benin",
- "bhutan",
- "bolivia",
- "bosnia and herzegovina",
- "botswana",
- "brazil",
- "brunei",
- "bulgaria",
- "burkina faso",
- "burma",
- "burundi",
- -- c
- "cambodia",
- "cameroon",
- "canada",
- "cabo verde",
- "central african republic",
- "chad",
- "chile",
- "china",
- "colombia",
- "comoros",
- "congo, democratic republic of the",
- "congo, republic of the",
- "costa rica",
- "cote d'ivoire",
- "croatia",
- "cuba",
- "curacao",
- "cyprus",
- "czechia",
- -- d
- "denmark",
- "djibouti",
- "dominica",
- "dominican republic",
- -- e
- "east timor",
- "ecuador",
- "egypt",
- "el salvador",
- "equatorial guinea",
- "eritrea",
- "estonia",
- "ethiopia",
- -- f
- "fiji",
- "finland",
- "france",
- -- g
- "gabon",
- "gambia, the",
- "georgia",
- "germany",
- "ghana",
- "greece",
- "grenada",
- "guatemala",
- "guinea",
- "guinea-bissau",
- "guyana",
- -- h
- "haiti",
- "holy see",
- "honduras",
- "hong kong",
- "hungary",
- -- i
- "iceland",
- "india",
- "indonesia",
- "iran",
- "iraq",
- "ireland",
- "israel",
- "italy",
- -- j
- "jamaica",
- "japan",
- "jordan",
- -- k
- "kazakhstan",
- "kenya",
- "kiribati",
- "korea, north",
- "korea, south",
- "kosovo",
- "kuwait",
- "kyrgyzstan",
- -- l
- "laos",
- "latvia",
- "lebanon",
- "lesotho",
- "liberia",
- "libya",
- "liechtenstein",
- "lithuania",
- "luxembourg",
- -- m
- "macau",
- "macedonia",
- "madagascar",
- "malawi",
- "malaysia",
- "maldives",
- "mali",
- "malta",
- "marshall islands",
- "mauritania",
- "mauritius",
- "mexico",
- "micronesia",
- "moldova",
- "monaco",
- "mongolia",
- "montenegro",
- "morocco",
- "mozambique",
- -- n
- "namibia",
- "nauru",
- "nepal",
- "netherlands",
- "new zealand",
- "nicaragua",
- "niger",
- "nigeria",
- "north korea",
- "norway",
- -- o
- "oman",
- -- p
- "pakistan",
- "palau",
- "panama",
- "papua new guinea",
- "paraguay",
- "peru",
- "philippines",
- "poland",
- "portugal",
- -- q
- "qatar",
- -- r
- "romania",
- "russia",
- "rwanda",
- -- s
- "saint kitts and nevis",
- "saint lucia",
- "saint vincent and the grenadines",
- "samoa",
- "san marino",
- "sao tome and principe",
- "saudi arabia",
- "senegal",
- "serbia",
- "seychelles",
- "sierra leone",
- "singapore",
- "sint maarten",
- "slovakia",
- "slovenia",
- "solomon islands",
- "somalia",
- "south africa",
- "south korea",
- "south sudan",
- "spain",
- "sri lanka",
- "sudan",
- "suriname",
- "swaziland",
- "sweden",
- "switzerland",
- "syria",
- -- t
- "taiwan",
- "tajikistan",
- "tanzania",
- "thailand",
- "timor-leste",
- "togo",
- "tonga",
- "trinidad and tobago",
- "tunisia",
- "turkey",
- "turkmenistan",
- "tuvalu",
- -- u
- "uganda",
- "ukraine",
- "united arab emirates",
- "united kingdom",
- "uruguay",
- "uzbekistan",
- -- v
- "vanuatu",
- "venezuela",
- "vietnam",
- -- y
- "yemen",
- -- z
- "zambia",
- "zimbabwe"
- }
- -- || Coding Example
- -- Emoji
- while wait(0.1) do
- for key, CountryEmoji in pairs(FlagsEmoji) do
- if script.Parent.Text == CountryEmoji then
- print("Country emoji found!")
- end
- end
- end
- -- Text
- while wait(0.1) do
- for key, CountryText in pairs(Flags_Name) do
- if string.lower(script.Parent.Text) == CountryText then
- print("Country name found!")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment