Maybe you can use some sort of global table to keep track, I used to have this problem before and I solved it using global storage value:
function onUse(cid, item, frompos, item2, topos)
timeBoss()
end
function timeBoss()
setGlobalStorageValue(5000, addEvent(teleportPlayersToSaida...