so i want to change the ImageLabels or ImageButton Image outside StarterGui. here the script that i wrote:
logs = "rbxassetid://261517000"
function change()
game.StarterGui.ScreenGui.Inventory.ImageLabel.Image = logs
end
script.Parent.Touched:connect(change)

4 comments
You should reformat the code in your post to make it more readable.
So what exactly is the problem with the code that you have proposed?
this script should change the image in ImageLabel when i touch the part but it wont change
Is the game FilteringEnabled? Scripts cannot access StarterGui when FE is on.