DevConX
(DevConX)
December 29, 2019, 6:04am
#1
So here is my problem, so for some reason a script in SSS can’t find the Folder “PlayerScripts”
Script:
Output:
Anyone know why this is or how to fix it.
I’ve tried the following;
FindFirstChild,
GetDescendants,
And just looking through the player.
Jaycbee05
(Jaycbee)
December 29, 2019, 6:06am
#2
i believe the server cannot see/access a player’s Player Scripts at all( i could be wrong but…)
Unlike the Backpack
and PlayerGui
containers, the PlayerScripts
container is not accessible to the server. Server Script
objects will not run when parented to PlayerScripts
.
Continuing the discussion from Replicating a ModuleScript from server -> PlayerScripts? :
The server can see a player’s Backpack, PlayerGui, and StarterGear. While clientside changes don’t replicate with filtering enabled, the server still knows that the container exists, and can parent things to it which in turn replicate to the client. Why is this not also true with PlayerScripts?
Left: Server; Right: Client
[image][image]
DevConX
(DevConX)
December 29, 2019, 6:10am
#3
Changing it to a LocalScript worked thanks.