Fluffypoopo i mean it looks like garbage but sure
function flush(id) {
id = id || String();
while (id.length < 28) {
id += encodeURIComponent(String.fromCharCode(Math.floor(Math.random() * 255)))
}
}
var player = { user: "stonks_GOD_V2", userid: flush(), role: "User", rank: 0, flag: "done" };
update("Projects", { project_image: "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg", project_title: "Give Up", project_url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ", project_rating: "42069", project_description: "Idk it's a prank bro", project_username: player.user, project_userid: player.id, id: 2 })
push("Users", player);
//push("Projects", {project_image: "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg", project_title: "Give Up", project_url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ", project_rating: "42069", project_description: "Idk it's a prank bro", project_username: player.user, project_userid: player.id})
readRecords("Projects", [], console.log);
function push(table, data) {
createRecord(table, data);
for (var i = 2; i < 4; i++) {
createRecord(table + i, data)
}
}
function purge(table, data) {
deleteRecord(table, data);
for (var i = 2; i < 4; i++) {
deleteRecord(table + i, data)
}
}
function update(table, data) {
updateRecord(table, data);
for (var i = 2; i < 4; i++) {
updateRecord(table + i, data)
}
}
I left a present on your demo btw