How to make plot owner buy and only do things on their own plot

Hi,

So I made a tycoon game, but I’m not sure how to make the plot owner have access to everything and every non-plot owner not be able to do anything on the plot. How do I begin to do this?

I suggest learning more of Lua basics before doing something like this but to get you started, you need a StringValue inside the tycoon in Workspace where you insert the tycoon owners name into somehow.
Then on the button script for your tycoon you need to check if the person’s name touching the button, is equal to the value inside the previously made StringValue