see this script dont make random raids,only morgaroths,and i wanna make a random anyone can help me PLS im rep
LUA:
local storage = 1344
local raids = {
"Morgaroth",
"Ghazbaran",
"Undead Jester",
"goblin",
"Dryads",
"Halloweenhare",
"Hornedfox",
"Necropharus",
"Wolfsraid",
"UndeadArmy",
"UndeadDarashia",
"The Old Widow",
"Scarabs",
"Rats",
"Quara",
"Pirates",
"Orshabaal",
"OrcsThais",
"Ferumbras",
"Elfs",
"Demodras",
"Barbarian"
}
function onThink(interval, lastExecution, thinkInterval)
if getGlobalStorageValue(storage) == -1 or getGlobalStorageValue(storage) < os.time() then
executeRaid(raids[math.random(1, #raids)])
setGlobalStorageValue(storage, os.time() + 9 * 60 * 60)
end
return TRUE
end