Setting Spectator Mode

Hi, I’m currently working on a gamemode, which I am very new to, and I was wondering simply how to put the player into spectator mode. I tried


but that doesn’t work, and I feel like it is meant for something else.

I wonder why the search button wont work for some people…

Besides, try this thread:

[solved] Round System Help? #4.