Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
4

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

Asked by 8 years ago

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

0
Omigod Spooks! I am a HUGE FAN! Also idk itsJooJoo 195 — 8y
0
Hello, Spook, More Detailed please? NathanAdhitya 124 — 8y

1 answer

Log in to vote
0
Answered by
shayner32 478 Trusted Moderation Voter
8 years ago

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.

Ad

Answer this question