Script For Teleporting Main Camera

I tried my best at writing a script for Unity in C# below, and was going to attach this to a button marked, “HELP” so when the player presses the “HELP” button it directs the camera offscreen to the help menu. The only problem is… well the script does not work, could any of you guys help me? 2 errors come up when this script is saved, Error #1 -Assets/Scripts/HELPscript.cs(6,40): error CS1519: Unexpected symbol =' in class, struct, or interface member declaration & Error #2 - Assets/Scripts/HELPscript.cs(6,55): error CS1519: Unexpected symbol 5’ in class, struct, or interface member declaration . If any of you could possibly fix the script or just point out how to fix it, it would be greatly appreciated! <3 Thanks!

using UnityEngine;
using System.Collections;

public class HELPscript : MonoBehaviour {

Camera.main.transform.position = new Vector3(5, 5f, -10);

I’m not sure that’s your problem. Check the code around the area.

Thanks for the feedback so quickly, I’ve been trying to find what you’re pointing out but I’m not finding it, sorry. I shall continue the search of what it is that’s missing. I’m kinda a noob xD Thanks anyways! :smiley: