Closed Naiym223 closed 3 years ago
The element you are trying to get is not present on the page, hence you are getting the TypeError. The element might not be on the page because:
setTimeout(function () {
document.getElementById("nav-robux-balance").textContent="41,821 Robux";
}, 2000);
Javascript:
document.getElementById("nav-robux-balance").textContent="41,821 Robux";
Page: https://www.roblox.com/home