#when i try to play a sound in a script the rolloff wont work

1 messages · Page 1 of 1 (latest)

mighty nest
#

So im trying to do something where it plays a sound in a script but the rolloff won't work.

plucky ridge
#
  1. The sound MUST be in a 3D object

Rolloff only works if the Sound is parented to a Part or Attachment.

❌ Won’t work:

Sound in SoundService
Sound in StarterGui
Sound in a Script

✅ Works:

Sound inside a Part
Sound inside an Attachment (best option)

Make sure your sound has:

RollOffMode → Inverse or Linear
MaxDistance → something like 50 or 100
MinDistance → something like 5

If you're playing the sound in a Script, make sure it's referencing the sound inside the part:
local part = workspace.Part
local sound = part:FindFirstChild("Sound")

sound:Play()

Hope this helped

half gate
upbeat dagger
upbeat dagger
shell sage
#

also there is a solid 0% chance devnameddavid is 16

safe lagoon
shell sage
#

i know 😭

safe lagoon
#

devnameddavid wouldnt ask ai

shell sage
#

sum 10 year old pretending to be him

safe lagoon
#

he would ask his team

shell sage
#

i found his youtube channel aswell

#

horrendous posts

#

i think hes 7

#

if i had to guess

safe lagoon
#

using the ai pfp everywhere

shell sage
#

he also a 720p video of the devs footage and replies to the comment as if hes the real dev names david

safe lagoon
#

we can report him as an impersonator in the grow a garden server lmao, not that im in it though so you need to sacrifice for us

shell sage
#

if i could be bothered i would

shell sage
plucky ridge
half latchBOT
#

studio** You are now Level 4! **studio

shell sage
#

we call those skids

mighty nest
# upbeat dagger please give more information

Im trying to make a rig play a sound and have rolloffmaxdistance and rolloffmindistance and for it to play at random times but when i try to script with the sound the rolloff doesnt work