ReferenceSignals

firesignal

Runs every Luau connection of a signal on this client with the arguments you give.

Syntax

firesignal(signal: RBXScriptSignal, ...: any) -> ()

Also available as

fire_signal

Parameters

ParameterTypeDescription
signalRBXScriptSignalThe event to fire.
...anyThe arguments its connections receive.

Description

Only connections on your client run; nothing is sent to the server. Use it to trigger a game's own handlers, for example a button's click handler, without the input. For a signal the server should see, use replicatesignal.

Example

local button = game.Players.LocalPlayer.PlayerGui.Shop.Buy
firesignal(button.MouseButton1Click)

firesignal(workspace.ChildAdded, Instance.new("Part"))

These are Game executor contracts. Check build requirements and session lifetimes before using them.