How would i print the full location of an object?

for instance there is a folder in replicated storage and i make a script that is the child of that folder and in the script there is “print(script.Parent)” i want it to print “game.ReplicatedStorage.Folder”

1 Like

You can use instance:GetFullName(). It won’t print game but you can just add that via string formatting or concatenation.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.