Probalo asi haber.
function high ( )
local id = getElementModel ( slothbot1 )
if id == 300 then
exports.extra_health:setElementExtraHealth(solthbot1, 1000)
outputChatBox("[bOSS]:Boss high spawned", getRootElement(), 155, 155, 155, false)
end
end
addEvent("onBotSpawn", true)
addEventHandler("onBotSpawn",getRootElement(),high)