Properties
bool
[NotReplicated]
|
Determines whether assets created by other uses can be sold in the game. |
NewAnimationRuntimeSetting
[NotScriptable]
|
ClientAnimatorThrottlingMode
|
Camera
[NotReplicated]
|
The |
double
[NotReplicated]
|
The amount of time, in seconds, that the game has been running. |
float
|
Determines the height at which falling |
bool
[Hidden]
[NotReplicated]
[Deprecated]
|
Determines whether changes made from the client will replicate to the server or not. |
Vector3
|
float
|
Determines the acceleration due to gravity applied to falling |
HumanoidOnlySetCollisionsOnStateChange
[NotScriptable]
|
InterpolationThrottlingMode
|
MeshPartHeadsAndAccessories
[NotScriptable]
|
PhysicsSimulationRate
[Hidden]
[NotReplicated]
|
PhysicsSteppingMethod
[NotScriptable]
|
Sets how the solver will advance the physics simulation forward in time. |
AnimatorRetargetingMode
|
SignalBehavior
[NotScriptable]
|
StreamOutBehavior
[NotScriptable]
|
bool
|
Whether content streaming is enabled for the place |
int
[NotScriptable]
|
Minimum distance that content will be streamed to players with high priority |
StreamingPauseMode
[NotScriptable]
|
Whether streaming physics pause mode is active |
int
[NotScriptable]
|
Maximum distance that content will be streamed to players |
Terrain
[ReadOnly]
[NotReplicated]
|
A reference to the |
bool
[NotScriptable]
|
Determines whether |
ModelLevelOfDetail
|
BasePart
|
Points to the primary part of the |
Vector3
[NotReplicated]
[NotScriptable]
|
Editor-only property to set the orientation of the pivot. Scripts must use |
Vector3
[NotReplicated]
[NotScriptable]
|
Editor-only property to set the position of the pivot. Scripts must use |
CFrame
[NotReplicated]
|
Determines where the pivot of a |
Inherited from PVInstance: Show
Vector3
[NotReplicated]
[NotScriptable]
|
Editor-only property used to rotate the object around its pivot. Scripts must use |
Vector3
[NotReplicated]
[NotScriptable]
|
Editor-only property used to move the object. Scripts must use |
Vector3
[NotReplicated]
[NotScriptable]
|
Editor-only property to set the orientation of the pivot relative to a part. Scripts must use |
Vector3
[NotReplicated]
[NotScriptable]
|
Editor-only property to set the position of the pivot relative to a part. Scripts must use |
bool
|
Determines if an |
string
[ReadOnly]
[NotReplicated]
|
A read-only string representing the class this |
int
[Hidden]
[ReadOnly]
[NotReplicated]
[Deprecated]
|
The cost of saving the instance using data persistence. |
string
|
A non-unique identifier of the |
Instance
[NotReplicated]
|
Determines the hierarchical parent of the |
bool
[Hidden]
|
A deprecated property that used to protect |
int64
[Hidden]
[NotReplicated]
|
bool
[Hidden]
[NotReplicated]
[Deprecated]
|
string
[ReadOnly]
[NotReplicated]
[Deprecated]
|
Functions
void
|
Goes through all |
float
|
float
|
float
|
bool
|
Returns true if the game has the PGS Physics solver enabled. |
int
|
Returns the number of |
int
|
Returns an integer, between 0 and 100, representing the percentage of real-time that physics simulation is currently being throttled to. |
double
|
Returns the number of frames per second that physics is currently being simulated at. |
double
|
Returns the server epoch time in seconds. |
void
|
Creates joints between the specified |
void
|
Goes through all |
bool
|
Returns true if the game has the PGS Physics solver enabled. |
void
|
void
|
Determines whether physics throttling is enabled |
void
|
Breaks all joints between the specified |
void
|
Positions and zooms the |
void
|
Breaks connections between |
Tuple
|
Returns a description of a volume that contains all parts of a Model |
Vector3
|
Returns the size of the smallest bounding box that contains all of the |
CFrame
[Deprecated]
|
This value historically returned the CFrame of a central position in the model. It has been deprecated as it did not provide reliable results. |
Vector3
[Deprecated]
|
Returns the Vector3 size of the Model. |
CFrame
|
Returns the |
void
|
Goes through all |
void
|
Moves the |
void
[Deprecated]
|
Resets the rotation of the model’s parts to the previously set identity rotation, which is done through the |
void
[Deprecated]
|
Sets the identity rotation of the given model, allowing you to reset the rotation of the entire model later, through the use of the |
void
|
Sets the |
void
|
Shifts a |
void
[Deprecated]
|
void
[Deprecated]
|
void
[Deprecated]
|
void
[Deprecated]
|
Inherited from PVInstance: Show
void
|
This function destroys all of an |
Instance
|
Create a copy of an object and all its descendants, ignoring objects that are not |
void
|
Sets the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first descendant found with the given |
Actor
|
Returns the Actor associated with the Instance, usually the first Actor ancestor |
Variant
|
Returns the attribute which has been assigned to the given name |
RBXScriptSignal
|
Returns an event that fires when the given attribute changes |
Dictionary
|
Returns a dictionary of string → variant pairs for each of the |
Objects
|
Returns an array containing all of the |
string
[NotBrowsable]
|
Returns a coded string of the |
Array
[CustomLuaState]
|
Returns an array containing all of the descendants of the instance |
string
|
Returns a string describing the |
RBXScriptSignal
|
Get an event that fires when a given property of an object changes. |
bool
[CustomLuaState]
|
Returns true if an |
bool
|
Returns true if an |
bool
|
Returns true if an |
void
[Deprecated]
|
Sets the object’s Parent to nil, and does the same for all its descendants. |
void
|
Sets the attribute with the given name to the given value |
Instance
[CustomLuaState]
[CanYield]
|
Returns the child of the |
Objects
[Deprecated]
|
Returns an array of the object’s children. |
Instance
[Deprecated]
|
void
[Deprecated]
|
Instance
[Deprecated]
|
Objects
[Deprecated]
|
bool
[Deprecated]
[CustomLuaState]
|
bool
[Deprecated]
|
void
[Deprecated]
|
Events
RBXScriptSignal
|
Fires when the |
RBXScriptSignal
|
Fires whenever an attribute is changed on the |
RBXScriptSignal
|
Fired immediately after a property of an object changes. |
RBXScriptSignal
|
Fires after an object is parented to this |
RBXScriptSignal
|
Fires after a child is removed from this |
RBXScriptSignal
|
Fires after a descendant is added to the |
RBXScriptSignal
|
Fires immediately before a descendant of the |
RBXScriptSignal
|
Fires immediately before the instance is destroyed via |
RBXScriptSignal
[Deprecated]
|
Code Samples
ServerStorage Map Rotation
This is a very simple example of how a multiple map system can be made using ServerStorage.
It creates three dummy models (to take the place of maps), that are parented to ServerStorage. Then, it will load a random map (different to the previous map) and wait a specified duration on a loop.
Developers wishing to integrate something similar into their games should consider measures to ensure players respawn correctly, or go to a lobby during intermission periods.