Function of Players
players.on_drop
Calls fn when a stack lands on the ground; player is nil where the world dropped it or they have left.
players.on_drop(fn: (player: Player?, item: string, count: number) -> ()) → Connection
Parameters
fn(player: Player?, item: string, count: number) -> ()Returns
Connection