Trying to get this tab group script to work.

When posting code to the forum, use Code Tags .

You don’t have the same code as in the video, you’re missing a bracket. If you use an IDE like Visual Studio or even just have correct indentation, you won’t have this problem.