Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there any possible way to get the parent folder of :rbxasset?

Haven't actually answered a question in a while and I decided to ask one today on if there was any possible way to open a roblox file from an alternate folder using :rbxasset or opening a roblox file from an internet repository. I currently use the program Atom to write my scripts, was just curious if I could easily import my code by making a plugin that would create a script that would import the code from the file. Anyways just a though and was wondering if accessing a file from outside :rbxasset would be possible. Anyways thanks for the help.

Social Media: Twitter- @Spooksletsky Youtube - SpooksHD Roblox - Spooksletsky

2 comments

0

Omigod Spooks! I am a HUGE FAN! Also idk

0

Hello, Spook, More Detailed please?

1 answer

I do not believe ROBLOX has a current method to access local files, even from a plugin, as this would be a severe vulnerability. Think about it: someone could create a plugin that sends all the contents of your browser's saved passwords to a website, and then your account is broken into. Though, you used to be able to do game:GetObjects("rbxassetid://../../../../../../../../../") and that would have you in the C directory (most of the time). It never allowed you to have read access to any files though.

This discussion is preserved as it was. New answers, comments, and votes are closed.