My Tweenservice kinda not working

Man, why does it have to get the mouse? It doesn’t make sense to me

Sorry that was a mistake but I fixed it.

1 Like

This makes no sense, your script introduces nothing new. OP already had those event connections.

This is the exact code format used in all games if it does not work then Idk maybe he should make sure if it’s a Script or LocalScript

You’re not seeing what OP’s issue is. The issue is that the button doesn’t tween whenever they click on it.

Ohh ight thanks for identifying the issue to me my bad…

1 Like

If you have trouble with it you can send me a copy of your ui in dm for me to help you

1 Like

Make sure that the player is clicking the TextButton, not the ImageButton. I tried it out and realised that it was not even detecting the click. I moved the TextButton away from its descendants and it started detecting clicks.

1 Like

but what about the design of the GUI?

worry about the design later. see if this is the issue first. you can just duplicate the gui and move the descendants away from the textbutton to test

you need to change the [“Size”] to just Size i think

if that’s the case then the MouseEnter and MouseLeave event also won’t be tweening

wait why shouldn’t i just… Take a photo of the button with text and things and make it as image button?

works also, up to you to decide

1 Like

sorry for late response but it works when i press the button and not the tween service, well it kinda did but its broken

are you still with problems with the ui animations?

1 Like

Use a UIScale instead of changing the size of the button. UIScale will ensure everything changes at the same rate.

1 Like

No, but i just scripting other thing, so i just forget about it

i will look at it later, Thanks anyway