Tool.setBlockSprint

Sets whether the player is unable to sprint. Sprinting is normally blocked when the player is attacking, blocking, aiming, etc.

Kind: Function

Environments: Game

Game

tool:setBlockSprint( block )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
tool Tool The tool.
block boolean Whether the player's sprinting is blocked.