PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
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.

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.

Tool.Equipped:Connect(function(mouse)
    print("A tool was equipped")
end)