I am trying to make a subwoofer for my game but while I test it the woofer doesn't move it just stays at "0". The model is in workspace and the constraint is a slider servo, worked well when I clicked "Run" instead of "Play". Heres the script:
while wait() do
script.Parent.CylindricalConstraint.TargetPosition = "0." .. (math.floor(script.Parent.Sound.PlaybackLoudness)/15) --The value is = 0
end
I've also tried printing it but came out as 0. Any ideas?

6 comments
playback loundness only works in localscript
@royaltoe I tired localscript in the model too. Didn't work :(
any errors?
@royaltoe no. No errors at all. Value for loudness is 0.
doesn't / mean divide?
yes