saw something like this and wanted to recreate it
how does Deepwoken find the servers?
I have this script currently, but it shows the shortened version (e.g. Germany, Hesse is DE, HE), is there any way I can find and display the whole location? Sorry if I’m not being clear, it’s nighttime
local HTTPService = game:GetService("HttpService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Remote = ReplicatedStorage:WaitForChild("Region")
local Info = HTTPService:JSONDecode(HTTPService:GetAsync('http://ip-api.com/json/'))
local function ReturnServerInfo(player)
local ServerData = {}
for i,v in pairs(Info) do
if i == "countryCode" then
table.insert(ServerData,v)
elseif i == "region" then
table.insert(ServerData,v)
end
end
return ServerData
end
Remote.OnServerInvoke = ReturnServerInfo