Sounds in cutscenes

Hello Again.

I’ve been trying to mess around with adding sounds to cutscenes? I’ve been having lots of trouble to get the sound to start playing when a cutscene starts playing.

Any tips of scripts that could do this for me?

Thanks.

1 Like

Personally, although it being pricey, I would just play the audio from the beginning, and add silence in the audio where the audio isn’t needed

Could you tell me possibly how to do that?

Most likely Audacity or an audio editing programme would be best, although the lengthier the cutscene the higher the price

What type of script is playing the cutscene?

It’s on a touched part event. Whenever the player enters a certain space.

1 Like

Are you using clonetrooper1019’s plugin?

No? Does it help? What doe sit do.

The cutscene editor? I’ve dappled with it.

Let’s just try this…

Script (Put this in the part that plays the cutscene)

local Enabled = true
local Remote = game.ReplicatedStorage.PlayCS_Sound

local Cooldown = 60 -- Set this as the CS cooldown time

script.Parent.Touched:Connect(function(v)
	local Player = game.Players:GetPlayerFromCharacter(v.Parent)
	if Player and Enabled then
		Enabled = false
		Remote:FireClient(Player)
		wait(Cooldown)
		Enabled = true
	end
end)

Client (Put this in StarterGui)

local Remote = game.ReplicatedStorage.PlayCS_Sound

local CSSound = Instance.new("Sound", game.ReplicatedStorage)
CSSound.SoundId = "rbxassetid://3148272416" -- Your sound id

Remote.OnClientEvent:Connect(function()
	CSSound:Play()
end)
1 Like