Skip to main content

🚀Getting Started

📦 Installing

CountryService can be installed in different ways, depending on your project's needs. Choose the method that suits you best:

Watch wally's page
countryservice = "prooheckcp/countryservice@>0.0.0, <10.0.0"

🚀 Basic Usage

Once you have CountryService installed, you can start using it in your project. Here's a basic example of how to use it:

local CountryService = require(ReplicatedStorage.CountryService)

Players.PlayerAdded:Connect(function(player: Player)
print(CountryService:GetCountryByCode("PT")) -- Portugal
print(CountryService:GetPlayerCountry(player)) -- Portugal
print(CountryService:GetPlayerCountryCode(player)) -- PT
end)