Default player and character scripts use deprecated functions and properties

While testing my place, I found that many of the default player and character scripts use deprecated functions and properties within their code. It has been explained many times how deprecation can negatively affect your code, so I was surprised to see traces of it here. The names of the scripts I found that do this are listed here.

List of scripts

LocalSound
Animate
BubbleChat
ChatScript
ChatMain
ChannelsBar
ChannelsTab
ChatBar
ChatChannel
ChatWindow
CommandProcessor
CurveUtil
MessageLogDisplay
ControlModule
ClickToMoveController
ClickToMoveDisplay
DynamicThumbstick
PathDisplay
TouchDPad
TouchJump
TouchThumbpad
TouchThumbstick
VRNavigation
VehicleController
BaseCamera
CameraUtils
ClassicCamera
Invisicam
LegacyCamera
OrbitalCamera
PopperCam
Poppercam_Classic
TransparencyController
ZoomController
Popper

Deprecated Functions in these scripts

:connect(),
:wait(),
:vectorToWorldSpace(),
:toAxisAngle()
:disconnect()

Deprecated Properties in these scripts

x
y
magnitude
p
Humanoid.Torso
lookVector
upVector
rightVector
unit
z

I’m very picky about making sure my code stays as up-to-date as possible, and looking at all of these default scripts using older, unrecommended functions and such makes me worried about functionality being lost as the updates go by.

4 Likes

This topic was automatically closed after 1 minute. New replies are no longer allowed.