Deactivated (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Nominate
Created with event details and example.
 
>Nominate
Created with event details and example.
(No difference)

Revision as of 16:37, 30 December 2010

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)