Tool
Tool : BackpackItem
Overview
Properties
CanBeDropped
bool
CanBeDropped is a boolean property that determines whether the tool can be dropped by the player.
Code Samples
local Tool = script.Parent
Tool.CanBeDropped = true
Enabled
bool
Currently not supported.
Code Samples
Grip
CFrame
Currently not supported.
Code Samples
GripForward
Vector3
Currently not supported.
Code Samples
GripPos
Vector3
Currently not supported.
Code Samples
GripRight
Vector3
Currently not supported.
Code Samples
GripUp
Vector3
Currently not supported.
Code Samples
ManualActivationOnly
bool
Currently not supported.
Code Samples
RequiresHandle
bool
Currently not supported.
Code Samples
ToolTip
string
Currently not supported.
Code Samples
Methods
Activate
Currently not supported.
Parameters
Return
void
Code Samples
Deactivate
Currently not supported.
Parameters
Return
void
Code Samples
Events
Activated
Currently not supported.
Parameters
Code Samples
Deactivated
Currently not supported.
Parameters
Code Samples
Equipped
This event is triggered when the tool is equipped by the player. It allows you to define behaviors or actions that occur when the tool is made active.
Parameters
Code Samples
local Tool = script.Parent
local function OnEquipped()
print("Tool Equipped!")
end
Tool.Equipped:Connect(OnEquipped)
Unequipped
This event is triggered when the tool is unequipped by the player. It allows you to define behaviors or actions that occur when the tool is no longer active or in use.
Parameters
Code Samples
local Tool = script.Parent
local function OnUnequipped()
print("Tool Unequipped!")
end
Tool.Unequipped:Connect(OnUnequipped)
Last updated