GetLatestAssetVersionAsync code not working?
Hi! So I am trying to use the GetLastestAssetVersion thing, I just found out about it on the Wiki, and well, I'm trying to get it working but its not working, and I am not sure why.. Maybe I used it wrong? Sorry, I'm a noob in Roblox Lua
Hope you guys can help
Code:
1 | local ModelId = 451769518 |
2 | local model = game:GetService( "InsertService" ):GetLatestAssetVersionAsync(ModelId):GetChildren() [ 1 ] |
3 | model.Parent = game.Lighting |
Output:
1 | > local ModelId = 451769518 |
2 | local model = game:GetService( "InsertService" ):GetLatestAssetVersionAsync(ModelId):GetChildren() [ 1 ] |
3 | model.Parent = game.Lighting |
4 | 12 : 34 : 32.316 - InsertService getLatestAssetVersion : Request Failed because HTTP 0 (HTTP 403 (HTTP/ 1.1 403 Forbidden)) |
5 | 12 : 34 : 32.317 - Script ' local ModelId = 451769518 |
6 | local model = game:GetService( "InsertService" ):GetLatestAssetVersionAsync(ModelId):GetChildren() [ 1 ] |
7 | model.Parent = game.Lighting', Line 2 |
8 | 12 : 34 : 32.318 - Stack End |