Function of Players
players.on_pickup
A stack taken off the ground, and one that landed on it. player is nil where the world dropped it, or where they have already left.
players.on_pickup(fn: (player: Player?, item: string, count: number) -> ()) → Connection
Parameters
fn(player: Player?, item: string, count: number) -> ()Returns
Connection