How could i use the humanoid.died function properly, because currently it doesnt work at all, and before it used to work on the second time i reset my character.
This is the code right now:
game.Players.PlayerAdded:Connect(function(Player)
workspace[Player.Name].Humanoid.Died:Connect(function()
camera:MoveTo(game.Workspace.EndPart.CFrame)
camera:PointTo(game.Workspace.FocusPart.CFrame)
camera:SetFOV(70)
end)
end)
i want it to basically just run this line
camera:MoveTo(game.Workspace.EndPart.CFrame)
camera:PointTo(game.Workspace.FocusPart.CFrame)
camera:SetFOV(70)
every time the player dies

1 comment
is there an error somewhere?