Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I tween a GUI?

Asked by
Zerio920 285 Moderation Voter
10 years ago

I am attempting to have a GUI pop in from the top of the screen. The current position is at {0.5, -550},{0, -75}, putting the GUI just out of view.

I have this in a script: cam.Text:TweenPosition(UDim2.new({0.5, -550},{0, 0}), "In", "Bounce", 1)

It doesn't seem to work and the GUI just shows up in the final position, with no movement. Any ideas?

2 answers

Log in to vote
3
Answered by
M39a9am3R 3210 Moderation Voter Community Moderator
10 years ago

ROBLOX has broken the Gui Tweening in their last update.

I have heard on numerous occasions that using the script in a Local Script would work but I have also heard it will only work in test mode.

I am not sure what the real fix is, but I hope ROBLOX restores Tweening Guis soon.

0
Yeah GUI Tweening only works with local scripts and in Test mode at the moment. acecateer 130 — 10y
0
Aw, that's awful. Any work-around? Zerio920 285 — 10y
1
I think using loops, but that is kind of time consuming, and I bet once you're done with it, ROBLOX will release the update the next day... M39a9am3R 3210 — 10y
Ad
Log in to vote
-1
Answered by 10 years ago
cam.Text:TweenPosition(UDim2.new(0.5, -550, 0,  0), "In", "Bounce", 1)

Try that You didn't need the {}'s

0
Still doesn't work. Zerio920 285 — 10y

Answer this question