Olha estou com um systema taunt que já irei postar , más esse systema pode usar toda hora ai da lag no serve
Gostaria de deixar esse systema a cada 30 segundos
olha a script
local outfits = { } local intervalo_para_trocar_roupas = 1 * 500 -- em ms, 1 * 1000 = 1 segundo local function doChangeOutfit(cid, id, oldLook) if not isCreature(cid) then return true end local n = id or 1 local newOutfit = getCreatureOutfit(cid) newOutfit.lookType = outfits[oldLook][n] doSetCreatureOutfit(cid, newOutfit, -1) if n < #outfits[oldLook] then addEvent(doChangeOutfit, intervalo_para_trocar_roupas, cid, n + 1, oldLook) else doCreatureSetNoMove(cid, false) doRemoveCondition(cid, CONDITION_OUTFIT) end end function onSay(cid, words, param) if getCreatureCondition(cid, CONDITION_OUTFIT) and getCreatureNoMove(cid) then return true end if not outfits[getCreatureOutfit(cid).lookType] then doPlayerSendCancel(cid, "Você não está usndo o outfit necessário.") return true end doCreatureSetNoMove(cid, true) doChangeOutfit(cid, 1, getCreatureOutfit(cid).lookType) return true end