Hi, could anyone help me with displaying score/money/or points as a textlabel?
That will go something like this:
1 | local points = --locate points here |
2 | local TextLabel = --locate a TextLabel here |
3 |
4 | TextLabel.Text = "Points: " ..points.Value |
5 |
6 | points.Changed:Connect( function () |
7 | TextLabel.Text = "Points: " ..points.Value |
8 | end ) |
We are setting the value of the points in a TextLabel, then we detect if the value of the points changes, if it does then we update the TextLabel.