how to add animations in your gui code example
Example 1: gui animation
script.Parent:TweenPosition(UDim2.new(0.5, 0, 0.5, 0))
Example 2: gui animation
object:TweenPosition(UDim2.new(0.5, 0, 0.5, 0))
script.Parent:TweenPosition(UDim2.new(0.5, 0, 0.5, 0))
object:TweenPosition(UDim2.new(0.5, 0, 0.5, 0))