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

Can you help me do this? [closed]

Asked by 10 years ago

I'm making a GUI about a picture of a brick colored gray. When a player touched the brick in the place, the picture of the brick in the GUI changes into it's normal color. How do players do that thing? Please help me do this. Thanks. :)

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
trogyssy 221 Moderation Voter
10 years ago

You'd need two separate decals uploaded, one for the grey brick, and one for the normal colored brick. Then when the brick is touched, check if the gui is already the normal colored brick. If it's not, then change the Image property of the ImageLabel to the assetid of the normal brick decal.

Ad