So I'm tweening a basic frame from one position to another, and I get a UDim2 error, here is an example
:ServerSided Script, starter gui
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.BasicFrame:TweenPosition(0.557, 0,0.5, 0)
end)
The UI is not in a folder, nor done in an odd way, and it prints out
'Unable to cast double UDim2' so I tried another tweening method
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.BasicFrame:TweenPosition(0.557, 0,0.5, 0, "InOut", "Quint", 1)
end)
And it prints 'Unable to cast value to function'. I used the same exact method with many frames and it works fine, but this for some reason just doesn't, do you have an idea?

2 comments
That has nothing to do with it. They are not giving the UDim2.
I guess it's broken lol