I get BCE0044: expecting EOF, found '}'. please help

This is my Script

As the error says, you have too many }s.

Please learn to indent your code properly and then you’ll find mistakes like this much easier.