Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help, how do display score/points/money as a text with script?

Asked by 5 years ago

Hi, could anyone help me with displaying score/money/or points as a textlabel?

0
Look on some tutorials and try it on your own, if you run into any problems come and ask and we'll be happy to help! Pojoto 329 — 5y

1 answer

Log in to vote
1
Answered by
valchip 789 Moderation Voter
5 years ago

That will go something like this:

local points = --locate points here
local TextLabel = --locate a TextLabel here

TextLabel.Text = "Points: "..points.Value

points.Changed:Connect(function()
    TextLabel.Text = "Points: "..points.Value
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.

0
;v don't spoon feed code User#19524 175 — 5y
0
Locate a textlabel here? Which textlabel do you mean? MarkusMape 22 — 5y
0
A TextLabel you want/have. valchip 789 — 5y
Ad

Answer this question