Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
1.2K
Hide Buttons #115
This will hide buttons in the game_buttons container
458b | 17 lines.
 --[[
  Script made by Lee (Discord: l33_) - www.trainorcreations.com
  If you want to support my work, feel free to donate at https://trainorcreations.com/donate
  PS. Stop ripping off my work and selling it as your own.
 ]]--
local btnHide = {"statsButton", "botButton"}

function hideButtons()
  if not modules.game_buttons.contentsPanel.buttons then return end
  for i, child in ipairs(modules.game_buttons.contentsPanel.buttons:getChildren()) do
    --warn(child:getId())
    if table.contains(btnHide, child:getId()) then
      child:hide()
    end
  end
end

UI.Button("Hide Buttons", function()
    hideButtons()
end)

hideButtons() -- hides as soon as bot loads

22 Oct 2023
Ads