STYLESCRIPTV3 BLOBLE.IO

STYLESCRIPTV3, n e q melhoro hein ;v, Eh O CrImE

  1. // ==UserScript==
  2. // @name STYLESCRIPTV3 BLOBLE.IO
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description STYLESCRIPTV3, n e q melhoro hein ;v, Eh O CrImE
  6. // @author MASSA ATOMICA
  7. // @match http://bloble.io/
  8. // @grant none
  9. // ==/UserScript==
  10. var Css = document.createElement("style")
  11. Css.innerText =
  12. `
  13. // MUDANDO DE COR
  14. #menuContainer {
  15. background-color: #000000;
  16. width: 100%;
  17. height: 100%;
  18. display: flex;
  19. position: absolute;
  20. top: 10px;
  21. z-index: 100;
  22. align-items: center;
  23. text-align: center;
  24. }
  25. #leaderboardList {
  26. background-color: #FF0000;
  27. width: 100%;
  28. height: 100%;
  29. }
  30. #chatBox {
  31. background-color: #FF00FF;
  32. }
  33. #leaderboardContainer {
  34. background-color: #B22222
  35.  
  36. `
  37. // COMANDOS DE "STYLE"
  38. $("#gameTitle").html('STYLESCRIPTV3')
  39. //Theme
  40. window.renderPlayer=function(a,d,c,b,g)
  41. {b.save();if(a.skin&&0<a.skin&&a.skin<=playerSkins&&!skinSprites[a.skin]){var e=new Image;e.onload=function(){this.readyToDraw=!0;this.onload=null;g==currentSkin&&changeSkin(0)};e.src=".././img/skins/skin_"+(a.skin-1)+".png";skinSprites[a.skin]=e}a.skin&&skinSprites[a.skin]&&skinSprites[a.skin].readyToDraw?(e=a.size-b.lineWidth/4,b.lineWidth/=2,renderCircle(d,c,a.size,b,!1,!0)):g||(b.fillStyle="rgba(255, 247, 0, 0.2)",renderCircle(d,
  42. c,a.size,b));b.restore()}
  43. outlineWidth = 5,
  44. backgroundColor = "#001a1a",
  45. indicatorColor = "#00ffff",
  46. turretColor = "#000000",
  47. bulletColor = "#00ffff",
  48. redColor = "#00ffff",
  49. targetColor = "#00ffff",
  50. playerColors = "#000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000 #000000".split(" ")
  51. renderText = function(a, d) {
  52. var c = document.createElement("canvas"),
  53. b = c.getContext("2d");
  54. b.font = d + "px regularF";
  55. var g = b.measureText(a);
  56. c.width = g.width + 20;
  57. c.height = 2 * d;
  58. b.translate(c.width / 2, c.height / 2);
  59. b.font = d + "px regularF";
  60. b.fillStyle = "#000000";
  61. b.textBaseline = "middle";
  62. b.textAlign = "center";
  63. b.strokeStyle = redColor;
  64. b.lineWidth = outlineWidth;
  65. b.strokeText(a, 0, 0);
  66. b.fillText(a, 0, 0);
  67. return c
  68. }