errorMes = "ERROR" function git(url, toPath, visible, yAxis) --Download From Git-hub To A PATH Specified in Arguments for i=1, 3 do sleep(0) local response = http.get(url) if response then local data = response.readAll() local file = io.open(toPath, "w") file:write(data) file:close() if visible then printer.centered(toPath, yAxis) end return true else return errorMes end end return errorMes end