I'm trying to make a game kind of like cookie clicker, but I can't figure out how to make it when you click the ImgButton, it changes the text of the TextLabel to +1. So every time you click it, it ads one.
my guess is to; make a gui, imgbutton inside and txtlabel and Value
vlue = script.Parent.Parent.Value.Value --first Value is the name, second Value is the property txt = script.Parent.Parent.TextLabel txt.Text = vlue function Add() vlue = vlue + 1 script.Parent.MouseButton1Click:connect(Add)
Hope I helped! :D