Hello, I am making this script for my Flight Detail Gui Basically when you click a button it pops up a GUI but for some reason on my output there is an error saying, " Unable to cast string to the token "
This is my main code:
FlightDetails:TweenPosition(UDim2.new(0.015, 0, 0.1, 0), "0ut", "Quad", 1, false)
Please help me with this code :(
EDIT: I actually put a 0 in the " Out " Code so no need to fix my question :-)
Here's how you should do it:
FlightDetails:TweenPosition(UDim2.new(0.015, 0, 0.1, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1, false)
Uhh? I think your are doing it wrong.
Here's an example:
script.Parent:TweenPosition(UDim2.new(0, 0, 0, 0, EasingStyle, EasingDirection, Time, Override, Callback))
If you don't understand go here:
I hope it works now.