Recently I had to use localscripts to do tweening, but local scripts keep giving me errors. Normal scripts work just fine.
script.Parent.MouseButton1Click:connect(function()
target = script.Parent.Parent.Parent.polls
script.Parent.Parent.Visible = false
target.Visible = true
target:TweenSizeAndPosition(UDim2.new(target.Size), UDim2.new(target.Position))
end)
Line 2 gives an error not the tween part
