When I clone my morph onto the player, the player becomes the morph but the camera does not work?
The player also dies after a while. This does not happen in studio which confuses me.
01 | local Player = game.Players.LocalPlayer |
02 | script.Parent.MouseButton 1 Down:connect( function () |
03 | script.Parent.Parent.Visible = false |
04 | local Morph = game.ReplicatedStorage.Gray:Clone() |
05 | Morph.Parent = workspace |
06 | Morph.PrimaryPart = Morph:FindFirstChild( "Torso" ) |
07 | Morph:SetPrimaryPartCFrame(Player.Character.Torso.CFrame) |
09 | Player.Character = Morph |
10 | workspace.CurrentCamera.CameraSubject = Morph |
It works in studio but not in the real roblox.