error cs 1002

im making a game and i need a gui that shows how much game currency do you have ive made this code

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using unityengine.gui;

public class moneyscript : MonoBehaviour
{

    public float money = 0f;
    public text textmeshpro moneytext;

        // Use this for initialization
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {

    }
}

and got the error: Assets\moneyscript.cs(10,29): error CS1002: ; expected
pls help

I think you should be getting other errors(namespace on line 5,declaration on line 11), but regardless I recommend learning the C# syntax a bit. Maybe watch a few tutorials/check out msdn( C# Guide - .NET managed language | Microsoft Learn ).Or if you can afford it, I recommend just picking up an introductory book as those are wildly helpful with introducing many concepts that youll probably need.
Edit: fix link

thank you very much

This is a great example of why you shouldn’t pay too much attention to the error message because the error here is wrong. You’re not missing a semicolon. Line 5 has improper capitalization. Line 11 has improper capitalization and you’re trying to assign two types to a variable.