For future reference, using TweenService is the better alternative. Here’s an example:
local TweenService = game:GetService("TweenService")
local animation = TweenInfo.new(0.2)
TweenService:Create(btn.Parent.Shop, animation, {
Position = UDim2.new(0.968,0,0.55,0)
}):Play()
I would appreciate if you marked this answer as the solution