So I'm making an avatar editor and i want a clone of the player's character inside a viewport frame. But when I try this it errors saying "Attempt to index nil with parent" even though when i put the players character in tehe frame without cloning it, it works. Here is the script (Client-sided)
local clone = game.Players.LocalPlayer.Character:Clone()
clone.Parent =script.Parent.ViewportFrame
