Okay, so I'm making a SCI (self check-in) and I've got a nice tween setup, but sometimes, just sometimes, it glitches out and doesn't tween the home page offscreen. Here's a video. video

My code is right here

local frame = script.Parent.Parent
local frame2 = script.Parent.Parent.Parent.classes
script.Parent.MouseButton1Click:Connect(function()
	frame:TweenPosition(UDim2.new(-1, 0,0, 0), 'Out', 'Quint', '1')
	frame2:TweenPosition(UDim2.new(0, 0,0, 0), 'Out', 'Quint', '1')
end)