So, I have been using tweening service, however, it is too slow for what I need to do and just causes glitches in the finishing location etc. It is being tweened multiple times per second everytime one text adjustment is made and is only moving a tiny, short distance. Is there any other way of tweening something so that this glitch no longer happens or will I have to stick with simply just moving it using UDim2.new?

7 comments

0

I'm very confused with your question. You said "TweeningService" which is used on values and CFrames and Positions of objects or anything relative to instances, but then you said "UDim2.new", which is a UI aspect....so, what exactly are you tweening here?

0

Can you be more specific about the glitches it causes, I'm not really sure what you mean. However, you can change the speed of a tween using the Time property on a TweenInfo object.

0

@Awesom3_Eric, I believe you can tween UDim2 properties using TweenService (although I'm not really sure why you would when you could use TweenPosition under GUI objects), but nevertheless I think it can be done.

0

There are multiple glitches with it, such as it doesn't move in a nice steady line but instead just jumps to a certain position a few times, the finishing position also doesn't get to the correct place and stops about half way there.

0

You can tween a GUIObject, same thing as tweening a brick but replace the instance and the goal's with the Gui and it's properties. TweenPosition(), TweenSize(), TweenSizeAndPosition() are just for convenience. You should probably use TweenService even with GUIs instead.

0

Also if your tween is playing multiple times, something is executing that multiple times. You can stop it by basically saying if the current tween is playing then don't add another tween. I found an article using the function Tween:Cancel() but I'm not sure if it's too helpful: https://developer.roblox.com/en-us/api-reference/function/TweenBase/Cancel

0

I don't think I've explained this post very well, I am tweening the GUI a little tiny bit every second but each time it is going to a different position, just a tiny little bit across. However, because this is happening it's causing the tween to glitch.