Hi developers, xJxck_yy here.
PS: I am not really a Lua scripter, so keep that in mind.
I have a rocket, and at 8 seconds before launch, 4 Liquid Fuel rocket engines ignite, and let out a flame. This happens when clicking a button in the crew cabin.
script.Parent.MouseClick:Connect(function() local location = script.Parent.Parent.Parent.Parent.Parent["Core Stage (2nd stage)"] location.CoreStageParticle1.ParticleEmitter.Enabled = true location.CoreStageParticle2.ParticleEmitter.Enabled = true location.CoreStageParticle3.ParticleEmitter.Enabled = true location.CoreStageParticle4.ParticleEmitter.Enabled = true
5 seconds later, Solid Rocket Boosters ignite, 3 seconds before launch.
wait(5) local srb = script.Parent.Parent.Parent.Parent.Parent["Solid Rocker Boosters (1st Stage)"] srb.SRBIgnition1.ParticleEmitter.Enabled = true srb.SRBIgnition2.ParticleEmitter.Enabled = true wait(2) game.Workspace.weldpart:Destroy() for i = 0,15000,1 do wait(0.1) game.Workspace.c["3rd Stage"].MainPart8.BodyVelocity.Velocity = Vector3.new(0,i,0) end end)
This works just fine, but I need to know how to add in sound. As soon as the button is pressed and the flames for the Liquid Fueled Engines come to life, I want to play a sound, I have named this CoreStageNoise
5 seconds later, when the Solid Rocket Boosters ignite, I want a sound to play, it is named Rocket launch
After this happens, I want to play another sound named SRB Noise
I need SRB Noise to come on just before Rocket launch ends. Rocket launch can’t be looped, but CoreStageNoise and SRB Noise need to be looped.
The button that is pressed is named Launch
PS: I had @seancool07777, one of my friends, do the scripts mentioned above, but I want to try to do this.
Any help is appreciated,
xJxck_yy