Totally real robux generator

This commit is contained in:
ItzLightyHD 2022-07-04 19:13:54 +02:00
parent 742b1b6098
commit 119e1fb567
2 changed files with 92 additions and 4 deletions

View File

@ -121,7 +121,11 @@
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="https://video.arcade.apexie.eu">Video to
Arcade</a></li>
<li><a class="dropdown-item" href="https://poggit.pmmp.io/p/KnockbackFFA">Knock</a>
<li>
<a class="dropdown-item" href="https://poggit.pmmp.io/p/KnockbackFFA">Knock</a>
</li>
<li>
<a class="dropdown-item" href="#" id="robux-gen-button">Robux Generator</a>
</li>
</ul>
</li>
@ -356,7 +360,62 @@
<div class="modal-body">
<p class="lead">We use cookies in this website to give you the best experience on our
site. To find out more, read our
<a href="https://www.privacypolicygenerator.info/live.php?token=p519PrZBe1HRup8NtyGsCRpByyUSCDM1">privacy policy</a> and <a href="https://www.cookiepolicygenerator.com/live.php?token=4XCEj5MsPl1JX41C4R5NtaZ2fRotqRGv">cookie policy.</a></p>
<a
href="https://www.privacypolicygenerator.info/live.php?token=p519PrZBe1HRup8NtyGsCRpByyUSCDM1">privacy
policy</a> and <a
href="https://www.cookiepolicygenerator.com/live.php?token=4XCEj5MsPl1JX41C4R5NtaZ2fRotqRGv">cookie
policy.</a>
</p>
</div>
<div class="modal-footer">
<!-- Yes -->
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" id="gdpr-button">
Ok
</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="robuxgenerator" tabindex="-2" aria-labelledby="robux" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="expiredLabel">Free Robux Generator</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p class="lead">
This is a free Robux generator that you can use to generate Robux for your Roblox account.
This generator was created by NotDiamond6544 on Roblox.
</p>
<form>
<div class="mb-3">
<label for="roblox-username" class="form-label">Roblox Username</label>
<input type="text" class="form-control" id="roblox-username"
aria-describedby="roblox-user">
<div id="emailHelp" class="form-text">We'll never share your username with anyone else.</div>
</div>
<div class="mb-3">
<label for="robux-amount" class="form-label">Robux Amount</label>
<input type="number" class="form-control" id="robux-amount">
</div>
<button type="submit" class="btn btn-primary" id="robux-submit">Submit</button>
</form>
</div>
</div>
</div>
</div>
<div class="modal fade" id="robuxsuccess" tabindex="-2" aria-labelledby="robuxgeneratedsuccessfully" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="expiredLabel">Robux Generated</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p class="lead" id="robux-generated-text"></p>
</div>
<div class="modal-footer">
<!-- Yes -->

View File

@ -101,6 +101,7 @@ if (discordUserData) {
let gdprConsent = localStorage.getItem("apexie-gdprconsent")!;
let gdprConsentModal = new Modal(document.getElementById("gdprconsent")!);
let showConsent = false;
if (!isLoggedIn) {
console.log("User is not logged in");
@ -110,6 +111,7 @@ if (!isLoggedIn) {
}
if(!gdprConsent) {
showConsent = true;
gdprConsentModal.show();
const gdprConsentButton = document.getElementById("gdpr-button")!;
@ -117,10 +119,16 @@ if(!gdprConsent) {
localStorage.setItem("apexie-gdprconsent", "true");
gdprConsentModal.hide();
});
} else {
showConsent = false;
}
if (sessionExpired === "true") {
sessionExpiredModal.show();
if(showConsent) {
gdprConsentModal.show();
} else {
sessionExpiredModal.show();
}
// Get each button in the modal
const yesButton = document.getElementById("login-yes")!;
@ -138,4 +146,25 @@ if (sessionExpired === "true") {
localStorage.setItem("apexie-discord-login-expired", "false");
sessionExpiredModal.hide();
});
}
}
let robuxGenButton = document.getElementById("robux-gen-button")!;
let robuxGenModal = new Modal(document.getElementById("robuxgenerator")!);
let robuxSuccessModal = new Modal(document.getElementById("robuxsuccess")!);
robuxGenButton.addEventListener("click", () => {
robuxGenModal.show();
});
let robloxUsername = (document.getElementById("roblox-username")! as HTMLInputElement);
let robuxAmount = (document.getElementById("robux-amount")! as HTMLInputElement);
let robuxSubmit = document.getElementById("robux-submit")!;
let robuxGeneratedText = document.getElementById("robux-generated-text")!;
robuxSubmit.addEventListener("click", () => {
if (robloxUsername.value && robuxAmount.value) {
robuxGeneratedText.textContent = `${robloxUsername.value} has been given ${robuxAmount.value} Robux`;
robuxGenModal.hide();
robuxSuccessModal.show();
}
});