Title would be too long if it was descriptive enough, so here is the full story:
Is there a way to access PlayerScripts, from a LocalScript that is located in PlayerScripts, using something similar to FindFirstAncestor, but also supports autocomplete?
This removes autocomplete, since in studio its StarterPlayerScripts:
local playerScripts = script:FindFirstAncestor("PlayerScripts")
This does the same thing, because PlayerScripts does NOT inherit StarterPlayerScripts, or vice versa:
local playerScripts = script:FindFirstAncestorOfClass("PlayerScripts")
local playerScripts = script:FindFirstAncestorWhichIsA("PlayerScripts")
And yes, I am aware you can just do this:
local playerScripts = script.Parent
But in nested scripts, it just starts looking ugly:
local playerScripts = script.Parent.Parent.Parent.Parent
Is there anything that would work AND look good?