Try it in your browserpreview Source

Get FunctionLuau✎

A reference to a function declared elsewhere in this graph, as a value. Pure, so it needs no execution wire.

Pending review

Get Function
  • the language itself, so it works in Roblox and in Lune
  • pure — no execution pins, wire it anywhere

Outputs

  • fn:function

What it compiles to

Script StartonHitPrintValue
The graph this output was compiled from.
onHit() → ()−+FunctionPrintHitValue
luau
local function onHit(): ()
	print("Hit")
end

print(onHit)

Not reviewed yet