Open Asterune
Tool

Tool

Represents an equippable player tool.

Creatable
Instance.new("Tool")
Inherits
Instance
Replication
Standard

Behavior

Tool represents an equippable player tool.

Summary

Members19
Properties11
Methods4
Events4

Properties

CanBeDropped

Tool.CanBeDropped: boolean = true

Whether the player can drop the Tool.

Enabled

Tool.Enabled: boolean = true

Whether this tool is enabled.

Grip

Tool.Grip: CFrame = CFrame.new(0, 0, 0)

The local transform used to hold the Tool.

GripForward

Tool.GripForward: Vector3 = Vector3.new(0, 0, -1)

The forward basis vector of the Tool's grip.

GripPos

Tool.GripPos: Vector3 = Vector3.new(0, 0, 0)

The position component of the Tool's grip.

GripRight

Tool.GripRight: Vector3 = Vector3.new(1, 0, 0)

The right basis vector of the Tool's grip.

GripUp

Tool.GripUp: Vector3 = Vector3.new(0, 1, 0)

The up basis vector of the Tool's grip.

ManualActivationOnly

Tool.ManualActivationOnly: boolean = false

Whether the Tool requires activation through its API rather than automatic input handling.

RequiresHandle

Tool.RequiresHandle: boolean = true

Whether the Tool requires a child Part named Handle.

TextureId

Tool.TextureId: Content = ""

The asset identifier of the mesh texture.

ToolTip

Tool.ToolTip: string = ""

The text displayed for the Tool in the inventory interface.

Methods

Activate

Tool:Activate(): ()

Activates the Tool.

Deactivate

Tool:Deactivate(): ()

Ends the Tool's active state.

GetExecutionGroup

Tool:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

TryActivate

Tool:TryActivate(player: Player, cooldownSeconds: number): boolean

Attempts to activate the Tool and reports whether activation succeeded.

Events

Activated

Tool.Activated: RBXScriptSignal

Fires when the Tool is activated.

Deactivated

Tool.Deactivated: RBXScriptSignal

Fires when the Tool is deactivated.

Equipped

Tool.Equipped: RBXScriptSignal

Fires when the Tool is equipped.

Unequipped

Tool.Unequipped: RBXScriptSignal

Fires when the Tool is unequipped.

Inherited members

Inherited47

Instance