Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to add Audio During Certain Scenes in a Cutscene? [closed]

Asked by 10 years ago

I've seen crazyman32 do it in his game "Terra Novus"

I want to be able to add a sound during a cutscene scene.

The cutscene is the camera is assumed a car. The "car" is driving, then it slips and crashes. How do I add a car crash noise to that part of the scene?

Note: I do not know anything about the camera or scripts for it. So, I need someone to help me with this step by step!

Locked by JesseSong

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

3 answers

Log in to vote
1
Answered by
Merely 2122 Moderation Voter Community Moderator
10 years ago

You'll have to create a 'Sound' object and play it. I recommend placing the Sound object inside PlayerGui so that only the local player can hear the sound.

Here's an example local script that you could place in the StarterGui that plays a sound:

--make sure this is in a LocalScript
local player = game.Players.LocalPlayer

local sound = Instance.new("Sound")
sound.SoundId = "http://www.roblox.com/asset?id=132758219"
sound.Parent = player.PlayerGui

sound:Play()

You may have to add wait statements to time the sound at the right moment in the cutscene.

Ad
Log in to vote
0
Answered by
FiredDusk 1466 Moderation Voter
7 years ago

Ayeeeeeeeeeeeee

Log in to vote
0
Answered by 5 years ago

lol this is not closed yet.