Help with tweenservice for gui

im trying to have the curtians slide in on screen nicely with tweenservices.

but when i try to use circular as an easing style it just kinda teleports


(curtainR and curtainL are the curtains)

curtainR:TweenPosition(UDim2.new(0.5, 0,0, 0), Enum.EasingDirection.In, Enum.EasingStyle.Circular, 0.5)
		wait(0.25)
		curtainL:TweenPosition(UDim2.new(-0.1, 0,0, 0), Enum.EasingDirection.In, Enum.EasingStyle.Circular, 0.8)
		wait(1)
1 Like

Firstly, use task.wait() instead of wait(). Secondly, why don’t you use TweenService itself?

(sorry for late reply)

1: i didn’t even know task.wait was a thing

2: i have no idea what tweenservice itself is, i thought there was only tweenposition, tweensize and tweentransparency

thanks on informing me those things exist i’ll look and test them out rn

No worries.

  1. It’s a newer version of wait() (not really new anymore lol), it’s better and devs are advised to use it as wait() is being deprecated.

  2. It’s a more advanced version of the 2 functions allowing for more customization to it and more options.

Good luck.

1 Like