is there any native to start a script on client or restart a script on client only
I’m not sure I understand your question 100% but, using the client.lua file will make the code that is written in that file only run clientside if thats the only file youve tagged as a client script in your fxmanifest.
i want to be able to start a script only by one player
What do you want to make? It is not possible to start a resource only for one player, but you can create a resource that will be activated only for a specific player.
The only thing I can think of is making the script identify which player you want (this would be done via server side with your database OR if you want it to be someone with a certain role [admin or owner]) and sending a “start” event to that client if they are online. But you cannot have a script run for only one client. You can only really filter out what the code does depending on the person.