#when i try to play a sound in a script the rolloff wont work
1 messages · Page 1 of 1 (latest)
- 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
sounds so chatgpt lmao
meat riding the gpt
Bro, if you weren't going to say it based on your own thoughts, you shouldn't have said it because he would have directly told chatgpt.
wrong, sounds can work in SoundService, and screen guis in StarterGui
please give more information
also there is a solid 0% chance devnameddavid is 16
its not even him bro
i know 😭
devnameddavid wouldnt ask ai
sum 10 year old pretending to be him
he would ask his team
i found his youtube channel aswell
horrendous posts
i think hes 7
if i had to guess
hes not even trying 😭
using the ai pfp everywhere
he also a 720p video of the devs footage and replies to the comment as if hes the real dev names david
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
if i could be bothered i would
bio: "i do advertise and i script"
lol if i had a yt it will be my discord pfp
** You are now Level 4! **
why are u posing as a scripter dude
we call those skids
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