What exactly does changing RunContext in server scripts do?

It’s just a question, because i have server scripts responsible for regeneration
so i’m like “hey what if i set the runcontext to client so it runs locally and not server-side?” (if that makes sense)

but then i set the runcontext to client, and it turns into a local script (Bad!)

what’s the point of the runcontext then??

well if you made a script and it doesn’t work on server-side then you can just change the runcontext to client instead of copy & pasting

but then it just becomes a local script and becomes exploitable no??

RunContext set to Client does turn it into a LocalScript, which is useful because it allows LocalScripts to run in workspace for example. Real LocalScripts don’t run there, only the player/character.

there’s also an exception where it can’t run in serverscriptservice which i think is because its a server script service so yea

Because ServerScriptService is part of the server, not for local scripts

i already edited it lol but no worries

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.