WeaponSwing
Fires when a weapon swings.
Example usage:
Parameters
player: Player
The player that is swinging the weapon.
weapon: ItemType
The ItemType of the weapon being swung.
hitEntity: Entity | nil
The entity that was hit by the sword swing (may not exist if the swing missed).
cancelled: bool [modifiable]
If set to true, the weapon swing will be cancelled.
Last updated