PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

Equipped

The Equipped event fires when a player when a player takes a Tool out of their Backpack to use. This event can be used to determine when a player stops using and puts a tool away.

This event does not fire when Tool/RequiresHandle is enabled and no handle is present.

The opposite of this event, Tool/Unequipped, can be used alongside this event to determine unequips a Tool by putting in back in their backpack.

Parameters

Name Type Default Description

The player’s mouse


Code Samples


Print when a Player Equips a Tool

The example shown below will print “A tool was equipped” each time the tool is equipped by the player. Please note that the below example assumes that you’ve already defined what “Tool” is.