C# to Js Help

Hey everyone, I need a little help with a code, i have in C# to convert in Js.

Usually I dont ask for someone else write my scripts, but I am really having a lot of complications learnig Js, and dont want to add C#, or Im gonna die…

Also, the I dont write the C# code, it come with a 3d object.

Here its.
using UnityEngine;
using System.Collections;

public class Clock : MonoBehaviour {
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
//
//  Simple Clock Script / Andre "AEG" Bürger / VIS-Games 2012
//
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------


    public int hour = 0;
    
    //-- time speed factor
    public float clockSpeed = 1.0f;     // 1.0f = realtime, < 1.0f = slower, > 1.0f = faster

    //-- internal vars
    int seconds;
    float msecs;
    GameObject pointerSeconds;

//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
void OnEnable() 
{
    pointerSeconds = transform.Find("rotation_axis_pointer_seconds").gameObject;

    msecs = 0.0f;
    seconds = 0;
}
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
void Update() 
{
    //-- calculate time
    msecs += Time.deltaTime * clockSpeed;
    if(msecs >= 1.0f)
    {
        msecs -= 1.0f;
        seconds++;
       
    }


    //-- calculate pointer angles
    float rotationSeconds = (360.0f / 60.0f)  * seconds;
 

    //-- draw pointers
    pointerSeconds.transform.localEulerAngles = new Vector3(0.0f, 0.0f, rotationSeconds);
  

}
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
}

Sorry for asking for this convert, I know thats i should ask for help to write it myself… But really its just this, I dont think write in C# in a closer future.

THANKS

you should try This or This its a free tool and works pretty good (it may need a few changes tho cause its not unity spesific)

var hour : int = 0;

    //-- time speed factor
    var clockSpeed : float = 1.0;     // 1.0f = realtime, < 1.0f = slower, > 1.0f = faster
 
    //-- internal vars
    var seconds : int;
    var msecs : float;
    var pointerSeconds : GameObject;
 
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
function OnEnable () {
pointerSeconds = transform.Find("rotation_axis_pointer_seconds").gameObject;
msecs = 0.0;
seconds = 0;
}
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------------------------------------------------
function Update () {
    //-- calculate time
    msecs += Time.deltaTime * clockSpeed;
    if(msecs >= 1.0)
    {
        msecs -= 1.0;
        seconds++;
 
    }
 
 
    //-- calculate pointer angles
    var rotationSeconds : float = (360.0 / 60.0)  * seconds;
 
 
    //-- draw pointers
    pointerSeconds.transform.localEulerAngles = Vector3(0, 0, rotationSeconds);
 
 
}

there