I want to make a script that detect if the person owns the server (Private Server) I want to make it so they have the power to kick/ban people from their server.
If you are going to allow the VIP server owner to run kick/ban commands, then do Player.Chatted events. As @Coder_1 said, you can use plr.UserId == game.PrivateServerOwnerId
to detect the owner.
A second, more friendlier approach, is to make a GUI that is given to private server owners.
Closed as Not Constructive by JesseSong
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?