Activated (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
No edit summary
>Camoy
No edit summary
(No difference)

Revision as of 21:47, 26 December 2010

Activated ( )
Description Fired when a tool is used.
Member of: Flag, Tool


Example
local tool = Instance.new("Tool")
tool.Parent = game.Players.Player.Backpack
local function onActivation()
  print("Tool activated")
end
tool.Activated:connect(onActivation)