If its set to Server or Client:
Would this work?:
I dont know where is the difference when i set it to Server or Client.
If its RunContext is Client and i change the BoolValue what is located in Server would this change for just one Player?
If its set to Server or Client:
Would this work?:
I dont know where is the difference when i set it to Server or Client.
If its RunContext is Client and i change the BoolValue what is located in Server would this change for just one Player?
Keep it as a server script or else it will not work.
There are two server only functions in there.
If it is client then the :FireClient() function will error and break the script.
Also the :LoadCharacter() will break as its server only.
Is Legacy or Script better?
Performance wise they do the same thing.
Unless if the script is placed in server storage then only “Script” runcontext will run.
Thanks, can the Player send Remoteevents if the Script is Client in ServerScriptService?
Legacy since it encourages single-script architectures.
So can they cheat with Script what is put to Legacy?
Server is fine, the only difference between it and Legacy is that there are additional constraints on where Legacy scripts can run