Lua Events/OnTick
Event
OnTick
Description
Triggered every tick, try to not use this one, use EveryTenMinutes instead because it can create a lot of frame loss/garbage collection.
Parameters
- Double The number of ticks.
Examples
local function OnTick(numberTicks) -- Your code here end Events.OnTick.Add(OnTick)