Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Local Script in Service?

I wanted to know why we can't stick a local script in ServerScriptService, I understand its for player input and updates faster, However I have some current scripts that display players ranks but it doesn't update fast enough, is there another script I can use? Or do I just make a local script and cut and paste it into the ServerScriptService.

1 answer

✓ Accepted answer

You can easily add a LocalScript to ServerScriptService by running this line of code in the command bar,

Instance.new("LocalScript", game.ServerScriptService)

Though, I don't see why you would want to. A local script won't run in ServerScriptService, as it's, well, for server scripts. In fact, ServerScriptService doesn't even exist on the client; it's only visible to the server. So, if you put a LocalScript there, it won't run. You could always put a LocalScript inside of a script and clone it to the client, but I don't see the point in that either.

Really, it probably has to do with whatever script you're using; perhaps there's a more efficient way to do it. Either way, hope this helped.

This discussion is preserved as it was. New answers, comments, and votes are closed.