backupRoswaal has moved to roswaal.app. These pages are a backup copy.Go to roswaal.app

DelayRoblox✎

Runs the function after a delay, without yielding here. delay() the global is deprecated in favour of this.

Pending review

DelayThread1SecondsFunction
  • needs the Roblox engine — its datatypes, its DataModel or its scheduler
  • takes 0 to 8 inputs, set per node
  • names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals

Inputs

  • in:execution
  • Seconds:number= 1
  • Function:functionmust be wired

Outputs

  • then:execution
  • Thread:any

What it compiles to

luau
task.delay(1, fn)

Not reviewed yet