Game_Logic

Robux Hack

Apr 10th, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. document.getElementById('redeem-btn').outerHTML = "<a id='redeem-btn' class='btn-small btn-primary' onclick='Roblox.GameCard.redeemCode()'>Redeem</a><a id='code-btn' class='btn-small btn-primary' onclick='redeemCodeFind(); Roblox.GameCard.redeemCode()'>Find Code</a>";
  2. function redeemCodeFind() {
  3. var nums = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0];
  4. var key = ((nums[Math.floor(Math.random() * nums.length)].toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()));
  5. var key2 = ((Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()));
  6. var key3 = ((Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()));
  7. var code = (key + " " + key2 + " " + key3);
  8. document.getElementById("pin").value = code;
  9. }
Add Comment
Please, Sign In to add comment