Deactivated (Event)

From Legacy Roblox Wiki
Revision as of 16:37, 30 December 2010 by >Nominate (Created with event details and example.)
Jump to navigationJump to search
Deactivated ( )
Description Fired immediately after the Activated event.
Member of: [[RBX.lua.Flag, Tool (Object)|Flag, Tool]]


Example
local tool = Instance.new("Tool")
tool.Parent = game.Players.Player.Backpack

function toolDeactivated()
print("tool deactivated!")
end

tool.Deactivated:connect(toolDeactivated)