Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Sounds cannot be heard ? NEED HELP

Asked by
Bulvyte 388 Moderation Voter
7 years ago
Edited 7 years ago
    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 ???

0
Is this with FilteringEnabled set to true? einsteinK 145 — 7y
0
No Bulvyte 388 — 7y
0
Where is this script? And what type of script is it? darkelementallord 686 — 7y
0
Yeah the script is localscript... Bulvyte 388 — 7y

1 answer

Log in to vote
1
Answered by 7 years ago

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

0
But, if it cannot be heard in a localscript then my gun has to be in a normal script ? Bulvyte 388 — 7y
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 Increated 25 — 7y
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 Increated 25 — 7y
Ad

Answer this question