PlayerScripts
A container for LocalScripts to be run on the client.
Memory category | Instances |
---|
Member index 16
Description
PlayerScripts is a container object located inside Player
objects within the Players game service. It is created automatically
when a player joins the game. Its main purpose is to contain
LocalScripts copied from the StarterPlayerScripts
container within the StarterPlayer game service, which happens once
upon creation. Descendant LocalScripts
of PlayerScripts will run
code on the client of the Player.
Unlike the Backpack and PlayerGui containers, the PlayerScripts container is not accessible to the server. Server Script objects will not run when parented to PlayerScripts.
History 45
- 573 Change ReturnType of RegisterTouchMovementMode from void to null
- 573 Change ReturnType of RegisterTouchCameraMovementMode from void to null
- 573 Change ReturnType of RegisterComputerMovementMode from void to null
- 573 Change ReturnType of RegisterComputerCameraMovementMode from void to null
- 573 Change ReturnType of ClearTouchMovementModes from void to null
- 573 Change ReturnType of ClearTouchCameraMovementModes from void to null
- 573 Change ReturnType of ClearComputerMovementModes from void to null
- 573 Change ReturnType of ClearComputerCameraMovementModes from void to null
- 462 Change ThreadSafety of TouchMovementModeRegistered from to Unsafe
- 462 Change ThreadSafety of TouchCameraMovementModeRegistered from to Unsafe
- 462 Change ThreadSafety of ComputerMovementModeRegistered from to Unsafe
- 462 Change ThreadSafety of ComputerCameraMovementModeRegistered from to Unsafe
- 462 Change ThreadSafety of RegisterTouchMovementMode from to Unsafe
- 462 Change ThreadSafety of RegisterTouchCameraMovementMode from to Unsafe
- 462 Change ThreadSafety of RegisterComputerMovementMode from to Unsafe
- 462 Change ThreadSafety of RegisterComputerCameraMovementMode from to Unsafe
- 462 Change ThreadSafety of GetRegisteredTouchMovementModes from to Unsafe
- 462 Change ThreadSafety of GetRegisteredTouchCameraMovementModes from to Unsafe
- 462 Change ThreadSafety of GetRegisteredComputerMovementModes from to Unsafe
- 462 Change ThreadSafety of GetRegisteredComputerCameraMovementModes from to Unsafe
- 462 Change ThreadSafety of ClearTouchMovementModes from to Unsafe
- 462 Change ThreadSafety of ClearTouchCameraMovementModes from to Unsafe
- 462 Change ThreadSafety of ClearComputerMovementModes from to Unsafe
- 462 Change ThreadSafety of ClearComputerCameraMovementModes from to Unsafe
- 309 Change Parameters of TouchMovementModeRegistered from (movementMode: TouchMovementMode) to ()
- 309 Change Parameters of TouchCameraMovementModeRegistered from (movementMode: TouchCameraMovementMode) to ()
- 309 Change Parameters of ComputerMovementModeRegistered from (movementMode: ComputerMovementMode) to ()
- 309 Change Parameters of ComputerCameraMovementModeRegistered from (movementMode: ComputerCameraMovementMode) to ()
- 309 Add ClearTouchMovementModes
- 309 Add ClearTouchCameraMovementModes
- 309 Add ClearComputerMovementModes
- 309 Add ClearComputerCameraMovementModes
- 301 Add TouchMovementModeRegistered
- 301 Add TouchCameraMovementModeRegistered
- 301 Add ComputerMovementModeRegistered
- 301 Add ComputerCameraMovementModeRegistered
- 301 Add RegisterTouchMovementMode
- 301 Add RegisterTouchCameraMovementMode
- 301 Add RegisterComputerMovementMode
- 301 Add RegisterComputerCameraMovementMode
- 301 Add GetRegisteredTouchMovementModes
- 301 Add GetRegisteredTouchCameraMovementModes
- 301 Add GetRegisteredComputerMovementModes
- 301 Add GetRegisteredComputerCameraMovementModes
- 176 Add PlayerScripts
Members 16
ClearComputerCameraMovementModes
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Unregisters all ComputerCameraMovementMode enums from the game settings menu.
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of ClearComputerCameraMovementModes from void to null
- 462 Change ThreadSafety of ClearComputerCameraMovementModes from to Unsafe
- 309 Add ClearComputerCameraMovementModes
ClearComputerMovementModes
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Unregisters all ComputerMovementMode enums from the game settings menu.
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of ClearComputerMovementModes from void to null
- 462 Change ThreadSafety of ClearComputerMovementModes from to Unsafe
- 309 Add ClearComputerMovementModes
ClearTouchCameraMovementModes
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Unregisters all TouchCameraMovementMode enums from the game settings menu.
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of ClearTouchCameraMovementModes from void to null
- 462 Change ThreadSafety of ClearTouchCameraMovementModes from to Unsafe
- 309 Add ClearTouchCameraMovementModes
ClearTouchMovementModes
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Unregisters all TouchMovementMode enums from the game settings menu.
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of ClearTouchMovementModes from void to null
- 462 Change ThreadSafety of ClearTouchMovementModes from to Unsafe
- 309 Add ClearTouchMovementModes
ComputerCameraMovementModeRegistered
Parameters (0) | ||
---|---|---|
No parameters. |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 462 Change ThreadSafety of ComputerCameraMovementModeRegistered from to Unsafe
- 309 Change Parameters of ComputerCameraMovementModeRegistered from (movementMode: ComputerCameraMovementMode) to ()
- 301 Add ComputerCameraMovementModeRegistered
ComputerMovementModeRegistered
Parameters (0) | ||
---|---|---|
No parameters. |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 462 Change ThreadSafety of ComputerMovementModeRegistered from to Unsafe
- 309 Change Parameters of ComputerMovementModeRegistered from (movementMode: ComputerMovementMode) to ()
- 301 Add ComputerMovementModeRegistered
GetRegisteredComputerCameraMovementModes
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of GetRegisteredComputerCameraMovementModes from to Unsafe
- 301 Add GetRegisteredComputerCameraMovementModes
GetRegisteredComputerMovementModes
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of GetRegisteredComputerMovementModes from to Unsafe
- 301 Add GetRegisteredComputerMovementModes
GetRegisteredTouchCameraMovementModes
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of GetRegisteredTouchCameraMovementModes from to Unsafe
- 301 Add GetRegisteredTouchCameraMovementModes
GetRegisteredTouchMovementModes
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of GetRegisteredTouchMovementModes from to Unsafe
- 301 Add GetRegisteredTouchMovementModes
RegisterComputerCameraMovementMode
Parameters (1) | ||
---|---|---|
cameraMovementMode | ComputerCameraMovementMode | |
Returns (1) | ||
null |
Registers that a computer camera movement mode is available to be selected from the game menu.
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of RegisterComputerCameraMovementMode from void to null
- 462 Change ThreadSafety of RegisterComputerCameraMovementMode from to Unsafe
- 301 Add RegisterComputerCameraMovementMode
RegisterComputerMovementMode
Parameters (1) | ||
---|---|---|
movementMode | ComputerMovementMode | |
Returns (1) | ||
null |
Registers that a computer movement mode is available to be selected from the game menu.
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of RegisterComputerMovementMode from void to null
- 462 Change ThreadSafety of RegisterComputerMovementMode from to Unsafe
- 301 Add RegisterComputerMovementMode
RegisterTouchCameraMovementMode
Parameters (1) | ||
---|---|---|
cameraMovementMode | TouchCameraMovementMode | |
Returns (1) | ||
null |
Registers that a touch camera movement mode is available to be selected from the game menu.
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of RegisterTouchCameraMovementMode from void to null
- 462 Change ThreadSafety of RegisterTouchCameraMovementMode from to Unsafe
- 301 Add RegisterTouchCameraMovementMode
RegisterTouchMovementMode
Parameters (1) | ||
---|---|---|
movementMode | TouchMovementMode | |
Returns (1) | ||
null |
Registers that a touch movement mode is available to be selected from the game menu.
Thread safety | Unsafe |
---|
History 3
- 573 Change ReturnType of RegisterTouchMovementMode from void to null
- 462 Change ThreadSafety of RegisterTouchMovementMode from to Unsafe
- 301 Add RegisterTouchMovementMode
TouchCameraMovementModeRegistered
Parameters (0) | ||
---|---|---|
No parameters. |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 462 Change ThreadSafety of TouchCameraMovementModeRegistered from to Unsafe
- 309 Change Parameters of TouchCameraMovementModeRegistered from (movementMode: TouchCameraMovementMode) to ()
- 301 Add TouchCameraMovementModeRegistered
TouchMovementModeRegistered
Parameters (0) | ||
---|---|---|
No parameters. |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 462 Change ThreadSafety of TouchMovementModeRegistered from to Unsafe
- 309 Change Parameters of TouchMovementModeRegistered from (movementMode: TouchMovementMode) to ()
- 301 Add TouchMovementModeRegistered