RBX.lua.Workspace (Service): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
m RBX.Lua.Workspace moved to RBX.Lua.Workspace (Service)
>Anaminus
No edit summary
Line 1: Line 1:
{{CatUp|Class reference}}
__NOTOC__
The Workspace is where All Bricks are stored. MOST other things such as Scripts, Weapons, Models, and Spawn Points are stored here too. The Workspace is Absolutely NEEDED for a game to function Correctly. This article isn't that good but you get the  idea.
The Workspace is where All Bricks are stored. MOST other things such as Scripts, Weapons, Models, and Spawn Points are stored here too. The Workspace is Absolutely NEEDED for a game to function Correctly. This article isn't that good but you get the  idea.
==Example==
{{service}}
<pre>
game.Workspace
</pre>
That would access the Workspace Folder of <B>game</B>.
your Physical Character is in <B>game.Workspace</B>


==Properties==
==Properties==

Revision as of 21:59, 6 August 2008


The Workspace is where All Bricks are stored. MOST other things such as Scripts, Weapons, Models, and Spawn Points are stored here too. The Workspace is Absolutely NEEDED for a game to function Correctly. This article isn't that good but you get the idea.

This is a Game Service; it cannot be created with Instance.new - it must be obtained using the GetService method, or as a child of game.


Properties

  • PrimaryPart
  • ModelInPrimary

Functions

  • InsertContent()
  • ZoomToExtents()

Events

Workspace only incorporates global events