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

Do scripts run in lighting?

Asked by 8 years ago

I made a minigame place with a minigame in Lighting. The minigame has a script. Will that script actually run in lighting?

1
No. ISellCows 2 — 8y
0
Thank you. NeonicPlasma 181 — 8y
0
@Tkdriverx How is this "Not Constructive" when the questioner is inquiring a simple answer? UserOnly20Characters 890 — 8y

1 answer

Log in to vote
1
Answered by 8 years ago

Normal scripts (not LocalScripts) will run anywhere under the ServerScriptService or Workspace. LocalScripts will run anywhere under the PlayerGui, Backpack, PlayerScripts, or Character. ModuleScripts do not run on their own, but no matter where they're parented to, when you require them from a script/localscript they will always run.

0
So server scripts don't run in lightning? NeonicPlasma 181 — 8y
1
No. They only run under ServerScriptService and Workspace. EchoReaper 290 — 8y
0
How bout in a part? NeonicPlasma 181 — 8y
0
If the part is under ServerScriptService or Workspace, yes. EchoReaper 290 — 8y
Ad

Answer this question