Issue:
When using Sound.Pitch
within a script, Script Analysis refers the user to use Pitch
as Sound.Pitch
is deprecated. Sound.Pitch
is deprecated in favor of Sound.PlaybackSpeed
.
Expected Behavior:
Script Analysis should refer the user to use PlaybackSpeed
instead of Pitch
.
See: Sound | Roblox Creator Documentation
See: Sound | Roblox Creator Documentation
Reproduction:
local So: Sound = Instance.new'Sound'
So.Pitch = 5
Put this in any BaseScript
in Roblox Studio and open Script Analysis
in the View
tab on the top.
Attached Pictures: