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?