Parent (Property)
From Legacy Roblox Wiki
Usage
print(script.Parent.Name) -- "Workspace" should appear in the output window (only if the script is located under Workspace).
print(script.Parent.Name) -- "Workspace" should appear in the output window (only if the script is located under Workspace).