Ive tried to add when clicked functions but it still does not work. Please help.
i think this is the simple example for you as a reference
1 | local button = --Your Button |
2 | button.MouseButton 1 Click:Connect( function () --When the button was clicked |
3 | local x |
4 | local text = --Your Text |
5 | x = x+ 1 |
6 | text.Text = x |
7 | end ) |
Closed as Not Constructive by Dovydas1118 and imKirda
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?