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.1K
Skull on Screen #79
This will stop the CaveBot if a monster with skull is on screen.
316b | 12 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.
 ]]--
macro(100,"Monster Skull on Screen", function()
  local spectators = getSpectators(pos(), false)
  for i, spec in pairs(spectators) do
      if spec:isMonster() and spec:getSkull() == 4 then
          return CaveBot.setOff()
      end
  end

  if CaveBot.isOff() then
    return CaveBot.setOn()
  end
end)

25 Feb 2022
Ads