Player:SwitchWeapon(Player, Weapon, number = 0)

shared
Switch the player's weapon.

Arguments

Returns

  • boolean Whether the weapon was switched.

Examples

Player:SwitchWeapon – Switch the player's weapon.