-- Selection

local function scrollToBottom()
	local ScrollingFrame = Buttons:FindFirstAncestorOfClass("ScrollingFrame")
	if ScrollingFrame then
		local bottom = Vector2.new(ScrollingFrame.CanvasPosition, ScrollingFrame.AbsoluteCanvasSize.Y)
		ScrollingFrame.CanvasPosition = bottom
	end
end

Cancel.SelectionGained:Connect(scrollToBottom)
Submit.SelectionGained:Connect(scrollToBottom)
