hello, im wondering if im doing something wrong?
this is my script btw
while wait() do
local attacks = {
npcmodule.kick(),
npcmodule.brawl()
}
local rng = math.random(1,#attacks)
local attack = attacks[rng]
attack()
end
when i run it, it does fine for the 2 times and then it just dies (it just said “Interval is empty” and then stops working, i assume the funcs just disappear idk im new.) . is there a way to fix / find a better way?