How To Get The Player Master Volume From Player Settings?

ive searched everywhere for the solution but found nothing , any help will be appreciated ,

and after long research i have found this only script:

local volume = UserSettings().GameSettings.MasterVolume

print(volume)

but it just prints this error:

The current thread cannot read ‘MasterVolume’ (lacking capability RobloxScript)

i just found out that it is not possible for reading using a script it can only be read by core scripts

apparently it is a ROBLOX SCRIPT SECURITY
anyways i will not close this topic because there may be a work around . any help will be appreciated

1 Like

There is a thing called playback loudness, and that can be used to find a song’s volume, but I am not sure if it changes value based off of a players device volume.

Not possible anymore from what I know, they changed the access to it in 2022.
image
I don’t mind the WriteSecurity change but it doesn’t really make any sense why the read security is also CoreScript only.