So I made a script to clone a character to go in a ViewportFrame, but my script says there's nothing in the model. Here's my script:
local Player = script.Parent.Parent.Parent.Parent
local character = workspace:WaitForChild(Player.Name)
if character then
print("Found character")
end
local char = character:Clone()
char:WaitForChild("Head").CFrame = CFrame.new(script.Parent.CharHeadTeleportPart.Position, script.Parent.CamPart.Position)
char.Name = "Char"
char.Parent = script.Parent
What error did I make?

2 comments
Perfect! Thanks!
It's so simple!!! Lol I didn't thought of that!!!