So I’ve recently watched a video that was a tutorial for users:
It basically sets up as so:
- A RemoteEvent placed in the ReplicatedStorage for the script to trigger upon the call.
- A Script in the ServerScriptService that triggers the event when it wants.
- A LocalScript placed in the StarterGui, which basically has the source code of how the cutscene runs and where it goes.
Isn’t it a bit contradicting to have the source of the code go into the Client when you’re trying to protect your code from being hijacked? Not to mention the fact that these are running OnClient/FireClient events, doesn’t this seem a bit…dangerous? I thought it was stuff like this that we would want to avoid on ever trusting the Client with, or more importantly it kinda hurdles through phrase: Never trust the Client.
Is this situation different because it’s only happening locally to the player? Or is it just something that shouldn’t be worried too much because it’s a cutscene.
When I’m on my path on creating a game, would it be wise for me to have a LocalScript within the StarterGui every time I want to create a cutscene?
If this is a basic question, I’m really sorry, I’m just trying to wrap my head around this.