How to get players country?

Hey everyone! Good morning

Okay so, I have been working on a game recently, and I made a thing in the game to show my love towards Europe and all its nations. And as a little gift, I want to give players access to a certain area in the game where they can get special perks (Tool givers, money, etc.) as long as they’re playing from any country that’s in the European region (This includes transcontinental countries like Russia, Turkey, Georgia, Armenia, Kazakhstan and Azerbaijan.

Thing is, I’ve been looking all over the dev forum looking for a way to solve my problem, I cannot seem to find any forums discussing this topic. I haven’t tried any scripts so far as I don’t know how. I’m assuming LocalizationService has something to do with this eh? And I’m assuming this must be done in a LocalScript (Since a local script calls the player itself)

Any constructive help or advice would be appreciated

Question, is it worth doing this if a player can simply use a VPN to spoof their location though?

But otherwise I believe you could try looking at this? LocalizationService | Roblox Creator Documentation

I don’t know if it’s just me- but this seems kind of unfair. I would feel like I have a disadvantage in the game just because I’m not in Europe, so this seems like favoritism.

4 Likes

Oh, I didn’t mean to make things unfair. Also people outside of Europe also get pretty much the same thing, just the fact that I’ve had a bit of a soft spot for the continent for a long time now. I don’t mean to be favoritist. (If that’s a word :P)

Or nevermind, I forgot that VPN’s even existed. I am the stupidest person alive right now

also not a very good idea to reveal where you live to a server full of people