Issue: Print and warns statements do not work within a local script, located in ReplicatedStorage. This issue happens 100% of the time.
Steps to reproduce:
Make a blank place
Place LocalScript in replicatedstorage
Put print(“Hello world”) in localscript
Run
Observe no output
Baseplate.rbxl (12.6 KB)
Vulkarin
(Vulkarin)
January 9, 2019, 10:49pm
#2
The wiki says that local scripts only execute in:
A Player’s Backpack
, such as a child of a Tool
A Player’s character
model
A Player’s PlayerGui
A Player’s PlayerScripts
.
The ReplicatedFirst
service
10 Likes
yelowfat
(yeIIow)
January 9, 2019, 10:49pm
#3
LocalScripts dont run outside of Player-Oriented things or a Player’s Character.
2 Likes
vabajaa
(vab)
January 9, 2019, 10:49pm
#4
If I am correct local scripts can only run in the client, and I do not think Replicated Storage is apart of the client
If I am wrong please correct me.
edit:
ndrwcswll just posted the answer.
2 Likes
Did they change it? I remember they used to work in RS.
Scripts have never been able to run from ReplicatedStorage.
4 Likes
yelowfat
(yeIIow)
January 9, 2019, 10:51pm
#7
Maybe you are thinking of ReplicatedFirst?
10 Likes
Kullaske
(Kullaske)
January 9, 2019, 10:56pm
#9
You should mark @ndrwcswll ’s post as the solution.
1 Like