Attempt to call a table value error

script.Parent.MouseButton1Click:Connect(function()
	local TweenService = game:GetService("TweenService")
	TweenService:Create(script.GateObject.Value , TweenInfo(1) , {CFrame = script.GateObject.Value.CFrame + CFrame.new(script.GateObject.Value.CFrame.UpVector * script.GateObject.Value.Size)})
	script.Parent.Parent.Visible = false
end)

why?

You need to call TweenInfo.new(1) and you just have TweenInfo(1)

Bruh, well thanks :shallow_pan_of_food: