-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts.js
34 lines (33 loc) · 928 Bytes
/
scripts.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
function bee() {
alert('According to all known laws of aviation,');
alert('there is no way a bee should be able to fly.');
alert('Its wings are too small to get its fat little body off the ground.');
alert('The bee, of course, flies anyway');
}
function jazz() {
alert('FLASH GAMES! PLAY FLASH GAMES!')
}
function sleep(ms) {
return new Promise((resolve) => setTimeout(resolve, ms));
}
document.title = "\u200E";
async function ok() {
var pjs = "LeWolfYT\'s Club Corner!"
var tx = ""
for (let i=0; i < pjs.length; i++) {
tx += pjs[i]
await sleep(250);
document.title = "\u200E" + tx;
}
await sleep(250);
document.title = "\u200E" + pjs;
await sleep(pjs.length()*500);
for (let i=pjs.length; i > -1; i--) {
tx = tx.slice(0, -1);
await sleep(250);
document.title = "\u200E" + tx;
}
}
new Audio('https://github.com/LeWolfYT/LeWolfYT.github.io/raw/main/startrace.mp3').play();
setInterval(ok, 23000);
ok();