How can these localscripts run in ReplicatedStorage?

(bad English sorry)
I was exploring the Studio Laser tag Template.

And there was RoundGui script

the script and other scripts are in ReplicatedStorage.
so I’m question:

  • How can they run in ReplicatedStorage?
  • Why they put localscripts in replicatedstorage?

thank you

2 Likes

To be honest, I’m going to assume that they are being moved out of ReplicatedStorage at some point, which allows them to run. They’ll be in replicated storage just for organisational reasons

3 Likes

Then, do localscripts can continue running also when moved out of ReplicatedStorage for a moment and get back again? I forgot to say the script printed: it’s is still in ReplicatedStorage.

1 Like

Do they have a RunContext property in the Properties menu? If so, they aren’t LocalScripts, they are normal Scripts with their RunContext set to Client. This allows it to run anywhere, even in ReplicatedStorage, but like a LocalScript in that it runs Client-side.

2 Likes

It was set RunContext property to Client. So it could run anywhere such as ReplicatedStorage. thank you all

1 Like

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