I downloaded a project of the comunity forum where it have a dice and its suposed to work reading the coments but when i publish that project it dont executes the comands too. So, i dont know if im skiping something when publishing the project or something.
This is the code that im using:
var number = Math.floor(Math.random()*6);
Here is the file of my project.