its really simple all you do is copy this code and change it to your varibles and name:
function login () {
if (pname == OwnerId) {
var password = prompt("Password please");
if(password === "imnotshowingyoumypass") {
prompt("Welcome back DaniDaCoder");
textSize(20.5);
text("danidacoder", 282, 43);
}else {
if(password != "imnotshowingyoumypass") {
prompt("you are not danidacoder");
}
}

I actually made a login system that people can base off of. This one seems to be prebuilt into the game. maybe i didn't get all the code here or i'm missing something. if you wanna check out my system, you can see it here

    Blockyheadman and the plus side to mine is people can't overwrite usernames and reset stuff. they also can't see usernames & passwords because they aren't baked into the code. (again, i may have missed details which could be important to your code)

    Blockyheadman your right it does seem like you need alot of my code to use this im working on another onethats less built in

    Yeah good idea. I'll say a good way to start with the login system is making either a table for stuff like that or keypairs for the users. I used keypairs as I understand them better than tables.

    5 days later

    yes i did this in my projects to ensure that im not adding views to the view counter (which i stole lol)

    Chat