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
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
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
I think you need to do this with UDim2.new
Doesnt seem to work
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)
Udim2.