I currently made this script, I don't want to tween the whole song to the length, because people will be skipping the song. Here's what I have now.

while true do
TimeLength = tonumber(workspace.Sound.TimeLength)
TimePosition = tonumber(workspace.Sound.TimePosition)
Bar = workspace.Screen123.SurfaceGui.Frame.SongLength.Bar
wait(1)



Bar:TweenSize(UDim2.new(TimePosition/TimeLength,0,1,0), Enum.EasingDirection.InOut, Enum.EasingStyle.Sine, 1, true)
end

When this runs, the bar changes from nan,0,0,0 to 123,0,1,0, with 123 being the percent into the song. How would I make sure it knows it's a number, and doesn't freak out?