function Load()
CurrentBase = game.Workspace.Baseplate
CurrentBase.BrickColor = BrickColor.Random()
end
for i, v in pairs(getfenv(Load)) do
print(i,"=",v)
end
It should returns a table with the load function containing their variables but it doesn't do
Anyone help plz?

2 comments
Any errors?
No.