So if I’d like to copy the path of something my roblox game how would I do that?
For example I wanna copy the path of a GUI in the Roblox PLAYER.
How can I do it? Is there like a way with console or something?
Unfortunately no, I think the development console in Roblox Player is very neglected.
So theres no way to do it unless I type it out manually?
Do you mean like this?
local function GetPath(instance)
local path = instance.Name
local parent = instance.Parent
while parent ~= game do
path = parent.Name .. "." .. path
parent = parent.Parent
end
return path
end
Yes, unless you make a UI that shows and tells you the path to an instance in Roblox Player, you must write it.
Yes, but I want to copy the path via. roblox player.
I think if you place the path in a textbox you might be able to copy it, I don’t recall.
How would the textbox know what parts path I want to be copied?
You’d have to provide it somehow, like letting the player click it and using raycasting to find the clicked part.
Thanks, but I dont really know how to do that. I appreciate you trying to help!