What do you want to achieve?
I would like to know how to replicate or make these… let’s call them “Server Location” and “Server Age” guis…
I have also seen that the ping meter also works and I don’t know how they managed to do that, So if someone could help me to achieve this, I would be very grateful!
What solutions have you tried so far?
Couldn’t find anything similar to those ones in Devforum… So i decided to create a new post.
Server age is rather simple, you can implement it in one of two ways:
1- have a NumberValue or similar increment by 1 every second on the server
2- get the unix timestamp by using os.time(), then put this in an int value somewhere, then every second on the client, compare the current time with the server startup time, then the result will be the server’s uptime (os.time() - serverStartTime).
For your second question, I’m not 100% certain how that game specifically did it, but you can make a web request on the server to a site like https://www.iplocation.net/, then scrape the webpage for its contents which includes the location, which will be the location of the server that made the web request.