That is game developing, learn from tutorials, do not copy/paste what they show you. Instead learn get idea, apply to your project.
There is FPS template ready to be used.
Or You can always try LYRA example, then follow tutorial like this:
However it is more advanced setup.