keeps repeating the same error forever and does not stop.
Can I see the the script? Line 90 to line 100.
sound
is not defined at line 94. If we could see the lines around that code and where you define sound we can help more. Otherwise, we can’t solve a problem from a error.
Where did you try to play the sound from? and can you show me the script?
I don’t know a lot about sound but to me it looks like you are trying to compare a boolean value to playing.
‘playing’ is not defined (at least from where I can see) so you might want to change ‘playing’ to true or false depending on what you want to do.
thats the default sound playing script from roblox…
Oh, like I said I know nothing about sound.
Could you copy and paste the entire script into a code block so we can see what the problem is? I’m guessing sound is not defined, therefore you can not index it. Maybe try defining sound somewhere or fixing where it was dedined?
If you have found a solution to this, remember to post the solution in case others have a similar issue, and mark that post as the solution.
Otherwise is your still have a problem, please copy the raw code from that script into a reply.
Put 3 of these ` symbols above and below the code so it formats correctly, or select the code and click the code icon in the formatting tools.
`` `
-- like so (without the spaces)
` ``
I found out that if i turn streaming enabled on, this error will happen
Turn it back on.
Use Instance:WaitForChild(childName)
, because StreamingEnabled
forces the use of it on client.
Can i just put this in any server script?
Server scripts do not need :WaitForChild()
, unless they are objects which are user-generated. Could you provide what sound
is in the variable?
I have alot of sounds everywhere so its very hard for me to find, but ill just turn streaming enabled off.
I strongly doubt it’s a problem with StreamingEnabled specifically. Network streaming only pertains to BaseParts. Are you using a forked copy of the Sound script?
No, the only thing i forked is the chat, but when i made it default notthing change, only when i enable streaming enanbled does this error occur.
Could you try forking the chat script again? You might have accidentally changed something.