Reposting, because my previous question on this topic wasn't answered, and was in a few pages away from page 1. Meaning I won't be getting an answers anytime soon.
I have two buttons.
Both of them contain a localscript that has this in them. (they both obviously have different position values):
script.Parent.MouseEnter:connect(function() mouseover = true script.Parent:TweenPosition(UDim2.new(0, 70, 0, 50), "Out", "Elastic", nil, true) for i = 0, 1, 0.05 do script.Parent.TextColor3 = script.Parent.textcolor.Value end end) script.Parent.MouseLeave:connect(function() mouseover = false script.Parent:TweenPosition(UDim2.new(0, 60, 0, 50), "Out", "Elastic", nil, true) for i = 1, 1 do script.Parent.TextColor3 = script.Parent.textcolor2.Value end end) script.Parent.MouseLeave:connect(function() mouseover = false end)
Now, I have another localscript inside the frame, where when you press on button_1, the second button will start moving down. But after you start hovering over the second button, it would go back to it's original position.
button_1.MouseButton1Click:connect(function() button_2:TweenPosition(UDim2.new(0, 60, 0, 280), "Out", "Sine", 0.15, true)
I'm trying to figure out how to get the second button to move horizontally in it's new position set by the localscript in the frame, without it going back to it's original position