BlockFriendlyDamage
Returns a function that plays a break sound (one that is specified or the default sound) when called. Intended for use in the OnBreakServer function of interactables.
Parameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
sound | Sound? | The sound. |
Returns
Section titled “Returns”(prop: Prop) -> ()