Forest Logo
search
package_2

quill-rblx-lifecycles

By @featherfall-org

Roblox

Mirrored

Lifecycles

Adds a bunch of RunService lifecycles:

  • on_heartbeat -> RunService.Heartbeat
  • on_post_simulation -> RunService.PostSimulation
  • on_pre_animation -> RunService.PreAnimation
  • on_pre_render -> RunService.PreRender -- Doesn't get registered on the server
  • on_pre_simulation -> RunService.PreSimulation

Usage

local MySingleton = {}

function MySingleton.on_heartbeat(dt: number)
    -- Ran every Heartbeat
end

...

You may also define new or override existing lifecycles for the client and server with rblx_lifecycles.implement_client_lifecycle and rblx_lifecycles.implement_server_lifecycle respectively.

implement_lifecycle: (
    name: string,
    event: RBXScriptSignal
) -> ()

Package Details

Install command (Click to copy)


Version

0.1.0-alpha.1

License

MIT

check_circle

Safe for commercial use

Automated license review — not legal advice.