So, i'm making a game ("https://www.roblox.com/games/2440463201/Marble-Fall-ALPHA") Where i'm working so you can destroy walls to make the "Marbles" fall. And, now i'm trying to respawn it. If, you join the game you can see a Settings menu where there are buttons to Destroy/Spawn Walls. My code keeps are giving me a error. How would i fix this?
local Walls = game.Workspace.Walls
Walls:Clone(W2)
W2.Parent = game.ReplicatedStorage
Walls:Destroy()
Defining the Walls. Cloning the walls. How would i change the name of the Cloned Walls? So, then i could change the parent, Destroy the walls, then Change the parent back to Workspace.

2 comments
Forgot to mention that according to your code snippet, 'W2' was never defined, so it's an unknown global, and is nil
Thanks :) Helped alot! :D