Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

My Gui doesn't pop up with animation but it does when It goes away?

My Gui has a purpose that It pops out to be like "HI THERE" as a phrase and then it goes down and away however It doesn't pop out with animation but it does when it goes away I'm confused??

local xlol = game.CoreGui.Intro.Frame
local Destro = game.CoreGui.Intro
xlol:TweenPosition(UDim2.new(-0.03, 0, -0.088, 0))
wait(4)
xlol:TweenPosition(UDim2.new(-0.038, 0, 0.995, 0))
wait(1)
Destro:Destroy()

I'm using CoreGui because whenever I put it in PlayerGui it doesn't even do any animations or doesn't even go away its like completely broken when in PlayerGui however it works in CoreGui

1 comment

0

Um don't place it in CoreGui....

1 answer

You didn't add an Easing Style, Direction, and Time. Heres a fix

local xlol = game.CoreGui.Intro.Frame
2	local Destro = game.CoreGui.Intro
3	xlol:TweenPosition(UDim2.new(-0.03, 0, -0.088, 0),"Linear","Out",1)
4	wait(4)
5	xlol:TweenPosition(UDim2.new(-0.038, 0, 0.995, 0),"Linear","Out",1)
6	wait(1)
7	Destro:Destroy()

This discussion is preserved as it was. New answers, comments, and votes are closed.