Here is a script I made, that will send a rocket up at a decent speed with and explosion, and firework noise. Keep in mind I used a button(ClickDetector) so you may have to change the way the script is executed, if you want to make it fire when a player simply touches it.
01 | local button = script.Parent |
02 | local Firework = script.Parent.Parent.Part |
06 | local sound = Instance.new( "Sound" ) |
08 | sound.Parent = game.Workspace |
13 | local cracker = Instance.new( "Explosion" ) |
14 | cracker.Parent = workspace |
15 | cracker.Position = Firework.Position |
16 | cracker.BlastRadius = 8 |
17 | cracker.BlastPressure = 5 e+ 005 |
23 | Firework.Position = Firework.Position + Vector 3. new ( 0 , 1 , 0 ) |
31 | script.Parent.ClickDetector.MouseClick:connect(onClicked) |
Closed as Not Constructive by TheeDeathCaster and Pyrondon
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?