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
8 years ago
Edited 8 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 — 8y
0
No Bulvyte 388 — 8y
0
Where is this script? And what type of script is it? darkelementallord 686 — 8y
0
Yeah the script is localscript... Bulvyte 388 — 8y

1 answer

Log in to vote
1
Answered by 8 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 — 8y
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 — 8y
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 — 8y
Ad

Answer this question