Character morphing doesn't work

Hello fellow developers! I am making a morph system whenever the player joins but it doesn’t seem to be working. The game is r15 and the script worked fine with r6.
Here is the script :

local Character = script.StarterCharacter:Clone()
		Character.Name = player.Name
		player.Character = Character
		Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame
		Character.Parent = workspace

Where’s ‘player’ coming from in that code?