button = script.Parent
inf = button.Parent.teller
mon = game.Players.LocalPlayer.MP.Value
function clicked()
inf.Text = "You buy money here.Account Balance: $"..mon.."."
end
button.MouseButton1Down:connect(clicked)

Figured it out.

3 comments

0

Teller is a TextLable that changes depending on the button pressed. In this case, it displayes the money on your account

0

Please post what your error is here. We don't have time, and most of us aren't willing, to go to a ROBLOX place just to see a single line of text.

0

Okay.