Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I add a money amount on a text label that will save and rise?

Hey Guys I have been trying to deal with this for a long time and I can not seem to find the solution. Currently I have a rising money script that saves and works great but it is being displayed in the lead board. I want to display the money on a text label. Anyone able to help?

1 answer

If you are using an IntValue event, perhaps consider using the IntValue.Changed event like so:

IntValue.Changed:Connect(function(NewValue)
	-- set text here
end)
-- set text here

Because the event does not fire until it is changed, first we set the text outside of the even listener.

This discussion is preserved as it was. New answers, comments, and votes are closed.