Skip to content

Instantly share code, notes, and snippets.

View banovion's full-sized avatar

banov banovion

View GitHub Profile

Works by:

  1. suspending the thread via an instance function that yields or via task.wait
  2. resuming the thread via coroutine.resume

Highlights:

  • hides return values from hooks
  • breaks those that "bypass" it (example: Simple Spy)
  • works on any instance function that yields
  • calling those functions will return the return values of the previous yield
  • probably has other uses, i couldnt be bothered to explore