So I was trying to make a holo, and the loading works. I can say "load meadows" and it would load meadows. But clearing does not work. I want to set the children of holo's parent to Lighting when I say "clear" so I put this code
player.Chatted:connect(function(msg)
if msg == "clear" then
for index, child in pairs(workspace.holo:GetChildren()) do
index, child.Parent = game.Lighting
end
end
But instead of changing the parent to Lighting, it removes it altogether so that I can't load it again. Am I doing something completely wrong?

2 comments
child.Parent = game.Lighting -- Just this on line 4
I would suggest storing stuff inside ServerStorage, not Lighting