Services

Services Docs & Object organization docs

Workspace

Handles objects that exist in the 3D world, such as BaseParts and Attachments.

Environment

Containers like Lighting and SoundService that contain objects for environmental settings and elements.

Replication

Containers for content and logic that replicates between the server and client, such as ReplicatedStorage and ReplicatedFirst.

Server

Containers for server-side only content and logic, such as ServerScriptService and ServerStorage.

Client

Containers for client-side content and logic, such as StarterPlayer and StarterGui.

Chat

Containers for objects that enable chat features, such as VoiceChatService and TextChatService.

Basics

Core

Instance is the base class for all classes in the Roblox class hierarchy which can be part of the Data Model tree.

LuaSourceContainer is the base class for all objects which container Lua code.

Camera is the player camera. See here for examples on how to edit the default camera behaviors.

Parts classes

  • BasePart is an abstract base class for in-world objects. (Docs)

  • A Part is a subclass of BasePart, it can be one of the five primitive shape.

  • A MeshPart is a subclass of BasePart, used for custom meshes. There is also SpecialMeshand other specific mesh types.

Containers

  • A Model is a container for objects, they are intended to represent geometric groupings.
  • A Folder is a container for scripts.

Scripts

Script (Docs) Can access server-side objects, properties and events.

LocalScript (Docs) Runs on the client side. It is used to access client-only objects.

ModuleScript (Docs) Used with require, returns only one value.

Data types

A CFrame holds a location and a rotation