NumberSpinner Module

As much as I love the functionality of this module, I probably won’t use it until it supports TextScaled, as currently, I don’t enough control over the sizing of the text.

1 Like

I would also love to use this, but without the support of TextScaled it is pretty much unusable for me. Hope there is a way that support for TextScaled gets introduced in the future!

1 Like

Is there a way to achieve this using a string instead of a number, or atleast achieving the old string moving down and the new one coming from above and taking its place?

This module has so much potential, it’s just missing a few key features.

  • TextScaled working properly
  • Commas, for bigger numbers (should be: 1,000,000, currently: 1000000)

Anyways, thanks for the great module and I hope you get motivation to continue on it!

it is 1,000,000 and not 1000000

Capture

You should add support for abbreviations. Like for example 1,000 would be listed as 1K, 1,000,000 would be 1B etc. I think that would be really cool. But other than that this is a great resource! Thanks!

image
It seems as these number values don’t get ZIndex set according to properties!
Simple fix is just to change it in the module manually! Just thought I’d bring attention to it since it took a lil bit of troubleshooting to find why the numbers weren’t appearing.

1 Like

How do you change the position @boatbomber ?

I want this to happen. I think this can be possible through looping number frame by using some kind of % operator.

How would I add these animations to a TextLabel that already exists?

you can use .fromGuiObject() to convert your label into a number spinner

How do you make the animations like this mitu?
Yours:

`
I want to know how to animate it like yours since mine just does this.

For TextScaled support:

-- Add 'TextScaled' to CUSTOM_PROPS
local CUSTOM_PROPS = {
	Value = "number";
	Duration = "number";
	Decimals = "number";
	Prefix = "string";
	Suffix = "string";
	Commas = "boolean";
	TextScaled = "boolean";  -- Add this
}

-- Modify the __newindex function to support 'TextScaled'
if key == "TextScaled" then
	for i, Digit in pairs(Spinner.Digits.Whole) do
		Digit.TextScaled = value
	end

	for i, Digit in pairs(Spinner.Digits.Decimal) do
		Digit.TextScaled = value
	end

	for i, Comma in pairs(Spinner.CommaLabels) do
		Comma.TextScaled = value
	end

	Spinner.PrefixLabel.TextScaled = value
	Spinner.SuffixLabel.TextScaled = value
	Spinner.DecimalLabel.TextScaled = value
	Spinner.NegativeLabel.TextScaled = value

	return
end

Thank you bro, i really needed this too so it helped me a lot!

Is there a way to make the font bold?

Trying to use this for a BillboardGui, but it doesn’t seem to be working.