PlayerScripts

PlayerScripts : Instance

Overview

PlayerScripts are containers designed to hold scripts that are executed when a player accesses the world.

Description

PlayerScripts allow creators to write and manage scripts specific to each player. By placing the scripts within the PlayerScripts instance, they can define behavior or functionality that needs to be handled individually for each player. During content creation, scripts can be added to the PlayerScripts container. At runtime, these scripts are loaded and executed on the player's avatar character, which is placed under the player instance or in the workspace. It is important to note that during runtime, the Player Scripts instance itself is not directly accessible. Instead, the scripts are executed from within the model of the player instance or their avatar character model.

Properties

Methods

Events