RBX.lua.Tool (Object)

From Legacy Roblox Wiki
Revision as of 00:20, 10 July 2008 by >Anaminus (CatUp; NOTOC)
Jump to navigationJump to search


Description

A tool is similiar to a HopperBin, as it is held in the Player's BackPack, or inventory.

It is different from a HopperBin, because it is attached to a brick, and sometimes a mesh. (For example, a rocket launcher)

Tools require scripting to function. However, you can create tools that allow you to wear items, like a temporary hat.

The mouse object can only be used via a LocalScript, And therefore all keyboard inputs must be handled by the client computer. A workaround to this is to use Values which can be changed to make the server sided Script function.

Functions

The Tool only incorporates the global functions.

Properties

In addition to the global properties, the Tool also uses these:

Events

In addition to the global events, the HopperBin also uses these: