Pls help i have 2 error in making simple gravity

here is the script

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class playermovement : MonoBehaviour
    public CharacterController cont;

    public float speed = 0.4f;
    public float gravity = 0.5;

    Vector3 velocity;
    // Update is called once per frame
    void Update()
        float x = Input.GetAxis("Horizontal");
        float z = Input.GetAxis("Vertical");

        Vector3 move = transform.right * x + transform.forward * z;
        cont.Move(move * speed * Time.timeScale);

        velocity.y += gravity * Time.timeScale;

        cont.Move(velocity * Time.time.Scale);


and here is the problem pls help

problem #1

Assets\playermovement.cs(10,28): error CS0664: Literal of type double cannot be implicitly converted to type ‘float’; use an ‘F’ suffix to create a literal of this type

problem #2

Assets\playermovement.cs(26,40): error CS1061: ‘float’ does not contain a definition for ‘Scale’ and no accessible extension method ‘Scale’ accepting a first argument of type ‘float’ could be found (are you missing a using directive or an assembly reference?)

You’re using Time.timeScale, but you want to use Time.deltaTime. Time.timeScale is something you set for slowing down or pausing time, not the value you multiply on top of your movement vectors.

You also wrote Time.time.Scale at one point, which doesn’t exist. That’s where the second error comes from.

The first error is thrown because you forgot the f behind your initial 0.5 gravity value.