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.
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.
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Teller is a TextLable that changes depending on the button pressed. In this case, it displayes the money on your account
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.
Okay.