My code is simple, and should work, but outputs nothing.
for i, v in pairs(game:GetService("ServerScriptService"):GetDescendants()) do
print(i, v)
end
The hierarchy looks like this:
ServerScriptService
- Script
- RemoteFunction
- RemoteEvent
What is wrong?
EDIT: Solved, look at my answer.

3 comments
And on this day shadow learned about filtering enabled
it can not acces in thes ServerScriptService duhh you most do it on the Replicated Storage.
You shouldn't be storing non-script and non-grouping (folders) instances in ServerScriptService, use ReplicatedStorage or ServerStorage