MrHistory
(MrHistory)
June 20, 2017, 2:52am
#1
It would be nice to have a global variable for LocalScripts that points to the local player’s PlayerScripts folder.
Writing game.Players.LocalPlayer:WaitForChild("PlayerScripts"):WaitForChild(...
whenever I want to get a module from PlayerScripts is tedious.
You need to WaitForChild on PlayerScripts? Aren’t PlayerScripts the first localscripts to run in the game?
woot3
(Woot)
June 20, 2017, 6:03am
#3
Nope, there is also ReplicatedFirst
.
That’s pretty limited. How many localscripts in ReplicatedFirst do you need to access PlayerScripts from? Not many, so I don’t see the point in a global variable for playerscripts.
woot3
(Woot)
June 20, 2017, 12:28pm
#5
I was merely answering your question, I agree that a global such as this is not something we need.