Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Sounds cannot be heard ? NEED HELP

	if FireSound then
	ff = Instance.new("Sound")
	bb = Instance.new("Sound")
	bb.SoundId =''-- bullet 
	ff.SoundId ='' -- fire
	bb.Volume = 1
	ff.Volume = 1
	bb.Pitch = 0.8
	ff.Pitch = 1
	bb.Parent = script.Parent.A1
	ff.Parent = script.Parent.Main
	bb:Play()	
	ff:Play()

Basically these are from my gun, when u shoot it emits sounds from special parts, but my ff and bb are marked as blue ~~~~ lines, also my friend cannot hear these sounds when i shoot ?? whats the prob

P.s i removed the sounds so people don't take them

PLS people help me ;-;

I already know that its a localscript causing this but i don't know how to fix it ? so someone pls ???

4 comments

0

Is this with FilteringEnabled set to true?

0

No

0

Where is this script? And what type of script is it?

0

Yeah the script is localscript...

1 answer

Ensure the script is not a localscript. That's my guess.

3 comments

0

But, if it cannot be heard in a localscript then my gun has to be in a normal script ?

0

I think you can call a module script (Which is global) from a local script. Not entirely sure, here's the wiki page: http://wiki.roblox.com/index.php?title=API:Class/ModuleScript

0

I think you can call a module script (Which is global) from a local script. Not entirely sure, here's the wiki page: http://wiki.roblox.com/index.php?title=API:Class/ModuleScript

This discussion is preserved as it was. New answers, comments, and votes are closed.