ok so i have a clickdetector and a script inside a part. now i never renamed anything. so keep that in mind. so i made a screengui-frame and the frame is size (0,100 0.01 0) and everything else is defalt. inside the script of the part is this
start = 0.01 script.Parent.MouseButton1Down:connect(function() start = start + 0.01 gui.Size = UDim2.new(0,100,start,0) end)
now renember. i didnt name anything. or rename. i have a part on the baseplate. with a script and clickdetector. the script is above me. theres a screengui and a frame in startergui. do i name something between the part and the script? please help me with this
start = 0.01 script.Parent.MouseButton1Down:connect(function() start = start + 0.01 gui.Size = UDim2.new(0,100,start,0) -- Where did you get gui.Size from? Did you make a variable? end)
You wrote "gui.Size" but you never defined a variable for gui.