Why does this script not work?

Basically, i’m making a part that duplicates whenever another player joins. Here is my script:

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(Player)
	wait(3)
	local clone = game.Workspace.WoodenWallPlacer:Clone()

end)

However, I do not see the part in the explorer, and I do not get any errors. Why is this?
Also, the script is in the part, and the part is in the explorer.

You didn’t parent the clone to somewhere, so it’s just cloned without any place to be put.

Players.PlayerAdded:Connect(function(Player)
	wait(3)
	local clone = game.Workspace.WoodenWallPlacer:Clone()
    clone.Parent = workspace
end)
3 Likes