Full Script:
local tweenservice = game:GetService("TweenService")
local slider = script.Parent.Parent.Slider
local endpoint = {
UDim2.new(0.538, 0, 0, 0);
}
local info = TweenInfo.new(
1,
Enum.EasingStyle.Circular,
Enum.EasingDirection.Out,
0,
false,
0
)
-- Error
local slideanim = tweenservice:Create(slider, info, endpoint)
script.Parent.MouseButton1Click:Connect(function()
slideanim:Play()
end)
Picture in explorer:


1 comment
Try assigning what property to animate for your slider in endpoint. Try Position = UDim2.new(0.538, 0, 0, 0)