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.
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.