GBX.lua.Hat (Object): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{CatUp|Class reference}}
{{CatUp|Class reference}}
The Hat object is one that allows you to wear things on your head. You have to have to have a part named "Handle" as the hat's child in order for it to work.
The Hat object is one that allows you to wear things on your head. You have to have to have a part named "Handle" as the hat's child in order for it to work.


==Functions==
==Functions==
The Hat object has been stripped of it's functions to prevent fake hats being sold. The global functions do not apply to the hat object.
The Hat object only incorporates the global functions.
 
Note that the [[Clone (Function)|Clone]] method does not work as expected, it has been disabled to prevent fake hats from being sold.


==Properties==
==Properties==
Line 17: Line 18:
The Hat object only incorporates the global events.
The Hat object only incorporates the global events.


[[Category:Goodblox Lua Objects]]
[[Category:GoodBlox Lua Objects]]
[[Category:Character]]
[[Category:Character]]

Latest revision as of 20:05, 23 September 2021

The Hat object is one that allows you to wear things on your head. You have to have to have a part named "Handle" as the hat's child in order for it to work.

Functions

The Hat object only incorporates the global functions.

Note that the Clone method does not work as expected, it has been disabled to prevent fake hats from being sold.

Properties

In addition to the global properties, the Hat also has these:

Events

The Hat object only incorporates the global events.