Roblox Advanced Helper

Roblox Advanced Settings + Background Colors [BETA] + Easy Game Joining By ID + Advanced Ad Removing

  1. // ==UserScript==
  2. // @name Roblox Advanced Helper
  3. // @namespace http://iomods.weebly.com/
  4. // @version 1.3
  5. // @description Roblox Advanced Settings + Background Colors [BETA] + Easy Game Joining By ID + Advanced Ad Removing
  6. // @author SnowLord7
  7. // @match https://www.roblox.com/*
  8. // @grant (C) SnowLord7 2018
  9. // ==/UserScript==
  10.  
  11. var customHTML = '';
  12. customHTML += '<div class="customSettings">';
  13. customHTML += '<div class="customText">';
  14. customHTML += '<h3>Custom Settings</h3><br>';
  15. customHTML += '<p>Background <input style="color: black;" id="customBackgroundInput" placeholder=""></input></p>';
  16. customHTML += '<p>Join Game By ID <input style="color: black;" id="customJoinGameInput" value="301549746" placeholder="301549746" type="number"> <button style="color: black; border: 1px solid grey; border-radius: 3px; heigth: 5%;" id="customJoinGameButton">Go</button></p>';
  17. customHTML += '<p>Remove Uncaught Ads <button id="customAdKill" style="color: black; border-radius: 3px; border: 1px solid grey; heigth: 5%;">KILL ADS</button></p>';
  18. customHTML += '<p id="customName"></p>';
  19. customHTML += '</div></div>';
  20. customHTML += '<style>';
  21. customHTML += '.customSettings{border:1px solid rgba(46,48,54,.6);border-radius:3px;background-color:#004977;position:relative;color:#fff;width:370px;height:190px;top:-180px;line-height:0;padding:0;font-size:15px;transition:.5s}.customSettings:hover{top:-20px}.customText{margin-left:10px}';
  22. customHTML += '</style>';
  23. document.getElementsByClassName("xsmall age-bracket-label")[0].innerHTML = customHTML;
  24. document.getElementById("customAdKill").addEventListener("click", adKill, false);
  25. document.getElementById("customJoinGameButton").addEventListener("click", joinGame, false);
  26. document.getElementById("customBackgroundInput").value = document.body.style.backgroundColor;
  27.  
  28. function customBackground() {
  29. try {
  30. document.body.style.backgroundColor = document.getElementById("customBackgroundInput").value;
  31. document.getElementsByClassName("content")[0].style.backgroundColor = document.getElementById("customBackgroundInput").value;
  32. } catch(e) {}
  33. setTimeout(customBackground, 100);
  34. }
  35.  
  36. function joinGame() {
  37. var customID = document.getElementById("customJoinGameInput").value;
  38. Roblox.GameLauncher.joinMultiplayerGame(customID);
  39. }
  40.  
  41. function adKill() {
  42. try {
  43. document.getElementById("Skyscraper-Abp-Left").remove();
  44. //console.log("Removed an Ad!");
  45. } catch(e) {}
  46. try {
  47. document.getElementById("Skyscraper-Abp-Right").remove();
  48. //console.log("Removed an Ad!");
  49. } catch(e) {}
  50. try {
  51. document.getElementById("Leaderboard-Abp").remove();
  52. //console.log("Removed an Ad!");
  53. } catch(e) {}
  54. try {
  55. document.getElementById("AdvertisingLeaderboard").remove();
  56. //console.log("Removed an Ad!");
  57. } catch(e) {}
  58. try {
  59. document.getElementById("Ads_WideSkyscraper").remove();
  60. //console.log("Removed an Ad!");
  61. } catch(e) {}
  62. try {
  63. document.getElementById("Leaderboard-Abp").remove();
  64. //console.log("Removed an Ad!");
  65. } catch(e) {}
  66. try {
  67. for (i = 0; i < 3; i++) {
  68. document.getElementsByClassName("ads-container")[0].remove();
  69. document.getElementsByClassName("ads-container")[i].remove();
  70. }
  71. //console.log("Removed an Ad!");
  72. } catch(e) {}
  73. console.log("Attempted to remove ads.");
  74. }
  75.  
  76. document.getElementById("customName").innerHTML = Roblox.CurrentUser.name;
  77. customBackground();
  78. adKill();