Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Are scripts located in ReplicatedStorage suspended until they're loaded into the workspace?

Asked by 6 years ago

Are scripts located in ReplicatedStorage suspended until they're loaded into the workspace?

2 answers

Log in to vote
1
Answered by
Tomstah 401 Moderation Voter
6 years ago
Edited 6 years ago

My bad, I had to reedit this. I was mistaken:

The real behavior of a script, as stated by the article, is it will run as a descendant of either Workspace or ServerScriptService.

In short, it will only run in those two places. If you were to move the script out, then back in, it should actually re-execute the script. For the full article: http://wiki.roblox.com/index.php?title=API:Class/Script

0
Keep in mind, this is only for Server Scripts, Local scripts have different behavior. Tomstah 401 — 6y
Ad
Log in to vote
0
Answered by
H4X0MSYT 536 Moderation Voter
6 years ago

I actually learnt, That replicated storage scripts will not run. Instead, they must be put in ReplicatedFirst.

Answer this question