Help making ooc Interval

Hi facepuncher’s! I’ve been trying to make a OOC (out of character) Interval but unfortunately I couldn’t…
My Question is.

  • How would I make a simple “out of character” Interval?

Thanks in advanced! :slight_smile:

interval? What does this mean…

Example: You can only type one message within 120 secound.

CurTime()

local oldtime = CurTime()

if(CurTime() - oldtime > 120) then
//allow
end

Thanks, If I get stuck I might come back.
Thanks again :slight_smile: