Skip to main content
Get a handle from api.players.get(player), then call its methods with : syntax. Every call reads the latest value. These are there in every game that has api.players.

Handle methods

State helpers

These live on api.players itself, not on a handle.

Signals

Call :Connect(callback) on these. Your callback always gets player first, so one callback can handle everyone; filter inside if you only care about one. They get cleaned up when your script unloads.

Example