So this Local script was working fine until i added scripts to other things entirely i checked the output and there were no errors how do i fix this:
game.ReplicatedFirst:RemoveDefaultLoadingScreen()
local bar = script.Parent
local queue = game.ContentProvider.RequestQueueSize
while wait() do
bar:TweenSize(UDim2.new(1/queue, 0, 1, 0),"Out","Sine",0.75,true)
if queue == 0 then
bar:TweenSize(UDim2.new(1, 0, 1, 0),"Out","Sine",0.75,true)
end
end

3 comments
Can we see the other scripts that you added stuff to? It is obvious its not the tween script thats broken. Also, did you delete any GUIS, code or parts? It may have been crucial to the tween.
it maybe because you used while wait() do wait() doesnt always return a value that isnt nil, so it may just stop working. also tweensize already tween the size gradually i see no reason why you have to put it in a while loop.
@SmileMonkeyBoi was right a local script in my main handler was arguing against it Thanks. Make sure to Answer it below so i can accept