Hello everyone, I have a couple remote events for sound and my roact. However, in studio they do fire but in roblox they don’t I am using nevermore for it’s packages and it seems to move ServerScriptService folders and scripts into replicated storage. Could this be a problem with nevermore or something else.
Remote Event Code:
RemoteEvents.OnSoundPlayRequest.OnClientEvent:Connect(function(SoundId, Volume, Parent, Looped)
local sound = Instance.new("Sound")
sound.SoundId = SoundId
sound.Volume = Volume
sound.Parent = Parent
sound.Looped = Looped
if sound.Loaded then
if sound.Looped then
if sound.Parent then
sound:Play()
return
else
SoundService:PlayLocalSound(sound)
return
end
else
sound.Ended:Connect(function()
sound:Destroy()
end)
if sound.Parent then
sound:Play()
return
else
SoundService:PlayLocalSound(sound)
return
end
end
end
end)