Tool.isLocal
Returns whether the player holding the tool is the as sm.localPlayer.
Kind: Function
Environments: Game
Game
tool:isLocal( )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
tool |
Tool | The tool. |
Returns:
| Type | Description |
|---|---|
| boolean | Whether the player is the local player. |