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

Is it possible for someone to tell me how to change a Image Lable's Image Id through a script?

Asked by 10 years ago

I have the code, but here's the problem, I can't find anything about it on the wiki, either I am not trying hard enough to find it, or it just isn't there. The line of code is:

script.Parent.Image = rbxassetid://177657623

so, most of you should now when there is a red squiggly line under the code, that something is wrong, and how most of the time, you can roll over it, and it gives a good reason as to why it is incorrect. This one, I just don't understand. It is saying: 'name expected near "/" ' I just cannot figure it out. Can anyone tell me why this is not working, then explain it so I do not make the same mistake again? Usually, I can figure it out on my own after around 4 hours, but i only have 1 hour left. And at that, during those four hours, (well, less then two hours) I spend a lot of time re-reading the code. And I just don't have the time right now. So, please, can someone give me a hand and have this problem solved fast? Thank you, and have a good day.

Answer this question