script.Parent.MouseButton1Click:Connect(function()
	script.Parent.Parent.Size = 1,0 0, 200
	
end)

here is my script its wrong i think i forgot something can some one help me

4 comments

1

I think you need to do this with UDim2.new

0

Doesnt seem to work

0

You certainly need a UDim2.new(), you need to assign it to the Size property. So it'd be script.Parent.Parent.Size = UDim2.new(XScale, XOffset, YScale, YOffset)

0

Udim2.