Ok, so I have an interesting question.
So I have a rocketship I built that is supposed to clone and launch from the land. Problem is, I pre-declared the rocket and children variables as such:
local Rocket = game.ServerStorage.FullRocket
local Booster1 = Rocket.Rocket.Tanks.Booster --Booster 1 during seperation stage
local Booster2 = Rocket.Rocket.Tanks.Booster2 --Same as booster 1
local Tank = Rocket.Rocket:FindFirstChild("Fuel Tank") --Fuel tank for seperation
local ShuttleMain = Rocket.Shuttle["Cargo Bay"].Main --The main part which controls the rocket
local Effects = Rocket.Effects --The rockets effects, such as the fire and smoke
Question is, can I change the rocket variable and STILL be able to use the children without redefining? Like this:
local Rocket = game.ServerStorage.FullRocket
local Booster1 = Rocket.Rocket.Tanks.Booster --Booster 1 during seperation stage
local Booster2 = Rocket.Rocket.Tanks.Booster2 --Same as booster 1
local Tank = Rocket.Rocket:FindFirstChild("Fuel Tank") --Fuel tank for seperation
local ShuttleMain = Rocket.Shuttle["Cargo Bay"].Main --The main part which controls the rocket
local Effects = Rocket.Effects --The rockets effects, such as the fire and smoke
wait(1)
local Clone = Rocket:Clone()
Clone.Parent = workspace
Rocket = Clone --Change rocket var to clone
Booster1.Activated = false --Could I do this, for example
Thank you for any help!

1 comment
I don't believe so, I think you would have to using something like "Clone.Rocket.Tanks.Booster1.Activated"