class "class_name" hides a global script class.

Godot Version

Godot Version: 4.2.1


I have problem ,Godot is duplicating my Script file and naming it “script” with out a capital s every time I open the project and having this error in my scripts “class “class_name” hides a global script class.” ,So if anyone has a solution please help.

Can you post that script? Please use the </> tool to format it.