how do i add commas to this
local TweenService = game:GetService("TweenService")
local TIME = 1 -- Time in seconds
local EASINGSTYLE = Enum.EasingStyle.Quart -- Tween easing style
local EASINGDIRECTION = Enum.EasingDirection.InOut
local Leaderstats = Players.LocalPlayer:WaitForChild("leaderstats")
local MoneyInt = Leaderstats:WaitForChild("clicks")
local MoneyText = script.Parent
local TransitionAmount = Instance.new("IntValue")
TransitionAmount.Value = MoneyInt.Value
MoneyInt.Changed:Connect(function(amount)
local tween = TweenService:Create(
TransitionAmount,
TweenInfo.new(TIME, EASINGSTYLE, EASINGDIRECTION),
{Value = amount}
) value.
tween:Play()
end)
TransitionAmount.Changed:Connect(function(amount)
MoneyText.Text = tostring(amount)
end) ```