for h,i in pairs(script.Parent.ScrollingFrame:GetChildren())do i.TextButton.Activated:Connect(function()local h=i.Size i:TweenSize(h+UDim2.new(-0.05,0,-0.05,0),"\073\110","\081\117\097\100",.05,true)game.ReplicatedStorage.Remotes.BuyTrail:FireServer(i.Name)wait(.1)i:TweenSize(h+UDim2.new(0,0,0,0),"\073\110","\081\117\097\100",.05,true)end)end


for v1, v2 in pairs(script.Parent.ScrollingFrame:GetChildren()) do
	v2.TextButton.Activated:Connect(function()
		local l__Size__3 = v2.Size;
		v2:TweenSize(l__Size__3 + UDim2.new(-0.05, -0, -0.05, -0), "In", "Quad", 0.05, true);
		game.ReplicatedStorage.Remotes.BuyTrail:FireServer(v2.Name);
		wait(0.1);
		v2:TweenSize(l__Size__3 + UDim2.new(0, 0, 0, 0), "In", "Quad", 0.05, true);
	end);
end;
