httpService = game:GetService("HttpService") function ageFromUserId(userId) local url = "https://users.roproxy.com/v1/users/"..userId local response local result, errorMessage = pcall(function() response = httpService:GetAsync(url) response = httpService:JSONDecode(response) response = response["created"] end) if result then local text = response local date = string.sub(text, 1, 10) local data = string.split(date, "-") local year = tonumber(data[1]) local month = tonumber(data[2]) local day = tonumber(data[3]) local beforeTime = os.time({year=year, month=month, day=day}) local difference = os.time() - beforeTime local days = math.floor(difference / 86400) + 1 return days else return "Error" end end print(ageFromUserId(1572625157))