To get server region, you can send a request using HttpService
to this url right here:
This website will get the server IP not yours, but if you visit this url from your brower then it will get your IP.
Heres an little example on how you do it.
local ip_website = "http://ip-api.com/json/"
local httpservice = game:GetService("HttpService")
local response = httpservice:GetAsync(ip_website)
if response then
response =httpservice:JSONDecode(response)
print(response)
end
Now to get the player count of the server you can easily do
#game.Players:GetPlayers()
The :GetPlayers()
returns a table of all the players in the server, and if you put #
(hashtag) in front of any table then it will return how many items there are in a table.
If there are 4 players in a server and if i do
local playersList = game.Players:GetPlayers()
local playersAmount = #playersList
print(playersAmount) -- Prints 4