You could just clone the script you spawn in with, and modify it to disable itself if it’s not allowed for a certain person.
It used to be placed under PlayerScripts, and it still might be. It appears to be located under the PlayerGui, per reference of this post:
There’s no built in way to do it without cloning the original and modifying it yourself, or making your own.