Signal:fire
method#Sends a value to every script listening to the Signal, after checking it fits the schema.
Signal:fire(payload: T) -> ()
example
scored:fire({ amount = 1 })Use it fortelling your other scripts that a goal was scored or a boss was defeated.
payloadThe value to send. It must fit the Signal's schema.