I see, i’m also relatively not that good in scripting so mistakes may happen.
Thanks for clarifying it though, now i understand my error.
Is the GUI visible? You have a repeat value checking if its visible.
This is not the TweenService, The GUI Object TweenPosition
does not use the :Play()
function.
First, do not put unnecessary loops, I recommend you use the events that Roblox provides you, this is an example of how something like what you are looking for would work optimally
local Tween = function()
script.Parent:TweenPosition(UDim2.new(0.462, 0,0.118, 0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.25) --Edit the position--
end
script.Parent:GetPropertyChangedSignal("Visible"):Connect(Tween) -- call the tween when Visible changes to true or false
Yes, it tweens in but not up. I don’t understand why.
Are you using a server script or a local script?
Local script, under the GUI object that is tweening.
How are you triggering the notification to appear (as in make it visible for the loop to continue)?
Edit: Another thing to check is that all its parents are visible except the one you are waiting to go visible.
Yes, I am cloning the notification object and making it visible.
What frame are you cloning?
Edit: Also when you Tween your GUI does it come from the top of the screen and goes down or does it come from the bottom of the screen and go up?
It comes from the bottom up and I am cloning the “1” frame.
I seem to have found a workaround for the tweening problem. I think it works fine if it just tweens back to where it came from, but any help getting it up would still be appreciated.