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

Script from inside a player folder not running?

I have a script that detects a remote event inside there. It fires, but the script won't pick it up. I've tried a loop, or just something that prints "w", but it turns out that no scripts can run from the folder. It's a folder inside the player, and my script is there. Does anyone know why my script doesn't run?

Also: -No code samples because nothing from there runs no matter what -This is a server script -It's not disabled

1 comment

0

the point of giving code samples is to see what is wrong with your code. . .. . . . . ........... .......... .. . . . .. . .. . .. . . . .. . .... .. . . .. . .

1 answer

Server scripts run if they are descendants of ServerScriptService or workspace. Local scripts run as descendants of StarterPlayerGui, StarterPlayerScripts, StarterCharacterScripts, Backpack and ReplicatedFirst. Module script do not run, unless required by aforementioned scripts.

https://developer.roblox.com/en-us/api-reference/class/Script

https://developer.roblox.com/en-us/api-reference/class/LocalScript

https://developer.roblox.com/en-us/api-reference/class/ModuleScript

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