Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how to change ImageLabels or ImageButton Image outside StarterGui?

Asked by
Annon28 23
7 years ago
Edited 7 years ago

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)
0
You should reformat the code in your post to make it more readable. MightyBaconOverlord 253 — 7y
0
So what exactly is the problem with the code that you have proposed? MightyBaconOverlord 253 — 7y
0
this script should change the image in ImageLabel when i touch the part but it wont change Annon28 23 — 7y
0
Is the game FilteringEnabled? Scripts cannot access StarterGui when FE is on. Thundermaker300 554 — 7y

Answer this question