SmashKarts ESP/Charms

SmashKarts ESP lets you see players even when they're behind walls or objects. Though, it might not work on every single map. Changes the color of the players.

  1. // ==UserScript==
  2. // @name SmashKarts ESP/Charms
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description SmashKarts ESP lets you see players even when they're behind walls or objects. Though, it might not work on every single map. Changes the color of the players.
  6. // @author DogeSmashMonkey
  7. // @match *://smashkarts.io/*
  8. // @icon https://i.makeagif.com/media/7-24-2015/wZmxOM.gif
  9. // @grant none
  10. // ==/UserScript==
  11. function showPopup(message) {
  12. var popupContainer = document.createElement('div')
  13. popupContainer.style.position = 'fixed'
  14. popupContainer.style.top = '0'
  15. popupContainer.style.left = '0'
  16. popupContainer.style.width = '100%'
  17. popupContainer.style.backgroundColor = '#333'
  18. popupContainer.style.color = '#fff'
  19. popupContainer.style.padding = '10px'
  20. popupContainer.style.textAlign = 'center'
  21. popupContainer.style.zIndex = '9999'
  22.  
  23. var textElement = document.createElement('div')
  24. textElement.textContent = message
  25. textElement.style.fontSize = '18px'
  26. textElement.style.color = '#fff'
  27. textElement.style.fontFamily = 'monospace'
  28.  
  29. var buttonContainer = document.createElement('div')
  30. buttonContainer.style.display = 'inline-block'
  31. buttonContainer.style.marginTop = '10px'
  32.  
  33. var closeButton = document.createElement('button')
  34. closeButton.textContent = 'Close'
  35. closeButton.style.padding = '5px 10px'
  36. closeButton.style.backgroundColor = '#ff6600'
  37. closeButton.style.border = 'none'
  38. closeButton.style.borderRadius = '5px'
  39. closeButton.style.color = '#fff'
  40. closeButton.style.cursor = 'pointer'
  41. closeButton.style.marginLeft = '10px'
  42. closeButton.style.fontFamily = 'monospace'
  43.  
  44. closeButton.addEventListener('click', function() {
  45. document.body.removeChild(popupContainer)
  46. });
  47.  
  48. popupContainer.appendChild(textElement)
  49. popupContainer.appendChild(buttonContainer)
  50. popupContainer.appendChild(closeButton)
  51.  
  52. document.body.appendChild(popupContainer)
  53. }
  54.  
  55.  
  56. showPopup(`🎉Injection Complete! Requires Low-Quality Camera. May Not Work on All Maps.🎉`);
  57. console.log('Valid Key')
  58.  
  59. const originalShader = WebGL2RenderingContext.prototype.shaderSource
  60.  
  61. function Shader(OGSHADER){
  62. WebGL2RenderingContext.prototype.shaderSource = function(shader, src) {
  63. let Query = src.indexOf("hlslcc_mtx4x4unity_ObjectToWorld[4]") !== -1 &&
  64. src.indexOf("hlslcc_mtx4x4unity_MatrixVP[4]") !== -1 &&
  65. src.indexOf("hlslcc_mtx4x4glstate_matrix_projection") === -1 &&
  66. src.indexOf("unity_FogParams") === -1
  67.  
  68. if (Query && src.indexOf("vs_COLOR0") !== -1) {
  69. src = src.replace(/void\s+main\(\)[\s\S]*?{([\s\S]*?)}/, `void main() {
  70. gl_Position.z = 0.5;
  71. vs_TEXCOORD0 = in_TEXCOORD0;
  72. return;
  73. }`)
  74.  
  75. console.log("Match found:", src, src.length);
  76. } else if (Query && src.indexOf("vs_COLOR0") === -1) {
  77. src = src.replace(/return;/, `
  78. gl_Position.z = 0.5;
  79. return;
  80. `)
  81. }
  82.  
  83. return OGSHADER.apply(this, [shader, src])
  84. }
  85. }
  86.  
  87. const SmashKartsScript = new Shader(originalShader)

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址