local saver=Instance.new("Model")
saver.Name="Frames"
saver.Parent=game.Lighting
frames=0
while true do
local children = script.Parent:GetChildren()
for c = 1, #children do
if children[c].className == "Part" then
model=Instance.new("Model")
children:clone().Parent=model
frames=frames+1
model.Name="f"..frames
model.Parent=saver
wait()
end
end
end
--[[
"children:clone().Parent=model" is the only bit that crashes the script (it works fully otherwise). is there a way to clone all parts of something and put them to a different parent? |