The player also dies after a while. This does not happen in studio which confuses me.
local Player=game.Players.LocalPlayer
script.Parent.MouseButton1Down:connect(function()
script.Parent.Parent.Visible = false
local Morph=game.ReplicatedStorage.Gray:Clone()
Morph.Parent=workspace
Morph.PrimaryPart=Morph:FindFirstChild("Torso")
Morph:SetPrimaryPartCFrame(Player.Character.Torso.CFrame)
Morph:MakeJoints()
Player.Character=Morph
workspace.CurrentCamera.CameraSubject=Morph
end)
It works in studio but not in the real roblox.

2 comments
Exactly what are the contents of the morph? Are there more parts than a standard PlayerModel or is it just to change Package appearance/Clothing?
It changes everything to make the player look like the morph