Deactivated (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
No edit summary
>Emess
categorizing
Line 17: Line 17:
tool.Deactivated:connect(toolDeactivated)
tool.Deactivated:connect(toolDeactivated)
</pre>}}
</pre>}}
[[Category:Events]]

Revision as of 22:33, 13 May 2011

Deactivated ( )
Description Fired immediately after the Activated event.
Member of: Tool


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

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

tool.Deactivated:connect(toolDeactivated)