I have some guns in my game that I converted to FE. They now kill players. The only problem is the sound...I can hear my gun in game but not other players. The sound only fires locally and not for the entire server. I know this is probably a simple change, but I am a complete beginner too scripting. If you view this and are able to help, thank you. Below are two scripts that I found that relate to the weapons fire sound.
function OnEquipped(mouse)
Handle.EquipSound:Play()
RecoilAnim = WaitForChild(Tool, 'Recoil')
FireSound = WaitForChild(Handle, 'FireSound'
function OnFire()
if IsShooting then return end
if MyHumanoid and MyHumanoid.Health > 0 then
if RecoilTrack and AmmoInClip > 0 then
RecoilTrack:Play()
end
IsShooting = true
while LeftButtonDown and AmmoInClip > 0 and not Reloading do
if Spread and not DecreasedAimLastShot then
Spread = math.min(MaxSpread, Spread + AimInaccuracyStepAmount)
UpdateCrosshair(Spread)
end
DecreasedAimLastShot = not DecreasedAimLastShot
if Handle:FindFirstChild('FireSound') then
Handle.FireSound:Play()
script.Parent.Flash.Light.Enabled = true
Handle.Flash.Enabled = true
end

1 comment
Or just tell me how to generally do it. I can go off of that.