-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
191 lines (161 loc) · 6.84 KB
/
index.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<script src="js/antipaste.js"></script>
<script type="text/javascript">
document.onkeydown = function (e) {
if (event.keyCode == 123) {
return false;
}
if (e.ctrlKey && e.shiftKey && e.keyCode == 'I'.charCodeAt(0)) {
return false;
}
if (e.ctrlKey && e.shiftKey && e.keyCode == 'J'.charCodeAt(0)) {
return false;
}
if (e.ctrlKey && e.keyCode == 'U'.charCodeAt(0)) {
return false;
}
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="js\rythm.js"></script>
<div id="particles-js"></div>
<script type="text/javascript" src="js/particles.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<title>officialavalon.club</title>
<script src="https://unpkg.com/typewriter-effect@latest/dist/core.js"></script>
<audio id="music" src="msc.mp3" autoplay=autoplay loop=loop onplaying="" style="display: none;"></audio>
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.13.0/css/all.css" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="animate.css" />
<html>
<head>
</head>
<body>
</body>
</html>
</head>
<body>
<div id="main" class="center">
<div id="overlay" onclick="music.play(); addStuff();"><span class="header center" id="status_text"></span></div>
</div>
<script>
function handleAnimations() {
let animations = [
["bounce", "bounce"],
["flash", "flash"],
["pulse", "pulse"],
["shake", "shake"],
["headShake", "headShake"],
["swing", "swing"],
["tada", "tada"],
["wobble", "wobble"],
["jello", "jello"],
["heartBeat", "heartBeat"],
["bounceIn", "bounceIn"],
["bounceInDown", "bounceInUp"],
["bounceInLeft", "bounceInRight"],
["fadeIn", "fadeIn"],
["fadeInDown", "fadeInUp"],
["fadeInLeft", "fadeInRight"],
["flip", "flip"],
["flipInX", "flipInX"],
["flipInY", "flipInY"],
["rotateIn", "rotateIn"],
["rotateInDownLeft", "rotateInDownRight"],
["slideInDown", "slideInUp"],
["slideInLeft", "slideInRight"],
["zoomIn", "zoomIn"],
["zoomInDown", "zoomInUp"],
["zoomInLeft", "zoomInRight"],
["jackInTheBox", "jackInTheBox"],
];
var num = getRandomInt(animations.length);
animateCSS('[name="top"]', animations[num][0], animationOver);
animateCSS('[name="bottom"]', animations[num][1], animationOver);
console.log("top: " + animations[num][0]);
console.log("bottom: " + animations[num][1]);
}
function addStuff() {
at("main").innerHTML =
`<h1 name="top" id = "status_text" class="header animated"><a href="https://officialavalon.club">officialavalon.club</a></h1>
<p name="bottom" id = "text2" class="seller">premium cheats for Fortnite, EFT, and Rust</p>`;
handleAnimations();
}
function animateCSS(element, animationName, callback) {
const node = document.querySelector(element)
node.classList.add('animated', animationName)
node.classList.add('delay-2s')
function handleAnimationEnd() {
node.classList.remove('animated', animationName)
node.removeEventListener('animationend', handleAnimationEnd)
if (typeof callback === 'function') callback()
}
node.addEventListener('animationend', handleAnimationEnd)
}
function getRandomInt(max) {
return Math.floor(Math.random() * Math.floor(max));
}
var at = document.getElementById.bind(document);
window.addEventListener("DOMContentLoaded", () => {
at("status_text").innerHTML = "loading";
});
window.addEventListener("load", () => {
setTimeout(() => {
if (!window.music.paused) {
addStuff();
console.log("music already started");
return;
}
at("status_text").innerHTML = "click to enter";
at("status_text").classList.add("begin");
}, 100);
});
var temp = 0
function animationOver() {
temp++;
if (temp != 2)
return;
setTimeout(function () {
console.log("animations over");
var doc = document.getElementById("main");
var inner = doc.innerHTML;
// WOW this is aids.
doc.innerHTML +=
`<div class="textiboi">
<a id="typElement"></a></div>
<div class="textiboi">
<a class="textiboi animated fadeIn" href="https://shoppy.gg/@officialavalon">Shop</a>
<a class="textiboi animated fadeIn" href="https://www.youtube.com/channel/UCahfYTtPvVH6AiLcKaKIplQ">showcase</a>
<a class="textiboi animated fadeIn" href="https://discord.com/invite/Cp7WQez7HG">Discord</a>
<a class="textiboi animated fadeIn" href="https://shoppy.gg/@OfficialAvalon/groups/Iw6Qg7Y">tos</a>`;
console.log("running typewrite");
indefiniteWrite();
}, 550);
}
function indefiniteWrite() {
let strs = [
"hello from Avalon",
"owning since 2020",
"premium software",
"home of the Best Externals",
"best Fortnite External ",
"best EFT External ",
"stop using shit cheats",
"get good",
"Avalon on top",
];
var num = getRandomInt(strs.length);
console.log("writing " + strs[num]);
var typElement = document.getElementById('typElement');
var typewriter = new Typewriter(typElement, {
loop: true
});
typewriter.typeString(strs[num]).pauseFor(5000).deleteAll().pauseFor(100).callFunction(() => {
typewriter.stop();
indefiniteWrite();
}).start();
}
</script>
</body>
</html>