I have made a game lobby, and when the play button is pressed, the scrolling frame is supposed to tween up, and the play button is supposed to tween down, but it doesn't work. Here is the script:
local frame = game.StarterGui.OtherGui.ScrollingFrame function Tween() local frame = game.StarterGui.OtherGui.ScrollingFrame local button = script.Parent button:TweenPosition(UDim2.new(0.5,-100,10,-25),'Out','Quint',3) frame:TweenPosition(UDim2.new(0.5,-125,0.5,-175),'Out','Quint',3) end local button = script.Parent button.MouseButton1Click:Connect(Tween)
Any help is appreciated