Hi, how can I make this script:
to make the NPC randomize it each X second?
Code:
function onThink()
local random = math.random(3)
if random == 1 then
selfSay("hello")
elseif random == 2 then
selfSay("hi")
elseif random == 3 then
selfSay("hey")
end
end
Last edited: