The script I have doesn’t seem to be playing the sound…
–Script
local Remotes = game.ReplicatedStorage.Remotes
--local AudioFolder = game.Workspace.Narration
--local debounce = false
--local audioIsPlaying = false
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
Remotes.Intro.VoiceIntro1:FireClient(player)
print("Test")
end
end
end)
–LocalScript
local Player = game:GetService("Players")
local SoundService = game:GetService("SoundService")
local Subtitle = Player:WaitForChild("PlayerGui"):WaitForChild("Subtitles"):WaitForChild("Subtitle")
local SoundFolder = game.Workspace.Narration
local Remotes = game.ReplicatedStorage.Remotes
--//Intro Narration
Remotes.Intro.VoiceIntro1.OnClientEvent:Connect(function(plr)
local VoiceIntro1 = SoundFolder.Intro.voice_intro_1_00
SoundService:PlayLocalSound(VoiceIntro1)
--subtitle.Text = "Text"
end)
Is your Roblox volume up when you test it (via the in-game settings menu)? I don’t see any problems. If you have any errors regarding this make sure to send those too.