Tweening error (UI)

Tweening not working. I have no errors in output.

local HasPressed = false
local object = script.Parent.MainFrame

object.Position = UDim2.new(1,0,0,0)


script.Parent.Open.MouseButton1Down:Connect(function()
	HasPressed = true
		object:TweenPosition(UDim2.new(0.348, 0,0.122, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce, 2)
end)

Help appreciated, thanks!

1 Like
1 Like

I know how to tween and that does not help me.

1 Like

Apparently not


1 Like

Are you gonna help me? If your coming here to say that I cant script, why are you on devforum? Your supposed to help people not tell them they cant script smh

1 Like

Upload a studio file with your GUI in it

:wink:

Goodbye.
Get off this thread…

No need for salt

Have you printed something after the tween to verify that it is even being ran?

1 Like

Yup. It prints it but is not tweening: Screen Shot 2020-08-24 at 4.43.07 pm
I made it print “I has been died” after the tweening, and it prints it but does not tween :thinking:

Well it should work with what you have posted, only other thing for me to look at is if you were to upload a model of the gui or a studio file containing the gui

Here: e.rbxl (572.9 KB)

Seems to be working but the Frame’s Visible variable is false

1 Like

Ohhhhhhhh ok. Solved! :smiley: