For some reason when i try to clone the players avitar and then set the parent to something, it says attempt to index with nil “parent”
-- Get the player's character
local character = player.Character
-- Clone the character
local clone2 = character:Clone()
wait()
clone2.Parent = viewportFrame.Model