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

How do I convert a roblox.com asset link to rbxassetid?

Asked by
Lucke0051 165
4 years ago
Edited 4 years ago

I want to convert a https://www.roblox.com/library/ asset link to a rbxassetid:// link inside a script. How would I do that? If I just put the roblox.com link into the texture I am adding it to it gives me an failed to load error.

1 answer

Log in to vote
0
Answered by 4 years ago

If you mean converting a link to another link in a script, I'm not sure. But if not, this is what you do.

You copy the numbers by "/library/" and paste it by rbxassetid://. Usually Roblox automatically converts it into a rbxasset link but if it doesn't, that's what you do.

0
That only works when manually pasting in studio, if you do that with scripts you will get an error that it failed to load. Lucke0051 165 — 4y
Ad

Answer this question