Here's the script I tried:
local ids = {
id1 = id
id2 = id
id3 = id
}
local chosen = math.random(1, #ids)
script.Parent.Image = 'rbxassetid://'..ids[chosen]
The problem is I don't get any error message. If I look at the properties it has 'rbxassetid://id' but the image doesn't show.
I'm very confused...
EDIT: question got too old. dont think anybody will see it here. reposted it

2 comments
check if the image id doesnt point to a decal image. further explanation: roblox converts decals to images in studio, but ingame.. not so much
This might be difficult if you're trying to get the image-id during runtime. You can check out this post: https://devforum.roblox.com/t/get-imageid-from-decalid-in-game/205561 | Although, if you're just entering an id before running, check out this post: https://twitter.com/Maelstronomer/status/850316111132405762 | (;