This syntax looks correct something must be missing on previous lines, check yourselft or post full script. Btw, are you using capital I for If or it’s just a typo or autocorrection?
What do you mean you cant use visual studio? Why? Visual studio code is free and small, runs on literally potato pcs. Can you explain why you cant use visual studio?
Use code tags as shown in the stickied thread at the top of every forum here, and please don’t waste people’s time being combative about really simple questions or they’ll choose not to help you. There’s zero reason not to be using an IDE of some sort, no matter what OS or system specs you have- you can even use a free web-based IDE without installing it locally.
The irony here is that the code tags will do a better job of displaying your code than your “IDE” does…
I guess I should explain why your code is not working. On your if statements you forgot the ( on the second Input and at the end you needed another ) to finish. If you had been using visual studio it would have red lined you and let you know there was a mistake.
Now if you don’t want to use visual studio, then you could use notepad++. I use it from time to time for quick edits with out having unity even opened. It will let you know if you are making a mistake in C#, but not in unity syntax.
Hope this helps.