My code works, but the I can't load the image file from the URL. Please help me.
1 | local hs = game:service 'HttpService' |
3 | local html = hs:GetAsync(url, false ) |
4 | local jsontable = hs:JSONDecode(html) |
5 |
6 | local asset = jsontable [ "Url" ] |
7 |
8 | script.Parent.Image = asset |
Output:
20:58:24.747 - Image failed to load Players.Player1.PlayerGui.ScreenGui.ImageLabel.Image : http://t4.rbxcdn.com/61b0fbd421e702bcd04781ce867abef10 because Request failed